nusCS2113-AY1920S1 / pe-dev-response

0 stars 0 forks source link

Program allowed the additon of food product with almost similar name #286

Open nus-pe-bot opened 5 years ago

nus-pe-bot commented 5 years ago

When food product name that differs only by a white spacing, program allows the addition as shown with "Truffle Chips" and "TruffleChips"

image.png


[original: nusCS2113-AY1920S1/pe-interim#286]

tygq13 commented 5 years ago

Team's Response

Team's Response

As currently Cube doesn't support more differentiating identifier such as "brand" of the food, we do not want the food name to be too restrictive since it is the unique identifier. In case the user sells two very similar food, he can use the these techniques to differentiate the food.

A good point raised. We will take care of this in v2.0 when we have more detailed differentaition of food.

Duplicate status (if any):

--