nus-cs2103-AY2425S1 / pe-dev-response

0 stars 0 forks source link

Weddings accepts invalid dates #1879

Open nus-se-script opened 2 weeks ago

nus-se-script commented 2 weeks ago

How to reproduce

Input the command edit-wedding 1 d/2024-11-31

Expected

Program throws an error

Actual

Program accepts the input image.png

Additional info

This is a problem for every month that does not have a 31st day, and for the invalid days for the month of Februrary. Hence, it will be quite a common issue that users face, and the data can end up having many invalid dates, which can be quite harmful.


[original: nus-cs2103-AY2425S1/pe-interim#2582] [original labels: severity.Medium type.FunctionalityBug]

HanB1n commented 2 weeks ago

Team's Response

This would not be a very common bug as users are likely to key in their own dates correctly. Even if they entered an invalid date, the user would be able to pick up on it and easily correct it. There is no impact on the overall functionality of the application and hence the severity is low.

Duplicate status (if any):

--