OpenJPA
  1. OpenJPA
  2. OPENJPA-280

Enhancement failure for inherited fields introduced with change 532137

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 1.0.0
    • Fix Version/s: 1.0.0
    • Component/s: kernel
    • Labels:
      None
    • Environment:
      The failure shows up when running the JDO 2. TCK on Kodo. Four test cases fail without the supplied patch.

      Description

      When the PCEnhancer.getPersistenceCapableOwner method was altered, the side effect on the "owner" parameter with the old code was removed with the change in 532137. The patch does the right thing by using f.getDeclaringClass() instead of "owner" when looking up the metadata.

      1. PatchPCEnhancer
        0.7 kB
        David Ezzio

        Activity

        David Ezzio created issue -
        David Ezzio made changes -
        Field Original Value New Value
        Attachment PatchPCEnhancer [ 12361326 ]
        David Ezzio made changes -
        Status Open [ 1 ] Resolved [ 5 ]
        Resolution Fixed [ 1 ]
        Donald Woods made changes -
        Status Resolved [ 5 ] Closed [ 6 ]

          People

          • Assignee:
            Unassigned
            Reporter:
            David Ezzio
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development