nus-cs2103-AY2425S1 / pe-dev-response

0 stars 0 forks source link

Adding new person does not allow duplicate phone number and email. #339

Open nus-pe-bot opened 2 days ago

nus-pe-bot commented 2 days ago

When adding a new person with unique name and student ID (expected uniqueness), I am unable to add them if they have a duplicate email or phone number. While this may not be very common as most students have their own phone number and email, it may still occur if two siblings were to share a common phone number or email address. The error could also better explain which field is causing the error.

image.png


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

Domokunx commented 1 day ago

Team's Response

Forgot to add what is considered duplicate under UG.

Duplicate status (if any):

Duplicate of #1967