Links to pages with setting "Hide default translation of page" should not be rendered
When creating a link in the RTE to the default language version of a page with the setting "Language > Localization > Hide default translation of page", the link gets rendered and is also seen as valid when running the link validator.
As the default language version of the page is hidden, the link throws a 404.
The above mentioned setting should prevent creating the link in the frontend to the default language version of the target page and to a warning in the link validator module, just like when a page is hidden or deleted.
Tested in a vanilla installation of TYPO3 7.6.23 and 8.7.9
#2 Updated by Sybille Peters over 1 year ago
Zsofia, thanks for your report. I will try to clarify if this is a Linkvalidator problem or a link rendering problem.
- If link rendering problem: The links should not be displayed if link target is invisible in current language
- If Linkvalidator problem: I would have to check.
#5 Updated by Beat Haenger 9 months ago
I tested this with TYPO3 9.5 LTS and TYPO3 8.7.22 LTS with regular page links (RTE) as well as with menu elements (menu_pages). When "Hide default translation of page" is active for a page, the link is not rendered and the site does not appear in the menu.
The link validator does not show the link as invalid, but since it is no longer an active link it does not need to be shown as invalid.
This is solved in my opinion.
#9 Updated by Riccardo De Contardi 8 months ago
- Status changed from Needs Feedback to Closed
Thank you for your reply; closing it as requested by the reporter.
If you think that this is the wrong decision or experience this issue again, then please reopen it or open a new issue with a reference to this one.
Thank you and best regards.