nus-cs2113-AY2021S2 / pe-dev-response

0 stars 0 forks source link

Invalid date in data.txt causes a fatal, uncatched LocalDate parse error #1385

Open nus-pe-bot opened 3 years ago

nus-pe-bot commented 3 years ago

Putting in an invalid date in data.txt gives the LocalDate parsing in Java to fail, resulting in a fatal error. Such a bug needs to be catched if for instance a user edits data.txt and mistakes yyyy-mm-dd for yyyy-dd-mm, and hence the swap between month and day will cause a crash in the program. Screen Shot 2021-04-16 at 5.08.51 PM.png


[original: nus-cs2113-AY2021S2/pe-interim#1385] [original labels: severity.High type.FunctionalityBug]

gopytsrs commented 3 years ago

Team's Response

No response provided.

Duplicate status (if any):

--