Maniphest - load subscribers in getApplicationTransactionsObject
Summary: Fixes T6734. This is a very generic fix, which basically attaches the subscribers if necessary. This seems like a good idea given there's some crazy generic code doing this sort of thing? This would end up being a new pattern for these types of objects that may be loaded by a general object query but then get some editor action against them. Test Plan: I can't actually reproduce this in my sandbox so I'll verify live again. Reviewers: epriestley Reviewed By: epriestley Subscribers: Korvin, epriestley Maniphest Tasks: T6734 Differential Revision: https://secure.phabricator.com/D10976
This commit is contained in:
@@ -139,7 +139,8 @@ final class HeraldManiphestTaskAdapter extends HeraldAdapter {
|
||||
case self::FIELD_ASSIGNEE:
|
||||
return $this->getTask()->getOwnerPHID();
|
||||
case self::FIELD_CC:
|
||||
return $this->getTask()->getSubscriberPHIDs();
|
||||
return PhabricatorSubscribersQuery::loadSubscribersForPHID(
|
||||
$this->getTask()->getPHID());
|
||||
case self::FIELD_PROJECTS:
|
||||
return PhabricatorEdgeQuery::loadDestinationPHIDs(
|
||||
$this->getTask()->getPHID(),
|
||||
|
||||
Reference in New Issue
Block a user