09-13-06 06:11 AM
[
> StateTransitions incorrectly asserts that field access in a deleted instan
ce will throw an exception
> --------------------------------------------------------------------------
--------------------------
>
> Key: JDO-419
> URL: [url]http://issues.apache.org/jira/browse/JDO-419" target="_blank">http://issues.apache.org/jira/brows.../browse/JDO-419
> Project: JDO
> Issue Type: Bug
> Components: tck20
> Affects Versions: JDO 2 final
> Reporter: Marc Prud'hommeaux
> Assigned To: Craig Russell
> Priority: Minor
> Attachments: JDO-419.patch
>
>
> The series of states marked with "read field with active datastore transaction" (e
lement 14 of the "transitions" field of org.apache.jdo.tck.lifecycle.StateTransition
s) asserts that accessing a field of a deleted instance will throw an exception. How
eve
r, this is not mandated by the spec, only suggested that it might happen. Section 5.5.6 read
s: "Any other access to persistent fields is not supported and might throw a JDOUserExceptio
n".
> The only easy fix is to just remove the "read field with active datastore transact
ion" test specifications.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://iss
ues.apache.org/ji...nistrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
[ Post a follow-up to this message ]
|