Project

General

Profile

Actions

Bug #90850

closed

typolink generates links for non-reachable pages

Added by Markus Klein about 4 years ago. Updated almost 4 years ago.

Status:
Closed
Priority:
Must have
Assignee:
-
Category:
Content Rendering
Target version:
-
Start date:
2020-03-27
Due date:
% Done:

100%

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

Description

Problem

typolink generates URLs to pages, which end up in a 404 error when using this link

Setup

FE|hidePagesIfNotTranslatedByDefault = true
fallbackType: fallback (in site config)

Reproduction

  • Create pages "A" and "B".
  • Add content (e.g. header CE) to both pages
  • Create a link from page "A" to "B" in the content
  • Translate page "A".
  • View page "A" in FE in the translated language
  • Click the link

Expected behaviour

If the link target cannot be reached by definition, the link must not be created at all.

Notes

If FE|hidePagesIfNotTranslatedByDefault = false then the created link is of course legitimate as the fallback content will be shown.

The same problem exists if fallbackType: strict (independent of FE|hidePagesIfNotTranslatedByDefault)


Related issues 2 (0 open2 closed)

Related to TYPO3 Core - Bug #87260: Untranslated records should not be linkedClosedMathias Brodala2018-12-21

Actions
Related to TYPO3 Core - Bug #85063: \TYPO3\CMS\Frontend\Typolink\PageLinkBuilder::build doesn't honor l18n_cfg settingsClosed2018-05-22

Actions
Actions

Also available in: Atom PDF