db-jdo-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Craig Russell (JIRA)" <j...@apache.org>
Subject [jira] Created: (JDO-343) JPOX regression: after deserializing a detached instance, the instance is transient
Date Mon, 20 Mar 2006 22:46:59 GMT
JPOX regression: after deserializing a detached instance, the instance is transient
-----------------------------------------------------------------------------------

         Key: JDO-343
         URL: http://issues.apache.org/jira/browse/JDO-343
     Project: JDO
        Type: Bug
  Components: tck20  
    Versions: JDO 2 rc1    
    Reporter: Craig Russell
 Assigned to: Erik Bengtson 
     Fix For: JDO 2 final


With the JPOX SNAPSHOT from 20-Mar-2006, the DetachSerialize test now fails.

    [java] Description: Detachment tests with standard mapping, no testdata.
    [java] Time: 010
    [java] There was 1 failure:
    [java] 1) testDetachSerialize(org.apache.jdo.tck.api.persistencemanager.detach.DetachSerialize)junit.framework.AssertionFailedError:

    [java] Assertion A12.6.8 (DetachSerialize) failed: after deserializing cart,
    [java] Cart instance should be detached but is not. The object state is: transient {}
    [java] Assertion A12.6.8 (DetachSerialize) failed: after deserializing cart,
    [java] CartEntry instance should be detached but is not. The object state is: transient
{}
    [java] Assertion A12.6.8 (DetachSerialize) failed: after deserializing cart,
    [java] Product instance should be detached but is not. The object state is: transient
{}
    [java] 
    [java]      at org.apache.jdo.tck.JDO_Test.failOnError(JDO_Test.java:1035)
    [java]      at org.apache.jdo.tck.api.persistencemanager.detach.DetachSerialize.testDetachSerialize(DetachSerialize.java:73)
    [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:232)
    [java]      at org.apache.jdo.tck.util.BatchTestRunner.doRun(BatchTestRunner.java:105)
    [java]      at org.apache.jdo.tck.util.BatchTestRunner.start(BatchTestRunner.java:143)
    [java]      at org.apache.jdo.tck.util.BatchTestRunner.main(BatchTestRunner.java:118)
    [java] FAILURES!!!


-- 
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


Mime
View raw message