nus-cs2103-AY2223S2 / pe-dev-response

1 stars 0 forks source link

Corrupted Tag JSON file breaks tag function #2043

Open nus-pe-bot opened 1 year ago

nus-pe-bot commented 1 year ago

image.png

When editing the JSON tag file incorrectly, running tags on the program still works but incorrectly.

image.png

Users may face this issue when editing JSON files themselves or when importing this data from shady sources. A solution could be to throw an error to let the user know that the file is corrupted.


[original: nus-cs2103-AY2223S2/pe-interim#1673] [original labels: severity.Low type.FunctionalityBug]

NoyaRoeT commented 1 year ago

Team's Response

If you edit the json tag file incorrectly, then you should not expect the file to work as a tag file.

Duplicate status (if any):

Duplicate of #2311