@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.

Fix missing EditEngineConfig on indirect pathway through conduit.query

Summary: Fixes T9772. We now need an EditEngineConfiguration to do interesting things with EditEngine, but this public API wasn't properly making sure we have one.

Test Plan: Called `conduit.query` from web console. Fatal prior to patch; success afterward.

Reviewers: chad

Reviewed By: chad

Maniphest Tasks: T9772

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

+5
+5
src/applications/transactions/editengine/PhabricatorEditEngine.php
··· 961 961 } 962 962 963 963 public function getAllEditTypes() { 964 + $config = $this->loadEditEngineConfiguration(null); 965 + if (!$config) { 966 + return array(); 967 + } 968 + 964 969 $object = $this->newEditableObject(); 965 970 $fields = $this->buildEditFields($object); 966 971 return $this->getAllEditTypesFromFields($fields);