Project

General

Profile

Actions

Bug #100329

closed

Re-introduced SQL query per page

Added by Christoph Lehmann over 1 year ago. Updated 5 months ago.

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.


Related issues 1 (0 open1 closed)

Related to TYPO3 Core - Bug #100700: TypeError in Redirects moduleClosedOliver Bartsch2023-04-21

Actions
Actions

Also available in: Atom PDF