Return-Path: Delivered-To: apmail-jackrabbit-dev-archive@www.apache.org Received: (qmail 992 invoked from network); 14 Mar 2008 14:20:07 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 14 Mar 2008 14:20:07 -0000 Received: (qmail 42743 invoked by uid 500); 14 Mar 2008 14:20:03 -0000 Delivered-To: apmail-jackrabbit-dev-archive@jackrabbit.apache.org Received: (qmail 42714 invoked by uid 500); 14 Mar 2008 14:20:03 -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 42705 invoked by uid 99); 14 Mar 2008 14:20:03 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 14 Mar 2008 07:20:03 -0700 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.140] (HELO brutus.apache.org) (140.211.11.140) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 14 Mar 2008 14:19:23 +0000 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id B20D3234C098 for ; Fri, 14 Mar 2008 07:18:27 -0700 (PDT) Message-ID: <1151278852.1205504307715.JavaMail.jira@brutus> Date: Fri, 14 Mar 2008 07:18:27 -0700 (PDT) From: "Marcel Reutegger (JIRA)" To: dev@jackrabbit.apache.org Subject: [jira] Commented: (JCR-1475) Inconsistency when version with a label is removed In-Reply-To: <379999248.1205501005620.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/JCR-1475?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12578749#action_12578749 ] Marcel Reutegger commented on JCR-1475: --------------------------------------- Added test case, which is not enabled to run because it fails: org.apache.jackrabbit.core.version.RemoveVersionLabelTest > Inconsistency when version with a label is removed > -------------------------------------------------- > > Key: JCR-1475 > URL: https://issues.apache.org/jira/browse/JCR-1475 > Project: Jackrabbit > Issue Type: Bug > Components: jackrabbit-core, versioning > Affects Versions: 1.4, core 1.4.1, core 1.4.2 > Reporter: Marcel Reutegger > Priority: Minor > > While executing random operations on the version storage I came across a situation where a version is removed that has a version label. > The current behaviour in jackrabbit is IMO not correct because the version node gets removed, but the version label is still present in the version history. This means there is a referenceable property that points to nowhere. > So I guess either: > - the version label property must be removed as well when the version is removed > or > - the remove version operation should fail because the version is still referenced > I wasn't able to find a relevant section in the spec, though I must admit that I don't know the versioning section that well. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.