When choosing the stock 'Disable Developer Modules' menu item, Rules UI is disabled. Rules Link is dependent on this module and is disabled at the same time. Thus all Rules Links then disappear from the site. I noticed other Rules related modules (Rules Scheduler, Conditional Rules) only are dependent on the Rules module itself and not the Rules UI module.

Comments

mitchell’s picture

Title: Disabling developer modules disables rules link modules » Remove rules_admin dependency
Version: 7.x-1.0-beta3 » 7.x-1.x-dev
Status: Active » Needs review
StatusFileSize
new878 bytes

When choosing admin_menu's 'Disable Developer Modules' menu item, Rules Link is disabled.

Removing the only two references to rules_admin in the module will solve this problem.

Fortunately, this creates another problem though. Rules Link will still expect its administration pages to work, but when it comes time to edit the connected rules, it will not be able to do so. #1658340: Move admin from rules_link to rules/links will solve this.

Edit: fixed "quote"

timb’s picture

thx. worked fine for me

sepgil’s picture

Status: Needs review » Fixed

thx mitchell, I've committed the patch.

Status: Fixed » Closed (fixed)

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