-
Notifications
You must be signed in to change notification settings - Fork 687
Spring Data Commons 3.3.4 breaks @ModelAttribute
handling
#3258
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
onobc
added a commit
to onobc/spring-data-commons
that referenced
this issue
Apr 24, 2025
The ProxyHandlerMethodArgumentResolver now avoids matching multipart parameters annotated with @ModelAttribute. This allows multipart parameters to be handled by RequestParamMethodArgumentResolver which properly handles multipart arguments. Fixes spring-projects#3258 Related tickets spring-projects#2937 Signed-off-by: Chris Bono <[email protected]>
4 tasks
onobc
added a commit
to onobc/spring-data-commons
that referenced
this issue
May 15, 2025
The ProxyHandlerMethodArgumentResolver now avoids matching multipart parameters annotated with @ModelAttribute. This allows multipart parameters to be handled by RequestParamMethodArgumentResolver which properly handles multipart arguments. Fixes spring-projects#3258 Related tickets spring-projects#2937 Signed-off-by: Chris Bono <[email protected]>
onobc
added a commit
to onobc/spring-data-commons
that referenced
this issue
May 15, 2025
The `@ProjectedPayload` annotation can now be used on parameters. This prepares for the upcoming removal of support for non-annotated projections. Fixes spring-projects#3258 Related tickets spring-projects#2937 Signed-off-by: Chris Bono <[email protected]>
onobc
added a commit
to onobc/spring-data-commons
that referenced
this issue
May 15, 2025
The ProxyHandlerMethodArgumentResolver now avoids matching multipart parameters annotated with @ModelAttribute. This allows multipart parameters to be handled by RequestParamMethodArgumentResolver which properly handles multipart arguments. Fixes spring-projects#3258 Related tickets spring-projects#2937 Signed-off-by: Chris Bono <[email protected]>
onobc
added a commit
to onobc/spring-data-commons
that referenced
this issue
May 15, 2025
The `@ProjectedPayload` annotation can now be used on parameters. This prepares for the upcoming removal of support for non-annotated projections. Fixes spring-projects#3258 Related tickets spring-projects#2937 Signed-off-by: Chris Bono <[email protected]>
onobc
added a commit
to onobc/spring-data-commons
that referenced
this issue
May 15, 2025
The `@ProjectedPayload` annotation can now be used on parameters. This prepares for the upcoming removal of support for non-annotated projections. Fixes spring-projects#3258 Related tickets spring-projects#2937 Signed-off-by: Chris Bono <[email protected]>
mp911de
pushed a commit
that referenced
this issue
May 16, 2025
The ProxyHandlerMethodArgumentResolver now avoids matching multipart parameters annotated with @ModelAttribute. This allows multipart parameters to be handled by RequestParamMethodArgumentResolver which properly handles multipart arguments. Also, the `@ProjectedPayload` annotation can now be used on parameters. This prepares for the upcoming removal of support for non-annotated projections. Fixes #3258 Related tickets #2937 Original pull request: #3277 Signed-off-by: Chris Bono <[email protected]>
mp911de
pushed a commit
that referenced
this issue
May 16, 2025
The ProxyHandlerMethodArgumentResolver now avoids matching multipart parameters annotated with @ModelAttribute. This allows multipart parameters to be handled by RequestParamMethodArgumentResolver which properly handles multipart arguments. Also, the `@ProjectedPayload` annotation can now be used on parameters. This prepares for the upcoming removal of support for non-annotated projections. Fixes #3258 Related tickets #2937 Original pull request: #3277 Signed-off-by: Chris Bono <[email protected]>
mp911de
pushed a commit
that referenced
this issue
May 16, 2025
The ProxyHandlerMethodArgumentResolver now avoids matching multipart parameters annotated with @ModelAttribute. This allows multipart parameters to be handled by RequestParamMethodArgumentResolver which properly handles multipart arguments. Also, the `@ProjectedPayload` annotation can now be used on parameters. This prepares for the upcoming removal of support for non-annotated projections. Fixes #3258 Related tickets #2937 Original pull request: #3277 Signed-off-by: Chris Bono <[email protected]>
This was referenced May 27, 2025
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
As explored in #33791 and visible with a slightly modified version of the reproducer https://github.com/EnyaEnya/multipart-null, adding
org.springframework.boot:spring-boot-starter-data-jpa
to the project breaks@ModelAttribute
handling as of Spring Boot 3.3.4, and I have been able to reproduce only by addingorg.springframework.data:spring-data-commons:3.3.4
to the project.The same project with
org.springframework.data:spring-data-commons:3.3.3
or without Spring Data is fine.The text was updated successfully, but these errors were encountered: