Skip to content

Commit

Permalink
[FIX] FrontendEnvironment\Tsfe : replace getConfigArray() with getFro…
Browse files Browse the repository at this point in the history
…mCache()

Migrates cores
 [!!!][TASK] Use new TypoScript parser in Frontend
See:
TYPO3/typo3@a927bc0
  • Loading branch information
dkd-kaehm committed May 15, 2023
1 parent 9be3abb commit 08b846b
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion Classes/FrontendEnvironment/Tsfe.php
Original file line number Diff line number Diff line change
Expand Up @@ -178,7 +178,8 @@ protected function initializeTsfe(int $pageId, int $language = 0, ?int $rootPage
$tsfe->determineId($serverRequest);
$serverRequest->withAttribute('frontend.controller', $tsfe);
$tsfe->no_cache = false;
$tsfe->getConfigArray($serverRequest);
// @todo T12: Check if following line really needed ::1
//$tsfe->getFromCache($serverRequest);

$tsfe->newCObj($serverRequest);
$tsfe->absRefPrefix = self::getAbsRefPrefixFromTSFE($tsfe);
Expand All @@ -198,6 +199,9 @@ protected function initializeTsfe(int $pageId, int $language = 0, ?int $rootPage
$GLOBALS['BE_USER'] = $backedUpBackendUser;
}

// @todo T12: Check if following line really needed ::1
// The manual releasing of locks is low level api and should be avoided in EXT:solr.
//$tsfe->releaseLocks();
$this->tsfeCache[$cacheIdentifier] = $tsfe;
}

Expand Down

0 comments on commit 08b846b

Please sign in to comment.