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
Repository Revision Date User Message
ASF #452640 Tue Oct 03 21:44:51 UTC 2006 clr JDO-413 updated test to allow either exception or not for field access after preDelete
Files Changed
MODIFY /db/jdo/trunk/tck20/src/java/org/apache/jdo/tck/api/instancecallbacks/NoAccessToFieldsAfterPredelete.java

Repository Revision Date User Message
ASF #452641 Tue Oct 03 21:51:23 UTC 2006 clr JDO-413 updated test to allow either exception or not for field access after preDelete
Files Changed
MODIFY /db/jdo/branches/2.0.1/tck20/src/java/org/apache/jdo/tck/api/instancecallbacks/NoAccessToFieldsAfterPredelete.java