Open spinoandraptos opened 10 months ago
Thank you for bringing this to our attention.
The error you have encountered is because the WildWatch.txt is missing a whitespace after the last "/", for entries without a REMARK field.
This occurred because the tester altered the saved text file manually, without realising that whitespace has to be appended after "/" at the end.
This would not happen in proper use of our program, where the user will input the entries via interaction with CLI, and not directly altering the saved file.
As of our current iteration, we do not encourage manual alteration of the saved file.
But then again, the program should have gracefully ended, with the corrupt file message, instead of ending abruptly.
We need to thus improve on the exception handling of the FileStringParser class.
Please test using this saved file that indeed has more than 1000 entries.
WildWatch.txt
Team chose [response.NotInScope
]
Reason for disagreement:
Thanks to the dev team for identifying the bug does not arise from the number of entries but from the wrong text input format in the data text file, really appreciate that.
Nonetheless, the UG did not specify that manual alteration of the saved file is disallowed, and in addition, the program does not fail gracefully. Hence, the conditions for not in scope are not met, and should not be used.
When data txt file is changed directly to include up to 999 entries manually, possible due to new data results that are sent in by reserve rangers, the program fails to read in all the entries and fails to start up. This is a very serious problem as once again wildlife data is often in large entry sizes, and the program needs to be able to support that for it to have effective scientific value.
This is especially when the NFR of DG says the app should hold easily hold up to 1000 entries.