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.
On initial create of menu links which are using menu tokens menu_token_link_uuid is not being set, and because of this on export of links with features this link option is not being exported and it breaks link path.
Comment | File | Size | Author |
---|---|---|---|
#3 | combine-2833077-3-2833087-2-menu_token.patch | 2.43 KB | nmitev |
| |||
#2 | initial_create_of_menu_links-2833087-2-menu_token.patch | 1.43 KB | nmitev |
|
Comments
Comment #2
nmitev CreditAttribution: nmitev commentedThis patch sets link uuid on initial create of link and on export every link would have as option menu_token_link_uuid.
Comment #3
nmitev CreditAttribution: nmitev commentedAs this issue is related with #2833077: Features update problem, I've combined both patches and re-factored validate function to use $values as it is more readable.
Comment #4
odrzutowiec CreditAttribution: odrzutowiec commentedHello patch from #3 worked for me. Thanks nmitev!
Comment #5
DevElCuy CreditAttribution: DevElCuy at Dilygent commented@odrzutowiec thanks for testing! Please change status to "Reviewed & tested by the community" whenever you test a patch and you find it working correctly.
Comment #7
DevElCuy CreditAttribution: DevElCuy at Dilygent commentedThanks @nmitev!