Last modified: 2010-02-08 19:42:13 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 T24372, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 22372 - Preferences with names longer than 25 bytes fail
Preferences with names longer than 25 bytes fail
Status: RESOLVED DUPLICATE of bug 19408
Product: MediaWiki extensions
Classification: Unclassified
Gadgets (Other open bugs)
unspecified
All All
: Normal minor (vote)
: ---
Assigned To: Daniel Kinzler
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2010-02-04 00:46 UTC by Conrad Irwin
Modified: 2010-02-08 19:42 UTC (History)
1 user (show)

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


Attachments

Description Conrad Irwin 2010-02-04 00:46:10 UTC
The user-options table's preference name field is currently a meagre varbinary(32) so preference names are silently truncated on save
Comment 1 Happy-melon 2010-02-08 19:21:13 UTC
Why is this a problem?
Comment 2 Conrad Irwin 2010-02-08 19:23:23 UTC
They are not truncated on load, so the user ticks the preference box, clicks save, and when the page reloads the box is not checked and the preference not enabled.

(It would be simple to hack a fix by truncating on load, but that runs the risk of someone creating two gadgets with the same prefix - small though it may be)
Comment 3 Chad H. 2010-02-08 19:42:13 UTC

*** This bug has been marked as a duplicate of bug 19408 ***

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


Navigation
Links