#85063\TYPO3\CMS\Frontend\Typolink\PageLinkBuilder::build doesn't honor l18n_cfg settings
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:- create a page and enable “Hide default translation of page” in page settings
- 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
- main 57276[BUGFIX] Do not link l18n_cfg restricted pages
- TYPO3_8-7 57345[BUGFIX] Do not link l18n_cfg restricted pages
- main 57038[BUGFIX] Honor l18n_cfg settings in PageRepository
- TYPO3_8-7 57116[BUGFIX] Honor l18n_cfg settings in PageRepository
- main 57120[BUGFIX] Use correct version information for page decisions
Related issues 6
- Bug #75014l18n_cfg not respected in fluid_styled_contents of type special menu
- Bug #82122Typo3DbBackend::doLanguageAndWorkspaceOverlay ignores pages l18n_cfg
- Bug #84139l18n_cfg not respected in sysext/frontend/Classes/Page/PageRepository.php
- Bug #85149\TYPO3\CMS\Frontend\Page\PageRepository::getPage needs to care about version overlay
- Task #85339Revert "Honor l18n_cfg in PageRepository"
- Bug #90850typolink generates links for non-reachable pages