Details
-
Bug
-
Status: Closed
-
Critical
-
Resolution: Fixed
-
2.3.3
-
None
-
Novice
Description
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.