Skip to content

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

Closed as not planned
@spring-projects-issues

Description

@spring-projects-issues

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:

Metadata

Metadata

Assignees

No one assigned

    Labels

    in: webIssues in web modules (web, webmvc, webflux, websocket)status: duplicateA duplicate of another issue

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions