Project

General

Profile

Actions

Bug #88294

closed

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

Added by Sven Carstens almost 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 #1

Updated by Gerrit Code Review almost 5 years ago

  • Status changed from New to Under Review

Patch set 1 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/60712

Actions #2

Updated by Gerrit Code Review almost 5 years ago

Patch set 1 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/60713

Actions #3

Updated by Gerrit Code Review almost 5 years ago

Patch set 2 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/60713

Actions #4

Updated by Gerrit Code Review almost 5 years ago

Patch set 3 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/60713

Actions #5

Updated by Gerrit Code Review almost 5 years ago

Patch set 4 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/60713

Actions #6

Updated by Gerrit Code Review almost 5 years ago

Patch set 5 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/60713

Actions #7

Updated by Gerrit Code Review almost 5 years ago

Patch set 6 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/60713

Actions #8

Updated by Gerrit Code Review almost 5 years ago

Patch set 7 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/60713

Actions #9

Updated by Christian Eßl over 4 years ago

  • Category set to Frontend
Actions #10

Updated by Gerrit Code Review over 4 years ago

Patch set 8 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/60713

Actions #11

Updated by Benni Mack over 4 years ago

  • Status changed from Under Review to Closed

As discussed, needs to be solved with custom loading in middlewares in TYPO3 v9, in TYPO3 v10 the code is more streamlined and easily possible.

Actions

Also available in: Atom PDF