AY1920S1-CS2103-F09-4 / main

Insurelytics
https://ay1920s1-cs2103-f09-4.github.io/main/
MIT License
1 stars 5 forks source link

Unable to trigger duplicate profile alert and merge profiles #170

Open nus-pe-bot opened 4 years ago

nus-pe-bot commented 4 years ago

App prints an error instead of alerting and attempting to merge the profiles when a person that already exists in the app is added.

Steps to reproduce:

  1. add n/John Doe ic/S9999999J p/98765432 e/johnd@example.com a/John street, block 123, #01-01 dob/12.09.1980 g/Male
  2. add n/John Doe ic/S9999999J p/98765432 e/johnd@example.com a/John street, block 123, #01-01 dob/12.09.1980 g/Female

Expected outcome: attempt to merge the profiles Actual outcome: prints and error and does not attempt to merge the profiles


[original: gary-lgy/ped#6]