Page MenuHomePhabricator

Preferences with names longer than 25 bytes fail
Closed, ResolvedPublic

Description

Author: conrad.irwin

Description:
The user-options table's preference name field is currently a meagre varbinary(32) so preference names are silently truncated on save


Version: unspecified
Severity: minor

Details

Reference
bz22372

Event Timeline

bzimport raised the priority of this task from to Medium.Nov 21 2014, 10:49 PM
bzimport set Reference to bz22372.

happy.melon.wiki wrote:

Why is this a problem?

conrad.irwin wrote:

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)

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