joshuayapwj98 / pe

0 stars 0 forks source link

[addc] Duplicate email when adding a new customer but error message displayed 'customer already exist' #1

Open joshuayapwj98 opened 2 years ago

joshuayapwj98 commented 2 years ago

Steps to reproduce

  1. type in the addc command.
  2. change the name but keep the name prefix

    (i.e: addc n/John Doe p/98765431 a/John street, block 123, #01-01e/johnd@example.com rd/31-03-2022) Expected Display an error message stating that the email already is in use.

Actual Display an error that the customer already exist.

Screenshot Capture.PNG

nus-pe-bot commented 2 years ago

Team's Response

As specified in the UG. no two customers can have the same phone or email, which lead to that error message.

image.png

Items for the Tester to Verify

:question: Issue response

Team chose [response.Rejected]

Reason for disagreement: [replace this with your explanation]