azumieflare / pe

0 stars 0 forks source link

Adding of same person can be bypassed #1

Open azumieflare opened 2 months ago

azumieflare commented 2 months ago

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.

image.png

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 image.png

Now I am unable to add the same contact back. image.png

However, by running the 2 commands, I can make the contacts the same. edit 2 e/test@email.com edit 2 p/99999999

image.png

nus-se-script commented 2 months ago

Your response not required for this bug as the team has accepted the bug as it is.