Project

General

Profile

Actions

Bug #96358

closed

MenuProcessor processes hidden pages (special = list)

Added by Tobias D almost 3 years ago. Updated about 2 years 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 #1

Updated by Gerrit Code Review almost 3 years ago

  • Status changed from New to Under Review

Patch set 1 for branch main of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/72694

Actions #2

Updated by Gerrit Code Review almost 3 years ago

Patch set 2 for branch main of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/72694

Actions #3

Updated by Gerrit Code Review almost 3 years ago

Patch set 1 for branch 11.5 of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/72686

Actions #4

Updated by Benni Mack almost 3 years ago

  • Status changed from Under Review to Resolved
  • % Done changed from 0 to 100
Actions #5

Updated by Georg Ringer almost 3 years ago

  • Related to Bug #96577: hmenu - special = list shows pages in wrong ordering after update to 11.5.5 added
Actions #6

Updated by Benni Mack about 2 years ago

  • Status changed from Resolved to Closed
Actions

Also available in: Atom PDF