This is a recent regression.
Reproduction steps:
Go to https://phabricator.example.com/conduit/method/differential.createcomment/ Fill in `revision_id`, `message`, and `action` fields with valid info. Click "Call Method".
$ echo '{ "revision_id": 12345, "message": "Testing", "action": "accept" }' | arc call-conduit --conduit-uri https://phabricator.example.com/ --conduit-token <conduit-token> differential.createcomment
Expected result:
Comment is posted and action is set.
Actual result:
ERR-CONDUIT-CORE Attempting to access attached data on DifferentialRevision (via getActiveDiff()), 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.
Version Information
- phabricator 9d37ad3022bfff8a2900b9d728e6abbb6a1e27f0 (Fri, May 26)
- arcanist 129d51fa0936c9bae48fadf3a3f39e26d69d24da (Thu, May 18)
- phutil a900d7b63e954e221efe140f0f33d3d701524aae (Apr 23 2017)