LouisLouis19 / pe

0 stars 0 forks source link

Unable to start when random values are inserted in the Shopsaved file #9

Open LouisLouis19 opened 2 years ago

LouisLouis19 commented 2 years ago

Random values are added, as a result of my confusion on how to add items to the shoplist Screenshot 2021-11-12 at 4.48.43 PM.png Screenshot 2021-11-12 at 4.49.12 PM.png

soc-pe-bot commented 2 years ago

Team's Response

This bug has been accepted as a valid complaint. However, the issue is not because of the random values inserted. In fact, Fridget does manage to successfully parse the values as seen in the image below.

image.png

The actual issue is that there is no space in between 12121 and |. Thanks for letting us know.

We've chosen to reduce the severity of this bug report to Low for two main reasons:

image.png

Items for the Tester to Verify

:question: Issue severity

Team chose [severity.Low] Originally [severity.Medium]

Reason for disagreement: Thank you for the response! Upon your explanation of the lack of spacing, I now understand why the values I inserted in the text file caused the program to crash at the start. Initially, upon witnessing a crash in the program, I tried to fix the text file but to no avail. Perhaps, this is because I am not skilled enough to edit or fix the file correctly and I was not aware of your specific data saving technique in the text file.

Moreover, stating that "Most users would not tamper with the txt files anyway" is an understatement, as the files are for users to edit (Hence, why it is human editable). And stating a warning in the user guide not to tamper with files is still not an excuse for developers not to catch and filter any file-related errors, ie. data corruption.

This was further emphasized in detail by the prof in this issue: https://github.com/nus-cs2113-AY2122S1/forum/issues/144

I decided to mark this bug with medium severity as it prevented users from starting the program at all and no filter was implemented for the corrupted data. Hence, causing a major inconvenience to users.