@recaptime-dev's working patches + fork for Phorge, a community fork of Phabricator. (Upstream dev and stable branches are at upstream/main and upstream/stable respectively.) hq.recaptime.dev/wiki/Phorge
phorge phabricator
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

Stop "join project" from trying to write an inverse edge on Users

Summary: Now that Users implement PhabricatorApplicationTransactionInterface, we try to write an inverse edge. At least for now, we should retain the old behavior instead.

Test Plan:
- Unit tests which cover this stuff pass again.
- Grepped for other `instanceof PhabricatorApplicationTransactionInterface`, the all seemed either benign or irrelevant.

Reviewers: joshuaspence, btrahan

Reviewed By: btrahan

Subscribers: epriestley

Differential Revision: https://secure.phabricator.com/D13215

+7
+7
src/applications/transactions/editor/PhabricatorApplicationTransactionEditor.php
··· 2904 2904 continue; 2905 2905 } 2906 2906 2907 + if ($node instanceof PhabricatorUser) { 2908 + // TODO: At least for now, don't record inverse edge transactions 2909 + // for users (for example, "alincoln joined project X"): Feed fills 2910 + // this role instead. 2911 + continue; 2912 + } 2913 + 2907 2914 $editor = $node->getApplicationTransactionEditor(); 2908 2915 $template = $node->getApplicationTransactionTemplate(); 2909 2916 $target = $node->getApplicationTransactionObject();