HomePhorge

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

Description

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

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: {F5026603}

Reviewers: chad, amckinley

Reviewed By: chad

Differential Revision: https://secure.phabricator.com/D18175

Details

Provenance
epriestleyAuthored on Jun 30 2017, 6:24 AM
themackabuPushed on Mar 25 2025, 8:07 PM
Parents
rP83266e805c46: Update people image for projects
Branches
Unknown
Tags
Unknown

Event Timeline