[!!!][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:Christian Kuhn <lolli@schwarzbu.ch> Reviewed-by:
Stefan Bürk <stefan@buerk.tech> Tested-by:
core-ci <typo3@b13.com> Tested-by:
Christian Kuhn <lolli@schwarzbu.ch> Tested-by:
Stefan Bürk <stefan@buerk.tech> Reviewed-by:
Oliver Klee <typo3-coding@oliverklee.de> Reviewed-by:
Anja Leichsenring <aleichsenring@ab-softlab.de> Tested-by:
Anja Leichsenring <aleichsenring@ab-softlab.de>
Showing
- .phpstorm.meta.php 0 additions, 7 deletions.phpstorm.meta.php
- typo3/sysext/adminpanel/Classes/Modules/TsDebug/TypoScriptWaterfall.php 0 additions, 3 deletions...dminpanel/Classes/Modules/TsDebug/TypoScriptWaterfall.php
- typo3/sysext/core/Classes/Context/Context.php 6 additions, 21 deletionstypo3/sysext/core/Classes/Context/Context.php
- typo3/sysext/core/Classes/Context/TypoScriptAspect.php 0 additions, 59 deletionstypo3/sysext/core/Classes/Context/TypoScriptAspect.php
- typo3/sysext/core/Documentation/Changelog/13.0/Breaking-102583-RemovedContextAspectTyposcript.rst 47 additions, 0 deletions...g/13.0/Breaking-102583-RemovedContextAspectTyposcript.rst
- typo3/sysext/frontend/Classes/Controller/TypoScriptFrontendController.php 6 additions, 7 deletions...ntend/Classes/Controller/TypoScriptFrontendController.php
Please register or sign in to comment