You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have same problem in Greenwich.RELEASE. I use @RequestParam("ids[]") List<Integer> ids as params.
result is:
{"timestamp":"2019-03-18T14:30:35.821+0000","status":400,"error":"Bad Request","message":"Failed to convert value of type 'java.lang.String' to required type 'java.util.List'; nested exception is java.lang.NumberFormatException: For input string: \"{ids[]}\"","path":"/"}
I found it caused by not matched Expression in Expressions.
Shall we put the (Pattern.compile("(\\w[-\\w.]*[ ]*[\\[]*[\\]]*)(:(.+))?"), Expressions.SimpleExpression.class) or create a new Expression in the expressions?
Hello, @Ziemowit @mm23504570 Thanks for reporting this. I have triaged it and it appears to be an actual bug, however, its root cause can be found in the OpenFeign library. I have created this issue and will be back here with any updates as soon as possible.
After upgrade:
our @FeignClient has an issue with passing java.util.Set as @RequestParam
After decode generated request we see following:
So seems that instead of ids following text was inserted
The text was updated successfully, but these errors were encountered: