Skip to content

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

Closed as not planned

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:

Activity

  1. added
    type: bug
    status: waiting-for-triage
    in: web
    and removed
    type: bug
    on Jan 11, 2019
  2. snicoll commented on Sep 18, 2023

    @snicoll
    Member

    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.

  3. added
    status: duplicate
    and removed
    status: waiting-for-triage
    on Sep 18, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    in: webstatus: duplicate

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions