damithc / foo

0 stars 0 forks source link

viewApp returns me a null when I have added an appt. #88

Open nus-pe-bot opened 3 years ago

nus-pe-bot commented 3 years ago

[destination: nus-tic4002-AY2021S2/pe-moderation assignee: boydanderson]

Summary of items to check:

No disputes :-)



Issue Description

I have added an appt called 123.

when I did the view App command on the person it shows 1.null -123. The description of my appointment is 123, should not be null.

Screenshot 2021-04-16 at 7.56.34 PM.png Screenshot 2021-04-16 at 7.57.19 PM.png


[original: JanuariusJang/pe#3]


Team's Response

No details provided by team.

The 'Original' Bug

[The team marked this bug as a duplicate of the following bug]

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

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]

Their Response to the 'Original' Bug

[This is the team's response to the above 'original' bug]

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.

To Check [0 Items]

None