Page MenuHomePhabricator

Validate select/option settings more strictly when reading them
ClosedPublic

Authored by epriestley on Jun 5 2016, 5:25 PM.
Tags
None
Referenced Files
Unknown Object (File)
Fri, Apr 19, 4:49 PM
Unknown Object (File)
Mon, Apr 8, 7:09 AM
Unknown Object (File)
Mon, Apr 1, 1:02 AM
Unknown Object (File)
Sun, Mar 31, 3:19 PM
Unknown Object (File)
Sat, Mar 30, 7:45 PM
Unknown Object (File)
Sat, Mar 30, 2:17 AM
Unknown Object (File)
Mar 25 2024, 7:28 PM
Unknown Object (File)
Mar 25 2024, 6:34 PM
Subscribers
None

Details

Summary

Ref T4103. If the database has "" (empty string) for select/option settings, we can let that value be effective in the UI right now.

One consequence is that timestamps can vanish from the UI.

Instead, be stricter and discard it as an invalid value.

Test Plan
  • Forced time-format setting to ''.
  • Saw timestamps vanish before change.
  • Saw timestamps return to the default value after change.

Diff Detail

Repository
rP Phabricator
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

epriestley retitled this revision from to Validate select/option settings more strictly when reading them.
epriestley updated this object.
epriestley edited the test plan for this revision. (Show Details)
epriestley added a reviewer: chad.
chad edited edge metadata.
This revision is now accepted and ready to land.Jun 5 2016, 5:25 PM
This revision was automatically updated to reflect the committed changes.