[TASK] Use local TypoScriptFrontendController in ContentObjects
Adapts several content objects to use the local TypoScriptFrontendController instance of ContentObjectRenderer, to reduce usage of global objects and to avoid conflicts when different frontend environments are used, e.g. while indexing with EXT:solr. This adaption should be safe as the ContentObjectRenderer falls back to the global TypoScriptFrontendController, which was used in the content objects until now. If TypoScriptFrontendController is not available, a ContentRenderingException is thrown. Resolves: #97638 Releases: main, 11.5 Change-Id: I224829359f150739931da8b972ac3afded67a0fd Reviewed-on: https://review.typo3.org/c/Packages/TYPO3.CMS/+/75073 Tested-by:core-ci <typo3@b13.com> Tested-by:
Markus Friedrich <markus.friedrich@dkd.de> Tested-by:
Benni Mack <benni@typo3.org> Reviewed-by:
Markus Friedrich <markus.friedrich@dkd.de> Reviewed-by:
Benni Mack <benni@typo3.org>
Showing
- typo3/sysext/frontend/Classes/ContentObject/ContentContentObject.php 2 additions, 13 deletions...t/frontend/Classes/ContentObject/ContentContentObject.php
- typo3/sysext/frontend/Classes/ContentObject/ContentObjectArrayInternalContentObject.php 5 additions, 12 deletions...ContentObject/ContentObjectArrayInternalContentObject.php
- typo3/sysext/frontend/Classes/ContentObject/ContentObjectRenderer.php 1 addition, 1 deletion.../frontend/Classes/ContentObject/ContentObjectRenderer.php
- typo3/sysext/frontend/Classes/ContentObject/EditPanelContentObject.php 1 addition, 1 deletion...frontend/Classes/ContentObject/EditPanelContentObject.php
- typo3/sysext/frontend/Classes/ContentObject/FilesContentObject.php 3 additions, 14 deletions...ext/frontend/Classes/ContentObject/FilesContentObject.php
- typo3/sysext/frontend/Classes/ContentObject/HierarchicalMenuContentObject.php 9 additions, 6 deletions...d/Classes/ContentObject/HierarchicalMenuContentObject.php
- typo3/sysext/frontend/Classes/ContentObject/ImageContentObject.php 4 additions, 10 deletions...ext/frontend/Classes/ContentObject/ImageContentObject.php
- typo3/sysext/frontend/Classes/ContentObject/ImageResourceContentObject.php 8 additions, 8 deletions...tend/Classes/ContentObject/ImageResourceContentObject.php
- typo3/sysext/frontend/Classes/ContentObject/LoadRegisterContentObject.php 3 additions, 2 deletions...ntend/Classes/ContentObject/LoadRegisterContentObject.php
- typo3/sysext/frontend/Classes/ContentObject/Menu/AbstractMenuContentObject.php 12 additions, 8 deletions.../Classes/ContentObject/Menu/AbstractMenuContentObject.php
- typo3/sysext/frontend/Classes/ContentObject/Menu/TextMenuContentObject.php 3 additions, 2 deletions...tend/Classes/ContentObject/Menu/TextMenuContentObject.php
- typo3/sysext/frontend/Classes/ContentObject/RecordsContentObject.php 13 additions, 20 deletions...t/frontend/Classes/ContentObject/RecordsContentObject.php
- typo3/sysext/frontend/Classes/ContentObject/RestoreRegisterContentObject.php 2 additions, 1 deletion...nd/Classes/ContentObject/RestoreRegisterContentObject.php
- typo3/sysext/frontend/Classes/ContentObject/UserInternalContentObject.php 0 additions, 8 deletions...ntend/Classes/ContentObject/UserInternalContentObject.php
- typo3/sysext/frontend/Classes/Controller/TypoScriptFrontendController.php 6 additions, 0 deletions...ntend/Classes/Controller/TypoScriptFrontendController.php
- typo3/sysext/frontend/Tests/Functional/ContentObject/FilesContentObjectTest.php 2 additions, 3 deletions...Tests/Functional/ContentObject/FilesContentObjectTest.php
- typo3/sysext/frontend/Tests/Unit/ContentObject/Menu/AbstractMenuContentObjectTest.php 4 additions, 0 deletions...Unit/ContentObject/Menu/AbstractMenuContentObjectTest.php
Please register or sign in to comment