Jonoans / pe

0 stars 0 forks source link

Program Unable To Recover with Invalid soldItems.txt #6

Open Jonoans opened 11 months ago

Jonoans commented 11 months ago

In some cases, when modify soldItems.txt to contain invalid inputs, the program seems to be able to recover.

For example, changing Quantity to Quanity - missing t, the program seems to ignore entries in the file and proceed to launch with no sales loaded.

However, in other cases, for example if we were to change the Serial Number entry to something not reflected in the drug list:

image.png

The program is unable to launch until we remove or revert changes to the soldItems.txt file as we are met with the following error:

image.png

nus-pe-bot commented 10 months ago

Your response not required for this bug as the team has accepted the bug as it is.