Issue Bug Closed

#89402HMENU with special=directoy removes mount point if target page is in same menu

Alexander Stehlik 10/11/19, 20:03 updated 12/23/19, 22:43

Description

This is a bit of an edge case but it caused me some head scratching:

I added a menu of subpages to a pagetree that looks like this:

  • page 1 (default)
  • page 2 (MP to page 1)

The menu will only render one of the two pages.

The reason is simple: the page UID is used as array key in the menu item array.

\TYPO3\CMS\Frontend\ContentObject\Menu\AbstractMenuContentObject::prepareMenuItemsForDirectoryMenu():

$menuItems[$row['uid']] = $this->sys_page->getPageOverlay($row);

Reviews 2