nus-cs2103-AY2425S1 / pe-dev-response

0 stars 0 forks source link

Archiving data should not clear all current data #2879

Open nus-pe-bot opened 6 days ago

nus-pe-bot commented 6 days ago

Problem

Currently, archiving data clears all current entries. Suppose I want to use archive as a backup, it would be a hassle to constantly archive the data and reloading it.

Suggestion(s)


[original: nus-cs2103-AY2425S1/pe-interim#3933] [original labels: severity.Medium type.FeatureFlaw]

Jianwen0451 commented 5 days ago

Team's Response

Screenshot 2024-11-17 at 8.44.39 PM.png

This is an designed feature. It seems that there is a misunderstanding about the meaning of the archive feature.

Archiving is done when you are done with the current file and want to archive it and start a new address book So the current entries should not exist in the working area e.g. The current address book after archiving. So clearing the current entries is an expected behavior. The file is automatically saved after each command. So there is no need to keep a backup file. What you do is actually exploit the feature of the archive to use it as a saving command.

So there is a misunderstanding of the archive feature by the tester. And it is why we are rejecting this bug.

Duplicate status (if any):

--