jackrabbit-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Stefan Guggisberg <ste...@apache.org>
Subject Re: [jr3 microkernel] Move overwrites target node
Date Fri, 25 Nov 2011 15:03:10 GMT
On Fri, Nov 25, 2011 at 1:03 PM, Michael Dürig <mduerig@apache.org> wrote:
>
> Hi,
>
> I just discovered that the move operation does not fail when the target
> nodes already exists. Is that expected?

no :)

fixed in svn r1206201.

thanks
stefan

>
> When node 'b' exists already, the following commit will overwrite it with
> node 'a':
>
>  mk.commit("/", ">\"a\" : \"b\"  ", head, "");
>
>
> In contrast adding a node 'b' in the same situation would fail with a
> message saying that node 'b' exists already.
>
> Michael
>

Mime
View raw message