Homec4science

Allow custom fields to have validation logic

Authored by epriestley <git@epriestley.com> on Sep 19 2013, 00:31.

Description

Allow custom fields to have validation logic

Summary:
Ref T418. This is fairly messy, but basically:

  • Add a validation phase to TransactionEditor.
  • Add a validation phase to CustomField.
  • Bring it to StandardField.
  • Add validation logic for the int field.
  • Provide support in related classes.

Test Plan: See screenshot.

Reviewers: btrahan

Reviewed By: btrahan

CC: aran

Maniphest Tasks: T418

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

Details

Committed
epriestley <git@epriestley.com>Sep 19 2013, 00:31
Pushed
aubortJan 31 2017, 17:16
Parents
rPHa025050e87e0: Fix an issue with `differential.getdiff` when providing a revision ID
Branches
Unknown
Tags
Unknown

Event Timeline

epriestley <git@epriestley.com> committed rPH3f24232d2b8d: Allow custom fields to have validation logic (authored by epriestley <git@epriestley.com>).Sep 19 2013, 00:31