Actions
Bug #100931
closedNo link generated for record with language 'all languages'
Status:
Closed
Priority:
Should have
Assignee:
-
Category:
Site Handling, Site Sets & Routing
Target version:
-
Start date:
2023-05-30
Due date:
% Done:
100%
Estimated time:
TYPO3 Version:
11
PHP Version:
8.2
Tags:
Complexity:
medium
Is Regression:
Sprint Focus:
Stabilization Sprint
Description
In function 'build' in sysext/frontend/Classes/Typolink/DatabaseRecordLinkBuilder.php a check is done on the availability of field '_LOCALIZED_UID' in the overlay record. However, in function 'getRecordOverlay' in sysext/core/Classes/Domain/Repository/PageRepository.php the record is untouched and therefore not filled with this field when $row[$tableControl['languageField']] equals -1. This means no links are generated in the frontend for records that are supposed to be for all languages, except for the default langauge. In the code these comments are added:
// Return record for ALL languages untouched
// @todo: Fix call stack to prevent this situation in the first place
Actions