http://forge.typo3.org/http://forge.typo3.org/themes/typo3_forge/favicon/favicon.png?17058661692013-05-16T18:19:54ZTYPO3 ForgeTYPO3 Core - Bug #48300: Entrylevel wrong when switching languageshttp://forge.typo3.org/issues/48300?journal_id=1656612013-05-16T18:19:54ZPhilipp Gampephilipp.gampe@typo3.org
<ul><li><strong>Status</strong> changed from <i>New</i> to <i>Needs Feedback</i></li></ul><p>Are you sure that you created translations for all pages?</p> TYPO3 Core - Bug #48300: Entrylevel wrong when switching languageshttp://forge.typo3.org/issues/48300?journal_id=1656632013-05-16T18:30:02ZPhilipp Gampephilipp.gampe@typo3.org
<ul></ul><p>I can not reproduce this. Please share more details, best would be an export of a sample page tree including the TS.</p> TYPO3 Core - Bug #48300: Entrylevel wrong when switching languageshttp://forge.typo3.org/issues/48300?journal_id=1672992013-05-29T04:45:30ZJochen Weberjochenweber@gmx.de
<ul></ul><p>same issue.<br />when i increment the entryLevel within a condition to the language(!=0), everything works like expected.<br />i also disabled the realurl-extension to exclude this. i will create an sample export next days...</p> TYPO3 Core - Bug #48300: Entrylevel wrong when switching languageshttp://forge.typo3.org/issues/48300?journal_id=1673112013-05-29T12:25:45ZJochen Weberjochenweber@gmx.de
<ul></ul><p>the range of "special = rootline" also starts at the wrong point.<br />i defined a page with "is_siteroot", but in a other language as default, it is ignored.</p> TYPO3 Core - Bug #48300: Entrylevel wrong when switching languageshttp://forge.typo3.org/issues/48300?journal_id=1674862013-05-31T13:05:17ZAlexander Stehlik
<ul></ul><p>I think i found the Problem in</p>
<pre>
\TYPO3\CMS\Frontend\Controller\TypoScriptFrontendController::updateRootLinesWithTranslations()
</pre>
<p>In this method the rootline of the template is overwritten which look pretty dirty to me:</p>
<pre>
$this->tmpl->rootLine = array_reverse($this->sys_page->getRootLine($this->id, $this->MP));
</pre>
<p>The rootline of the template should be initialized by passing it to the <code>start()</code> method of the <code>TemplateService</code> (<code>\TYPO3\CMS\Core\TypoScript\TemplateService::start($theRootLine)</code>). Otherwise configuration options like "root" of the template are totally ignored.</p>
<p>The change was commited with <a class="changeset" title="[BUGFIX] Fix rootline translation The fix in #42029 introduced a regression as TSFE->tmpl->rootL..." href="http://forge.typo3.org/projects/typo3cms-core/repository/1749/revisions/51f416659ee7c8de827b036471b7c3d5efbd1634">51f41665</a> and reviewed here: <a class="external" href="https://review.typo3.org/#/c/16992/">https://review.typo3.org/#/c/16992/</a></p> TYPO3 Core - Bug #48300: Entrylevel wrong when switching languageshttp://forge.typo3.org/issues/48300?journal_id=1674892013-05-31T13:17:08ZAlexander Stehlik
<ul><li><strong>File</strong> <a href="/attachments/24100">test_bug_48300.t3d</a> <a class="icon-only icon-download" title="Download" href="/attachments/download/24100/test_bug_48300.t3d">test_bug_48300.t3d</a> added</li></ul><p>To test the problem you have two options:</p>
<ol>
<li>use <code>config.sys_language_mode = content_fallback; 0</code></li>
<li>add a language record to the sub root page</li>
</ol>
<p>I attach a small page tree export where you can test the problem:</p>
<ol>
<li>in the TYPO3 root create a "Alternative Page Language" record (e.g. English) <strong>with UID 2</strong></li>
<li>import the <code>t3d</code> file</li>
<li>navigate to page subroot1 - page 1.1 (has a language record)</li>
<li>append <code>&L=2</code> to URL</li>
</ol>
<p><strong>Expected behavior:</strong> The menu structure should not change</p>
<p><strong>Current behavior:</strong> The menu is now linking to the root pages.</p> TYPO3 Core - Bug #48300: Entrylevel wrong when switching languageshttp://forge.typo3.org/issues/48300?journal_id=1676602013-05-31T17:12:25ZGerrit Code Review
<ul><li><strong>Status</strong> changed from <i>Needs Feedback</i> to <i>Under Review</i></li></ul><p>Patch set 1 for branch <strong>master</strong> has been pushed to the review server.<br />It is available at <a class="external" href="https://review.typo3.org/21174">https://review.typo3.org/21174</a></p> TYPO3 Core - Bug #48300: Entrylevel wrong when switching languageshttp://forge.typo3.org/issues/48300?journal_id=1682312013-06-04T11:52:40ZFlorian Scholzelchi3@elchi3.de
<ul></ul><p>Can we please have this in a 6.1.x release? I consider this as a major bug.</p> TYPO3 Core - Bug #48300: Entrylevel wrong when switching languageshttp://forge.typo3.org/issues/48300?journal_id=1684152013-06-05T10:12:58ZGerrit Code Review
<ul></ul><p>Patch set 2 for branch <strong>master</strong> has been pushed to the review server.<br />It is available at <a class="external" href="https://review.typo3.org/21174">https://review.typo3.org/21174</a></p> TYPO3 Core - Bug #48300: Entrylevel wrong when switching languageshttp://forge.typo3.org/issues/48300?journal_id=1694922013-06-15T14:37:26ZGerrit Code Review
<ul></ul><p>Patch set 3 for branch <strong>master</strong> has been pushed to the review server.<br />It is available at <a class="external" href="https://review.typo3.org/21174">https://review.typo3.org/21174</a></p> TYPO3 Core - Bug #48300: Entrylevel wrong when switching languageshttp://forge.typo3.org/issues/48300?journal_id=1694932013-06-15T14:40:27ZGerrit Code Review
<ul></ul><p>Patch set 1 for branch <strong>TYPO3_6-1</strong> has been pushed to the review server.<br />It is available at <a class="external" href="https://review.typo3.org/21449">https://review.typo3.org/21449</a></p> TYPO3 Core - Bug #48300: Entrylevel wrong when switching languageshttp://forge.typo3.org/issues/48300?journal_id=1695002013-06-15T15:30:29ZAlexander Stehlik
<ul><li><strong>Status</strong> changed from <i>Under Review</i> to <i>Resolved</i></li><li><strong>% Done</strong> changed from <i>0</i> to <i>100</i></li></ul><p>Applied in changeset <a class="changeset" title="[BUGFIX] Fix template rootline for translated pages The TypoScript template rootline in the Fron..." href="http://forge.typo3.org/projects/typo3cms-core/repository/1749/revisions/d5b2763d018f256f99120db69f9f0af2f65635e3">d5b2763d018f256f99120db69f9f0af2f65635e3</a>.</p> TYPO3 Core - Bug #48300: Entrylevel wrong when switching languageshttp://forge.typo3.org/issues/48300?journal_id=3841612018-10-02T12:14:09ZBenni Mackbenni@typo3.org
<ul><li><strong>Status</strong> changed from <i>Resolved</i> to <i>Closed</i></li></ul>