Hi,

This may be similar to JCR 993
(https://issues.apache.org/jira/browse/JCR-993).

When multiple nodes are moved in a single transaction then getPath() method
returns the old path for all nodes except one. For example if I have the
following nodes:
n1: /a
n2: /a/b
n3: /a/c
n4: /d

and I first move n2 and n3 to /d in a single transaction. Then when I obtain
a new reference to n2 and n3 after committing the transaction, one of them
will return the correct path and the other will return the old path. The
nodes are moved to the correct place though. And it seems to be a caching
issue since the paths are returned correctly if I restart Jackrabbit. 

I am using Session.move() method for moving the objects and Jackrabbit
1.4.2.

Thanks,
Pankaj

-- 
View this message in context: 
http://www.nabble.com/Moving-multiple-objects-in-a-transaction-results-in-invalid-path-tp21617709p21617709.html
Sent from the Jackrabbit - Users mailing list archive at Nabble.com.

Reply via email to