mirror of
https://we.phorge.it/source/phorge.git
synced 2024-12-26 23:40:57 +01:00
Unfatal the "show change" link in Maniphest description edits
Summary: I missed this callsite in D2946. Transition it to the new markup cache. Test Plan: Clicked "show change" on a description edit transaction, got the change instead of a fatal. Reviewers: alanh, btrahan Reviewed By: btrahan CC: aran Maniphest Tasks: T1502 Differential Revision: https://secure.phabricator.com/D2972
This commit is contained in:
parent
9574b91e55
commit
621bac74c7
1 changed files with 5 additions and 3 deletions
|
@ -56,14 +56,16 @@ final class ManiphestTaskDescriptionChangeController
|
|||
$transactions = array($transaction);
|
||||
|
||||
$phids = array();
|
||||
foreach ($transactions as $transaction) {
|
||||
foreach ($transaction->extractPHIDs() as $phid) {
|
||||
foreach ($transactions as $xaction) {
|
||||
foreach ($xaction->extractPHIDs() as $phid) {
|
||||
$phids[$phid] = $phid;
|
||||
}
|
||||
}
|
||||
$handles = id(new PhabricatorObjectHandleData($phids))->loadHandles();
|
||||
|
||||
$engine = PhabricatorMarkupEngine::newManiphestMarkupEngine();
|
||||
$engine = new PhabricatorMarkupEngine();
|
||||
$engine->addObject($transaction, ManiphestTransaction::MARKUP_FIELD_BODY);
|
||||
$engine->process();
|
||||
|
||||
$view = new ManiphestTransactionDetailView();
|
||||
$view->setTransactionGroup($transactions);
|
||||
|
|
Loading…
Reference in a new issue