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

joachim’s picture

Status: Active » Fixed

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.