Skip to content

[PE-D] A person with the same name for the “NAME” parameter appears as a duplicate and cannot be added despite different values in all other parameters. #130

@nus-pe-bot

Description

@nus-pe-bot

A person with the same name for the “NAME” parameter appears as a duplicate and cannot be added despite different values in all other parameters.

When using these commands one after the other:
add_person pt/student n/John Yo p/987652432 e/johnde@example.com a/Joehn street, block 123, #1-01
add_person pt/tutor n/John Doe p/123456 e/example@example.com a/NUS Street

Actual:
A person with the same name for the “NAME” parameter appears as a duplicate and cannot be added despite different values in all other parameters.

Expected:
A person with the same name but different information in other parameters can still be added as there is a high possibility of persons with same names.

For the above 2 commands, although every parameter except the name parameter is different, the application responds with “This person already exists in the address book”. I think it would be better if more parameters are considered before determining a duplicate as it is a very likely possibility that people have same names and thus cannot be added into EzManage.

The screenshots below show the actual behavior:

image.png

image.png


Labels: severity.High type.FunctionalityBug
original: vevek/ped#4

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions