Page MenuHomePhabricator

Improve validation errors for changing task priorities
ClosedPublic

Authored by epriestley on Jun 19 2017, 7:40 PM.
Tags
None
Referenced Files
F13086280: D18135.diff
Thu, Apr 25, 12:08 AM
Unknown Object (File)
Sat, Apr 20, 12:40 PM
Unknown Object (File)
Fri, Apr 19, 7:35 PM
Unknown Object (File)
Fri, Apr 19, 6:37 PM
Unknown Object (File)
Fri, Apr 19, 3:12 PM
Unknown Object (File)
Sat, Apr 13, 3:01 PM
Unknown Object (File)
Sat, Apr 13, 12:08 PM
Unknown Object (File)
Thu, Apr 11, 8:25 AM
Subscribers
None

Details

Summary

Ref T12124. Currently, Conduit provides a fairly rough error message if you provide an invalid priority.

Instead, provide a more tailored message. Also, block !!unknown!! except from web edits.

Test Plan

Before:

Screen Shot 2017-06-19 at 12.33.57 PM.png (1×1 px, 186 KB)

After:

Screen Shot 2017-06-19 at 12.36.52 PM.png (1×1 px, 192 KB)

Also, changed a priority to 999 in the database, edited it with the normal web UI form, it let me make the edit without being forced to adjust the priority.

Diff Detail

Repository
rP Phabricator
Lint
Lint Not Applicable
Unit
Tests Not Applicable