Open nus-se-script opened 1 week ago
Thank you for raising this issue.
As per our User Guide, manual editing of the addressbook.json
file is only recommended for advanced users who understand the implications. We explicitly caution users that incorrect modifications may result in undefined behavior. When using the schedule command, all restrictions are enforced as specified, ensuring that appointments adhere to the allowed range (weekdays, 0900-1600). This demonstrates that the core functionality is intact and follows the documented behavior. Allowing users to bypass certain checks via direct file modification is not a bug, as it involves tampering with the internal data structure outside the controlled environment of the application. Since our app is designed to handle data within the expected flow, external changes cannot be accounted for automatically.
The User Guide warns users that editing the data file comes with risks. If they proceed to alter the file manually, they assume full responsibility for any deviations from expected app behavior. This issue is not within the scope of our app's intended usage. We consider this a non-issue rather than a bug, as our app behaves correctly when used as documented.
--
Issue
Via the modification of
addressbook.json
, user is able to add appointments that are during weekends and outside the allowed timing range of 0900-1600. However viaschedule
command the restrictions apply as per normal. user guide also mentionedThe given date and time must fall on a weekday and on the hour between 0900 and 1600 inclusive.
Exampleaddressbook.json
[original: nus-cs2103-AY2425S1/pe-interim#262] [original labels: severity.Low type.FunctionalityBug]