naranghardik16 / pe

0 stars 0 forks source link

Command Result showing wrong data (Email) #3

Open naranghardik16 opened 3 years ago

naranghardik16 commented 3 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.

nus-pe-bot commented 3 years ago

Your response not required for this bug as the team has accepted the bug as it is.