I found that after upgrading from 6.x-1.8 to 6.x-3.0alpha4 I had all of my admin menu items listed twice (see attachment) I made sure the navigation block was hidden/disabled like it says in the readme. After flushing the cache numerous times and tweaking menu settings I finally decided to look into the database. I ran DELETE FROM `database`.`menu_links` WHERE `database`.`menu_name` = "admin_menu"; followed by drush cc all which regenerated the admin menu links and this time there were the proper amount.

Members fund testing for the Drupal project. Drupal Association Learn more

Comments

sun’s picture

Title: menu items showing up twice » Menu items showing up twice after updating to 3.x

Yes, I think we should do that as a module update, both for 6.x-3.x and 7.x-3.x.

Since 6.x-1.x manually copied/cloned all links into the menu_name = 'admin_menu' and there was no way to customize those links, it's also guaranteed that we're not deleting any custom user data.

This partially duplicates #1216714: Many bogus top-level links (especially after upgrading from Drupal 6), but not completely, so let's do the module update here.

sun’s picture

Status: Active » Patch (to be ported)
FileSize
913 bytes

Committed attached patch to 7.x-3.x.

Needs to be correctly backported into a different update function to 6.x-3.x.

sun’s picture

Version: 6.x-3.0-alpha4 » 6.x-3.x-dev
Status: Patch (to be ported) » Postponed (maintainer needs more info)

Hm. This is odd. Are you sure that you ran update.php after upgrading from 1.x to 3.x?

http://drupalcode.org/project/admin_menu.git/blob/refs/heads/6.x-3.x:/ad... already contains a module update that removes all of those previous links.

sun’s picture

Version: 6.x-3.x-dev » 7.x-3.x-dev
Status: Postponed (maintainer needs more info) » Fixed

Given that, I'm fairly sure that you merely forgot to run update.php. ;)

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.