Open junianob opened 1 year ago
If you edit the json tag file incorrectly, then you should not expect the file to work as a tag file.
[The team marked this bug as a duplicate of the following bug]
Wrong json url does not result in error
Editing the url in json storage to not follow the format as stated does not result in error (ww. instead of www.)
[original: nus-cs2103-AY2223S2/pe-interim#1884] [original labels: type.FunctionalityBug severity.Medium]
[This is the team's response to the above 'original' bug]
Directly editing data files is meant for advanced users and should be done at their own risk.
Items for the Tester to Verify
:question: Issue duplicate status
Team chose to mark this issue as a duplicate of another issue (as explained in the Team's response above)
Reason for disagreement: The issues caused by a corrupted tag and a corrupted library are 2 separate matters.
When editing the JSON tag file incorrectly, running tags on the program still works but incorrectly.
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.