Issue Bug Closed

#107291Menu shows not subpages when children are only of type Mount Point

Tim Schreiner 08/15/25, 09:45 updated 08/17/25, 21:10

Description

When a page has only children of type Mount Point, these children will not be recognized when using the MenuDataProcessor.

Steps to reproduce:

1. Create a standard page 1 and a Mount Point as subpage. For “Mount Point Display Option” choose “Show the mounted page”.
2. Create a menu processor that shows a least 2 levels
3. Check the generated menu. The standard page will not have any subpages.
4. Create a standard page as subpage near the Mount Point page
5. Check generated menu again. Both subpages are shown.

The problem seems to be in this line of code https://github.com/TYPO3/typo3/blob/e55212364221460e583f1fd7333e902eec6aed2b/typo3/sysext/frontend/Classes/ContentObject/Menu/AbstractMenuContentObject.php#L1433

The array $item contains the resolved mount point data and is therefore not recognized as subpage of the actual parent page. This code is executed when the menu checks, if the parent page has subpages.

Reviews 0

No change resolves or names this issue in its commit message, and no comment links one.