Fix issue with resolution of WebDataBinder argument
There is usually not need to put annotations on a WebDataBinder argument in an `@InitBinder` method. However, the presence of any annotation prevented the successful resolution of the argument. This fix addresses the issue. Issue: SPR-8946
This commit is contained in:
@@ -193,7 +193,7 @@ public class InvocableHandlerMethod extends HandlerMethod {
|
||||
* Attempt to resolve a method parameter from the list of provided argument values.
|
||||
*/
|
||||
private Object resolveProvidedArgument(MethodParameter parameter, Object... providedArgs) {
|
||||
if (providedArgs == null || parameter.hasParameterAnnotations()) {
|
||||
if (providedArgs == null) {
|
||||
return null;
|
||||
}
|
||||
for (Object providedArg : providedArgs) {
|
||||
|
||||
Reference in New Issue
Block a user