Actions
Bug #100329
closedRe-introduced SQL query per page
Status:
Closed
Priority:
Should have
Assignee:
-
Category:
Caching
Target version:
-
Start date:
2023-03-27
Due date:
% Done:
100%
Estimated time:
TYPO3 Version:
12
PHP Version:
Tags:
Complexity:
Is Regression:
Sprint Focus:
Description
#100188 fixed a bug, but also re-introduced a SQL query per page.
# TYPO3.CMS/typo3/sysext/frontend/Classes/Typolink/PageLinkBuilder.php:404 if (($page['uid'] ?? false) !== $linkDetails['pageuid']) { $page = $pageRepository->getPage($linkDetails['pageuid'], $disableGroupAccessCheck); }
Here $linkDetails['pageuid'] is a string and thus getPage() is always triggered.
Actions