Page MenuHomePhabricator

Improve validation errors for changing task priorities
ClosedPublic

Authored by epriestley on Jun 19 2017, 7:40 PM.
Tags
None
Referenced Files
F18825737: D18135.id43638.diff
Thu, Oct 23, 11:57 PM
F18819644: D18135.diff
Wed, Oct 22, 8:01 AM
F18803970: D18135.id.diff
Sat, Oct 18, 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
F18621847: D18135.diff
Sep 15 2025, 9:37 AM
F18621318: D18135.id43638.diff
Sep 15 2025, 7:45 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