@recaptime-dev's working patches + fork for Phorge, a community fork of Phabricator. (Upstream dev and stable branches are at upstream/main and upstream/stable respectively.) hq.recaptime.dev/wiki/Phorge
phorge phabricator
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

Fix a Differential exception in invalid/missing fields

Summary: Ref T11114. Missed this while converting.

Test Plan: Tried to create a revision with no test plan. Before: fatal; after: helpful message.

Reviewers: chad

Reviewed By: chad

Maniphest Tasks: T11114

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

+2 -2
+2 -2
src/applications/differential/parser/DifferentialCommitMessageParser.php
··· 274 274 } catch (DifferentialFieldParseException $ex) { 275 275 $this->errors[] = pht( 276 276 'Error parsing field "%s": %s', 277 - $field->renderCommitMessageLabel(), 277 + $field->getFieldName(), 278 278 $ex->getMessage()); 279 279 } 280 280 } ··· 286 286 } catch (DifferentialFieldValidationException $ex) { 287 287 $this->errors[] = pht( 288 288 'Invalid or missing field "%s": %s', 289 - $field->renderCommitMessageLabel(), 289 + $field->getFieldName(), 290 290 $ex->getMessage()); 291 291 } 292 292 }