Open ltzehan opened 1 year ago
This version of the application is meant to have a save file that contains all required data in the proper format such that the appointmetns are able to be loaded successfully instead of crashing the program.
Performing validations that is done in the program is not part of the current scope.
Team chose [response.NotInScope
]
Reason for disagreement: If no validation is performed on the save file, that is itself a bug since the application must expect users to modify the data, and it is more than likely for a user to input inconsistent data. This is part of the tP constraints:
In this case, the user may copy and paste rows to keep the formatting, but forget to change the UID / very miraculously manually generate an identical UID. Hence, such validation should be within the project scope.
The loading from save file does not perform validations that is done in the program:
SniffAppointments.txt:
When the program is run, both entries are loaded:
This messes up the delete logic subsequently:
This is a moderately important issue as the user may accidentally modify the save file as it is a human-readable file. The program should ensure that an invalid save file should not be loaded to ensure there will be no future issues from using invalid state.