Menu Block not shown if parent item is view

Created on 25 July 2023, over 1 year ago
Updated 26 July 2023, over 1 year ago

Problem/Motivation

An block with an second main menu, starting at level 2 is not displayed if the parent item at level 1 is of type view.
If the parent item is of type node, all is ok.

The bug was introduced with 9.5.9. He is also in 9.5.10. A fresh install of 10.1 shows the same problem.
Downgrade to 9.5.8 let disappear the problem and resume normal operation as expected.

System: PHP 8.1.20, Apache/2.4.57 (Unix) OpenSSL/1.1.1u, 11.0.2-MariaDB

Steps to reproduce

  1. Create a main navigation menu with at least one entriy of type node and one of type view.
  2. Create child entries for both parents.
  3. Create in blocklayout a new block for main menu, starting at level2.

Expected behaviour

If selected any main menu item with child items, the second menu should appear.

What happened instead

The second menu is only shown, if the parent item is of type node.
It is hidden if the parent item is of type view.

Proposed resolution

Restore the old behaviour from 9.5.8

Remaining tasks

User interface changes

API changes

Data model changes

Release notes snippet

πŸ› Bug report
Status

Closed: duplicate

Version

9.5

Component
Menu systemΒ  β†’

Last updated about 2 hours ago

Created by

πŸ‡©πŸ‡ͺGermany zevier

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Production build 0.71.5 2024