Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
I refactored the two related issues and combined them into a single patch as we needed both issues resolved.
The "Menu links do not support 2+ links with same menu_name/link_path":
- Older menu exports will import their menu items but the feature will be in overridden state till they are updated
- Importing the new style menu links will not remove older menu items that should have been "replaced". This is because matching is only done on a unique ID and never by path or title. Menu items will need to be deleted manually.
- Menu items that are added by things like panels or views should not be in code in both a menu link feature and the panel / view feature. Before, the menu link was smart enough to match by path or title but now it only matches by unique ID.
Comment | File | Size | Author |
---|---|---|---|
#5 | features-link-uuid-and-export-by-unique-id-2556151-5-D7.patch | 21.81 KB | mattsqd |
Comments
Comment #2
mattsqd CreditAttribution: mattsqd at FFW commentedComment #3
mattsqd CreditAttribution: mattsqd at FFW commentedUpdated to allow upgrading already exported menu items as well as handling parent identifiers better.
Comment #5
mattsqd CreditAttribution: mattsqd at FFW commentedFixed missing mlid issues.
Comment #6
mattsqd CreditAttribution: mattsqd at FFW commentedComment #7
DamienMcKennaThis needs a reroll, it no longer applies cleanly after #2353585: UUID export and import of menu items linking to nodes, terms and users was committed.
Comment #8
DamienMcKennaYou know, all of these changes were committed separately.