Issue Details (XML | Word | Printable)

Key: JDO-413
Type: Bug Bug
Status: Resolved Resolved
Resolution: Fixed
Priority: Minor Minor
Assignee: Craig Russell
Reporter: Marc Prud'hommeaux
Votes: 0
Watchers: 0
Operations

If you were logged in you would be able to see more operations.
JDO

NoAccessToFieldsAfterPredelete incorrectly mandates that field access to deleted instances will cause an error

Created: 30/Aug/06 07:16 AM   Updated: 03/Oct/06 09:52 PM
Return to search
Component/s: tck2
Affects Version/s: JDO 2 final
Fix Version/s: JDO 2 maintenance release 1, JDO 2 TCK challenge fixes

Time Tracking:
Not Specified

File Attachments:
  Size
Text File Licensed for inclusion in ASF works NoAccessToFieldsAfterPredelete.java.patch 2006-08-30 07:18 AM Marc Prud'hommeaux 4 kB

Resolution Date: 03/Oct/06 09:52 PM


 Description  « Hide
org.apache.jdo.tck.api.instancecallbacks.NoAccessToFieldsAfterPredelete has 7 checks that assert that field access to fields in deleted instances will throw a JDOUserException, but section 5.5.7 only suggests that it *might* throw a JDOUserException: "Any other access to persistent fields is not supported and might throw a JDOUserException." The checks should not be there. The attached patch removes them.




 All   Comments   Work Log   Change History   Subversion Commits      Sort Order: Ascending order - Click to sort in descending order
No work has yet been logged on this issue.