Open LemonDrew opened 3 days ago
This bug is linked to the unique identifier being case sensitive name. The intended fix has been elaborated in that issue.
[The team marked this bug as a duplicate of the following bug]
Person with different Captialisation is not flagged as duplicate
Inputs: First command:
add n/John Doe p/98765432 e/johnd@example.com a/John street, block 123, #01-01
Thenadd n/JOHN DOE p/98765432 e/johnd@example.com a/John street, block 123, #01-01
(note the capitalised name)Expected Output:
This person already exists in the address book
Actual Output:
New person added...
As real-world names are usually not case sensitive, this may cause the user to accidentally create a new person when a duplicate already exists (e.g. they accidentally hit the caps lock button midway through typing the name)
UG might also be misleading as it has the following disclaimer:
[original: nus-cs2103-AY2425S1/pe-interim#749] [original labels: severity.Low type.FunctionalityBug]
[This is the team's response to the above 'original' bug]
Decision for Response
Thank you for the feedback, our current implementation of Bizbook uses the name as the identifier and thus we wanted to allow as much flexibility in setting the name, thus the decision for case sensitive names.
However, we do agree that this is a feature flaw, and thus in a future iteration (stated in our planned enhancement), we intend to fix this, by switching the unique identifier to another more concrete variable, such as phone number. This change would then allow contacts of same name, as it is quite common for people of the same name irl.
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]
Steps to reproduce:
The edit command allows the name of the edited person to be essentially the same as the person which you have copied from. (eg "Alex Yeoh" should be the same as "Alex yeoh". Yet, the user guide claims that 2 person of the same name should be considered duplicates (it was mentioned that the constraints of the add command should be the same as the edit command) and that all name must be unique.
Edited a person to have name "Alex yeoh" when there is already a "Alex Yeoh" in the addressbook.
Constraints stated in the "Add command" which was stated to apply for edit command as well