Actions
Bug #88486
openLanguage fallback chain is lost with setting "Show Content from Page"
Status:
Accepted
Priority:
Should have
Assignee:
-
Category:
Site Handling, Site Sets & Routing
Target version:
-
Start date:
2019-06-04
Due date:
% Done:
0%
Estimated time:
TYPO3 Version:
9
PHP Version:
7.2
Tags:
Complexity:
Is Regression:
Sprint Focus:
On Location Sprint
Description
To reproduce:
Languages:- /de/ (Default)
- /en/
- /en-us/ (Fallback Type "strict", Fallback to other Languages: "EN")
- Root
- Page 1 [/page-1/, uid: 1, content_from_pid: 2]
- Page 2 [/page-2/, uid: 2]
Frontend:
/en-us/page-1 -> Missing language fallback chain in LanguageAspect. As a result, the navigation is no longer displayed
/en-us/page-2 -> Works. The navigation in language EN is displayed.
https://github.com/TYPO3/TYPO3.CMS/blob/v9.5.7/typo3/sysext/frontend/Classes/Controller/TypoScriptFrontendController.php#L1693
At this point the LanguageAspect will be ovewritten with a new LanguageAspect without fallback chain.
This modified LanguageAspect is used for menu generation (https://github.com/TYPO3/TYPO3.CMS/blob/v9.5.7/typo3/sysext/frontend/Classes/Page/PageRepository.php#L634).
Actions