Uploaded image for project: 'XWiki Commons'
  1. XWiki Commons
  2. XCOMMONS-1053

Make sure to get the event parameter name from the top interface/class

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 8.2.1
    • Fix Version/s: 8.3-milestone-1, 7.4.5, 8.2.2
    • Component/s: Filter
    • Labels:
      None
    • Tests:
      Unit
    • Documentation:
      N/A
    • Similar issues:

      Description

      If no explicit @Name annotation is provided the name of the event parameter is taken from the method trough reflexion but it can be broken by any extending class using a different parameter name. We need to make sure the we get the Method located in the top most interface/class before creating a descriptor from it.

        Attachments

          Activity

            People

            • Assignee:
              tmortagne Thomas Mortagne
              Reporter:
              tmortagne Thomas Mortagne
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: