jackrabbit-oak-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Michael Dürig <mdue...@apache.org>
Subject NodeBuilder weirdness
Date Fri, 02 Nov 2012 17:18:09 GMT

Hi,

System.out.println(nodeBuilder.hasChildNode(name));
nodeBuilder.child(name);
System.out.println(nodeBuilder.hasChildNode(name));
nodeBuilder.child(name);
System.out.println(nodeBuilder.hasChildNode(name));

false
false
true

there seems to be something wrong here...

I'll see whether I can extract this into a test case. Currently this 
happens in my local checkout while importing the initial content. I 
tried to replace the purge listener with NodeBuilder.reset.

Michael

Mime
View raw message