Open LiHaixin000 opened 4 days ago
Duplicate of Issue #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]
If two users have the same name,
David Li
, they have different numbers and addresses. The addressbook does not allow me to add both of them. Step to reproduce:add n/David Li p/99999999 e/davidli@example.com a/David street, block 321, #01-01 x/123