Skip to content
Snippets Groups Projects
Commit 57b5ef2c authored by Christian Kuhn's avatar Christian Kuhn
Browse files

[!!!][TASK] Simplify adminPanel forceTemplateParsing

EXT:adminpanel class TypoScriptWaterfall sets both
'no_cache' and the typoscript context aspect
'forcedTemplateParsing' to true when the admin
panel related option 'Force template parsing' is
enabled.

This setting is "on" by either using the admin panel
FE interface (which stores settings in BE user "uc"),
or using BE user UserTsConfig
admPanel.override.tsdebug.forceTemplateParsing = 1.

All consumers of the forcedTemplateParsing aspect
property (namely in TypoScriptFrontendController)
always check both 'no_cache' and 'forcedTemplateParsing',
so that's duplicate information.

The patch removes the 'typoscript' context aspect
altogether and simplifies consumers to rely on the
'no_cache' flag only.

Resolves: #102583
Releases: main
Change-Id: I33599ff7c23ce48102f9473d74ae1358f343c36c
Reviewed-on: https://review.typo3.org/c/Packages/TYPO3.CMS/+/82066


Reviewed-by: default avatarChristian Kuhn <lolli@schwarzbu.ch>
Reviewed-by: default avatarStefan Bürk <stefan@buerk.tech>
Tested-by: default avatarcore-ci <typo3@b13.com>
Tested-by: default avatarChristian Kuhn <lolli@schwarzbu.ch>
Tested-by: default avatarStefan Bürk <stefan@buerk.tech>
Reviewed-by: default avatarOliver Klee <typo3-coding@oliverklee.de>
Reviewed-by: default avatarAnja Leichsenring <aleichsenring@ab-softlab.de>
Tested-by: default avatarAnja Leichsenring <aleichsenring@ab-softlab.de>
parent f31540a2
No related merge requests found
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