AY1920S2-CS2103-T09-2 / main

MIT License
1 stars 3 forks source link

[PE-D] Adding A customer with same name, different addresses not allowed #180

Closed nus-pe-bot closed 4 years ago

nus-pe-bot commented 4 years ago

As shown in the screenshot, I have a customer named Kok created. Then I attempted to create another customer with the same name and same values for most fields except for address. I was not allowed to do that. This confuses me because I tried to another case where I attempted to create the same customer with the same name but different phone numbers and it worked. So there is inconsistency as to how two customers should be counted as duplicate.

I suggest either:

  1. If the names of both customers are the same, then they are considered as duplicates regardless of other field values, or;
  2. two customers are considered as duplicates only if all of their field values are identical.

duplicate_address.png


Labels: severity.Medium type.FunctionalityBug original: kschiew/ped#2