Bug #85063

\TYPO3\CMS\Frontend\Typolink\PageLinkBuilder::build doesn't honor l18n_cfg settings

Added by Peter Kraume over 3 years ago. Updated over 2 years ago.

Status:
Closed
Priority:
Should have
Assignee:
-
Category:
Frontend
Target version:
-
Start date:
2018-05-22
Due date:
% Done:

100%

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

Description

Links to a page within TYPO3, that has the l18n_cfg flag set for "Hide default translation of page", result in TYPO3 creating broken links which leads to a 404 error.

How to reproduce:
  1. create a page and enable "Hide default translation of page" in page settings
  2. go somewhere else and create a link to that page e.g. in the RTE

Current behavior:
TYPO3 creates a link to the page but the link broken (404)

Expected behavior:
TYPO3 should not create the link

Scope of the problem:
This bug effects all places where, e.g. $this->cObj->typoLink_URL() is used.
- TypoScript and typolink usage
- any record that has a link field (tt_content, tx_news, etc.)

I haven't checked it yet, but I assume that TYPO3 7.6 is affected as well.


Related issues

Related to TYPO3 Core - Bug #82122: Typo3DbBackend::doLanguageAndWorkspaceOverlay ignores pages l18n_cfgClosed2017-08-17

Actions
Related to TYPO3 Core - Bug #84139: l18n_cfg not respected in sysext/frontend/Classes/Page/PageRepository.phpClosed2018-03-05

Actions
Related to TYPO3 Core - Bug #75014: l18n_cfg not respected in fluid_styled_contents of type special menuClosed2016-03-10

Actions
Related to TYPO3 Core - Bug #85149: \TYPO3\CMS\Frontend\Page\PageRepository::getPage needs to care about version overlayClosed2018-06-04

Actions
Related to TYPO3 Core - Task #85339: Revert "Honor l18n_cfg in PageRepository"ClosedBenni Mack2018-06-22

Actions
Related to TYPO3 Core - Bug #90850: typolink generates links for non-reachable pagesClosed2020-03-27

Actions

Also available in: Atom PDF