You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cxf.apache.org by "Sergey Beryozkin (JIRA)" <ji...@apache.org> on 2016/08/08 10:10:20 UTC

[jira] [Updated] (CXF-6992) ParamConverterProvider invoked with wrong types

     [ https://issues.apache.org/jira/browse/CXF-6992?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Sergey Beryozkin updated CXF-6992:
----------------------------------
    Fix Version/s: 3.1.8
                   3.2.0

> ParamConverterProvider invoked with wrong types
> -----------------------------------------------
>
>                 Key: CXF-6992
>                 URL: https://issues.apache.org/jira/browse/CXF-6992
>             Project: CXF
>          Issue Type: Bug
>          Components: JAX-RS
>    Affects Versions: 3.1.5
>            Reporter: Zoltan Farkas
>             Fix For: 3.2.0, 3.1.8
>
>
> I have created a type: MyType<T>
> and registered a ParameterConverterProvider to serialize/de-serialize my type.
> when I use my type as in a JAX-RS as:
> {code}
> @QueryParam("qparam") List<MyType<Integer>>
> {code}
> end invoke the enpoint with:
> http://service/enpoint?qparam=abc&qparam=cde
> I get ParameterConverterProvider.getConverter(Integer.class,...) invoked
> instead of 
> ParameterConverterProvider.getConverter(MyType.class,...) 
> which does not look right to me, as such CXF tries to parse the qparam as Integer instead of MyType...



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)