Zer0Legion / pe

0 stars 0 forks source link

Application allows adding of likely duplicate contacts #4

Closed Zer0Legion closed 7 months ago

Zer0Legion commented 7 months ago

Expected: Application successfully detects contacts with the same name but different casing to be duplicate contacts.

Actual: Application allows contacts with exactly the same details except for a different casing for the name to be added without recognizing that they are duplicates.

Steps to reproduce:

  1. add n/Normal Name p/99999999 e/test@test.com a/123123
  2. Observe this contact is added.
  3. add n/Normal name p/99999999 e/test@test.com a/123123
  4. Observe this contact is added as well even though it is easy to tell that they are duplicates.

Additional info: The same thing happens when a new contact is added with the name Normal Name (observe 2 whitespaces)

Screenshots: First contact:

image.png Second contact:

image.png