[BUGFIX] Resolve shortcut to a different page in a localized page
When a page translation of type=shortcut (doktype=4) contains a different value than its original page, the proper target URL is now resolved correctly upon link creation and link resolving in TSFE. This additionally fixes flaws in the behavior of first subpage in cases where the first subpage differs between languages. Resolves: #98565 Resolves: #98566 Resolves: #87815 Releases: main, 12.4 Change-Id: If44033affc1cde1f59d5ccab97d75cffd01d2ad0 Reviewed-on: https://review.typo3.org/c/Packages/TYPO3.CMS/+/79751 Tested-by:core-ci <typo3@b13.com> Tested-by:
Benni Mack <benni@typo3.org> Reviewed-by:
Benni Mack <benni@typo3.org>
Showing
- typo3/sysext/frontend/Classes/Controller/TypoScriptFrontendController.php 1 addition, 0 deletions...ntend/Classes/Controller/TypoScriptFrontendController.php
- typo3/sysext/frontend/Classes/Typolink/PageLinkBuilder.php 8 additions, 0 deletionstypo3/sysext/frontend/Classes/Typolink/PageLinkBuilder.php
- typo3/sysext/frontend/Tests/Functional/SiteHandling/Fixtures/SlugScenario.yaml 2 additions, 0 deletions.../Tests/Functional/SiteHandling/Fixtures/SlugScenario.yaml
- typo3/sysext/frontend/Tests/Functional/SiteHandling/SlugLinkGeneratorTest.php 15 additions, 1 deletion...d/Tests/Functional/SiteHandling/SlugLinkGeneratorTest.php
- typo3/sysext/frontend/Tests/Functional/SiteHandling/SlugSiteRequestTest.php 25 additions, 11 deletions...end/Tests/Functional/SiteHandling/SlugSiteRequestTest.php
Please register or sign in to comment