Closed (fixed)
Project:
Drupal core
Component:
base system
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
31 Oct 2003 at 14:41 UTC
Updated:
5 Aug 2004 at 05:20 UTC
After enabling a module, its settings link doesn't show up in the menu on the following page. You have to load another page and then it will show up. This used to work properly before the integrated admin menu.
Comments
Comment #1
(not verified) commentedThis is not just for enabling modules... The menu is generated before several actions are done, so you will get the previous state in the menu in several cases, when the menu needs to be different according to the action done.
Comment #2
moshe weitzman commentedWe should do force a menu_rebuild() or some such after a module is enabled. If the menu has already been printed to screen, then ideally we refactor to move output to later in the request execution flow.
Comment #3
ax commentedmy patch for Throttle field should NOT be displayed if module is disabled fixes this for the module configuration page. note that not only the menu has to be rebuild, but before module_list() to be reset.
the patch doesn't use menu_rebuild() but i agree that this function should be added. before i submit a patch for this, i need to know whats wrong with the throttle patch, though.
Comment #4
Steven commentedThis was fixed in cvs by calling drupal_goto() after saving modules. This is not just a bugfix, but a usability increase too for refreshing and the browser back button.
Comment #5
(not verified) commented