Bug #102558
closedConfigurationManager instance in FormPersistenceManager is missing a PSR-7 request object
100%
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
Updated by Oliver Bartsch 12 months ago
- Related to Bug #102513: Avoid $GLOBALS['TYPO3_REQUEST'] in BackendConfigurationManager added
Updated by Gerrit Code Review 12 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
Updated by Gerrit Code Review 12 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
Updated by Gerrit Code Review 12 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
Updated by Oliver Bartsch 12 months ago
- Status changed from Under Review to Resolved
- % Done changed from 0 to 100
Applied in changeset 54530b44de31f6b7d82f3c27a7eabaa9ede9aa82.
Updated by Christian Kuhn 3 months ago
- Related to Task #104667: Do not use ext:form ConfigurationManager in FormPersistenceManager added