Page MenuHomePhabricator

Improve validation errors for changing task priorities
ClosedPublic

Authored by epriestley on Jun 19 2017, 7:40 PM.
Tags
None
Referenced Files
Unknown Object (File)
Thu, Nov 14, 7:10 AM
Unknown Object (File)
Sat, Nov 9, 2:08 PM
Unknown Object (File)
Sat, Nov 9, 2:07 PM
Unknown Object (File)
Sat, Nov 9, 2:07 PM
Unknown Object (File)
Fri, Nov 8, 6:28 AM
Unknown Object (File)
Fri, Nov 8, 6:19 AM
Unknown Object (File)
Tue, Nov 5, 11:55 PM
Unknown Object (File)
Sat, Nov 2, 7:26 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