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.
If you click the clone tab, move down to customize, and delete menu items you don't want in the new cloned menu, it deletes them from the original menu instead. So until this is fixed, don't do it.
Comment | File | Size | Author |
---|---|---|---|
#4 | delete-1371690-4.patch | 3.28 KB | shawn_smiley |
#3 | delete-1371690-3.patch | 1.89 KB | shawn_smiley |
Comments
Comment #1
RKS CreditAttribution: RKS commentedIn another bug report the user suggested adding check boxes for the menu items you want in the cloned menu. I think this would be your best option to simplify things and make sure it works properly. It doesn't have to be all ajaxy sometimes.
Comment #2
Mołot CreditAttribution: Mołot commentedI agree, it is misleading now. Against Rule of Smallest Surprise.
Just remove that field until it can work properly.
Comment #3
shawn_smiley CreditAttribution: shawn_smiley commentedAttached is a patch that removes both the edit and delete links from the clone menu tab. I removed the edit links for the same reason as mentioned above for the delete links. Namely that they cause the user to edit the original menu link rather than the cloned copy.
Comment #4
shawn_smiley CreditAttribution: shawn_smiley commentedHere is a slightly modified version of the patch in #3. In this version, I've adjusted the instruction text to be a bit more accurate and fixed an error in the form validation related to the maxlength of the menu name.
Comment #5
malc0mn CreditAttribution: malc0mn commentedPlease retest with the latest release and let me know if this is fixed now...