Project

General

Profile

Actions

Bug #102558

closed

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

Added by Oliver Bartsch 8 months ago. Updated 11 days 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 1 (0 open1 closed)

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

Actions
Actions #1

Updated by Oliver Bartsch 8 months ago

  • Related to Bug #102513: Avoid $GLOBALS['TYPO3_REQUEST'] in BackendConfigurationManager added
Actions #2

Updated by Gerrit Code Review 8 months ago

  • Status changed from New to Under Review

Patch set 1 for branch main of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/82040

Actions #3

Updated by Gerrit Code Review 8 months ago

Patch set 2 for branch main of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/82040

Actions #4

Updated by Gerrit Code Review 8 months ago

Patch set 3 for branch main of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/82040

Actions #5

Updated by Oliver Bartsch 8 months ago

  • Status changed from Under Review to Resolved
  • % Done changed from 0 to 100
Actions #6

Updated by Benni Mack 11 days ago

  • Status changed from Resolved to Closed
Actions

Also available in: Atom PDF