Project

General

Profile

Actions

Bug #102558

closed

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

Added by Oliver Bartsch 12 months ago. Updated 5 months ago.

Status:
Closed
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 2 (0 open2 closed)

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

Actions
Related to TYPO3 Core - Task #104667: Do not use ext:form ConfigurationManager in FormPersistenceManagerClosed2024-08-20

Actions
Actions

Also available in: Atom PDF