[ https://issues.apache.org/jira/browse/CXF-3900?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Sergey Beryozkin resolved CXF-3900. ----------------------------------- Resolution: Fixed Fix Version/s: 2.5.1 2.3.8 Assignee: Sergey Beryozkin > InjectionUtils do not handle correctly collections inside query bean > -------------------------------------------------------------------- > > Key: CXF-3900 > URL: https://issues.apache.org/jira/browse/CXF-3900 > Project: CXF > Issue Type: Bug > Components: JAX-RS > Affects Versions: 2.4.2 > Reporter: Gena Ganebnyi > Assignee: Sergey Beryozkin > Fix For: 2.3.8, 2.4.5, 2.5.1 > > > {code} > } else if (isSupportedCollectionOrArray(value.getClass())) { > // ignoring arrrays for a moment > List<Object> theValues = null; > if (value.getClass().isArray()) { > theValues = Arrays.asList(value); > } else { > theValues = CastUtils.cast((List<?>)value); > } > values.put(propertyName, theValues); > } else { > fillInValuesFromBean(value, propertyName, values); > } > {code} > *theValues = CastUtils.cast((List<?>)value);* limits us to use only Lists in > beans used as query params, while any type of collection could be fine(Set > for example). -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa For more information on JIRA, see: http://www.atlassian.com/software/jira