Skip to content
Snippets Groups Projects
Commit d8693afc authored by Markus Friedrich's avatar Markus Friedrich Committed by Benni Mack
Browse files

[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: default avatarcore-ci <typo3@b13.com>
Tested-by: default avatarMarkus Friedrich <markus.friedrich@dkd.de>
Tested-by: default avatarBenni Mack <benni@typo3.org>
Reviewed-by: default avatarMarkus Friedrich <markus.friedrich@dkd.de>
Reviewed-by: default avatarBenni Mack <benni@typo3.org>
parent a50a0c6a
Branches
Tags
Showing
with 78 additions and 109 deletions
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment