How to replicate:
add-dentist n/John Doe p/98765432 s/Orthodontics y/5
followed by edit-dentist 8 n/Alex Yeohh
Actual:
There is both an "Alex Yeohh" in patient list and dentist list, which has the same name but with other fields that are different.
Expected:
1) If you are allowed to have the same person as a patient and a dentist, there should be a warning/confirmation to ask if you wish to enter the same person as a patient and dentist so that all the other fields (phone/address/email etc) are also copied over so they are the same and can clearly reflect the same person
2) If you are not allowed to have the same person as a patient and dentist, then there should be a warning that disallows the user to change a person's name to be both a patient and dentist.
How to replicate:
add-dentist n/John Doe p/98765432 s/Orthodontics y/5
followed byedit-dentist 8 n/Alex Yeohh
Actual: There is both an "Alex Yeohh" in patient list and dentist list, which has the same name but with other fields that are different.
Expected: 1) If you are allowed to have the same person as a patient and a dentist, there should be a warning/confirmation to ask if you wish to enter the same person as a patient and dentist so that all the other fields (phone/address/email etc) are also copied over so they are the same and can clearly reflect the same person 2) If you are not allowed to have the same person as a patient and dentist, then there should be a warning that disallows the user to change a person's name to be both a patient and dentist.
[original: nus-cs2103-AY2324S1/pe-interim#1375] [original labels: severity.Low type.FeatureFlaw]