Project

General

Profile

Actions

Bug #49827

closed

Rootline in TSFE->tmpl is broken when translation is used and is_siteroot is set in between

Added by Martin Holtz over 11 years ago. Updated over 5 years ago.

Status:
Closed
Priority:
Should have
Assignee:
-
Category:
TypoScript
Target version:
-
Start date:
2013-07-09
Due date:
% Done:

0%

Estimated time:
TYPO3 Version:
6.1
PHP Version:
Tags:
Complexity:
Is Regression:
No
Sprint Focus:

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.


Related issues 2 (0 open2 closed)

Related to TYPO3 Core - Bug #43668: Rootline in TSFE->tmpl is broken when translation is usedClosed2012-12-06

Actions
Related to TYPO3 Core - Bug #44311: Menustate CUR not working for translations in 6.0.0Closed2013-01-04

Actions
Actions #1

Updated by Mathias Schreiber almost 10 years ago

  • Target version set to 7.2 (Frontend)
  • Is Regression set to No
Actions #2

Updated by Benni Mack over 9 years ago

  • Target version changed from 7.2 (Frontend) to 7.4 (Backend)
Actions #3

Updated by Susanne Moog over 9 years ago

  • Target version changed from 7.4 (Backend) to 7.5
Actions #4

Updated by Benni Mack about 9 years ago

  • Target version changed from 7.5 to 7 LTS
Actions #5

Updated by Mathias Schreiber about 9 years ago

  • Target version changed from 7 LTS to 8 LTS
Actions #6

Updated by Riccardo De Contardi over 8 years ago

  • Category set to TypoScript
Actions #7

Updated by Benni Mack over 7 years ago

  • Target version changed from 8 LTS to next-patchlevel
Actions #8

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...

Actions #9

Updated by Riccardo De Contardi over 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.

Actions

Also available in: Atom PDF