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 <[EMAIL PROTECTED]> 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 <[EMAIL PROTECTED]>




--
-----------------------------------------< [EMAIL PROTECTED] >---
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 >---

Reply via email to