Skip to content

Two buyer in contacts can have same email #4

Description

@bbryant824

Two buyer in contacts can have same email

Description

Two buyers with different name but same email can be added to the contact which does not make sense as in this case, emailing one would lead to emailing the other, agents would be unsure of which person he is contacting in this case, might lead to errors. The addressbook contact feature is flawed, its function fails to store people properly.

Steps to reproduce

  1. after launching the app, type in command box:
    buyer n/Bobby p/91124444 e/bobby123@gmail.com to add the first person

  2. then type
    buyer n/Alex p/91124444 e/bobby123@gmail.com to add the second person

Expected:
Error message: Alex should not be added as he should not have same email as Bobby

Actual:
New buyer added: Alex.
Phone number: 91124444 and Email: bobby123@gmail.com

Screenshot 2024-11-15 at 4.46.23 PM.png

Improvements

Ensure email as a factor to differentiate people in the contact book.

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions