Uploaded image for project: 'JDO'
  1. JDO
  2. JDO-343

JPOX regression: after deserializing a detached instance, the instance is transient

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • JDO 2 rc1
    • JDO 2 final (2.0)
    • tck
    • None

    Description

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

      Attachments

        Activity

          People

            andyj Andy Jefferson
            clr Craig L Russell
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: