04-07-07 06:11 AM
[ https://issues.apache.org/jira/brow...ls:all-tabpanel ]
Michelle Caisse resolved JDO-479.
---------------------------------
Resolution: Fixed
Fix Version/s: JDO 2.0 TCK challenge fixes
Patched the 2.0.1 branch. This state transition is now UNSPECIFIED. Revision
: 526319
> Incorrect state transition for serialized persistent-nontransactional-dirt
y in StateTransitionsReturnedObjects
> --------------------------------------------------------------------------
------------------------------------
>
> Key: JDO-479
> URL: https://issues.apache.org/jira/browse/JDO-479
> Project: JDO
> Issue Type: Bug
> Components: tck2
> Reporter: Michelle Caisse
> Assigned To: Michelle Caisse
> Fix For: JDO 2.0 TCK challenge fixes
>
>
> Eric Bengtson's test challenge:
> The test asserts transaction of pc-non trans dirty to transient on
> serialization. I understand it should have been pc-non trans dirty to deta
ched
> clean (matching pc-dirty and pc-non trans states behavior)
> 1)
> test(org.apache.jdo.tck.lifecycle.StateTransitionsReturnedObjects)junit.fr
amework.AssertionFailedError:
> Assertions A5.9-1 through A5.5.8 (serialization, detachment, attachment) f
ailed:
> StateTransitionsReturnedObjects: no transaction; current state
> persistent-nontransactional-dirty
> serialize outside tx returned instance in invalid state detached-clean; ex
pected
> state transient
> at org.apache.jdo.tck.JDO_Test.failOnError(JDO_Test.java:1102)
> at
> org.apache.jdo.tck.lifecycle.StateTransitionsReturnedObjects.test(StateTra
nsitionsReturnedObjects.java:179)
> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> at
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:
39)
> at
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorIm
pl.java:25)
> at org.apache.jdo.tck.JDO_Test.runBare(JDO_Test.java:253)
> at org.apache.jdo.tck.util.BatchTestRunner.doRun(BatchTestRunner.java:107
)
> at org.apache.jdo.tck.util.BatchTestRunner.start(BatchTestRunner.java:147
)
> at org.apache.jdo.tck.util.BatchTestRunner.main(BatchTestRunner.java:122)
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[ Post a follow-up to this message ]
|