[BUGFIX] Fix wrong language parameters in language menu shortcut links
When a shortcut page is used for a translated page, but its parent is not of type shortcut, the generated link would always use the current language of the frontend context instead of the actual required language set in _PAGES_OVERLAY_REQUESTEDLANGUAGE. Resolves: #89871 Related: #81657 Related: #86595 Related: #19114 Releases: master, 10.4 Change-Id: Iaa4e682e2bd79852b5e586b1764fd42ae8676644 Reviewed-on: https://review.typo3.org/c/Packages/TYPO3.CMS/+/62552 Tested-by:Richard Haeser <richard@richardhaeser.com> Tested-by:
TYPO3com <noreply@typo3.com> Tested-by:
Benni Mack <benni@typo3.org> Reviewed-by:
Richard Haeser <richard@richardhaeser.com> Reviewed-by:
Benni Mack <benni@typo3.org>
Showing
- typo3/sysext/frontend/Classes/ContentObject/Menu/AbstractMenuContentObject.php 4 additions, 1 deletion.../Classes/ContentObject/Menu/AbstractMenuContentObject.php
- typo3/sysext/frontend/Tests/Functional/SiteHandling/LocalizedPageRendering/Fixtures/ScenarioD.yaml 4 additions, 1 deletion...teHandling/LocalizedPageRendering/Fixtures/ScenarioD.yaml
- typo3/sysext/frontend/Tests/Functional/SiteHandling/LocalizedPageRendering/ScenarioDTest.php 7 additions, 0 deletions...nal/SiteHandling/LocalizedPageRendering/ScenarioDTest.php
Please register or sign in to comment