Skip to content
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

Validation is not executed when type conversion failed on immutable form [SPR-17235] #21768

Open
spring-issuemaster opened this issue Sep 2, 2018 · 0 comments

Comments

@spring-issuemaster
Copy link
Collaborator

@spring-issuemaster spring-issuemaster commented Sep 2, 2018

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:

Issue Links:

  • #21381 Validation failure not exposed next to binding failure for immutable form class
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
1 participant
You can’t perform that action at this time.