Details:
When editing the Json file incorrectly (apart from the InterviewDate field), the application will restart from a clear state.
However no error message was prompted by the application.
Steps to reproduce:
Have at least 1 interview application in the application
Exit the application.
Go to current application directory/data/addressbook.json
Open the file in your file editor of choice
Change the name to the tag to test such as
"tag" : "test",
Save the file
Reopen the application.
Expected:
An error message to indicate that the reading the JSON file has resulted in an error.
Actual:
The application runs with no error message prompted and the state cleared.
Screenshots:
Rationale:
This is not ideal as users are not perfect and may forget that special words in tags are not supported. Furthermore, no error message is prompted at all, causing them to be confused.
Additionally, after Step 7, they may realize their mistake, and close the application to fix the Json file, in which case their JSON file is overridden permanently with an empty storage template, causing them to lose their pre-existing data forever.
Details: When editing the Json file incorrectly (apart from the InterviewDate field), the application will restart from a clear state. However no error message was prompted by the application.
Steps to reproduce:
"tag" : "test",
Expected: An error message to indicate that the reading the JSON file has resulted in an error.
Actual: The application runs with no error message prompted and the state cleared.
Screenshots:
Rationale: This is not ideal as users are not perfect and may forget that special words in tags are not supported. Furthermore, no error message is prompted at all, causing them to be confused. Additionally, after Step 7, they may realize their mistake, and close the application to fix the Json file, in which case their JSON file is overridden permanently with an empty storage template, causing them to lose their pre-existing data forever.
[original: nus-cs2103-AY2324S2/pe-interim#3137] [original labels: type.FunctionalityBug severity.Low]