Open jundatan opened 1 year ago
No details provided by team.
[The team marked this bug as a duplicate of the following bug]
End Date of an event allowed to be before the Start Date
Description
Missing validation check for whether dates are chronologically valid.
Steps to reproduce
Enter the command
newevent n/DJ at wedding r/100 a/311, Clementi Ave 2, #02-25 ds/11-03-2023 11:00 de/11-02-2023 17:00 t/friends t/dj
. The start month in this case is March, and the end month is February.The event is successfully added.
[original: nus-cs2103-AY2223S2/pe-interim#3220] [original labels: severity.Low type.FunctionalityBug]
[This is the team's response to the above 'original' bug]
It is already stated in the DG where it will be planned for future enhancements.
Items for the Tester to Verify
:question: Issue duplicate status
Team chose to mark this issue as a duplicate of another issue (as explained in the Team's response above)
Reason for disagreement: [replace this with your explanation]
Edit command allow you to edit the start date to be after the end date and vice versa.
Steps to reproduce: Either edit the event start date to be after the end date or the end date to be before the start date.
Expected: Show an error that the dates cannot be before or after a certain date.
Actual: Allow the addition of dates that are not logical.
Example for:
edit 1 ds/22-03-2222 11:00