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
- relates to
-
FINERACT-1242 OfficeTest fails with java.time.format.DateTimeParseException: Text '2020-10-25' could not be parsed: Unable to obtain LocalDateTime from TemporalAccessor: {DayOfMonth=25, Year=2020},ISO resolved to 00:10 of type java.time.format.Parsed
- Resolved