Closed (fixed)
Project:
Masquerade
Version:
7.x-1.x-dev
Component:
Code
Priority:
Critical
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
12 Jul 2010 at 23:39 UTC
Updated:
24 Dec 2010 at 14:56 UTC
Jump to comment: Most recent file
Comments
Comment #1
jonathan_hunt commentedDoh, that was bogus. Try
Comment #2
andypostThis is a critical because functionality broken.
Confirm this bug! This caused by running system_settings_form_submit() and saving wrong values before module submit function
Also fixed:
- menu rebuild called only if "menu quick switch" changed
- no reason to clear cache for blocks once system_settings_form_submit() clears both page and block cache
if we wanna to clear only cache_block so form need unset
system_settings_form_submithandler and save all variables itselfComment #3
andypostvalues for 'masquerade_quick_switches' variable are prepared in _masquerade_admin_settings_validate() so system_settings_form_submit() now save valid values
masquerade_admin_settings_submit() now rebuilds menu if needed
Comment #4
afreeman commentedLooks good, tests correctly in my environment.
Comment #5
deekayen commentedCommitted to DRUPAL-6 branch.
Comment #6
andypostFixed after #1006668: General code cleanup and wish to make D7rc1 release