jackrabbit-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Tobias Bocanegra" <tobias.bocane...@day.com>
Subject Re: isCheckedOut bug?
Date Wed, 07 Jun 2006 09:06:16 GMT
when you create a new versionable node, it is in a checked-out state,
until you explicitely check-in the node. so Node.isCheckedOut should
always return true, until you checkin the node.

regards, toby

On 6/6/06, Paco Avila <pavila@git.es> wrote:
> When I add a new versionable node, the node is addes with
> jcr:isCheckedout set to true. If I shutdown the repository and test it
> again, now has the correct value. So the case is:
>
> -> Create a repository
> -> Add a versionable node
> -> Test isCkeckedOut property (is true)
> -> Shutdown repository
> -> Open repository
> -> get node
> -> test isCheckedOut property (is false)
>
> Is this a bug? should i set the isChekedOut property to false on node
> creation?
> --
> Paco Avila <pavila@git.es>
>
>


-- 
-----------------------------------------< tobias.bocanegra@day.com >---
Tobias Bocanegra, Day Management AG, Barfuesserplatz 6, CH - 4001 Basel
T +41 61 226 98 98, F +41 61 226 98 97
-----------------------------------------------< http://www.day.com >---

Mime
View raw message