Page MenuHomePhabricator

Missing a needSubscribers() in Herald
Closed, ResolvedPublic

Description

Not sure if this'll work, checking...

2014/12/11 00:38:23 [error] 669#0: *1115 FastCGI sent in stderr: "PHP message: [2014-12-11 00:38:23] EXCEPTION: (PhabricatorDataNotAttachedException) Attempting to access attached data on ManiphestTask (via getSubscriberPHIDs()), but the data is not actually attached. Before accessing attachable data on an object, you must load and attach it.

Data is normally attached by calling the corresponding needX() method on the Query class when the object is loaded. You can also call the corresponding attachX() method explicitly. at [<phabricator>/src/infrastructure/storage/lisk/PhabricatorLiskDAO.php:166]
PHP message:   #0 PhabricatorLiskDAO::assertAttached(string) called at [<phabricator>/src/applications/maniphest/storage/ManiphestTask.php:146]
PHP message:   #1 ManiphestTask::getSubscriberPHIDs() called at [<phabricator>/src/applications/herald/adapter/HeraldManiphestTaskAdapter.php:142]
PHP message:   #2 HeraldManiphestTaskAdapter::getHeraldField(string) called at [<phabricator>/src/applications/herald/engine/HeraldEngine.php:359]
PHP message:   #3 HeraldEngine::getObjectFieldValue(string) called at [<phabricator>/src/applications/herald/engine/HeraldEngine.php:351]
PHP message:   #4 HeraldEngine::getConditionObjectValue(HeraldCondition, HeraldManiphestTaskAdapter) called at [<phabricator>/src/applications/herald/engine/HeraldEngine.php:315]
PHP message:   #5 HeraldEngine::doesConditionMatch(HeraldRule, HeraldCondition, HeraldManiphestTaskAdapter) called at [<phabricator>/src/applications/herald/engine/HeraldEngine.php:272]
PHP message:   #6 HeraldEngine::doesRuleMatch(HeraldRule, HeraldManiphestTaskAdapter) called at [<phabricator>/src/applications/herald/engine/HeraldEngine.php:89]
PHP message:   #7 HeraldEngine::applyRules(array, HeraldManiphestTaskAdapter) called at [<phabricator>/src/applications/herald/engine/HeraldEngine.php:42]
PHP message:   #8 HeraldEngine::loadAndApplyRules(HeraldManiphestTaskAdapter) called at [<phabricator>/src/applications/transactions/editor/PhabricatorApplicationTransactionEditor.php

Event Timeline

epriestley assigned this task to btrahan.
epriestley raised the priority of this task from to Normal.
epriestley updated the task description. (Show Details)
epriestley added projects: Herald, Maniphest.
epriestley added a subscriber: epriestley.
epriestley added a revision: Unknown Object (Differential Revision).Dec 11 2014, 12:53 AM