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

StateTransitions incorrectly asserts that field access in a deleted instance will throw an exception

    XMLWordPrintableJSON

Details

    Description

      The series of states marked with "read field with active datastore transaction" (element 14 of the "transitions" field of org.apache.jdo.tck.lifecycle.StateTransitions) asserts that accessing a field of a deleted instance will throw an exception. However, this is not mandated by the spec, only suggested that it might happen. Section 5.5.6 reads: "Any other access to persistent fields is not supported and might throw a JDOUserException".

      The only easy fix is to just remove the "read field with active datastore transaction" test specifications.

      Attachments

        1. JDO-419.patch
          0.7 kB
          Marc Prud'hommeaux
        2. JDO-419.patch
          2 kB
          Craig L Russell

        Activity

          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: