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] Resolved: (JDO-329) JPOX fails to create detached instances via serialization
Date Mon, 13 Mar 2006 05:37:04 GMT
     [ http://issues.apache.org/jira/browse/JDO-329?page=all ]
     
Craig Russell resolved JDO-329:
-------------------------------

    Resolution: Fixed

The latest JPOX SNAPSHOT resolves this issue.

> JPOX fails to create detached instances via serialization
> ---------------------------------------------------------
>
>          Key: JDO-329
>          URL: http://issues.apache.org/jira/browse/JDO-329
>      Project: JDO
>         Type: Bug
>   Components: tck20
>     Versions: JDO 2 rc1
>  Environment: JPOX
>     Reporter: Craig Russell
>     Assignee: Erik Bengtson
>      Fix For: JDO 2 final

>
> After applying the patch in JDO-272, the DetachSerialize test fails:
>  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: {}
>     [java] Assertion A12.6.8 (DetachSerialize) failed: after deserializing cart,
>     [java] CartEntry instance should be detached but is not. The object state is: {}
>     [java] Assertion A12.6.8 (DetachSerialize) failed: after deserializing cart,
>     [java] Product instance should be detached but is not. The object state is: {}
>     [java] 
>     [java]      at org.apache.jdo.tck.JDO_Test.failOnError(JDO_Test.java:951)
>     [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:206)
>     [java]      at org.apache.jdo.tck.util.BatchTestRunner.start(BatchTestRunner.java:120)
>     [java]      at org.apache.jdo.tck.util.BatchTestRunner.main(BatchTestRunner.java:95)

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