nus-cs2103-AY2122S1 / pe-dev-response

0 stars 0 forks source link

Command Result showing wrong data (Email) #5771

Open nus-se-bot opened 2 years ago

nus-se-bot commented 2 years ago

The command entered is:

add -n John Doe -p +659875432 -e johnd@example.com

In the command result box the output that should be shown should be (Expected):

New person added: John Doe; Phone: +659875432; Email: johnd@example.com

The output that is actually shown in the command result box is (Actual):

New person added: John Doe; Phone: +659875432; Email: +659875432

Screenshot 2021-11-12 at 4.23.35 PM.png

The correct email is not shown in the command result box instead the phone number is displayed.

This bug is valid for other commands as well. When I tried delete 7, the output was (actual):

Deleted Person: John Doe; Phone: +659875432; Email: +659875432

The expected output is:

Deleted Person: John Doe; Phone: +659875432; Email: johnd@example.com

The email is however correctly shown in the contact list. The issue lies in the result being displayed in the command result box.


[original: nus-cs2103-AY2122S1/pe-interim#5755] [original labels: type.FunctionalityBug severity.Medium]

Anonymxtrix commented 2 years ago

Team's Response

Accepted. It was a mistake on our part since we introduced this bug as we were fixing another one...

Duplicate status (if any):

--