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

    XMLWordPrintable

Details

    • Improvement
    • Resolution: Fixed
    • Major
    • 8.3-milestone-1, 7.4.5, 8.2.2
    • 8.2.1
    • Filter
    • None
    • Unit
    • N/A

    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

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

            Dates

              Created:
              Updated:
              Resolved: