nus-cs2103-AY2122S2 / pe-dev-response

0 stars 0 forks source link

personadd (users address has no validation and inconsistent, invalid/empty postal codes are allowed) #2110

Open nus-pe-bot opened 2 years ago

nus-pe-bot commented 2 years ago

users address has no validation and inconsistent, invalid/empty postal codes are allowed

invalid-addresss.PNG


[original: nus-cs2103-AY2122S2/pe-interim#2130] [original labels: severity.Low type.FunctionalityBug]

zhongfu commented 2 years ago

Team's Response

Some locales do not use postal codes, or even so-called "well-formed" address formats (e.g. street addresses).

And even if we assume that every single locale has a well-formed address format, it is simply infeasible to properly validate street addresses for all of them -- it is much likelier that we will reject addresses that are in fact valid, or accept addresses that are (possibly) invalid in every single possible locale.

In light of this, we are rejecting this bug since we do not wish to impede users from using such addresses.

Duplicate status (if any):

--