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

Velocity automatic parameter convertion skip generics

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Major
    • 8.4.1, 7.4.6, 9.0-rc-1
    • 4.1-milestone-2
    • Velocity
    • None
    • Unit
    • N/A
    • N/A

    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

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

              Dates

                Created:
                Updated:
                Resolved: