What happened to me is that I lost many menu items when I installed this module. The items I lost were created from the menu system, they point to views made with views bulk operations for administration purposes, their paths begin with "admin/", and I believe that that's the reason they are getting deleted, because after digging into the code of the admin module, especifically the admin.install file, I found these lines:

$result = db_query("SELECT * FROM {menu_links} WHERE link_path LIKE 'admin%'");
  while ($item = db_fetch_array($result)) {
    _menu_delete_item($item, TRUE);
  }
  menu_rebuild();

I'm not sure why this is necessary, but I understand that this code does the following:
deletes all menu items which paths begin with "admin" only to rebuild them (menu_rebuild) just after that.

Supose this is necesary for a reason I do not yet understand, but the problem still remains, and I believe (haven't diggin that deep yet to confirm this) that menu items generated from the backend with drupal's menu system, which paths begin with "admin" would not be rebuild by calling "menu_rebuild" function, which causes my problem.

I reported this issue as support request for now, but I believe this could be a bug. My solution for now was to comment out those lines before installing the module, could someone tell me if that could have caused some secondary effects? I didn't experienced anything wrong since I've done this, but I'm afraid I would.

thanks

Comments

_vid’s picture

Duplicate issue. See http://drupal.org/node/611254 Deletes any custom menu links that start with admin