Page MenuHomePhabricator

Move misplaced validation for ambiguous fields in "Test Plan" to the right place
ClosedPublic

Authored by epriestley on Jun 30 2017, 1:27 PM.
Tags
None
Referenced Files
Unknown Object (File)
Tue, Dec 17, 2:29 AM
Unknown Object (File)
Mon, Dec 2, 1:07 PM
Unknown Object (File)
Nov 16 2024, 11:52 PM
Unknown Object (File)
Oct 24 2024, 10:35 AM
Unknown Object (File)
Oct 23 2024, 11:47 PM
Unknown Object (File)
Oct 23 2024, 7:50 PM
Unknown Object (File)
Oct 18 2024, 7:51 PM
Unknown Object (File)
Oct 9 2024, 8:08 AM
Subscribers
None

Details

Summary

When users use the web UI to enter text like "Reviewers: x" into the "Summary" or "Test Plan", we can end up with an ambiguous commit message.

Some time ago we added a warning about this to the "Summary" field, and attempted to add it to the "Test Plan" field, but it actually gets called from the wrong place.

Remove the code from the wrong place (no callers, not reachable) and put it in the right place.

This fixes an issue where users could edit a test plan from the web UI to add the text "Tests: ..." and cause ambiguities on a later "arc diff --edit".

Test Plan

Screen Shot 2017-06-30 at 6.24.30 AM.png (1×2 px, 330 KB)

Diff Detail

Repository
rP Phabricator
Lint
Lint Not Applicable
Unit
Tests Not Applicable