forgot to say: with  jackrabbit 1.0.1 it works! but not with 1.1
so I'm pretty sure the bug is in the rabbit 1.1 code.

Roland Kofler wrote:
in some for me not very clear circumstances the unlocking of a node provokes a change of the path of some other node.

Not able to reproduce it yet fully as a jackrabbit testcase, so here some pseudocode:

Page page = PageFactory.createNewPage(session, title0);
Page page1 = PageFactory.createNewPage(session, title1);
  * page.getJcrNode().unlock(); *
// after that page1.getJcrNode().getPath() is "/" !!!!

if i save the page before unlock even worse, the paths are equal.
Thats good for quantum nodes ;-) but bad in solid jcr behavior.

So for now I'm going to sleep and will isolate the defect further tomorrow, but I hope for some feedback if you have any clue what might been going on.

thanks, and more tomorrow ... hopefully

roland



Reply via email to