- 🇮🇳India prem suthar Ahemdabad- Gujrat , Jodhpur - Rajsthan
Re-roll the Patch For 10.1x .
- First commit to issue fork.
MenuActiveTrail selects the first menu item that is returned by MenuLinkManager::loadLinksByRoute. This results in the menu system potentially selecting a disabled menu item, even if an enabled item is available in the menu, but comes later in the link list.
Therefore, a path that does have an active menu item may not be presented to the user in the menu at all, as the disabled item was picked by the system.
1. Create two menu items to the same path or content
2. Assign them increasing weights
3. Disable the first item.
4. Navigate to the linked path or content
Result: The first menu item will be picked.
As an active menu item is available, the first such link (2nd link in our example) will be set active.
Adjust MenuActiveTrail::getActiveLink to check the enabled state of the menu links with a fallback.
Needs work
11.0 🔥
The change is currently missing an automated test that fails when run with the original code, and succeeds when the bug has been fixed.
Not all content is available!
It's likely this issue predates Contrib.social: some issue and comment data are missing.
Re-roll the Patch For 10.1x .