Uploaded image for project: 'Apache Fineract'
  1. Apache Fineract
  2. FINERACT-1243

Invalid dateFormat should return validation (400) instead of internal server error (500) HTTP response

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Open
    • Major
    • Resolution: Unresolved
    • None
    • None
    • None

    Description

      An invalid dateFormat sent by a client, such as the yyyy-mm-dd instead of yyyy-MM-dd seen in FINERACT-1242, should "just" return an invalid client request validation error (HTTP response code 400) instead of cause an internal server error with error log on the server side and 500 response.

      This is in line with our https://github.com/apache/fineract/#logging-guidelines.

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              vorburger Michael Vorburger
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated: