Open maze508 opened 3 months ago
In our DG, we mentioned that this is a known issue and we are planning to implement this functionality (allowing the addition of the same name) in future iterations. Hence, we would like to reject this bug.
[The team marked this bug as a duplicate of the following bug]
Names overly restrictive
Only allowing alpha numeric characters in names is overly restrictive, many legal names exist where '/' are needed. some non alphanumeric characters should be accepted.
Steps to reproduct:
- Run in CLI ' add n/John s/o Doe p/98765432 e/johnd@example.com a/311, Clementi Ave 2, #02-25 k/Joe s/o Doe d/Has a history of memory loss t/mentalIllness t/owesMoney'
Expected output: User added
Actual output: Error non alphanumeric names
[original: nus-cs2103-AY2324S2/pe-interim#1534] [original labels: type.FunctionalityBug severity.Low]
[This is the team's response to the above 'original' bug]
In our DG, we mentioned that this is a known issue and we are planning to implement this functionality in future iterations. Hence, we would like to reject this bug.
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: I must clarify that my bug report, which identifies the restrictiveness of using only names as unique identifiers, is not a duplicate of the other tester's report regarding the character restrictions in names. My issue highlights the potential for multiple individuals sharing the same name, which is common, and the system's need to differentiate them using additional attributes like phone numbers or other identifiers. This is fundamentally different from the character set allowed in names and should be treated as a separate concern.
Details
The App checks for unique identifiers simply through Name. This is quite restrictive as there may be multiple patients with the same name, i.e
Joshua Tan
is a really common name. A person should be uniquely identified through a combination of fields, like Name + Phone No.+ NRIC etc ... instead.