nus-cs2103-AY2324S2 / pe-dev-response

0 stars 0 forks source link

Cannot add 2 people of the same name #4311

Open nus-se-script opened 6 months ago

nus-se-script commented 6 months ago

Context

Adding 2 people with the exact same name gives the following error:

This person already exists in the address book

and the second person is not added to the address book

Screenshots

Screenshot 2024-04-19 at 4.16.48 PM.png

Expected Behaviour vs Actual Behaviour

Expected that a person with the same name is allowed to be added, as different people can have the same name. The identifying factor between 2 people could be phone number instead.

How to replicate

  1. add n/John Doe p/98765431 e/johnd@example.com a/John street, block 123, #01-01

  2. add n/John Doe p/98765432 e/johnde@example.com a/Johne street, block 123, #01-01

Why this severity:

Low as people having 2 full names is unlikely given that this application is not to be used by many people


[original: nus-cs2103-AY2324S2/pe-interim#3563] [original labels: severity.Low type.FeatureFlaw]

Yskie commented 6 months ago

Team's Response

No details provided by team.

Duplicate status (if any):

Duplicate of #1574