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-projects-issues opened this issue Sep 2, 2018 · 0 comments
Labels
in: web status: waiting-for-triage

Comments

@spring-projects-issues
Copy link
Collaborator

@spring-projects-issues spring-projects-issues 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
@spring-projects-issues spring-projects-issues added type: bug status: waiting-for-triage in: web and removed type: bug labels Jan 11, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
in: web status: waiting-for-triage
Projects
None yet
Development

No branches or pull requests

1 participant