nus-cs2103-AY2223S1 / pe-dev-response

0 stars 0 forks source link

Address with Invalid Address Allwoed #5783

Open nus-pe-bot opened 1 year ago

nus-pe-bot commented 1 year ago

image.png

An invalid address consisting of only numbers is allowed

To recreate:

  1. add n/test p/11111111 e/test@gmail a/11111111111 adds n "address" with consisting of only numbers

[original: nus-cs2103-AY2223S1/pe-interim#5776] [original labels: type.FeatureFlaw severity.Medium]

TJun-Jie commented 1 year ago

Team's Response

It is overzealous to implement address validation as addresses tend to come in all kinds of format. Also, providing invalid address input is considered extreme user behaviour.

telegram-cloud-photo-size-5-6305122938579431772-y.jpg/Users/tjunjie/Library/Group Containers/6N38VWS5BX.ru.keepcoder.Telegram/stable/account-2102874230587161628/postbox/media/telegram-cloud-photo-size-5-6305122938579431772-y.jpg

Duplicate status (if any):

--