Open HusseinSafwan02 opened 6 months ago
We reject this bug. The reasons are as follows:
The user is responsible to ensure that the inputs are valid (i.e., that the start time can only be before the end time). Moreover, this qualifies as a "problem caused by extreme user behavior" by the same line of reasoning.
Our reasoning is also based on https://github.com/nus-cs2103-AY2324S2/forum/issues/680.
Team chose [response.Rejected
]
Reason for disagreement: As mentioned here, (screenshotted from the forum post itself) unsuitable values which give more freedom to the user are not necessarily incorrect, unless they cause the application to misbehave. A start time that is later than an end time can be easily entered due to negligence/by a new user who is not familiar with the application. Handling such errors are not extreme user behaviour but rather very plausible user behaviour and therefore this should be handled.
Currently, can event can be scheduled such that its start time is after its end time. There is no validation of the input start and end times of an event.
Steps to reproduce:
add_schedule title/Meeting d/CS2103T start/2024-04-14 21:00 end/2024-04-13 22:00
Expected result: The event should not be schedulable.
Actual Result: Such an event is scheduled, refer to events 3 and 4.