Apache JDO Project - [jira] Commented: (JDO-347) JPOX fails some lifecycle tests

This is Interesting: Free IT Magazines  
Home > Archive > Apache JDO Project > March 2006 > [jira] Commented: (JDO-347) JPOX fails some lifecycle tests





You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

Author [jira] Commented: (JDO-347) JPOX fails some lifecycle tests
Andy Jefferson (JIRA)

2006-03-27, 7:47 am

[ http://issues.apache.org/jira/brows...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_instanc
es.txt, errors_state_transition_returned_instanc
es.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/secur...nistrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira


Sponsored Links






Free braindumps | Software forum | Database administration forum

Copyright 2003 - 2008 webservertalk.com