Open ethanwangkangen opened 1 week ago
Duplicate of #195.
[The team marked this bug as a duplicate of the following bug]
Unable to add person of the same name, even with different email address, and phone number, as specified in the user guide.
Description:
The user guide mention that "We allow Users to create person of the same Name, Email Address and Phone Number, as long as not all details are the same." However, this is not true in the application, as I have a person with different email address, and phone number, (though with same name), but the add command doesn't work.
Steps to reproduce:
Apply the following two command sequentially:
add n/John Doe p/98765432 e/johnd@example.com a/John street, block 123, #01-01
add n/John Doe p/98765321 e/johnd@exampl.com a/John street, block 123, #01-02
Expected Result:
The last command should pass without errors.
Actual Result:
The last command fails with error, "This person already exists in the address book".
Screenshots:
[original: nus-cs2103-AY2425S1/pe-interim#277] [original labels: severity.Medium type.FunctionalityBug]
[This is the team's response to the above 'original' bug]
Thank you for noticing the issue with the 'add' command! When implementing the changes to the AB3 'add' command we were negligent to updating the correct usage of the 'add' command on the UG which shows that we do not allow duplicate names and allows duplicate usage of the other fields.
Items for the Tester to Verify
:question: Issue duplicate status
Team chose to mark this issue as a duplicate of another issue (as explained in the Team's response above)
Reason for disagreement: [replace this with your explanation]
As stated in UG, the app should allow User to create person of "same Name, Email Address and Phone Number, as long as not all details are the same".
When User attempts to create new person with same name but different email address and different phone number, app does not allow it and shows error message: "This person already exists in the address book".
Steps to recreate: