Bug #90850
closedtypolink generates links for non-reachable pages
100%
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
)
Updated by Markus Klein over 4 years ago
- Related to Bug #87260: Untranslated records should not be linked added
Updated by Gerrit Code Review over 4 years ago
- Status changed from New to Under Review
Patch set 1 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/63946
Updated by Markus Klein over 4 years ago
- Related to Bug #85063: \TYPO3\CMS\Frontend\Typolink\PageLinkBuilder::build doesn't honor l18n_cfg settings added
Updated by Gerrit Code Review over 4 years ago
Patch set 1 for branch TYPO3_8-7 of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/63950
Updated by Gerrit Code Review over 4 years ago
Patch set 2 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/63946
Updated by Gerrit Code Review over 4 years ago
Patch set 1 for branch 9.5 of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/64058
Updated by Gerrit Code Review over 4 years ago
Patch set 2 for branch 9.5 of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/64058
Updated by Gerrit Code Review over 4 years ago
Patch set 3 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/63946
Updated by Gerrit Code Review over 4 years ago
Patch set 3 for branch 9.5 of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/64058
Updated by Markus Klein over 4 years ago
- Status changed from Under Review to Resolved
- % Done changed from 0 to 100
Applied in changeset 17b0786b28c18989bf2d1e234cfd2da0658ac810.