kwokieee / pe

0 stars 0 forks source link

Editing data file does not produce specified behavior #5

Open kwokieee opened 2 years ago

kwokieee commented 2 years ago

Editing the timestable.json file to have an invalid format does not cause the app to delete the file on launch as specified in the UG.

image.png

Data used in timestable.json:

image.png

nus-pe-bot commented 2 years ago

Team's Response

We tried doing this on the jar file and changing an address of a person to null would cause timestable to start with an empty data file on the next run, not delete the JSON file.

2021-11-14.png

2021-11-14 (1).png

Items for the Tester to Verify

:question: Issue response

Team chose [response.Rejected]

Reason for disagreement: I think I might have misunderstood what the UG mentions for the expected behavior due to the wording. I assumed that "start with an empty data file" meant that the timestable.json data file would be empty, instead of the app starting with no data loaded and the timestable.json data file still containing the invalid data. Maybe it would be clearer if the UG states that "data will not be loaded into the app" or something along those lines?