Download & Extend

menu_router confused by re-install

Project:Drupal core
Version:6.x-dev
Component:menu system
Category:bug report
Priority:normal
Assigned:Unassigned
Status:postponed (maintainer needs more info)

Issue Summary

My module declares the following menu item
$items['node/prepare/transaction'] = array(
'title' => t('Start new transaction'),
'page callback' => 'drupal_get_form',
'page arguments' => array('pre_transaction_form', TRUE),
'access callback' => 'transactions_access',
'access arguments' => array('create'),
'file' => 'transactions.inc',
'type' => MENU_NORMAL_ITEM
);
The item remains in the menu_router table after the module is uninstalled
When the module is reinstalled, the item DOES NOT APPEAR

I have fixed this by changing the menu_links field 'router_path' from 'node/%' to 'node_prepare_transaction', but there clearly seems to be a bug there somewhere

Comments

#1

Status:active» postponed (maintainer needs more info)

>The item remains in the menu_router table after the module is uninstalled
This seems unlikely from the information given here since a menu rebuild takes place after modules are enabled or disabled.

I am assuming the problem is now somehow resolved?