Skip to content
Snippets Groups Projects
Commit 6dd767b5 authored by Helmut Hummel's avatar Helmut Hummel
Browse files

[BUGFIX] Avoid calling frontend page preparations twice

With the introduced cleanup, one removed condition was
essential to avoid calling page rendering preparations twice.

Resolves: #84945
Releases: master
Change-Id: Ic7b977b2d2c52dc619686f95e9001eed4202717b
Reviewed-on: https://review.typo3.org/56898


Reviewed-by: default avatarMarkus Klein <markus.klein@typo3.org>
Tested-by: default avatarMarkus Klein <markus.klein@typo3.org>
Reviewed-by: default avatarBenni Mack <benni@typo3.org>
Tested-by: default avatarBenni Mack <benni@typo3.org>
parent 05cc0cc6
Branches
Tags
No related merge requests found
......@@ -88,7 +88,10 @@ class RequestHandler implements RequestHandlerInterface, PsrRequestHandlerInterf
// Render non-cached page parts by replacing placeholders which are taken from cache or added during page generation
if ($controller->isINTincScript()) {
$controller->preparePageContentGeneration();
if (!$controller->isGeneratePage()) {
// When page was generated, this was already called. Avoid calling this twice.
$controller->preparePageContentGeneration();
}
$this->timeTracker->push('Non-cached objects');
$controller->INTincScript();
$this->timeTracker->pull();
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment