Open chewjh1234 opened 10 months ago
As #243, #304 stated in the forum, handling invalid data in the JSON file is not a requirement and failing to do so shouldn't be considered as a bug.
Thus, only running the app with correct data needs to be supported. Since our product restricts that "Word/translation cannot be empty", the empty originalWord
in the JSON file is invalid and any app behavior related to this should not be in consideration.
Moreover, we've mentioned in planned enhancement 5 that we'll provide more error handling when failing to load the data file. This enhancement would prevent the situation mentioned here as the app will give user chance to correct the invalid data.
error handling regarding invalid data input:
Team chose [response.Rejected
]
Reason for disagreement: [replace this with your explanation]
In the UG, it is clearly stated that empty words are not allowed to be added.
But I am able to do so through edits to JSON file