In the User Guide, it is stated that There should be no contacts with the same information. 2 contacts are considered the same if they have the same name and any match in phone number or email. However, this can be bypassed by adding another person with the same name first, then using edit to change their details to be the same.
To reproduce:
From a clean state, run the 2 commands to add these 2 contacts.
add n/James p/99999999 e/test@email.com c/staffadd n/James p/99999998 e/testing@email.com c/staff
Now I am unable to add the same contact back.
However, by running the 2 commands, I can make the contacts the same.
edit 2 e/test@email.comedit 2 p/99999999
In the User Guide, it is stated that
There should be no contacts with the same information. 2 contacts are considered the same if they have the same name and any match in phone number or email
. However, this can be bypassed by adding another person with the same name first, then usingedit
to change their details to be the same.To reproduce:
From a clean state, run the 2 commands to add these 2 contacts.
add n/James p/99999999 e/test@email.com c/staff
add n/James p/99999998 e/testing@email.com c/staff
Now I am unable to add the same contact back.
However, by running the 2 commands, I can make the contacts the same.
edit 2 e/test@email.com
edit 2 p/99999999