InjectorUtils class goes to deep when it handles an enum value --------------------------------------------------------------
Key: CXF-3446 URL: https://issues.apache.org/jira/browse/CXF-3446 Project: CXF Issue Type: Bug Components: JAX-RS, Simple Frontend Affects Versions: 2.3.3 Reporter: Mike Moor Priority: Critical Fix For: 2.3.4 class: org.apache.cxf.jaxrs.utils.InjectionUtils method: public static void fillInValuesFromBean(Object bean, String baseName, MultivaluedMap<String, Object> values){ line number: 869 Problem: If the Object "bean" is a enum value, one of the methods is called getDeclaringClass(). This should be catched on this line as it is done for getClass(). getDeclaringClass() will never contain query-params. should be: if (baseName.contains(propertyName) || "class".equals(propertyName) || "declaringclass".equals(propertyName)) { continue; } This method is called by the ClientProxyImpl.handleQueries method. -- This message is automatically generated by JIRA. For more information on JIRA, see: http://www.atlassian.com/software/jira