Actions
Bug #104318
openBackendUtility::getPageTSconfig returns wrong result
Status:
Under Review
Priority:
Should have
Assignee:
-
Category:
Backend API
Target version:
Start date:
2024-07-05
Due date:
% Done:
0%
Estimated time:
TYPO3 Version:
12
PHP Version:
8.2
Tags:
Complexity:
Is Regression:
Yes
Sprint Focus:
Description
The new two-level cache introduced in #100701 maps the page UID to a cache hash, which is built only from these parts:
1. the site identifier
2. all `TSconfig` fields from the root line
3. all `tsconfig_includes` fields from the root line
Two pages in the same site, with the same includes and configuration, map to the same cache hash.
The cached result is the evaluated PageTS config array, which will be the same for both page UIDs –
even if one of them has a condition that would change the TSconfig.
Automatic reproduction: https://github.com/fwg/typo3-bugs/tree/forge/104318
Actions