After adding a new milestone and a new workboard to a subproject, we get the message "You must use withSourcePHIDs() to query edges" when accessing the subproject again.
Phabricator and all libs on stable branch
Steps to reproduce
- create a new project and add members to it
- create a new subproject and accept the conversion warning
- create a new milestone in the subproject
- create a new workboard in the subproject
- try to navigate to the subproject's page again
Error log
[Mon Feb 15 12:48:19.784603 2016] [:error] [pid 19855] [HIDDEN] arcanist(head=stable, ref.master=57f6fb59d739, ref.stable=0553cb8d4118), phabricator(head=stable, ref.master=8269fd6e6c1f, ref.stable=9519625092a5), phutil(head=stable, ref.master=f43291e99d36, ref.stable=9c472e7c9b64) [Mon Feb 15 12:48:19.784615 2016] [:error] [pid 19855] [HIDDEN] #0 <#2> PhabricatorEdgeQuery::execute() called at [<phabricator>/src/applications/project/engine/PhabricatorBoardLayoutEngine.php:445] [Mon Feb 15 12:48:19.784621 2016] [:error] [pid 19855] [HIDDEN] #1 <#2> PhabricatorBoardLayoutEngine::layoutBoard(PhabricatorProject, array, array) called at [<phabricator>/src/applications/project/engine/PhabricatorBoardLayoutEngine.php:65] [Mon Feb 15 12:48:19.784627 2016] [:error] [pid 19855] [HIDDEN] #2 <#2> PhabricatorBoardLayoutEngine::executeLayout() called at [<phabricator>/src/applications/project/controller/PhabricatorProjectBoardViewController.php:125] [Mon Feb 15 12:48:19.784633 2016] [:error] [pid 19855] [HIDDEN] #3 <#2> PhabricatorProjectBoardViewController::handleRequest(AphrontRequest) called at [<phabricator>/src/aphront/AphrontController.php:71] [Mon Feb 15 12:48:19.784638 2016] [:error] [pid 19855] [HIDDEN] #4 <#2> AphrontController::delegateToController(PhabricatorProjectBoardViewController) called at [<phabricator>/src/applications/project/controller/PhabricatorProjectViewController.php:33] [Mon Feb 15 12:48:19.784644 2016] [:error] [pid 19855] [HIDDEN] #5 <#2> PhabricatorProjectViewController::handleRequest(AphrontRequest) called at [<phabricator>/src/aphront/configuration/AphrontApplicationConfiguration.php:237] [Mon Feb 15 12:48:19.784649 2016] [:error] [pid 19855] [HIDDEN] #6 phlog(Exception) called at [<phabricator>/src/aphront/handler/PhabricatorDefaultRequestExceptionHandler.php:32] [Mon Feb 15 12:48:19.784655 2016] [:error] [pid 19855] [HIDDEN] #7 PhabricatorDefaultRequestExceptionHandler::handleRequestException(AphrontRequest, Exception) called at [<phabricator>/src/aphront/configuration/AphrontApplicationConfiguration.php:632] [Mon Feb 15 12:48:19.784661 2016] [:error] [pid 19855] [HIDDEN] #8 AphrontApplicationConfiguration::handleException(Exception) called at [<phabricator>/src/aphront/configuration/AphrontApplicationConfiguration.php:242] [Mon Feb 15 12:48:19.784666 2016] [:error] [pid 19855] [HIDDEN] #9 AphrontApplicationConfiguration::processRequest(AphrontRequest, PhutilDeferredLog, AphrontPHPHTTPSink, MultimeterControl) called at [<phabricator>/src/aphront/configuration/AphrontApplicationConfiguration.php:149] [Mon Feb 15 12:48:19.784672 2016] [:error] [pid 19855] [HIDDEN] #10 AphrontApplicationConfiguration::runHTTPRequest(AphrontPHPHTTPSink) called at [<phabricator>/webroot/index.php:17] [Mon Feb 15 12:48:29.982326 2016] [:error] [pid 19643] [HIDDEN] [2016-02-15 13:48:29] EXCEPTION: (Exception) You must use withSourcePHIDs() to query edges. at [<phabricator>/src/infrastructure/edges/query/PhabricatorEdgeQuery.php:162]