CS2113-AY1819S1-T12-2 / HealthBook

Health Book - An address book app for health care professionals
https://cs2113-ay1819s1-t12-2.github.io/main/
MIT License
0 stars 5 forks source link

No exception handling for invalid dates for the addhist function #154

Closed nus-pe-script closed 5 years ago

nus-pe-script commented 5 years ago

Describe the bug inputting an invalid date will cause the application to stall and return a result To Reproduce Steps to reproduce the behavior: enter an invalid date after the hsd tag ie: addhist 1 hsd/99-99-9999

Expected behavior invalid date exception Screenshots image

Additional context Add any other context about the problem here.


Reported by: @bearperson1 Severity: High

[original: nusCS2113-AY1819S1/pe-1#172]

xShaivan commented 5 years ago

Our team has implemented a standardized date/time check which resolves this issue and will be found in the v1.4 release. Thank you for the feedback!