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 -
        Hide
        David Ezzio added a comment -

        SVN patch for the bug. (A one-line change.)

        Show
        David Ezzio added a comment - SVN patch for the bug. (A one-line change.)
        David Ezzio made changes -
        Field Original Value New Value
        Attachment PatchPCEnhancer [ 12361326 ]
        Hide
        David Ezzio added a comment -

        The patch applied (svn 554083) is not the patch submitted here. I found that the tests (for mvn package) fail with the applied patch, but not with the submitted patch.

        Show
        David Ezzio added a comment - The patch applied (svn 554083) is not the patch submitted here. I found that the tests (for mvn package) fail with the applied patch, but not with the submitted patch.
        Hide
        David Ezzio added a comment -

        Fixed by patch applied at 554111

        Show
        David Ezzio added a comment - Fixed by patch applied at 554111
        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