Vinci-Hu / pe

0 stars 0 forks source link

Load and save not automatic #2

Open Vinci-Hu opened 3 years ago

Vinci-Hu commented 3 years ago

If the program exit unexpectedly(like ctrl-c interrupt), the added entry is not saved. image.png

nus-pe-bot commented 3 years ago

Team's Response

No response provided.

The 'Original' Bug

[The team marked this bug as a duplicate of the following bug]

Save and Load function implementation

The save and load functions are implemented in such a way that it requires the user to input the 'save' and 'load' command to use them respectively.

For example, I entered a large list of project names as well as urls and saved them. However, when i exited the application and entered back in, I forgot to use the 'load' function as no messages were prompted. After keying in a new project and url, i used the 'save' function, causing me to lose all my information that I keyed in in the previous save file.

Hence, when the user forgets to load and uses 'save' command on a new empty project list, it overwrites the current save file in the storage and causes the user to lose all their information that they had in their original save file.


[original: nus-cs2113-AY2021S2/pe-interim#787] [original labels: severity.Medium type.FeatureFlaw]

Their Response to the 'Original' Bug

[This is the team's response to the above 'original' bug]

No response provided.

Items for the Tester to Verify

:question: Issue duplicate status

Team chose to mark this issue as a duplicate of another issue (as explained in the Team's response above)

Reason for disagreement: [replace this with your explanation]