1
0
Fork 0
mirror of https://we.phorge.it/source/phorge.git synced 2025-02-02 09:58:24 +01:00

Stop "Header" fields (labels for form sections) from trying to generate Conduit edits

Summary: Fixes T12236. Headers are currently trying to generate an edit transaction for `maniphest.edit` and similar, but should not, since you can't edit them.

Test Plan:
  - Configured Maniphest with a custom header field.
  - Before change: `maniphest.edit` API console page fataled.
  - After change: all good, no weird "header" transaction.
  - Header still shows up on "Edit Task" form in web UI.

Reviewers: chad

Reviewed By: chad

Maniphest Tasks: T12236

Differential Revision: https://secure.phabricator.com/D17332
This commit is contained in:
epriestley 2017-02-10 06:46:51 -08:00
parent 56b1ff833b
commit 743dc9fdb5

View file

@ -34,4 +34,8 @@ final class PhabricatorStandardCustomFieldHeader
return false;
}
public function shouldAppearInConduitTransactions() {
return false;
}
}