Bug 225807

Summary: ERR-CONDUIT-CORE error when creating a Differential revision
Product: Services Reporter: Raphael Kubo da Costa <rakuco>
Component: Code ReviewAssignee: Phabric Admin <phabric-admin>
Status: New ---    
Severity: Affects Only Me CC: emaste
Priority: ---    
Version: unspecified   
Hardware: Any   
OS: Any   

Description Raphael Kubo da Costa freebsd_committer 2018-02-10 16:21:09 UTC
This happens with arc diff as well as the web interface.

At the last step before the revision is created, there seems to be an error coming from the server:

>>> [56] <http> https://reviews.freebsd.org/api/differential.createrevision
<<< [56] <http> 456,387 us
<<< [55] <conduit> 456,877 us

[2018-02-10 17:18:54] EXCEPTION: (ConduitClientException) ERR-CONDUIT-CORE: Attempting to access attached data on PhabricatorRepositoryCommit (via getAudits()), 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 [<phutil>/src/conduit/ConduitFuture.php:58]
arcanist(), phutil()
  #0 ConduitFuture::didReceiveResult(array) called at [<phutil>/src/future/FutureProxy.php:58]
  #1 FutureProxy::getResult() called at [<phutil>/src/future/FutureProxy.php:35]
  #2 FutureProxy::resolve() called at [<phutil>/src/conduit/ConduitClient.php:64]
  #3 ConduitClient::callMethodSynchronous(string, array) called at [<arcanist>/src/workflow/ArcanistDiffWorkflow.php:588]
  #4 ArcanistDiffWorkflow::run() called at [<arcanist>/scripts/arcanist.php:394]
Comment 1 Raphael Kubo da Costa freebsd_committer 2018-02-13 21:08:46 UTC
Update: I can create a new revision as long as I don't refer to a commit in the Summary Plan (I was trying to write "rP460809").
Comment 2 Ed Maste freebsd_committer 2018-02-13 21:26:56 UTC
Aha, I also ran into this, also with a linked revision in the title.