-
Notifications
You must be signed in to change notification settings - Fork 38.9k
Closed as not planned
Closed as not planned
Copy link
Labels
in: webIssues in web modules (web, webmvc, webflux, websocket)Issues in web modules (web, webmvc, webflux, websocket)status: duplicateA duplicate of another issueA duplicate of another issue
Description
Masatoshi Tada opened SPR-17235 and commented
When I use immutable form, I found validation behavior on the immutable form is not same as on the mutable form.
Please see attached images.
On the mutable form, validation is completely executed even if type conversion failed.
But on the immutable form, validation is not executed.
Please try my sample on github (https://github.com/MasatoshiTada/spring-mvc-form-sample).
Affects: 5.1 RC2
Reference URL: https://github.com/MasatoshiTada/spring-mvc-form-sample
Attachments:
- 01-immutable.png (29.49 kB)
- 02-mutable.png (35.54 kB)
Issue Links:
- Validation failure not exposed next to binding failure for immutable form class [SPR-16841] #21381 Validation failure not exposed next to binding failure for immutable form class
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
in: webIssues in web modules (web, webmvc, webflux, websocket)Issues in web modules (web, webmvc, webflux, websocket)status: duplicateA duplicate of another issueA duplicate of another issue