Home GnuPG

Validate select/option settings more strictly when reading them
c9ef7aeaa34aUnpublished

Unpublished Commit ยท Learn More

Repository Importing: This repository is still importing.

Description

Validate select/option settings more strictly when reading them

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.

Reviewers: chad

Reviewed By: chad

Maniphest Tasks: T4103

Differential Revision: https://secure.phabricator.com/D16047

Details

Provenance
epriestley <git@epriestley.com>Authored on Jun 5 2016, 7:23 PM
Parents
rPHABc4de87a07ab0: Improve some settings-related performance
Branches
Unknown
Tags
Unknown

Event Timeline

epriestley <git@epriestley.com> committed rPHABc9ef7aeaa34a: Validate select/option settings more strictly when reading them (authored by epriestley <git@epriestley.com>).Jun 5 2016, 7:32 PM