Open nus-pe-bot opened 1 year ago
Either way, this is not a functionality bug as FoodRem behaves as expected and stated in the User Guide. In terms of whether it is a feature flaw:
During the development of FoodRem, we were debating whether item names should be unique and case-sensitive (“Potatoes” and “potatoes” are different) or case-insensitive (“Potatoes” and “potatoes” are the same).
We have come to the decision that item names and tag names should be case-sensitive. This is clearly stated in the user guide in more than one place.
Reasons:
find n/milk
).Thus we have decided that this is not a bug, it is intentional as stated in the UG and the explanation above.
--
I understand that in the User Guide it's mentioned that items are unique by name and case-sensitive and that I "cannot add two or more items of the same name."
However, I would say that 'potato' and 'Potato' are the same name.
To reproduce: add 2 items named 'potato' and 'Potato' respectively
I would say its good to differentiate products with names which are case sensitive but trivial items like potato, carrot etc probably wouldnt need this validation.
[original: nus-cs2103-AY2223S1/pe-interim#5665] [original labels: severity.Medium type.FunctionalityBug]