nus-cs2113-AY2223S1 / pe-dev-response

0 stars 0 forks source link

Adding a newline at the end of data.txt causes application to crash #988

Open nus-pe-bot opened 1 year ago

nus-pe-bot commented 1 year ago

I accidentally added a newline to the end of data.txt while entering module information and it caused the program to crash.

image.png

image.png

Since the specifications dictate that users should be able to edit data.txt, it may be difficult for users to troubleshoot the issue if they fail to realize that they have added a newline to the end of data.txt.


[original: nus-cs2113-AY2223S1/pe-interim#1032] [original labels: severity.Medium type.FunctionalityBug]

Zhai-Yuxin commented 1 year ago

Team's Response

The data file should not be edited by the user. The data file can only be transferred: In the beginning before using the application, the "data.txt" file is not present. Only the jar file is present. Our application never had a feature to read file information from before and we have never specified such a feature in the DG or UG. The only possible actions that can be carried out on the "data.txt" file are mentioned in the FAQ section of the UG.

image.png

Duplicate status (if any):

--