When the "Present login form on access denied (403):" option in LT is enabled, the sitewide variable site_403 is overwritten. When LT itself is disabled, this variable is not restored, and points to a nonexistent menu item/callback. As a result, users visiting nodes/URLs to which they don't have access are presented with unexpected results. (In my case the number "2" was returned.)

Comments

merlinofchaos’s picture

Currently, Drupal allows no way for a module to react to being deactivated; so this bug isn't going to be fixable by the module itself.

hunmonk’s picture

@merlin: not so sure about that. i think there might be a tricky way to catch the admin module page in hook_form_alter and perform this action prior to the module being disabled...

hunmonk’s picture

Assigned: Unassigned » hunmonk
Status: Active » Fixed

yep, worked like a charm. god bless the forms API :)

fixed in 4.7 and HEAD.

Anonymous’s picture

Status: Fixed » Closed (fixed)