nusCS2113-AY1920S1 / pe-dev-response

0 stars 0 forks source link

Exiting the program without using "bye" does not save entries added. #1246

Open nus-pe-bot opened 5 years ago

nus-pe-bot commented 5 years ago

No documentation in UserGuide on how the saving of state of the application is being done. Not stated that "bye" saves the state and user has to follow this step to save state.

Steps: 1) Added a simple todo 2) exited the task by ctrl + c / closing terminal 3) runs back application and 1) does not appear.

(photo not included due to multistage steps and is self explanatory.)


[original: nusCS2113-AY1920S1/pe-interim#1246]

laurenthg commented 5 years ago

Team's Response

This is a jar file bug:

Running the jar file will always load the same initial duke.txt (initial tasks) and welcome.txt ( initial welcome message) files. So, the set welcome message is not working with the jar file and tasks’s data are not saved between two runs of jar file.

This bug was discovered before the PE sessions. This bug was told to the prof after the demo.

Please refer to

issue #179 : Bug jar file: loading data file on Github

Duplicate status (if any):

Duplicate of #130