-
Notifications
You must be signed in to change notification settings - Fork 38.6k
Closed
Labels
in: webIssues in web modules (web, webmvc, webflux, websocket)Issues in web modules (web, webmvc, webflux, websocket)type: enhancementA general enhancementA general enhancement
Milestone
Description
Masatoshi Tada opened SPR-16854 and commented
I created src/main/resources/messages.properties and added some messages like below.
NotBlank={0} is required
NotNull={0} is required
typeMismatch.java.time.LocalDate={0} must be 'yyyy-MM-dd'
message=Message
birthday=Birthday
When type conversion error occurs, the message of typeMismatch.java.time.LocalDate
is not used.
Affects: 5.0.6
Reference URL: https://github.com/MasatoshiTada/spring-mvc-form-sample/tree/master/01-immutable
Attachments:
- type-conversion-error.png (165.85 kB)
Issue Links:
- @DateTimeFormat annotations are necessary both on field and constructor parameter in the immutable form class [SPR-16840] #21380
@DateTimeFormat
annotations are necessary both on field and constructor parameter in the immutable form class - Validation failure not exposed next to binding failure for immutable form class [SPR-16841] #21381 Validation failure not exposed next to binding failure for immutable form class
Referenced from: commits 955665b
Metadata
Metadata
Assignees
Labels
in: webIssues in web modules (web, webmvc, webflux, websocket)Issues in web modules (web, webmvc, webflux, websocket)type: enhancementA general enhancementA general enhancement