Closed as not planned
Closed as not planned
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