Open LouisLouis19 opened 3 years ago
Thank you for this bug report. However, Fridget can actually to allow |
from savedShop.txt.
The actual issue is that there is no space in between |
and |
. Thanks for letting us know.
We've chosen to reduce the severity of this bug report to Low for two main reasons:
|
into the item's names.[The team marked this bug as a duplicate of the following bug]
Unable to start when random values are inserted in the Shopsaved file
Random values are added, as a result of my confusion on how to add items to the shoplist
[original: nus-cs2113-AY2122S1/pe-interim#2923] [original labels: severity.Medium type.FunctionalityBug]
[This is the team's response to the above 'original' bug]
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.
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:
- Most users would not tamper with the txt files anyway. If they decided to do so, they would be skilled enough to edit it correctly.
Team chose to mark this issue as a duplicate of another issue (as explained in the Team's response above)
Reason for disagreement: [replace this with your explanation]
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.
When I change the name of my food to "|", an exception is thrown at the start of the program. Preventing the program to start. Perhaps a filter could be implemented for this.