Page MenuHomePhabricator

D8514.id20196.diff
No OneTemporary

D8514.id20196.diff

diff --git a/src/applications/differential/conduit/ConduitAPI_differential_getcommitmessage_Method.php b/src/applications/differential/conduit/ConduitAPI_differential_getcommitmessage_Method.php
--- a/src/applications/differential/conduit/ConduitAPI_differential_getcommitmessage_Method.php
+++ b/src/applications/differential/conduit/ConduitAPI_differential_getcommitmessage_Method.php
@@ -65,11 +65,9 @@
foreach ($fields as $field => $value) {
$custom_field = idx($field_map, $field);
if (!$custom_field) {
- throw new Exception(
- pht(
- 'Commit message includes field "%s", but this field does not '.
- 'correspond to a known field.',
- $field));
+ // Just ignore this, these workflows don't make strong distictions
+ // about field editability on the client side.
+ continue;
}
if ($is_create ||
$custom_field->shouldOverwriteWhenCommitMessageIsEdited()) {

File Metadata

Mime Type
text/plain
Expires
Tue, Apr 1, 9:39 PM (4 d, 3 h ago)
Storage Engine
blob
Storage Format
Encrypted (AES-256-CBC)
Storage Handle
7382357
Default Alt Text
D8514.id20196.diff (1005 B)

Event Timeline