db-jdo-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Andy Jefferson (JIRA)" <j...@apache.org>
Subject [jira] Commented: (JDO-347) JPOX fails some lifecycle tests
Date Sat, 25 Mar 2006 18:16:22 GMT
    [ http://issues.apache.org/jira/browse/JDO-347?page=comments#action_12371865 ] 

Andy Jefferson commented on JDO-347:
------------------------------------

I would like some input into StateTransitionsReturnedObjects. Let's take this message :-

    [java] Assertions A5.9-1 through A5.5.8 (serialization, detachment, attachment) failed:
    [java] StateTransitionsReturnedObjects: datastore transaction; current state transient-clean
    [java] serialize with active tx returned instance in invalid state detached-clean; expected
state transient

Looking at the test it takes a transient-clean instance (in a txn) and serialises it and then
deserialises the serialised object. The end result object will have the detached state present
and no StateManager. Consequently it will be detached. Why is the expectation "transient"
? What am I missing ? ;-)

> JPOX fails some lifecycle tests
> -------------------------------
>
>          Key: JDO-347
>          URL: http://issues.apache.org/jira/browse/JDO-347
>      Project: JDO
>         Type: Bug
>   Components: tck20
>     Reporter: Martin Zaun
>  Attachments: errors_state_transition_argument_instances.txt, errors_state_transition_returned_instances.txt
>
> The integration of fixes for JDO-273 and JDO-258 has added (and fixed) a number of lifecycle
test cases that are
> failed by JPOX.  See attached error messages.

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