Return-Path: Delivered-To: apmail-jackrabbit-dev-archive@www.apache.org Received: (qmail 68500 invoked from network); 12 Aug 2009 09:41:34 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 12 Aug 2009 09:41:34 -0000 Received: (qmail 8682 invoked by uid 500); 12 Aug 2009 09:41:41 -0000 Delivered-To: apmail-jackrabbit-dev-archive@jackrabbit.apache.org Received: (qmail 8629 invoked by uid 500); 12 Aug 2009 09:41:40 -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 8597 invoked by uid 99); 12 Aug 2009 09:41:40 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 12 Aug 2009 09:41:40 +0000 X-ASF-Spam-Status: No, hits=2.2 required=10.0 tests=HTML_MESSAGE,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of shedloadsofbeer@hotmail.com designates 65.54.246.209 as permitted sender) Received: from [65.54.246.209] (HELO bay0-omc3-s9.bay0.hotmail.com) (65.54.246.209) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 12 Aug 2009 09:41:29 +0000 Received: from BAY122-W51 ([207.46.10.214]) by bay0-omc3-s9.bay0.hotmail.com with Microsoft SMTPSVC(6.0.3790.3959); Wed, 12 Aug 2009 02:41:07 -0700 Message-ID: Content-Type: multipart/alternative; boundary="_2f19fe65-b27b-4b4f-9788-4474881cae2c_" X-Originating-IP: [82.153.216.20] From: Paul Skinner To: Subject: RE: 1.6.0 session.addLockToken() Date: Wed, 12 Aug 2009 10:41:08 +0100 Importance: Normal In-Reply-To: <510143ac0908120233l5c8545abn3fb57e7f72975e08@mail.gmail.com> References: <510143ac0908120233l5c8545abn3fb57e7f72975e08@mail.gmail.com> MIME-Version: 1.0 X-OriginalArrivalTime: 12 Aug 2009 09:41:07.0606 (UTC) FILETIME=[047BF360:01CA1B31] X-Virus-Checked: Checked by ClamAV on apache.org --_2f19fe65-b27b-4b4f-9788-4474881cae2c_ Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable I have actually just realised what is happening. The lock token is an old token=2C the node had since been unlocked and dele= ted. So under 1.6.0 the session will no longer add this token to the sessio= n. My code just seemed to expect the token will always be added before then= continuing to try and retrieve the node. Sorry for any concern caused by m= y email but it all now makes sense and works better than before. > From: jukka.zitting@gmail.com > Date: Wed=2C 12 Aug 2009 11:33:44 +0200 > Subject: Re: 1.6.0 session.addLockToken() > To: dev@jackrabbit.apache.org >=20 > Hi=2C >=20 > On Wed=2C Aug 12=2C 2009 at 11:11 AM=2C Paul > Skinner wrote: > > I have upgraded to Jackrabbit 1.6.0 and now session.addLockToken() appe= ars > > to not actually add the token to the session since session.getLockToken= s() > > returns nothing. >=20 > That should definitely still work. Can you file a bug report with a test = case? >=20 > BR=2C >=20 > Jukka Zitting _________________________________________________________________ Celebrate a decade of Messenger with free winks=2C emoticons=2C display pic= s=2C and more. http://clk.atdmt.com/UKM/go/157562755/direct/01/= --_2f19fe65-b27b-4b4f-9788-4474881cae2c_ Content-Type: text/html; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable I have actually just realised what is happening.

The lock token is a= n old token=2C the node had since been unlocked and deleted. So under 1.6.0= the session will no longer add this token to the session. My code just see= med to expect the token will always be added before then continuing to try = and retrieve the node. Sorry for any concern caused by my email but it all = now makes sense and works better than before.


>=3B From: jukka= .zitting@gmail.com
>=3B Date: Wed=2C 12 Aug 2009 11:33:44 +0200
>= =3B Subject: Re: 1.6.0 session.addLockToken()
>=3B To: dev@jackrabbit.= apache.org
>=3B
>=3B Hi=2C
>=3B
>=3B On Wed=2C Aug 12= =2C 2009 at 11:11 AM=2C Paul
>=3B Skinner<=3Bshedloadsofbeer@hotmail= .com>=3B wrote:
>=3B >=3B I have upgraded to Jackrabbit 1.6.0 and = now session.addLockToken() appears
>=3B >=3B to not actually add the= token to the session since session.getLockTokens()
>=3B >=3B return= s nothing.
>=3B
>=3B That should definitely still work. Can you = file a bug report with a test case?
>=3B
>=3B BR=2C
>=3B >=3B Jukka Zitting


Windows Live Messenger: Celebrate 10 = amazing years with free winks and emoticons. Get Them Now = --_2f19fe65-b27b-4b4f-9788-4474881cae2c_--