Closed (duplicate)
Project:
Administration menu
Version:
6.x-3.0-alpha4
Component:
User interface
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
26 Sep 2009 at 19:50 UTC
Updated:
31 Jan 2012 at 21:25 UTC
Jump to comment: Most recent file
Comments
Comment #1
Birous commentedComment #2
Birous commentedHopefully I had a backup copy of my Database and I could redo all the steps:
Steps to repeat:
1. Download module admin-menu-6.x-3.0-alpha3
2. Un-compress 6.x-3.0-alpha3.tar.gz into modules folder
3. Visit admin/modules page in site
4. Enable the module
Expected Results:
Module installs successfully
Actual Results: Error Page (attachment)
Then I've pressed "back" button in my browser, uncheked the module, and saved the new configuration, to disable the module and later uninstalled (Sorry, Dave. My mistake.) it.
Now I get unwanted aditional links in my Navigation menu tree (see #588872: Module menu sctructure persists in Navigation menu after uninstalling attachment)
Comment #3
dave reidUnchecking a module on the modules list page is not the same as uninstalling it. You use the actual admin/build/modules/uninstall for that. What you did was disable the module.
Comment #4
Birous commentedMy mistake, Dave. But I've disabled and uninstalled it.
Comment #5
Birous commentedComment #6
brianshumate commentedI can verify that in version 6.x-1.5, if one disables the module and then uses the uninstall function, the Administration Menu structure is still present. I would expect the uninstall function to do what the guide text says so that "all data from these modules will be lost".
What's worse, I cannot simply delete the Administration Menu; In attempting to do so, I receive the error message: "The menu name may only consist of lowercase letters, numbers, and hyphens."
After trying to delete the menu, and then looking at it, all of its child items do appear to have been deleted, but deleting the top level Administration Menu itself is impossible.
Comment #7
sunThanks for taking the time to report this issue.
However, marking as duplicate of #420816: On-demand loading of dynamic paths and local tasks #1.
Comment #8
trevorleenc commentedit might just be me here, but it seems that if menus are supposed to be: "name must contain only lowercase letters, numbers, and hyphens, and must be unique", then the admin_menu might should have been entered into the database as admin-menu ?
anyway, the fix for me was to go into the database, and wipe out admin_menu from the menu_custom and menu_links tables.
delete from menu_custom where menu_name = "admin_menu"
delete from menu_links where menu_name = "admin_menu"
Comment #9
giorgio79 commentedAppreciated Trevor, this solved it for me.
Comment #10
aubjr_drupal commentedMe too, Trevorleenc. Tried everything normal first (cache, uninstall, etc.), and this worked for me.
What I don't understand is why those links in those two tables aren't wiped out automatically when the "Uninstall" function is run, along with other admin_menu-related values that appear to be left in various tables.