Project

General

Profile

Actions

Bug #96358

closed

MenuProcessor processes hidden pages (special = list)

Added by Tobias D over 2 years ago. Updated over 1 year ago.

Status:
Closed
Priority:
Should have
Assignee:
-
Category:
-
Target version:
-
Start date:
2021-12-15
Due date:
% Done:

100%

Estimated time:
TYPO3 Version:
11
PHP Version:
7.4
Tags:
Complexity:
Is Regression:
Sprint Focus:

Description

We have a project setup in a way, that an editor can maintain the main menu via a group select (field name is 'tx_site_navigation') in the page properties.

There is a hidden page added in the group select. In TYPO3 10 the MenuProcessor result didn't contain anything for the hidden page.
After upgrading to TYPO3 11 the MenuProcessor seems to try to process the hidden page in some sort of way, resulting in a broken menu in the frontend.

Menu Processor Configuration:

5 = TYPO3\CMS\Frontend\DataProcessing\MenuProcessor
5 {
  if.isTrue.data = levelfield:-1,tx_site_navigation,slide
  cache_period = 604800
  expandAll = 1
  includeSpacer = 0
  levels = 3
  special = list
  special.value = TEXT
  special.value.data = levelfield:-1,tx_site_navigation,slide
  titleField = nav_title // title
}

See attachments for an image of the processed result for the hidden page. 'children' contains all subpages of the root page.

The easy workaround is to remove the hidden page from the group select, but that might not be very intuitive for editors.


Files


Related issues 1 (0 open1 closed)

Related to TYPO3 Core - Bug #96577: hmenu - special = list shows pages in wrong ordering after update to 11.5.5Closed2022-01-19

Actions
Actions

Also available in: Atom PDF