Issue Bug Closed

#88294TSFE->tmpl->setup is not populated when TSFE->config is loaded from cache.

Sven Carstens 05/07/19, 15:43 updated 01/16/20, 15:16

Description

During TSFE building from PrepareTypoScriptFrontendRendering the TSFE is initialized via calls to
TSFE->getFromCache()
TSFE->getConfigArray()

If the TSFE->config is loaded from cache TSFE->getConfigArray() will not initialize TSFE->tmpl via TSFE->tmpl->start()

typo3/sysext/frontend/Classes/Controller/TypoScriptFrontendController.php:1828

if (empty($this->config) || is_array($this->config['INTincScript']) || $this->forceTemplateParsing) {

yields true and there is no code path to call TSFE->tmpl->start()

Subsequently TSFE->tmpl->setup stays empty and TSFE->tmpl->loaded is false.

eg. the extbase configuration is requested via typo3/sysext/extbase/Classes/Configuration/FrontendConfigurationManager.php:57 is empty and the mapping configuration for \TYPO3\CMS\Extbase\Domain\Model\FileReference is not set to ‘sys_file_reference’ and the default ‘tx_extbase_domain_model_filereference’ is used.

Reviews 2