jackrabbit-oak-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jukka Zitting <jukka.zitt...@gmail.com>
Subject Re: jackrabbit-oak build #1579: Still Failing
Date Fri, 17 May 2013 10:16:59 GMT
Hi,

On Thu, May 16, 2013 at 11:43 PM, Alex Parvulescu
<alex.parvulescu@gmail.com> wrote:
> it looks like the latest uuid changes turned this into illegal code:
>
>   if (testRootNode.hasNode(nodeName1)) {
>     testRootNode.getNode(nodeName1).remove();
>   }
>   testRootNode.addNode(nodeName1, NodeType.NT_RESOURCE);
>
> And adding a #save call right after the #remove fixes the issue.
>
> I think the uuid validation bits need to cover this case more carefully.

Good catch! See my comment on OAK-823.

BR,

Jukka Zitting

Mime
View raw message