Return-Path: Delivered-To: apmail-jackrabbit-dev-archive@www.apache.org Received: (qmail 60154 invoked from network); 7 Jun 2006 09:06:41 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 7 Jun 2006 09:06:41 -0000 Received: (qmail 65700 invoked by uid 500); 7 Jun 2006 09:06:41 -0000 Delivered-To: apmail-jackrabbit-dev-archive@jackrabbit.apache.org Received: (qmail 65345 invoked by uid 500); 7 Jun 2006 09:06:39 -0000 Mailing-List: contact dev-help@jackrabbit.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@jackrabbit.apache.org Delivered-To: mailing list dev@jackrabbit.apache.org Received: (qmail 65336 invoked by uid 99); 7 Jun 2006 09:06:39 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 07 Jun 2006 02:06:39 -0700 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (asf.osuosl.org: domain of tobias.strasser@gmail.com designates 66.249.92.174 as permitted sender) Received: from [66.249.92.174] (HELO ug-out-1314.google.com) (66.249.92.174) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 07 Jun 2006 02:06:38 -0700 Received: by ug-out-1314.google.com with SMTP id m3so205683uge for ; Wed, 07 Jun 2006 02:06:16 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:reply-to:sender:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references:x-google-sender-auth; b=p29pOv+pjF6bSGA5U/F2lGwGx0nuL8HXz/NbZHEH7BCnu/aPvQTaw0n/2dK5t3IfQTvlQZtTVtowQSIc3VGcS1gjaCHyNYmYdOEWYYeAYREqjfyVvC/xrdivhG2cqYgBVODdHT9zEM64YIcnUTma96fXyMzqEvFRJOwNM6mwT7Y= Received: by 10.78.52.17 with SMTP id z17mr54279huz; Wed, 07 Jun 2006 02:06:16 -0700 (PDT) Received: by 10.78.50.19 with HTTP; Wed, 7 Jun 2006 02:06:16 -0700 (PDT) Message-ID: <8be731880606070206y271d6bfibd8835bdbbf00339@mail.gmail.com> Date: Wed, 7 Jun 2006 11:06:16 +0200 From: "Tobias Bocanegra" Reply-To: tobias.bocanegra@day.com Sender: tobias.strasser@gmail.com To: dev@jackrabbit.apache.org Subject: Re: isCheckedOut bug? In-Reply-To: <1149625836.19906.6.camel@localhost> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <1149625836.19906.6.camel@localhost> X-Google-Sender-Auth: d968768a841f025c X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N 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 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 > > -- -----------------------------------------< 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 >---