Open zienxu opened 4 days ago
We made the decision to allow for different contacts to have the same phone number since young patients tend to use their parents' numbers and emails. Though this ended up being implemented for both doctors and patients.
However, while we agree that this is a valid issue, we believe the current app can still function normally as intended and that fixing it is less important than the work done in v1.6. Hence we believe the issue is out of scope for this iteration.
[The team marked this bug as a duplicate of the following bug]
Duplicate Phone Numbers and Emails are allowed
Expected: It is reasonable to assume that doctors cannot have the same phone numbers or emails.
Actual: It is possible to add doctors with the same phone numbers and emails:
Steps to duplicate:
- Assume contact list is empty
- Enter
add-doctor n/John Tan p/88881111 a/Marsiling e/hey@gmail.com s/Ortho
- Enter
add-doctor n/John Lim p/88881111 a/Bedok e/hey@gmail.com s/Ortho
Suggestion: Perhaps you could disallow duplicate phone numbers across doctors. I feel that for patients it is ok since young patients tend to use their parents' numbers or emails but for doctors, I can assume that they are rich enough to get their own SIM card and emails.
If not, at least include a warning that there are duplicate fields so the user knows in the event of an intended entry.
[original: nus-cs2103-AY2425S1/pe-interim#789] [original labels: severity.Low type.FunctionalityBug]
[This is the team's response to the above 'original' bug]
As a team, we agree that this is indeed a feature flaw.
Regarding
phone number
, we made the decision to allow for different contacts to have the same phone number since young patients tend to use their parents' numbers and emails. Though this ended up being implemented for both doctors and patients.However, while we agree that this is a valid issue, we believe the current app can still function normally as intended and that fixing it is less important than the work done in v1.6. Hence we believe the issue is out of scope for this iteration.
Items for the Tester to Verify
:question: Issue duplicate status
Team chose to mark this issue as a duplicate of another issue (as explained in the Team's response above)
Reason for disagreement: [replace this with your explanation]
I am able to add duplicate phone numbers into the system without any warning. If it really happens, I think the app should at least show a warning that two people have the same number to ask the receptionist to double check just in case it was a mistake as in the medical context, any minor contact error could be detrimental to both patients and doctors.