Page MenuHomePhabricator

Improve validation errors for changing task priorities
ClosedPublic

Authored by epriestley on Jun 19 2017, 7:40 PM.
Tags
None
Referenced Files
F15413283: D18135.diff
Wed, Mar 19, 5:47 PM
F15402966: D18135.diff
Tue, Mar 18, 1:21 AM
F15395377: D18135.diff
Sun, Mar 16, 6:22 AM
Unknown Object (File)
Sat, Mar 1, 11:26 PM
Unknown Object (File)
Wed, Feb 19, 9:11 PM
Unknown Object (File)
Feb 12 2025, 1:26 PM
Unknown Object (File)
Feb 3 2025, 7:04 PM
Unknown Object (File)
Jan 28 2025, 7:18 PM
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