ltzehan / pe

0 stars 0 forks source link

Incorrect date parsing #3

Open ltzehan opened 1 year ago

ltzehan commented 1 year ago

When entering a date that does not exist, the user should be told that such a date does not exist on the calendar.

However, when the user enters a date such as 31st April 2023 (April only has 30 days), an incorrect date is added to the appointment manager:

image.png

nus-pe-script commented 1 year ago

Team's Response

unlikely to affect normal operations, only happens if the user inputs invalid dates, program still inputs correct consultation with closest appropriate date.

Items for the Tester to Verify

:question: Issue severity

Team chose [severity.Low] Originally [severity.Medium]

Reason for disagreement: The explanation for downgrading the severity is also the reason why this is a bug that may potentially affect many users.

Suppose an appointment is booked on 31st April, and the clerk arranging the appointment keys this date in verbatim. Instead of warning the user, the program assumes that the appointment is booked on the closest date, which may cause scheduling errors and inconvenience to both the customer and the clinic.