You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@fineract.apache.org by "Michael Vorburger (Jira)" <ji...@apache.org> on 2020/10/26 08:57:00 UTC
[jira] [Created] (FINERACT-1243) Invalid dateFormat should return
validation (400) instead of internal server error (500) HTTP response
Michael Vorburger created FINERACT-1243:
-------------------------------------------
Summary: Invalid dateFormat should return validation (400) instead of internal server error (500) HTTP response
Key: FINERACT-1243
URL: https://issues.apache.org/jira/browse/FINERACT-1243
Project: Apache Fineract
Issue Type: Improvement
Reporter: Michael Vorburger
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.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)