nus-cs2103-AY2425S1 / pe-dev-response

0 stars 0 forks source link

editing a person removes all notes #301

Open nus-pe-bot opened 1 week ago

nus-pe-bot commented 1 week ago

Command: addnote nric/patientID note/s

image.png

Command: edit patientID p/91234567

image.png The notes previously present are deleted. This may cause doctors to lose track of important information.Editing phone number is very common in this use case and doctors wouldn't expect to lose all their notes which could containt key medicinal requirements


[original: nus-cs2103-AY2425S1/pe-interim#425] [original labels: severity.High type.FunctionalityBug]

AngPengXuan commented 1 week ago

Team's Response

This bug is caused by the same defect as editing a person deleting appointments, which is the bug that editing a person does not preserve some of its related attributes.

Duplicate status (if any):

Duplicate of #2073