- Issue created by @msn5158
I agree, something odd happens with the form. It seems to affect only programmatically-generated menu items. Can you confirm that?
I'm not sure what caused it, but I wonder why we need to separate this part.
I tested again and there was no problem with customized menuγ However, the default menu that comes with Drupal resets to zero when clicking save.
Can you confirm that on any menu, custom menu items work properly, but programmatically-generated menu items do not? That has been what I observed.
Yes, all system generated menus reset their weight values to zero after saving.
The following are system menus I tested:
/admin/structure/menu/link/contact.site_page/edit
/admin/structure/menu/link/standard.front_page/edit
/admin/structure/menu/link/node.add_page/edit
/admin/structure/menu/link/system.admin/editIf modules are installed, they generated menu also cannot modify the weights.
I have found it is the programmatically generated menu items themselves which are uneditable this way, but it doesn't matter which menu they are on. Custom menu items can be edited. At least I think that's what I saw. I am tentatively retitling this issue.