Open Zhengwinter opened 4 months ago
This issue only occurs if invalid date is input.
Majority of users will put in valid dates, and will not reach this error, hence should be of medium severity.
Team chose [severity.Medium
]
Originally [severity.High
]
Reason for disagreement: I disagree with the argument that the majority of user would not reach this error.
Firstly, although there is instructions within the user guide about the format of the input date, the is no explicit instruction in the program about it, increasing likelihood of incorrect dates being entered due to ignorance of the format.
Secondly, the program accepts invalid dates, which means even an unintentional mistake when entering the date can lead to this exception.
Hence, the fact that there are very plausible paths for this exception to occur and crash the program means that it should be of high severity.
An unhandled exception was thrown and program crashes when the user attempts to find the free time for a day with 3 events. The exception in question was a "DateTimeParseException".
This could have potentially been caused by the accepting of an invalid date earlier on.