Download & Extend

Module menu sctructure persists in Navigation menu after uninstalling

Project:Administration menu
Version:6.x-3.0-alpha4
Component:User interface
Category:bug report
Priority:normal
Assigned:Unassigned
Status:closed (duplicate)

Issue Summary

I installed 6.x-3.0-alpha3 version in my Drupal localhost. Later, I uninstalled it, but the module menu structure is still present in the Navigation menu.

Now, for example, there's a 'Uninstall' and a 'List' links under 'Modules' link (see attachment).

How do I get the default navigation menu structure back again?

AttachmentSizeStatusTest resultOperations
drupal.issue_.png29.42 KBIgnored: Check issue status.NoneNone

Comments

#1

Assigned to:Birous» Anonymous

#2

Hopefully 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)

AttachmentSizeStatusTest resultOperations
admin_menu_6.x-3.x-dev_logError.zip1.63 KBIgnored: Check issue status.NoneNone

#3

Unchecking 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.

#4

My mistake, Dave. But I've disabled and uninstalled it.

#5

Title:Module menu sctructure mantained in Navigation menu after uninstalling» Module menu sctructure persists in Navigation menu after uninstalling

#6

I 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.

#7

Status:active» closed (duplicate)

Thanks for taking the time to report this issue.

However, marking as duplicate of #420816: On-demand loading of dynamic paths and local tasks #1.

#8

it 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"

#9

Appreciated Trevor, this solved it for me.

#10

Version:6.x-3.0-alpha3» 6.x-3.0-alpha4

Me 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.