When multiple menu items point to the same page, the active trail is selected from the higher-preference menu, even if the item in that menu is disabled.

Consider two menus:

Navigation
- Nav Page One (node/1)
-- Nav Page Two (node/2) [disabled]
MyMenu
- My Page One (node/1)
-- My Page Two (node/2)

The active trail will show the Navigation menu item (Nav Page One) even though the menu item for node/2 is disabled.

See also:
#1808280: Many menu items for one node results in incorrect menu trail
#1875824: Active trail should favor "non-customized" menu items
#1627276: Active trail system does not respect whether a menu is set as inactive or preferred using menu_set_active_menu_names()

Files: 
CommentFileSizeAuthor
#1 menu-active-trail-disabled-item-1979240-1.patch754 bytesjromine
PASSED: [[SimpleTest]]: [MySQL] 40,341 pass(es).
[ View ]

Comments

Status:Active» Needs review
StatusFileSize
new754 bytes
PASSED: [[SimpleTest]]: [MySQL] 40,341 pass(es).
[ View ]

Patch attached.