Skip to content
Snippets Groups Projects
Commit d8ade28c authored by Christian Kuhn's avatar Christian Kuhn Committed by Benni Mack
Browse files

[TASK] Avoid TSFE->pSetup

Internal property TypoScriptFrontendController->pSetup
contains the TypoScript PAGE TS array of the current
type/typeNum.

FE RequestHandler uses this, but it can be derived directly
from the current type in Request attribute 'routing'
combined with a TS array lookup in Request attribute
'controller.typoscript'.

The patch avoids and removes TSFE->pSetup which resolves
a spaghetti dependency from TypoScriptFrontendController
up into RequestHandler.

Main method processHtmlBasedRenderingSettings() is
streamlined carefully along the way.

Resolves: #102562
Releases: main
Change-Id: I67970ad68e1a3b5fdc5c578d26d430fd61727d4d
Reviewed-on: https://review.typo3.org/c/Packages/TYPO3.CMS/+/82047


Tested-by: default avatarBenni Mack <benni@typo3.org>
Reviewed-by: default avatarBenni Mack <benni@typo3.org>
Tested-by: default avatarAndreas Kienast <a.fernandez@scripting-base.de>
Reviewed-by: default avatarAndreas Kienast <a.fernandez@scripting-base.de>
Tested-by: default avatarcore-ci <typo3@b13.com>
parent 99093f7e
Branches
Tags
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