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)
Mon, Apr 22, 10:46 PM
Unknown Object (File)
Sun, Apr 14, 12:48 AM
Unknown Object (File)
Mon, Apr 8, 11:36 AM
Unknown Object (File)
Sat, Apr 6, 1:11 PM
Unknown Object (File)
Sat, Mar 30, 5:34 PM
Unknown Object (File)
Mar 14 2024, 3:33 AM
Unknown Object (File)
Jan 27 2024, 1:12 PM
Unknown Object (File)
Jan 25 2024, 11:52 AM
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
Lint
Lint Skipped
Unit
Tests Skipped

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).