Return-Path: Delivered-To: apmail-incubator-jackrabbit-dev-archive@www.apache.org Received: (qmail 32921 invoked from network); 16 Mar 2005 09:59:26 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur-2.apache.org with SMTP; 16 Mar 2005 09:59:26 -0000 Received: (qmail 95666 invoked by uid 500); 16 Mar 2005 09:59:25 -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 95653 invoked by uid 99); 16 Mar 2005 09:59:24 -0000 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received: from ajax-1.apache.org (HELO ajax.apache.org) (192.87.106.226) by apache.org (qpsmtpd/0.28) with ESMTP; Wed, 16 Mar 2005 01:59:23 -0800 Received: from ajax.apache.org (ajax.apache.org [127.0.0.1]) by ajax.apache.org (8.12.11/8.12.11) with ESMTP id j2G9xK0Z022022 for ; Wed, 16 Mar 2005 10:59:20 +0100 Message-ID: <1347102330.1110967160733.JavaMail.jira@ajax.apache.org> Date: Wed, 16 Mar 2005 10:59:20 +0100 (CET) From: "Stefan Guggisberg (JIRA)" To: jackrabbit-dev@incubator.apache.org Subject: [jira] Created: (JCR-69) removing source parent node after session move throws on save Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N removing source parent node after session move throws on save ------------------------------------------------------------- Key: JCR-69 URL: http://issues.apache.org/jira/browse/JCR-69 Project: Jackrabbit Type: Bug Components: API Reporter: Stefan Guggisberg the following code fragment illustrates the problem: /** * create the following node tree: * * + A * + B * + C * + D */ Node A; if (root.hasNode("A")) { A = root.getNode("A"); } else { A = root.addNode("A"); } Node B = A.addNode("B"); Node C = B.addNode("C"); Node D = A.addNode("D"); root.save(); // move C under D session.move("/A/B/C", "/A/D/C"); // remove B A.getNode("B").remove(); /** * the expected resulting node tree: * * + A * + D * + C */ A.save(); ==> the last save() will throw javax.jcr.RepositoryException: inconsistency: failed to retrieve transient state for ... -- 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 - If you want more information on JIRA, or have a bug to report see: http://www.atlassian.com/software/jira