I think this is a frequently raised issue, but I am submitting it all the same because it still hasn't gone away even in 4.6.5.

The problem- when I create a menu and then delete it, the menu block gets deleted okay, but on admin>>menus, the stuff is still there and the only way to remove it is to go to this database and try emptying the cache. Sometimes, even this doesn't work, as the attached screenshot will show.

Comments

killes@www.drop.org’s picture

Version: 4.6.5 » x.y.z
Status: Active » Needs review
StatusFileSize
new850 bytes

This patch might help

dries’s picture

Maybe that menu_rebuild() should be in menu_delete_item(). Looks cleaner?
We'd need to check some of the existing code though.

marcoBauli’s picture

Trying to clean up a bit the menu issues queue...

has this issue been fixed in 4.7? Anyone else still experiencing it?

I cannot manage to reproduce this problem

venkat-rk’s picture

kiteatlas, thanks for chipping in.

Yes, this problem still exists. Here is a simple way to reproduce it:

1.) Create a menu
2.) Create a simple page and add it as the top level of the menu using the Menu settings on the node form
3.) Add other pages beneath this top level page.

Now, delete the menu. You will find the menu links to all the pages all over the admin navigation menu.

killes@www.drop.org’s picture

http://drupal.org/node/78152

is a duplicate of this one.

drumm’s picture

Status: Needs review » Needs work

I think we should put menu_rebuild() inside menu_delete_item().

ricabrantes’s picture

Version: x.y.z » 7.x-dev

This bug is active?? Moving to new version..

pwolanin’s picture

Version: 7.x-dev » 5.x-dev
Status: Needs work » Closed (fixed)

doubtful this is relevant - if anything might still be a bug in 5.x