Return-Path: Delivered-To: apmail-jackrabbit-dev-archive@www.apache.org Received: (qmail 63716 invoked from network); 9 May 2008 14:43:19 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 9 May 2008 14:43:19 -0000 Received: (qmail 12520 invoked by uid 500); 9 May 2008 14:43:18 -0000 Delivered-To: apmail-jackrabbit-dev-archive@jackrabbit.apache.org Received: (qmail 12445 invoked by uid 500); 9 May 2008 14:43:18 -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 12416 invoked by uid 99); 9 May 2008 14:43:18 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 09 May 2008 07:43:18 -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, 09 May 2008 14:42:40 +0000 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id AC7F0234C10A for ; Fri, 9 May 2008 07:42:55 -0700 (PDT) Message-ID: <812776864.1210344175705.JavaMail.jira@brutus> Date: Fri, 9 May 2008 07:42:55 -0700 (PDT) From: "Roman Puchkovskiy (JIRA)" To: dev@jackrabbit.apache.org Subject: [jira] Updated: (JCR-1587) When trying to reuse version label in transaction, exception is thrown In-Reply-To: <853561728.1210344055596.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-1587?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Roman Puchkovskiy updated JCR-1587: ----------------------------------- Attachment: test-reassign-version-label-in-tx.zip This is a Maven project. To run tests, unpack and run 'mvn test'. Test contains two methods: one of them does not use transactions (passes), another uses transactions (fails). > When trying to reuse version label in transaction, exception is thrown > ---------------------------------------------------------------------- > > Key: JCR-1587 > URL: https://issues.apache.org/jira/browse/JCR-1587 > Project: Jackrabbit > Issue Type: Bug > Components: versioning > Affects Versions: core 1.4.3, core 1.4.4 > Environment: Jackrabbit Core 1.4.4, Jencks 2.0, Springmodules 0.8a, Jackrabbit JCA 1.4 > Java version: 1.6.0_06 > OS name: "windows vista" version: "6.0" arch: "x86" Family: "windows" > Reporter: Roman Puchkovskiy > Attachments: test-reassign-version-label-in-tx.zip > > > Following sequence causes failure: > 1. first transaction: > 1.1 create versionable node > 1.2 create version 1 of this node > 2. second transaction: > 2.1 create version 2 of this node > 2.2 assign a label to version 2 > 3. third transaction: > 3.1 restore a node to version 1 > 3.2 remove version 2 > 3.3 make version 3 of same node > 3.4 assign same label (which was assigned to version 2) to version 3 -> fails > Same sequence which does not use transactions at all works fine. > Going to attach a test case. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.