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
Comment #1
merlinofchaos commentedCurrently, 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.
Comment #2
hunmonk commented@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...
Comment #3
hunmonk commentedyep, worked like a charm. god bless the forms API :)
fixed in 4.7 and HEAD.
Comment #4
(not verified) commented