Skip to content

WebDataBinder type conversion failures should result in 400, not 500 [SPR-5622] #10293

Closed
@spring-projects-issues

Description

@spring-projects-issues

Arjen Poutsma opened SPR-5622 and commented

When data cannot be bound by a WebDataBinder, this results in a TypeMismatchException, and eventually a status code 500: internal server error. This should be a 400: Bad Request


Issue Links:

Referenced from: commits 880eb9e

Metadata

Metadata

Assignees

Labels

in: webIssues in web modules (web, webmvc, webflux, websocket)type: enhancementA general enhancement

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions