Uploaded image for project: 'JDO'
  1. JDO
  2. JDO-413

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

VotersWatch issueWatchersLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

Details

    Description

      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.

      Attachments

        Activity

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

            clr Craig L Russell
            mprudhom Marc Prud'hommeaux
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment