Bug #100931
closedNo link generated for record with language 'all languages'
100%
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
Updated by Gerrit Code Review over 1 year 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/+/79696
Updated by Gerrit Code Review over 1 year 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/+/79696
Updated by Gerrit Code Review over 1 year 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/+/79696
Updated by Gerrit Code Review over 1 year ago
Patch set 1 for branch 12.4 of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/79775
Updated by Benni Mack over 1 year ago
- Status changed from Under Review to Resolved
- % Done changed from 0 to 100
Applied in changeset e56e56e4858579f8bf3957b322e155818ea62bea.
Updated by Christian Kuhn over 1 year ago
- Related to Bug #101718: DatabaseRecordLinkBuilder does not respect language setting for all languages (sys_language_uid = -1) added
Updated by Gerrit Code Review 10 months ago
- Status changed from Resolved to Under Review
Patch set 1 for branch 11.5 of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/82775
Updated by Gerrit Code Review 10 months ago
Patch set 2 for branch 11.5 of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/82775
Updated by Benni Mack 10 months ago
- Status changed from Under Review to Resolved
Applied in changeset 68a963c02c1207d7765336d693493c783e6a1652.