Return-Path: Delivered-To: apmail-incubator-jackrabbit-dev-archive@www.apache.org Received: (qmail 49866 invoked from network); 3 Oct 2005 12:46:16 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 3 Oct 2005 12:46:16 -0000 Received: (qmail 55231 invoked by uid 500); 3 Oct 2005 12:46:14 -0000 Mailing-List: contact jackrabbit-dev-help@incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: jackrabbit-dev@incubator.apache.org Delivered-To: mailing list jackrabbit-dev@incubator.apache.org Received: (qmail 55215 invoked by uid 99); 3 Oct 2005 12:46:14 -0000 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received: from [192.87.106.226] (HELO ajax.apache.org) (192.87.106.226) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 03 Oct 2005 05:46:13 -0700 Received: from ajax.apache.org (ajax.apache.org [127.0.0.1]) by ajax.apache.org (Postfix) with ESMTP id 49497E1 for ; Mon, 3 Oct 2005 14:45:52 +0200 (CEST) Message-ID: <179477946.1128343552298.JavaMail.jira@ajax.apache.org> Date: Mon, 3 Oct 2005 14:45:52 +0200 (CEST) From: "Tobias Strasser (JIRA)" To: jackrabbit-dev@incubator.apache.org Subject: [jira] Updated: (JCR-221) NoSuchItemStateException if Node.checkin() is invoked within a transaction In-Reply-To: <2088559782.1127484970545.JavaMail.jira@ajax.apache.org> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N [ http://issues.apache.org/jira/browse/JCR-221?page=all ] Tobias Strasser updated JCR-221: -------------------------------- Summary: NoSuchItemStateException if Node.checkin() is invoked within a transaction (was: versioning operations currently do not participate in transactions) > NoSuchItemStateException if Node.checkin() is invoked within a transaction > -------------------------------------------------------------------------- > > Key: JCR-221 > URL: http://issues.apache.org/jira/browse/JCR-221 > Project: Jackrabbit > Type: Bug > Components: versioning, transactions, core > Environment: Jackrabbit and CRX on windows and linux. > Reporter: Marcin Cenkier > Assignee: Tobias Strasser > Priority: Blocker > Fix For: 1.0 > > When you run a code that takes versionning outside transactions - everything goes ok. But when you run it inside transaction, it fails: > Here's the stacktrace: > 15:41:14,434 ERROR (TransactionalItemStateManager.java:114) - > java.lang.Exception: Cannot commit transaction. > [...] > Caused by: org.apache.jackrabbit.core.state.TransactionException: Unable > to commit transaction.: > 31f78b39-6422-4ec8-b41e-2571b6807b05/{http://www.jcp.org/jcr/1.0}isCheckedOut > [...] > Caused by: org.apache.jackrabbit.core.state.NoSuchItemStateException: > 31f78b39-6422-4ec8-b41e-2571b6807b05/{http://www.jcp.org/jcr/1.0}isCheckedOut > [...] > When you dont checkin the node transaction commits well, but the node is left checked out... -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira