Project

General

Profile

Actions

Bug #88294

closed

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

Added by Sven Carstens about 5 years ago. Updated over 4 years ago.

Status:
Closed
Priority:
Must have
Assignee:
-
Category:
Frontend
Target version:
-
Start date:
2019-05-07
Due date:
% Done:

0%

Estimated time:
TYPO3 Version:
10
PHP Version:
Tags:
Complexity:
Is Regression:
Sprint Focus:

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.

Actions

Also available in: Atom PDF