nus-cs2113-AY2223S1 / pe-dev-response

0 stars 0 forks source link

Able to create duplicate expense records #781

Open nus-pe-bot opened 1 year ago

nus-pe-bot commented 1 year ago

First I Added 2 records at the same time, only the name was different

Screenshot 2022-11-11 at 5.01.55 PM.png

If we view the records we can see the 3 records. Last 2 records only have name differing.

Screenshot 2022-11-11 at 5.02.11 PM.png

Then I edited the 3rd expense record's name to match that of the 2nd record -> This is where the edit function failed to check for possibility of creation of duplicate records.

Screenshot 2022-11-11 at 5.02.28 PM.png

Now if we view the list of expenses, we can see that there is duplicate expense issue for the last 2 records.

Screenshot 2022-11-11 at 5.02.37 PM.png

This could have been avoided if the edit function had checked for possibility of duplicate record creation.


[original: nus-cs2113-AY2223S1/pe-interim#816] [original labels: type.FeatureFlaw severity.Low]

xzynos commented 1 year ago

Team's Response

Greetings karthikstar,

Thank you for your bug report. After careful evaluation of your bug report, the development team is accepting your bug report.

Regards, xzynos

Duplicate status (if any):

--