Closed (fixed)
Project:
Up RPC
Version:
6.x-2.x-dev
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
6 Sep 2011 at 20:54 UTC
Updated:
21 Sep 2011 at 14:31 UTC
Importing unpublished nodes doesn't work because the node loading Services method on D5 uses core access checks, and so if you don't give your webservice user the 'admin nodes' permission, retrieving an unpublished node gives an error.
Thing is, UpRPC gets the ids of unpublished nodes in the list of nodes it retrieves to import. So if there are any unpublished nodes of the types you're trying to import, the import will complain when it gets to them.
Quick solution: stop retrieving the ids of unpublished nodes.
Long term solution, for another time and another issue should there be a call for it: provide our own node loading service on D5.
Comments
Comment #1
joachim commented