Last modified: 2009-04-26 02:03:21 UTC

Wikimedia Bugzilla is closed!

Wikimedia migrated from Bugzilla to Phabricator. Bug reports are handled in Wikimedia Phabricator.
This static website is read-only and for historical purposes. It is not possible to log in and except for displaying bug reports and their history, links might be broken. See T20583, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 18583 - OnlineStatus default preferences flawed
OnlineStatus default preferences flawed
Status: RESOLVED FIXED
Product: MediaWiki extensions
Classification: Unclassified
OnlineStatus (Other open bugs)
unspecified
All All
: Normal major (vote)
: ---
Assigned To: Alexandre Emsenhuber [IAlex]
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2009-04-25 12:58 UTC by Siebrand Mazeland
Modified: 2009-04-26 02:03 UTC (History)
2 users (show)

See Also:
Web browser: ---
Mobile Platform: ---
Assignee Huggle Beta Tester: ---


Attachments

Description Siebrand Mazeland 2009-04-25 12:58:26 UTC
In certain conditions, saving preferences (with the new preferences system) is not possible.

Steps:
1. install OnlineStatus (I did it using Configure)
2. create a new user
3. go to special:preferences
4. select a new user language
5. click 'save'

Observed:
* message appears "There are problems with some of your input" (key: 'htmlform-invalid-input'). This is not really helpful. Is it possible to provide more details there (which tab, which setting, or something else)?

Work-around:
* have to select the OnlineStatus radio button "Your status" on the "User profile" preferences tab first. No preferences can otherwise be saved.

Adding Andrew in CC. May be a core issue, or may require core improvements for diagnostics.
Comment 1 Alexandre Emsenhuber [IAlex] 2009-04-25 13:57:59 UTC
For the messages, this is a core issue, OnlineStatus doesn't validate returned values itself.

However I will add shortly default values so that you shouldn't see that error anymore.
Comment 2 Alexandre Emsenhuber [IAlex] 2009-04-25 14:16:28 UTC
fixed in r49874.
Comment 3 Andrew Garrett 2009-04-26 02:03:21 UTC
(In reply to comment #2)
> fixed in r49874.
> 

Thanks very much. It seems sensible to always provide a default option when adding a new preference :)

Note You need to log in before you can comment on or make changes to this bug.


Navigation
Links