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
{{ message }}
Repository navigation
[BUG] List<String> not bound correctly in x-www-form-urlencoded POST requests (JavaSpring generator) #14866
[Optional] Sponsorship to speed up the bug fix or feature request (example)
Description
Since #14449 was fixed, List<String> parameters are not mapped correctly in application/x-www-form-urlencoded requests (the controller receives a null value). @RequestPart does not work, but @RequestParam did.
changed the title [-][BUG] Description[/-][+][BUG] `List<String>` not bound correctly in x-www-form-urlencoded POST requests (JavaSpring generator)[/+]on Mar 2, 2023
It's indeed caused by 4cd0807, but I'd say this is the correct method to fix #14449 (the multipart issue).
However, it looks like the fix introduced a regression with request parameters as mentioned in the above example of this issue. No multipart involved here...
Activity
[-][BUG] Description[/-][+][BUG] `List<String>` not bound correctly in x-www-form-urlencoded POST requests (JavaSpring generator)[/+]wing328 commentedon Mar 2, 2023
@bjansen thanks for reporting the issue. May I know if you can also perform a
git bisectto identify the commit that causes the issue?bjansen commentedon Mar 2, 2023
Looks like this one: 4cd0807 (although I didn't do a bisect)
wing328 commentedon Mar 2, 2023
@bjansen thanks.
@MetroMarv I wonder if you can take a look at this issue when you've time to see if it's caused by 4cd0807
tofi86 commentedon Mar 2, 2023
It's indeed caused by 4cd0807, but I'd say this is the correct method to fix #14449 (the multipart issue).
However, it looks like the fix introduced a regression with request parameters as mentioned in the above example of this issue. No multipart involved here...
pdrosos commentedon Jun 17, 2025
This is still an issue with 7.13, any idea if will be fixed and how to avoid it?