Page MenuHomePhabricator

Improve validation errors for changing task priorities
ClosedPublic

Authored by epriestley on Jun 19 2017, 7:40 PM.
Tags
None
Referenced Files
F19072592: D18135.id.diff
Sun, Nov 30, 10:50 PM
F18953476: D18135.diff
Wed, Nov 12, 7:40 AM
F18825737: D18135.id43638.diff
Oct 23 2025, 11:57 PM
F18819644: D18135.diff
Oct 22 2025, 8:01 AM
F18803970: D18135.id.diff
Oct 18 2025, 5:12 AM
F18733645: D18135.id.diff
Sep 30 2025, 10:39 PM
F18636566: D18135.id.diff
Sep 17 2025, 4:45 AM
F18625736: D18135.id43638.diff
Sep 15 2025, 11:26 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