Project

General

Profile

Actions

Bug #99198

open

MenuProcessor returns wrong menu

Added by Oliver Schmidt almost 2 years ago. Updated almost 2 years ago.

Status:
Needs Feedback
Priority:
Should have
Assignee:
Category:
Fluid Styled Content
Target version:
-
Start date:
2022-11-25
Due date:
% Done:

0%

Estimated time:
TYPO3 Version:
12
PHP Version:
8.1
Tags:
Complexity:
Is Regression:
Sprint Focus:

Description

Hello together,
in our pagetree we use folders in rootline to organize our multidomain typo3 instance:

- domain[0] (folder)
-- subdomain[0].domain[0] (page site_root)
-- subdomain[1].domain[0] (page site_root)
- domain[1] (folder)
-- subdomain[0].domain[1] (page site_root)
-- subdomain[1].domain[1] (page site_root)
...

At TYPO3 Version 11 the MenuProcessor returned a menu based on site_root and included only pages of the correct domain. At TYPO3 Version 12 the MenuProcessor returns a menu based on pid 0 with all root pages.

  dataProcessing {
    10 = TYPO3\CMS\Frontend\DataProcessing\MenuProcessor
    10 {
      levels = 4
      as = mainnavigation
    }
  }

At TYPO3 Version 11 the var leveluid:0 returned the id of site_root. At TYPO3 Version 12 the var leveluid:0 returns the folder id.
Is this a bug, or the new intended behavior? If it is intended, is there a workaround to use folders as described above?

Thank you. Greetings
Oliver


Files

Menu.JPG (34.2 KB) Menu.JPG MenuProcessor Output at TYPO3 12 if site_roots are in folder Oliver Schmidt, 2022-11-28 06:34
MenuAsExpected.JPG (26.5 KB) MenuAsExpected.JPG MenuProcessor Output at TYPO3 12 if site_roots are at root Oliver Schmidt, 2022-11-28 06:55

Related issues 1 (0 open1 closed)

Related to TYPO3 Core - Bug #93924: MenuProcessor does not working correctly when doktype folderClosed2021-04-14

Actions
Actions

Also available in: Atom PDF