nus-cs2103-AY2324S1 / pe-dev-response

0 stars 0 forks source link

Insufficient duplicate detection #4054

Open nus-se-script opened 10 months ago

nus-se-script commented 10 months ago

Only exact matches for duplicate inputs are catered for allowing users to add items such as "Chicken Rice" and "Chicken Rice" with 1 additional space in between even though they are unlikely to be different items

image.png

Typically, it is best if you can give a warning in such near match cases so that the user can make the final decision.


[original: nus-cs2103-AY2324S1/pe-interim#3147] [original labels: severity.Low type.FeatureFlaw]

teoks0199 commented 10 months ago

Team's Response

We will reject this as it is simply a typo on the user's part that causes the name of the item to become different than any that exists in the stall already, even if that difference is just 1 character.

Duplicate status (if any):

--