nus-cs2103-AY2324S2 / pe-dev-response

0 stars 0 forks source link

Check for duplicate email / contact #1016

Open nus-pe-bot opened 4 months ago

nus-pe-bot commented 4 months ago

Different people should not have the same contact or phone number. These parameters should be checked for.

To reproduce:

  1. Create 2 people with the exact same details except name.

image.png


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

vannykin commented 4 months ago

Team's Response

image.png

As stated in our user guide (screenshot above), client name is our only unique identifier. Duplicate phone numbers and emails are allowed due to the nature of our target audience.

To give a more concrete example, one person could have 2 parents who are both clients of a particular social worker. Both clients (the parents) would have the same contact number, which is the contact number of the person (child of both clients). For example, both parents are being taken care of by their child.

Email works similarly.

Duplicate status (if any):

--