[BUGFIX] Allow linking to records that are set to All Languages
This change now checks for a records' sys_language_uid field before doing overlays, and is only doing overlays when the incoming record has a "sys_language_uid" -1 and was properly overlaid. Resolves: #100931 Resolves: #101229 Releases: main, 12.4 Change-Id: I73acaf02de950312d1728936a92b6603ff62eb77 Reviewed-on: https://review.typo3.org/c/Packages/TYPO3.CMS/+/79696 Reviewed-by:Stefan Bürk <stefan@buerk.tech> Tested-by:
Stefan Bürk <stefan@buerk.tech> Reviewed-by:
Benni Mack <benni@typo3.org> Tested-by:
Frank Nägler <frank.naegler@typo3.com> Tested-by:
core-ci <typo3@b13.com> Tested-by:
Benni Mack <benni@typo3.org> Reviewed-by:
Frank Nägler <frank.naegler@typo3.com>
Showing
- typo3/sysext/frontend/Classes/Typolink/DatabaseRecordLinkBuilder.php 16 additions, 9 deletions...t/frontend/Classes/Typolink/DatabaseRecordLinkBuilder.php
- typo3/sysext/frontend/Tests/Functional/SiteHandling/Fixtures/TypoLinkScenario.yaml 1 addition, 0 deletions...ts/Functional/SiteHandling/Fixtures/TypoLinkScenario.yaml
- typo3/sysext/frontend/Tests/Functional/SiteHandling/TypoLinkGeneratorTest.php 4 additions, 0 deletions...d/Tests/Functional/SiteHandling/TypoLinkGeneratorTest.php
Please register or sign in to comment