XWiki Commons
  1. XWiki Commons
  2. XCOMMONS-1114

Velocity automatic parameter convertion skip generics

    Details

    • Type: Bug Bug
    • Status: Closed Closed
    • Priority: Major 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.

        Issue Links

          Activity

          There are no comments yet on this issue.

            People

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

              Dates

              • Created:
                Updated:
                Resolved: