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

Anonymous’s picture

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

moshe weitzman’s picture

Version: » 4.3.0-rc

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

ax’s picture

Version: 4.3.0-rc »
Priority: Minor » Normal

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

Steven’s picture

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

Anonymous’s picture