Actions
Bug #102188
closedFLUIDTEMPLATE with set extbase.controllerExtensionName not resolve extension name inside f:translate
Status:
Closed
Priority:
Should have
Assignee:
-
Category:
Documentation
Target version:
-
Start date:
2023-10-17
Due date:
% Done:
0%
Estimated time:
TYPO3 Version:
12
PHP Version:
Tags:
Complexity:
easy
Is Regression:
Sprint Focus:
Description
The docs says in FLUIDTEMPLATE (cObject):
extbase.controllerExtensionName:
Sets the extension name of the controller.
*Tip
Setting this allows you to skip the extensionName argument for the f:translate and the f:uri.resource ViewHelpers.
This requires you to put translations and public images in the usual paths in your extension.*
The tip seems not to work anymore in TYPO3 13.
When we have a setup like:
page = PAGE
page.10 = FLUIDTEMPLATE
page.10 {
extbase.controllerExtensionName = extensionKey
...
the request is not a instance of ExtbaseRequestInterface so we get RuntimeException 1639828178 in f:translate
Actions