nus-tic4002-AY2021S2 / pe-dev-response

0 stars 0 forks source link

After adding a person with multiple appointment prefix, the program has been behaved abnormally #145

Open nus-pe-bot opened 3 years ago

nus-pe-bot commented 3 years ago

After adding a person with two appointments, the program has problem in showing patient appointment and result in the screenshots below.

image.png

image.png

Command used order: add n/Betsy Crowe t/friend e/betsycrowe@example.com a/Newgate Prison p/1234567 t/criminal app/health check up at 21/03/2021 app/health screening at 22/02/2021 viewApp 7 list

This behavior does not report any error and not documented in the UG. This will result in program nonfunctional. Thus, I rate it as severity high.


[original: nus-tic4002-AY2021S2/pe-interim#145] [original labels: severity.High type.FunctionalityBug]

adi-kd0021 commented 3 years ago

Team's Response

It is possible to use a workaround by using "addApp" to add patient appointments instead of using the "add" command to add patient appointments.

Once the user has encountered this issue, the user can remove the entry causing the issues inside of the addressbook.json manually and then proceed to restart the Patient Book application and the issue would have been resolved.

Then they may proceed to use "addApp" to add the appointment to the patient.

The reason for downgrading the severity is that the user is inconvenienced by this bug but is still able to continue to use the product.

Duplicate status (if any):

--