nus-cs2113-AY2021S2 / pe-dev-response

0 stars 0 forks source link

Duplicate entry saved #1325

Open nus-pe-bot opened 3 years ago

nus-pe-bot commented 3 years ago

By manipulating the storage configuration, there can be instances that save contains a duplicate entry.

To reproduce this error:

  1. Run the app as usual and sort the entries by DESC 2.. Go to the config file and remove the minus sign for desc filters.
  2. Perform the same exact searches to obtain the same results as the configuration that as changed.
  3. Save it and the program will accept the same file.

Because of the easy manipulation and storage, this flaw can cause major issues with the saving of files, causing major inconvinience to the users.

See index 5 and 7:

image.png


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

jadenwjh commented 3 years ago

Team's Response

Duplicated.

Duplicate status (if any):

Duplicate of #1326