diff --git a/resources/sql/autopatches/20150609.inline.sql b/resources/sql/autopatches/20150609.inline.sql new file mode 100644 --- /dev/null +++ b/resources/sql/autopatches/20150609.inline.sql @@ -0,0 +1,4 @@ +/* This cleans up some errant transactions, see T8483. */ + +DELETE FROM {$NAMESPACE}_differential.differential_transaction + WHERE transactionType = 'core:inlinestate' AND newValue = 'null'; diff --git a/src/applications/transactions/editor/PhabricatorApplicationTransactionEditor.php b/src/applications/transactions/editor/PhabricatorApplicationTransactionEditor.php --- a/src/applications/transactions/editor/PhabricatorApplicationTransactionEditor.php +++ b/src/applications/transactions/editor/PhabricatorApplicationTransactionEditor.php @@ -356,6 +356,7 @@ case PhabricatorTransactions::TYPE_BUILDABLE: case PhabricatorTransactions::TYPE_TOKEN: case PhabricatorTransactions::TYPE_INLINESTATE: + return $xaction->getNewValue(); case PhabricatorTransactions::TYPE_SPACE: $space_phid = $xaction->getNewValue(); if (!strlen($space_phid)) {