1
0
Fork 0
mirror of https://we.phorge.it/source/phorge.git synced 2024-11-15 11:22:40 +01:00
phorge-phorge/src/applications/differential/field
epriestley 596b83a712 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
2017-06-30 06:36:05 -07:00
..
__tests__ Provide PhabricatorEnv::isSelfURI to test if a URI points at the current install 2017-03-17 16:44:53 -07:00
DifferentialAuditorsCommitMessageField.php Restore "Auditor" as an alias for the commit message field "Auditors" 2017-02-03 09:14:32 -08:00
DifferentialBlameRevisionCommitMessageField.php Move Differential commit message rendering to dedicated classes 2016-12-16 10:08:34 -08:00
DifferentialCommitMessageCustomField.php Remove some remnants of the old ways commit mesage fields worked from Differential 2017-01-13 15:29:07 -08:00
DifferentialCommitMessageField.php Simplify "Tasks" field in Differential 2016-12-16 10:26:34 -08:00
DifferentialConflictsCommitMessageField.php Drive CLI-based revision edits through "differential.revision.edit" API + EditEngine 2016-12-16 10:08:49 -08:00
DifferentialGitSVNIDCommitMessageField.php Drive CLI-based revision edits through "differential.revision.edit" API + EditEngine 2016-12-16 10:08:49 -08:00
DifferentialJIRAIssuesCommitMessageField.php Move Differential commit message rendering to dedicated classes 2016-12-16 10:08:34 -08:00
DifferentialRevertPlanCommitMessageField.php Move Differential commit message rendering to dedicated classes 2016-12-16 10:08:34 -08:00
DifferentialReviewedByCommitMessageField.php Rename "getReviewerStatus()" to "getReviewers()" 2017-03-20 17:11:40 -07:00
DifferentialReviewersCommitMessageField.php Rename "getReviewerStatus()" to "getReviewers()" 2017-03-20 17:11:40 -07:00
DifferentialRevisionIDCommitMessageField.php Provide PhabricatorEnv::isSelfURI to test if a URI points at the current install 2017-03-17 16:44:53 -07:00
DifferentialSubscribersCommitMessageField.php Drive CLI-based revision edits through "differential.revision.edit" API + EditEngine 2016-12-16 10:08:49 -08:00
DifferentialSummaryCommitMessageField.php Drive CLI-based revision edits through "differential.revision.edit" API + EditEngine 2016-12-16 10:08:49 -08:00
DifferentialTagsCommitMessageField.php Drive CLI-based revision edits through "differential.revision.edit" API + EditEngine 2016-12-16 10:08:49 -08:00
DifferentialTasksCommitMessageField.php Simplify "Tasks" field in Differential 2016-12-16 10:26:34 -08:00
DifferentialTestPlanCommitMessageField.php Move misplaced validation for ambiguous fields in "Test Plan" to the right place 2017-06-30 06:36:05 -07:00
DifferentialTitleCommitMessageField.php Drive CLI-based revision edits through "differential.revision.edit" API + EditEngine 2016-12-16 10:08:49 -08:00