1
0
Fork 0
mirror of https://we.phorge.it/source/phorge.git synced 2024-11-30 18:52:42 +01:00
phorge-phorge/src/applications/transactions/engineextension
epriestley 4a061b1def When an object which supports subtypes is created, set its subtype to the creating form's subtype
Summary:
Ref T12314. If you set a form to have the "plant" subtype, then create a task with it, save "plant" as the task subtype.

For Conduit, the default subtype is used by default, but a new "subtype" transaction is exposed. You can apply this transaction at create time to create an object of a certain subtype, or at any later time to change the subtype of an object.

This still doesn't do anything particularly useful or interesting.

Test Plan:
  - Created a non-subtyped object (a Paste).
  - Created "task" and "plant" tasks via different forms.
  - Created "default" and "plant" tasks via Conduit.
  - Changed the subtype of a task via Conduit.
  - Tried to set a bad subtype.

{F3492061}

{F3492066}

Reviewers: chad

Reviewed By: chad

Maniphest Tasks: T12314

Differential Revision: https://secure.phabricator.com/D17443
2017-03-02 04:18:23 -08:00
..
PhabricatorCommentEditEngineExtension.php Drive CLI-based revision edits through "differential.revision.edit" API + EditEngine 2016-12-16 10:08:49 -08:00
PhabricatorEditEngineExtension.php Smooth out milestone creation workflow 2015-12-29 10:40:28 -08:00
PhabricatorEditEngineExtensionModule.php Redesign Config Application 2016-08-29 15:49:49 -07:00
PhabricatorSubtypeEditEngineExtension.php When an object which supports subtypes is created, set its subtype to the creating form's subtype 2017-03-02 04:18:23 -08:00
PhabricatorTransactionsDestructionEngineExtension.php Fully modularize DestructionEngine 2015-12-21 17:03:44 -08:00
PhabricatorTransactionsFulltextEngineExtension.php Modularize transaction/comment indexing in the FulltextEngine 2015-12-21 17:24:40 -08:00