From users-return-17207-apmail-jackrabbit-users-archive=jackrabbit.apache.org@jackrabbit.apache.org Mon Mar 14 14:12:12 2011 Return-Path: Delivered-To: apmail-jackrabbit-users-archive@minotaur.apache.org Received: (qmail 69017 invoked from network); 14 Mar 2011 14:12:12 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 14 Mar 2011 14:12:12 -0000 Received: (qmail 30953 invoked by uid 500); 14 Mar 2011 14:12:11 -0000 Delivered-To: apmail-jackrabbit-users-archive@jackrabbit.apache.org Received: (qmail 30929 invoked by uid 500); 14 Mar 2011 14:12:11 -0000 Mailing-List: contact users-help@jackrabbit.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: users@jackrabbit.apache.org Delivered-To: mailing list users@jackrabbit.apache.org Received: (qmail 30921 invoked by uid 99); 14 Mar 2011 14:12:11 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 14 Mar 2011 14:12:11 +0000 X-ASF-Spam-Status: No, hits=-1.2 required=5.0 tests=FRT_ADOBE2,RCVD_IN_DNSWL_MED,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: local policy) Received: from [216.82.249.19] (HELO mail137.messagelabs.com) (216.82.249.19) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 14 Mar 2011 14:12:03 +0000 X-VirusChecked: Checked X-Env-Sender: Adrien.DeGeorges@experian.com X-Msg-Ref: server-12.tower-137.messagelabs.com!1300111895!88498593!1 X-StarScan-Version: 6.2.9; banners=-,-,- X-Originating-IP: [194.60.173.51] Received: (qmail 31703 invoked from network); 14 Mar 2011 14:11:37 -0000 Received: from unknown (HELO SMTP3.uk.experian.com) (194.60.173.51) by server-12.tower-137.messagelabs.com with RC4-SHA encrypted SMTP; 14 Mar 2011 14:11:37 -0000 Received: from mail pickup service by SMTP3.uk.experian.com with Microsoft SMTPSVC; Mon, 14 Mar 2011 14:11:35 +0000 Importance: normal Priority: normal Received: from EXCH-NOT-RTG01.uk.experian.local ([192.168.89.35]) by SMTP3.uk.experian.com with Microsoft SMTPSVC(6.0.3790.4675); Mon, 14 Mar 2011 14:11:34 +0000 Received: from exch-not-bh02.uk.experian.local ([192.168.89.21]) by EXCH-NOT-RTG01.uk.experian.local with Microsoft SMTPSVC(6.0.3790.4675); Mon, 14 Mar 2011 14:11:33 +0000 Received: from exch-mon-msg01.uk.experian.local ([10.161.102.196]) by exch-not-bh02.uk.experian.local with Microsoft SMTPSVC(6.0.3790.4675); Mon, 14 Mar 2011 14:11:33 +0000 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.3790.4721 Content-class: urn:content-classes:message MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Subject: RE: Problem using OPV ignore on versioned node Date: Mon, 14 Mar 2011 14:11:32 -0000 Message-ID: In-Reply-To: X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: Problem using OPV ignore on versioned node Thread-Index: AcviOrPB8RrArcFET6aMS4EzjZVRUAAFqHqw References: From: "De Georges, Adrien" To: X-OriginalArrivalTime: 14 Mar 2011 14:11:33.0531 (UTC) FILETIME=[B910DEB0:01CBE251] X-Virus-Checked: Checked by ClamAV on apache.org Thanks Alex for your reply. But, in fact the OPV attribute should allow to modify a such property without checking in the parent. I found an opened issue in JCR issue tracker : https://issues.apache.org/jira/browse/JCR-639 So unfortunately, I guess I will have to find another solution. Regards, Adrien -----Original Message----- From: Alexander Klimetschek [mailto:aklimets@adobe.com]=20 Sent: 14 March 2011 12:27 To: users@jackrabbit.apache.org Subject: Re: Problem using OPV ignore on versioned node On 14.03.11 11:00, "De Georges, Adrien" wrote: >[exp:baseObject] > exp:versionablecontent > >- ownerGuid (string) =3D 'test' mandatory autocreated ignore > >=20 >This property is well created with the default value 'test' and the >on-parent-version is set to 5 (I think it is the IGNORE value). But when >I try to modify this property (setProperty) a VersionException is >triggered (because the node is checked in). AFAIK, the OnParentVersion only dictates what to do on versioning =3D checkin of a node, if the child node or property should be copied to the version node or not. To modify the "head" of a versioned node (such as setting any property on it), the node always has to be checked out. Regards, Alex --=20 Alexander Klimetschek Developer // Adobe (Day) // Berlin - Basel Information in this e-mail and any attachments is confidential, and may = not be copied or used by anyone other than the addressee, nor disclosed = to any third party without our permission. There is no intention to = create any legally binding contract or other binding commitment through = the use of this electronic communication unless it is issued in = accordance with the Experian Limited standard terms and conditions of = purchase or other express written agreement between Experian Limited and = the recipient. Although Experian has taken reasonable steps to ensure = that this communication and any attachments are free from computer = virus, you are advised to take your own steps to ensure that they are = actually virus free.=20 Companies Act information: Registered name: Experian Limited. Registered = office: Landmark House, Experian Way, NG2 Business Park, Nottingham, = NG80 1ZZ, United Kingdom. Place of registration: England and Wales. = Registered number: 653331