Uploaded image for project: 'Cayenne'
  1. Cayenne
  2. CAY-550

MSAccess adapter throw bogus hollow object exception

    Details

    • Type: Bug
    • Status: Open
    • Priority: Major
    • Resolution: Unresolved
    • Affects Version/s: Undefined future
    • Fix Version/s: None
    • Component/s: Core Library
    • Labels:
      None
    • Environment:
      MSAccess adapter.

      Description

      I need to debug more, but these are my working notes.

      Log shows record found:

      INFO QueryLogger: SELECT t0.TREATASPEC_ACTIVE, t0.TREATASPEC_CRITID, t0.TREATASPEC_FIXEDCOST, t0.TREATASPEC_QTYPE, t0.treataspec_rolehastoclose, t0.TREATASPEC_VC1, t0.TREATASPEC_VC2, t0.TREATASPEC_VC2CRITID, t0.TREATASPEC_VC2FIXEDCOST, t0.TREATASPEC_VC2QTYPE, t0.TREATASPEC_VC3, t0.TREATASPEC_VC3CRITID, t0.TREATASPEC_VC3FIXEDCOST, t0.TREATASPEC_VC3QTYPE, t0.TREATASPEC_VC4, t0.TREATASPEC_VC4CRITID, t0.TREATASPEC_VC4FIXEDCOST, t0.TREATASPEC_VC4QTYPE, t0.TREATASPEC_VC5, t0.TREATASPECR_ID, t0.TREATASPEC_ID FROM TREAT_AREASPEC t0 WHERE t0.TREATASPEC_ID = ? [bind: '05 LagerAvvik pakking/klFeil merking på']
      INFO QueryLogger: === returned 1 row. - took 16 ms.
      INFO QueryLogger: +++ transaction committed.

      – exception thrown.

      org.objectstyle.cayenne.FaultFailureException: [v.1.2-dev May 9 2006] Error resolving fault for ObjectId: <ObjectId:TreatAreaspec, TREATASPEC_ID=05 LagerAvvik pakking/klFeil merking på> and state (hollow). Possible cause - matching row is missing from the database.

        Attachments

        1. msaccessadapterwithtestcase.txt
          31 kB
          Øyvind Harboe
        2. msaccesspatch.txt
          39 kB
          Øyvind Harboe
        3. objectidpatch.txt
          0.9 kB
          Øyvind Harboe
        4. primkeyfaulttake2.txt
          10 kB
          Øyvind Harboe
        5. trailingspacetestcase.txt
          12 kB
          Øyvind Harboe

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              oharboe Øyvind Harboe
            • Votes:
              2 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated: