Bug #98501
closedCannot open uncached frontend with invoked f:translate view helper
100%
Description
Since #98377, the request passed to Fluid's rendering context is no ExtbaseRequestInterface
anymore, which has an impact on the f:translate
view helper. The view helper checks whether the request is a ExtbaseRequestInterface
and falls back to Extbase's internal language setup.
This is not the case anymore and thus $GLOBALS['lang']
is undefined, the following exception is thrown:
PHP Warning: Undefined global variable $LANG in /var/www/html/typo3_src/typo3/sysext/fluid/Classes/ViewHelpers/TranslateViewHelper.php line 207
Updated by Andreas Kienast over 2 years ago
- Related to Task #98377: Avoid Extbase Request init in StandaloneView added
Updated by Gerrit Code Review over 2 years ago
- Status changed from In Progress 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/+/75941
Updated by Gerrit Code Review over 2 years 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/+/75941
Updated by Gerrit Code Review over 2 years 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/+/75941
Updated by Gerrit Code Review over 2 years ago
Patch set 4 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/+/75941
Updated by Andreas Fernandez over 2 years ago
- Status changed from Under Review to Resolved
- % Done changed from 0 to 100
Applied in changeset 875ffaf8beb61d1a98fd1134fff11273b0da6747.
Updated by Chris Müller almost 2 years ago
- Related to Bug #100176: Translations not available in v12.2 when using language key with country in site config added