Users are able to add duplicates of the same person with the same details, if unimportant changes are made to some fields. Contacts having the same phone number and email address should be identified as a duplicate.
For example, in the above image, notice how Contact 1 and Contact 2 have the exact same name, phone number and email, which should have been noted as a duplicate. However, since the address is typed differently (Avenue instead of Ave, which is likely to happen), the duplicate contact is allowed to be added.
Also, note how Contact 1 and Contact 3 contain the exact same information, other than the capitalization of the name. This should also be flagged as a duplicate.
Especially when the contact list is big, the user will not be able to notice such duplicates, which should definitely be caught and brought up by the app.
Steps to reproduce:
Use clear to start with an empty contact list
Enter add contact -n Aaron -p 12345678 -a Yishun Ave 7 -e aaron123@gmail.com
Enter add contact -n Aaron -p 12345678 -a Yishun Avenue 7 -e aaron123@gmail.com
Enter add contact -n aaron -p 12345678 -a Yishun Ave 7 -e aaron123@gmail.com
Users are able to add duplicates of the same person with the same details, if unimportant changes are made to some fields. Contacts having the same phone number and email address should be identified as a duplicate.
For example, in the above image, notice how
Contact 1
andContact 2
have the exact same name, phone number and email, which should have been noted as a duplicate. However, since the address is typed differently (Avenue
instead ofAve
, which is likely to happen), the duplicate contact is allowed to be added.Also, note how
Contact 1
andContact 3
contain the exact same information, other than the capitalization of the name. This should also be flagged as a duplicate.Especially when the contact list is big, the user will not be able to notice such duplicates, which should definitely be caught and brought up by the app.
Steps to reproduce:
clear
to start with an empty contact listadd contact -n Aaron -p 12345678 -a Yishun Ave 7 -e aaron123@gmail.com
add contact -n Aaron -p 12345678 -a Yishun Avenue 7 -e aaron123@gmail.com
add contact -n aaron -p 12345678 -a Yishun Ave 7 -e aaron123@gmail.com
[original: nus-cs2103-AY2324S1/pe-interim#651] [original labels: type.FeatureFlaw severity.Medium]