AY2425S1-CS2103T-W12-4 / tp

MIT License
0 stars 5 forks source link

[PE-D][Tester A] Add Person Command - Able to add a new person with the same name (but with different capitalization) #251

Closed nus-pe-script closed 5 days ago

nus-pe-script commented 5 days ago

When adding a new person, there is a check to ensure that two person with the same name are not added to the system. But if the user were to capitalize different parts of the name, the add person command still allows the user to add the person.

Step 1: Create a new person using the add person command E.g. Ben Step 1.png

Step 2: Create a new person using the add person command but this time the person's name should be capitalized differently with the phone number being different E.g. BeN Step 2.png

Result: Step 4.pngStep 4

Even though Ben and BeN are technically the same name, the system allows both to exist but with different phone numbers. This is contradictory because if the user were to add two Ben (where the name is spelt the same with the exact same capitalization), there will be an error shown stopping the user from doing so.


Labels: type.FunctionalityBug severity.High original: DINESH1201/ped#9