From c904e04f89871c5dcd3ffaa644de21f656e53236 Mon Sep 17 00:00:00 2001 From: Bob Trahan Date: Wed, 19 Feb 2014 11:56:41 -0800 Subject: [PATCH] Fix attachObject bug Summary: so it was said in IRC and so it is true Test Plan: saving maniphest tasks with custom fields no longer barfs Reviewers: epriestley Reviewed By: epriestley CC: Korvin, epriestley, aran Differential Revision: https://secure.phabricator.com/D8279 --- .../editor/PhabricatorApplicationTransactionEditor.php | 1 + 1 file changed, 1 insertion(+) diff --git a/src/applications/transactions/editor/PhabricatorApplicationTransactionEditor.php b/src/applications/transactions/editor/PhabricatorApplicationTransactionEditor.php index 611d6675fb..fa30680855 100644 --- a/src/applications/transactions/editor/PhabricatorApplicationTransactionEditor.php +++ b/src/applications/transactions/editor/PhabricatorApplicationTransactionEditor.php @@ -423,6 +423,7 @@ abstract class PhabricatorApplicationTransactionEditor $xaction->setAuthorPHID($actor->getPHID()); $xaction->setContentSource($this->getContentSource()); $xaction->attachViewer($this->getActor()); + $xaction->attachObject($object); } $is_preview = $this->getIsPreview();