Bug #49827
closedRootline in TSFE->tmpl is broken when translation is used and is_siteroot is set in between
0%
Description
This bug seems to be related to #43668 - but IMHO is a bit different.
There is a problem with the rootline when translation is used and is_siteroot is not set on the root page but somewhere in between the rootline.
- root [1] -- starting [2] is_siteroot=1 --- submenue [3]
In the default language i get the rootline "starting <- submenue" but when translation is used, i get the rootline "root <- starting <- submenue". So the menu rendering does not work correct.
When calling TypoScriptFrontendController->updateRootLinesWithTranslations(), $this->tmpl->rootLine has been loaded with the the rootline up to "is_siteroot=1". So the rootline is "starting <- submenue."
But then $this->tmpl->rootLine is overwritten by $this->sys_page->getRootLine() an sets the rootline to "root <- starting <- submenue".
Afaik the check against "is_siteroot" is done in
TYPO3::CMS::Core::TypoScript::TemplateService->processTemplate
Line 686 // If the template record is a Rootlevel record, set the flag and clear the template rootLine (so it starts over from this point)
[[http://api.typo3.org/typo3cms/current/html/_template_service_8php_source.html#l00597]]
The solution of Sven Wappler [[http://forge.typo3.org/issues/43668#note-15]] works for us, but i had not tested it with mountpoints f.e. and do not know yet, if it has some sideeffects too.
Updated by Mathias Schreiber over 9 years ago
- Target version set to 7.2 (Frontend)
- Is Regression set to No
Updated by Benni Mack about 9 years ago
- Target version changed from 7.2 (Frontend) to 7.4 (Backend)
Updated by Susanne Moog about 9 years ago
- Target version changed from 7.4 (Backend) to 7.5
Updated by Benni Mack almost 9 years ago
- Target version changed from 7.5 to 7 LTS
Updated by Mathias Schreiber almost 9 years ago
- Target version changed from 7 LTS to 8 LTS
Updated by Benni Mack over 7 years ago
- Target version changed from 8 LTS to next-patchlevel
Updated by Benni Mack over 5 years ago
- Status changed from New to Needs Feedback
- Target version deleted (
next-patchlevel)
Hey Martin,
is this issue fixed for you? Sven Wapplers change was added back then...
Updated by Riccardo De Contardi about 5 years ago
- Status changed from Needs Feedback to Closed
No feedback since the last 90 days => closing this issue.
If you think that this is the wrong decision or experience the issue again and have more information about how to reproduce your problem, please reopen it or ping me
thank you.