http://forge.typo3.org/http://forge.typo3.org/themes/typo3_forge/favicon/favicon.png?17058661692019-06-14T11:09:07ZTYPO3 ForgeTYPO3 Core - Bug #88563: Link generation should not be created when the target pid pages_language_overlay is disabled.http://forge.typo3.org/issues/88563?journal_id=4019262019-06-14T11:09:07ZRuud Silvrantsruudsilvrants@gmail.com
<ul></ul><p>`$language = empty($page['_PAGES_OVERLAY']) ? 0 : $page['_PAGES_OVERLAY_LANGUAGE'];`<br />Should be changed to ` $language = empty($page['_PAGES_OVERLAY']) ? $tsfe->sys_language_uid : $page['_PAGES_OVERLAY_LANGUAGE'];`</p> TYPO3 Core - Bug #88563: Link generation should not be created when the target pid pages_language_overlay is disabled.http://forge.typo3.org/issues/88563?journal_id=4042142019-08-02T19:36:42ZSusanne Moogsusanne.moog@typo3.org
<ul><li><strong>Tags</strong> set to <i>CodingNight</i></li></ul> TYPO3 Core - Bug #88563: Link generation should not be created when the target pid pages_language_overlay is disabled.http://forge.typo3.org/issues/88563?journal_id=4118432019-12-23T22:06:21ZBenni Mackbenni@typo3.org
<ul><li><strong>Status</strong> changed from <i>New</i> to <i>Needs Feedback</i></li></ul><p>Hi Ruud,</p>
<p>I think we fixed this with Site Handling and TYPO3 v9. Can you verify and recheck?</p> TYPO3 Core - Bug #88563: Link generation should not be created when the target pid pages_language_overlay is disabled.http://forge.typo3.org/issues/88563?journal_id=4192052020-03-15T16:42:16ZRiccardo De Contardierredeco@gmail.com
<ul></ul><p>I performed the following test with the latest 10.4.0-dev version:</p>
<a name="Prerequisites"></a>
<h3 >Prerequisites<a href="#Prerequisites" class="wiki-anchor">¶</a></h3>
<p>1) TYPO3 10.4.0-dev with two languages configured (<abbr title="default">ITA</abbr>, <abbr title="ID=1">ENG</abbr>)<br />2) TS Setup:</p>
<pre>
page = PAGE
page.5 = TEXT
page.5 {
data = page:title
wrap = <h1>|</h1>
}
page.100 =< styles.content.get
styles.content.get.select.includeRecordsWithoutDefaultTranslation = 1
</pre>
<a name="test"></a>
<h3 >test<a href="#test" class="wiki-anchor">¶</a></h3>
<p>1) Create page test88563a - URL: <a class="external" href="https://typo3.test.it/test88563a">https://typo3.test.it/test88563a</a><br />2) Translate it in english (test88563a-eng) - URL: <a class="external" href="https://typo3.test.it/en/test88563a-eng">https://typo3.test.it/en/test88563a-eng</a></p>
<p>3) Create page test88563b - URL: <a class="external" href="https://typo3.test.it/test88563b">https://typo3.test.it/test88563b</a><br />4) Translate it in english (test88563b-eng)<br />5) Disable test88563b-eng (Tab access > Hidden=1) - URL: <a class="external" href="https://typo3.test.it/en/test88563b-eng">https://typo3.test.it/en/test88563b-eng</a></p>
<p>6) test88563a-eng > create a new content element, type: header only<br />6.1) edit it: [header]: test eng; [header_link]: link to page test88563b-eng<br />7) visit the URL <a class="external" href="https://typo3.test.it/en/test88563a-eng">https://typo3.test.it/en/test88563a-eng</a></p>
<a name="Results"></a>
<h3 >Results<a href="#Results" class="wiki-anchor">¶</a></h3>
<p>1) The content element with the link is visible, and the link is <a class="external" href="https://typo3.test.it/en/test88563b">https://typo3.test.it/en/test88563b</a> (so the italian pagename, just with the /en/ prefix)<br />2) Clicking on it you go to the italian version of the page; the same if you try to access directly <a class="external" href="https://typo3.test.it/en/test88563b-eng">https://typo3.test.it/en/test88563b-eng</a> - you see the italian version of the page<br />3) If you use the setting <code>[FE][hidePagesIfNotTranslatedByDefault] = true</code> then the link is still active, but acts as a 404</p> TYPO3 Core - Bug #88563: Link generation should not be created when the target pid pages_language_overlay is disabled.http://forge.typo3.org/issues/88563?journal_id=4844362023-01-17T19:59:08ZBenni Mackbenni@typo3.org
<ul></ul><p>Hi,</p>
<p>I'd say this is correct behaviour?</p> TYPO3 Core - Bug #88563: Link generation should not be created when the target pid pages_language_overlay is disabled.http://forge.typo3.org/issues/88563?journal_id=5056372023-12-04T23:20:50ZBenni Mackbenni@typo3.org
<ul><li><strong>Status</strong> changed from <i>Needs Feedback</i> to <i>Closed</i></li></ul><p>Closing this issue due to lack of feedback. If you feel this is the wrong behaviour, let me know so I can re-open this issue.</p>