Bug #104318
openBackendUtility::getPageTSconfig returns wrong result
0%
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
Updated by Friedemann Altrock 5 months ago
- Related to Bug #98614: Preview with previewPageId by conditions added
Updated by Friedemann Altrock 5 months ago
- Related to Task #100701: Use less memory in BE::getPagesTSconfig() added
Updated by Gerrit Code Review 5 months ago
- Status changed from New to Under Review
Patch set 1 for branch main of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/85139
Updated by Gerrit Code Review 5 months ago
Patch set 2 for branch main of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/85139
Updated by Gerrit Code Review 4 months ago
Patch set 3 for branch main of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/85139
Updated by Gerrit Code Review about 1 month ago
Patch set 4 for branch main of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/85139