Problem/Motivation
At this moment, menu links are using an identifier based on the mlid of the menu. This is not correct, because mlid can change from site to site.
Proposed resolution
Build the identifier based on the path of the menu link, remove the use of the mlide.
Remaining tasks
After fix this, complete: #1804562: Test for MenuConfiguration handler
User interface changes
None
API changes
None
| Comment | File | Size | Author |
|---|---|---|---|
| #4 | 1836702.fix-menu.patch | 22.47 KB | dagmar |
| #3 | 1836702.work-in-progress-do-not-test.patch | 13.39 KB | dagmar |
Comments
Comment #1
dragonwize commentedUsers can have multiple menu items pointing to the same place, often in different menus, but I don't think we can rely on just the path.
Comment #2
dagmarYes, I mean based on menu_name + menu_path like features module does at this moment.
Comment #3
dagmarTests are not completed yet, but basic functionality is working.
Comment #4
dagmarThis patch fix the implementation of Menu and Menu links and includes the tests.
Comment #5
dagmarCommitted & Pushed to 7.x-2.x