jackrabbit-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Julian Reschke <julian.resc...@gmx.de>
Subject Re: Problem with node.checkin() in same transaction node was created
Date Mon, 22 Sep 2008 17:21:53 GMT
Connor, Brett (LNG-TWY) wrote:
> You need checkin() for the first one, after the save(), without any
> checkout(). I don't know why you have the error you're getting, your
> original code snippet looked ok at a quick glance. Perhaps there is some
> other resource involved in the tx that's causing the problem?
> WRT root version, if you look at the UUIDs you find that the UUID of the
> root version is the same as the first version following the successors

That sounds like a serious bug to me.

> chain. The root version is just a "symbolic link" to the first node, if
> that makes sense.

I think that's misleading.

For instance, consider a linear version history, such as

   root -> 1 -> 2

You could delete version 1, and the result would be

   root -> 2

BR, Julian

View raw message