I have a problem that I cant reproduce in Sling, but can reproduce in my local 
packaging of the same Sling components, and was wondering if anyone had some 
insights.

The steps are
create 2 nodes
/a1
/a2
Then copy /a1 onto /a2 with overwrite = true using 
curl -F:operation=copy -F:dest=/a2 -F:replace=true 
http://admin:ad...@localhost:8080/a1


Tracing the code through,

The copy operation succeeds but session.getItem("/a2") in the call or oderNode 
line 136 of AbstractCopyOperation fails, PathNotFound

in more detail
Node /a2 is removed and re-added (new node UUID) but session.getItem("/a2") 
tried to load the original node UUID, not the new node UUID.

session.getItem("/a2") uses the hierachyManger to get the node ID.

---------------------------
Any Ideas ?

AFAICT, all jars are identical JR in Sling and the local Packaging, and this is 
a 100% clean startup.

Ian

Reply via email to