AY2021S2-CS2103-T14-2 / tp

https://ay2021s2-cs2103-t14-2.github.io/tp/
MIT License
0 stars 5 forks source link

[PE-D] add command bug: allowing addition of restaurants with invalid address. #140

Closed nus-pe-bot closed 3 years ago

nus-pe-bot commented 3 years ago

After key in the command: add n/Subway ra/5 p/6 re/I like this food a lot! a/12345678 c/FastFood c/Vegan s/SOC

An invalid address warning should be shown. However, the warning is not shown although 12345678 is not a valid address.

If such address is allowed to be added in, when another user see this entry, they will not be able to know where the restaurant is.


Labels: severity.Medium type.FunctionalityBug original: icytornado/ped#12

Donavanty commented 3 years ago

In terms of address, we will not check this. This is a Non-functionality requirement: the address will be left to the integrity of the user to decide and fill in appropriately