Issue Bug Under Review

#108376Page linkbrowser should not link to content elements inside a non-linkable page

Jigal van Hemert 12/02/25, 12:09 updated 11/10/26, 18:48

Description

If a page/folder is one of the non-linkable types the Page link browser will not allow linking to that page record. It will however list the content elements in such a page (this happens for example with folder with news records. Content elements in News records will show up in the link browser in a News folder).
In frontend such links will end up as a 404 because the URL will link to the page with the content element as URL fragment. If the page/folder in non-linkable then content elements inside that page/folder should also be considered as non-linkable (at least for the Page link browser).

Solution: in \TYPO3\CMS\Backend\LinkHandler\PageLinkHandler::getRecordsOnExpandedPage() an early check if the active page record is non-linkable could result in an early return.

Reviews 1

History 14