SeanHoWB / pe

0 stars 0 forks source link

When program crashes, input is not saved #4

Open SeanHoWB opened 2 years ago

SeanHoWB commented 2 years ago

image.png

How to recreate: 1) Add an input into the system: add o/ oid/4 r/Danny Phantom addr/Amity Street 2) Check if list is updated: list o/ ( list is updated with new add) 3) Ctrl C to kill the program 4) Run the program again 5) Check if list is updated: list o/ (list does not show new add)

If the program crashes without user saving (ie power ran out on computer) the list will not be saved.

nus-se-script commented 2 years ago

Team's Response

We understand that due to some fortunate reason the program can crash. While the app would be much better if it can save the data user are logging to a separate file to restore the the data whenever this tragedy happens, we anticipate that this is an extreme case that usually would not happen in a warehouse. Also, the app would still work normally after the crash and the data previously saved would still be unchanged, we think this problem can be for later iteration. Furthermore, according to the course website:

image.png

Items for the Tester to Verify

:question: Issue response

Team chose [response.Rejected]

Reason for disagreement: [replace this with your explanation]