Return-Path: Delivered-To: apmail-db-jdo-dev-archive@www.apache.org Received: (qmail 24570 invoked from network); 18 Feb 2007 06:18:26 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 18 Feb 2007 06:18:26 -0000 Received: (qmail 29640 invoked by uid 500); 18 Feb 2007 06:18:34 -0000 Mailing-List: contact jdo-dev-help@db.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: jdo-dev@db.apache.org Delivered-To: mailing list jdo-dev@db.apache.org Received: (qmail 29629 invoked by uid 99); 18 Feb 2007 06:18:34 -0000 Received: from herse.apache.org (HELO herse.apache.org) (140.211.11.133) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 17 Feb 2007 22:18:34 -0800 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received: from [140.211.11.4] (HELO brutus.apache.org) (140.211.11.4) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 17 Feb 2007 22:18:25 -0800 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id CA7907141E9 for ; Sat, 17 Feb 2007 22:18:05 -0800 (PST) Message-ID: <28404798.1171779485827.JavaMail.jira@brutus> Date: Sat, 17 Feb 2007 22:18:05 -0800 (PST) From: "Andy Jefferson (JIRA)" To: jdo-dev@db.apache.org Subject: [jira] Resolved: (JDO-460) StateTransitions test fails on detachCopy operation In-Reply-To: <29986911.1168986568517.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/JDO-460?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Andy Jefferson resolved JDO-460. -------------------------------- Resolution: Fixed Fixed in JPOX CVS HEAD and RELEASE_1_1 > StateTransitions test fails on detachCopy operation > --------------------------------------------------- > > Key: JDO-460 > URL: https://issues.apache.org/jira/browse/JDO-460 > Project: JDO > Issue Type: Bug > Components: tck2 > Reporter: Michelle Caisse > Assigned To: Andy Jefferson > Fix For: JDO 2 maintenance release 1 > > > StateTransitions fails on three cases for the detachCopy operation. These transitions are newly specified for JDO 2.1. See JDO-456. > [java] There was 1 failure: > [java] 1) test(org.apache.jdo.tck.lifecycle.StateTransitions)junit.framework.AssertionFailedError: > [java] Assertions A5.9-1 through A5.9-190 (StateTransitions) failed: > [java] StateTransitions: datastore transaction; current state hollow > [java] detachCopy with active datastore tx transitioned instance to invalid state hollow; expected state persistent-clean > [java] Assertions A5.9-1 through A5.9-190 (StateTransitions) failed: > [java] StateTransitions: no transaction; current state hollow > [java] detachCopy outside tx with NontransactionalRead=false; JDOUserException should have been thrown > [java] Assertions A5.9-1 through A5.9-190 (StateTransitions) failed: > [java] StateTransitions: no transaction; current state persistent-nontransactional > [java] detachCopy outside tx with NontransactionalRead=false; JDOUserException should have been thrown > [java] > [java] at org.apache.jdo.tck.JDO_Test.failOnError(JDO_Test.java:1103) > [java] at org.apache.jdo.tck.lifecycle.StateTransitions.test(StateTransitions.java:414) > [java] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) > [java] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) > [java] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) > [java] at org.apache.jdo.tck.JDO_Test.runBare(JDO_Test.java:254) > [java] at org.apache.jdo.tck.util.BatchTestRunner.doRun(BatchTestRunner.java:108) > [java] at org.apache.jdo.tck.util.BatchTestRunner.start(BatchTestRunner.java:148) > [java] at org.apache.jdo.tck.util.BatchTestRunner.main(BatchTestRunner.java:123) -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.