Uploaded image for project: 'Spring Framework'
  1. Spring Framework
  2. SPR-5622

WebDataBinder type conversion failures should result in 400, not 500

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 3.0 M4
    • Component/s: Web
    • Labels:
      None
    • Last commented by a User:
      true

      Description

      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

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              arjen.poutsma Arjen Poutsma
              Reporter:
              arjen.poutsma Arjen Poutsma
              Last updater:
              Spring Issuemaster
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:
                Days since last comment:
                1 year, 19 weeks, 2 days ago