The parent crawler to find override children menu item is wrong

Created on 18 February 2020, over 4 years ago
Updated 30 August 2024, 29 days ago

Problem/Motivation

Defining the roles on a child menu item does not work well when the Allow parents to override children is enable, the getOverridingParentmethod always return the root parent even if the Override children setting is not enable instead to return the original menu item.

Proposed resolution

Pass the original menu item is the getOverridingParent called recusirvely to allow to return the original menu item if no parents have the Override children setting enable.

🐛 Bug report
Status

Fixed

Version

2.0

Component

Code

Created by

🇫🇷France xavier.masson Haute-Normandie

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

Merge Requests

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

Production build 0.71.5 2024