Page MenuHomePhabricator

Add config validation for task status config
ClosedPublic

Authored by epriestley on Mar 21 2014, 1:38 PM.
Tags
None
Referenced Files
Unknown Object (File)
Sat, Nov 23, 2:19 AM
Unknown Object (File)
Fri, Nov 22, 10:42 PM
Unknown Object (File)
Fri, Nov 22, 10:41 PM
Unknown Object (File)
Tue, Nov 19, 4:28 AM
Unknown Object (File)
Thu, Nov 14, 5:52 AM
Unknown Object (File)
Thu, Nov 14, 3:49 AM
Unknown Object (File)
Tue, Nov 12, 10:24 PM
Unknown Object (File)
Tue, Nov 12, 9:15 PM
Subscribers

Details

Summary

Ref T1812. This still doesn't expose configuration to the user, but adds validation for it.

Test Plan

Added a pile of unit tests.

Diff Detail

Repository
rP Phabricator
Branch
task6
Lint
Lint Passed
Unit
Tests Passed

Event Timeline

epriestley retitled this revision from to Add config validation for task status config.
epriestley updated this object.
epriestley edited the test plan for this revision. (Show Details)
epriestley added a reviewer: btrahan.
src/applications/maniphest/constants/ManiphestTaskStatus.php
157

This relaxes things a little bit: if you configure "silly" statuses as special statuses, they'll still work even in serious business mode. This saves us from some awkward situations and more complex validation, and seems fundamentally reasonable.

btrahan edited edge metadata.
This revision is now accepted and ready to land.Mar 25 2014, 7:21 PM
epriestley updated this revision to Diff 20421.

Closed by commit rP7713fb5d99a3 (authored by @epriestley).