Difference between revisions of "EmailConfirmation/Preferences"

(Why this is important)
(Steps to produce the problem in My Preferences)
Line 16: Line 16:
 
* Go to 'my preferences' in the sidebar. (You'll notice some checkboxes checked in the E-mail section which are also disabled).
 
* Go to 'my preferences' in the sidebar. (You'll notice some checkboxes checked in the E-mail section which are also disabled).
 
* Click 'Save' (You've not changed any setting)
 
* Click 'Save' (You've not changed any setting)
* The disabled checkboxes which were checked before, are no unchecked.
+
* The disabled checkboxes which were checked before, are no longer unchecked.
 
* Reason: 'What (summary)'
 
* Reason: 'What (summary)'
  

Revision as of 13:10, 7 February 2008

OurWork Edit-chalk-10bo12.png

What (summary)

Input controls (text, checkbox, radiobutton etc.) having DISABLED property set, do not participate as arguments in a POST request. The target page which expects these arguments will get nil values for these controls even if they have a different value. Hence the target page may process wrong values for some disabled controls. This problem can be seen in Special:Preferences.

Why this is important

  • We dont want to process wrong values for an input control.
  • AlertsOnByDefault becomes useless.

DoneDone

  • The values of disabled controls are ignored or processed correctly.

Steps to produce the problem in My Preferences

  • Make a new account at aboutus.org
  • Log in
  • Go to 'my preferences' in the sidebar. (You'll notice some checkboxes checked in the E-mail section which are also disabled).
  • Click 'Save' (You've not changed any setting)
  • The disabled checkboxes which were checked before, are no longer unchecked.
  • Reason: 'What (summary)'

Steps to get to DoneDone



Retrieved from "http://aboutus.com/index.php?title=EmailConfirmation/Preferences&oldid=14735411"