Issue Bug Closed

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

Peter Kraume 05/22/18, 15:15 updated 04/09/19, 14:52

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.

Reviews 5