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

Velocity automatic parameter convertion skip generics

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 4.1-milestone-2
    • Fix Version/s: 8.4.1, 7.4.6, 9.0-rc-1
    • Component/s: Velocity
    • Labels:
      None
    • Tests:
      Unit
    • Documentation:
      N/A
    • Documentation in Release Notes:
      N/A
    • Similar issues:

      Description

      For example if you declare a List<Locale> parameter you will end up with a list of Strings.

      That's because MethodArgumentsUberspector is manipulating Class instead of Type so it looses any generic information.

        Attachments

          Issue Links

            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: