#108376Page linkbrowser should not link to content elements inside a non-linkable page
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
-
Maike Kiebele changed assigned to Maike Kiebele <span data-processor="relativetime" data-value="2026-06-09T11:47:54+00:00" > 06/09/26, 11:47 </span>
-
Gerrit Code Review pushed patch set 1 for main to change 94439 status
NewUnder Review <span data-processor="relativetime" data-value="2026-06-09T12:40:25+00:00" > 06/09/26, 12:40 </span> -
Gerrit Code Review pushed patch set 2 for main to change 94439 <span data-processor="relativetime" data-value="2026-08-06T19:01:46+00:00" > 08/06/26, 19:01 </span>
-
Gerrit Code Review pushed patch set 3 for main to change 94439 <span data-processor="relativetime" data-value="2026-11-10T18:48:35+00:00" > 11/10/26, 18:48 </span>