You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cxf.apache.org by "Zoltan Farkas (JIRA)" <ji...@apache.org> on 2016/08/04 13:39:20 UTC
[jira] [Created] (CXF-6992) ParamConverterProvider invoked with
wrong types
Zoltan Farkas created CXF-6992:
----------------------------------
Summary: 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
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)