nus-cs2113-AY2021S2 / pe-dev-response

0 stars 0 forks source link

"orders add" allows numbers as customer names. #1137

Open nus-pe-bot opened 3 years ago

nus-pe-bot commented 3 years ago

The user guide states that it should be a customer name:

image.png

However, it allows numbers:

image.png


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

ongweisheng commented 3 years ago

Team's Response

It is not wrong to put number as a customer_name. User may feel that using numbers to represent the customer_name may be easier for him/her. We should not be too restrictive of what the user decides to input as the customer_name unless it is a field like item price and the user inputs a string, in this case we should restrict what the user can type for the item price.

Duplicate status (if any):

--