Project

General

Profile

Actions

Bug #102558

closed

ConfigurationManager instance in FormPersistenceManager is missing a PSR-7 request object

Added by Oliver Bartsch 6 months ago. Updated 6 months ago.

Status:
Resolved
Priority:
Should have
Category:
Form Framework
Target version:
-
Start date:
2023-11-29
Due date:
% Done:

100%

Estimated time:
TYPO3 Version:
12
PHP Version:
Tags:
Complexity:
Is Regression:
Sprint Focus:

Description

With #102513, fallback to $GLOBALS['TYPO3_REQUEST'] has been removed. This now leads to a RuntimeException for all forms in
backend context in case a TypoScript contains a condition using the request object.

(1/1) RuntimeException
Unable to call method "getPageArguments" of non-object "request".

How to test:

1. Just add following TypoScript:

[request.getPageArguments()?.getPageType() == 123]
foo.5 = TEXT
foo.5.value = bar
[global]

2. Try to open a form content element in the page module


Related issues 1 (0 open1 closed)

Related to TYPO3 Core - Bug #102513: Avoid $GLOBALS['TYPO3_REQUEST'] in BackendConfigurationManagerResolvedOliver Bartsch2023-11-24

Actions
Actions

Also available in: Atom PDF