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:
parent
56b1ff833b
commit
743dc9fdb5
1 changed files with 4 additions and 0 deletions
|
@ -34,4 +34,8 @@ final class PhabricatorStandardCustomFieldHeader
|
|||
return false;
|
||||
}
|
||||
|
||||
public function shouldAppearInConduitTransactions() {
|
||||
return false;
|
||||
}
|
||||
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue