Return-Path: Delivered-To: apmail-jackrabbit-users-archive@locus.apache.org Received: (qmail 6963 invoked from network); 9 Nov 2007 20:19:08 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 9 Nov 2007 20:19:08 -0000 Received: (qmail 80272 invoked by uid 500); 9 Nov 2007 20:18:55 -0000 Delivered-To: apmail-jackrabbit-users-archive@jackrabbit.apache.org Received: (qmail 80255 invoked by uid 500); 9 Nov 2007 20:18:55 -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 80246 invoked by uid 99); 9 Nov 2007 20:18:55 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 09 Nov 2007 12:18:55 -0800 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of vik002@gmail.com designates 64.233.182.190 as permitted sender) Received: from [64.233.182.190] (HELO nf-out-0910.google.com) (64.233.182.190) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 09 Nov 2007 20:18:58 +0000 Received: by nf-out-0910.google.com with SMTP id g16so549901nfd for ; Fri, 09 Nov 2007 12:18:35 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:to:subject:mime-version:content-type:content-transfer-encoding:content-disposition; bh=uhcX0mmUlGfMVZVKl4YkteDdgN4loSLmBUjD4njGXZE=; b=F8cfm9oZq73qJ5oWFB0kFLf0Ir1S6pcE3daCHV0iuZE3woWs+LgI3klWRBSDKHtrmD+6EhLMMIRGQMFjZfOz4PQYsHz+T/QJGAPQKi3ikCXruYoWo69eiVdVsHRzk5KCNWwiOE4g0RyAtw3wkJ/XoXxpZRSQCfIwfTIMHKB6P44= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:to:subject:mime-version:content-type:content-transfer-encoding:content-disposition; b=tme2p3Son9uGah48UoDEByzabqaOMjou2CB6ezI/29ctjGZtJJ4XLCguxf6Sa8kuj0dN76szvbuFzSHNtlVQQacnLBP4GM1haQi8RfsgLvxkGzqNrsCTRyLE9WtrdjHpBvr3tVMYBod9zivWgcHwhwb9J6TGIQ8lRRo4J3r9Qbg= Received: by 10.78.159.7 with SMTP id h7mr2956788hue.1194639515328; Fri, 09 Nov 2007 12:18:35 -0800 (PST) Received: by 10.78.81.5 with HTTP; Fri, 9 Nov 2007 12:18:35 -0800 (PST) Message-ID: <33aff08b0711091218l30835a0nf2e619d0b19f5b56@mail.gmail.com> Date: Fri, 9 Nov 2007 14:18:35 -0600 From: "Vikas Bhatia" To: users@jackrabbit.apache.org Subject: changing property of a checked in node MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline X-Virus-Checked: Checked by ClamAV on apache.org I have a node that is versionable. Here is the CND === [mcd:xy] > nt:base,mix:versionable orderable mixin - mcd:language (string) mandatory - mcd:url (string) - mcd:title (string) ignore mandatory === Here is the title is set to "ignore". After the node with this nodetype xy is first created, we can change the title without checking out the node. i.e., the title changing does not need the node to be checked out. But once a new version of node xy is created, lets say the new version 1.1, we cant change the property mcd:title without checking out the node. if we try to change the title without checking out the node, the error is javax.jcr.version.VersionException: cannot set the value of a checked-in node, /a/b/c/xyz:title The behavior is confusing.. if the node is not versioned, you can change the property, but once the first version is created, you cannot... is that expected behavior. I thought that by setting the title attribute to "ignore" you could change the property without checking the node out. Is this a bug or expected behavior? V.