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: - #21381 Validation failure not exposed next to binding failure for immutable form class

Comment From: snicoll

Thanks for the sample. I've upgraded to a supported version of Spring Framework and I can't reproduce the issue you've described. I can't unfortunately link to the issue that fixed it.