Open marquestye opened 10 months ago
No details provided by team.
[The team marked this bug as a duplicate of the following bug]
Too similar contacts able to be saved
Contacts are able to be saved even though they have similar details. In the screenshot below, all contacts only have one different detail (e.g. name / email / address) and they are all accepted as unique users.
However, in real-life usage, there can't be two unique users that for the same name, email, phone number and address only have one differ.
Perhaps you could reconsider the data validation of what is considered as 'unique'
[original: nus-cs2103-AY2324S1/pe-interim#1143] [original labels: severity.Low type.FeatureFlaw]
[This is the team's response to the above 'original' bug]
This is a conscious design choice that we made since we feel that there is a non-negligible possibility that a user may share common attributes.
Items for the Tester to Verify
:question: Issue duplicate status
Team chose to mark this issue as a duplicate of another issue (as explained in the Team's response above)
Reason for disagreement: [replace this with your explanation]
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