Open althea28 opened 1 week ago
No details provided by team.
[The team marked this bug as a duplicate of the following bug]
Names containing
s/o
,d/o
or@
are disallowedNames containing
s/o
andd/o
are common in Singapore, especially in the Indian community.@
in names is a little more rare, but they also do exist locally. As the app stores medical information, which must ensure the highest accuracy, it is important to allow all, or at least common, valid names in Singapore.Here is an example of
s/o
being disallowed.Alternatively, it could have been mentioned in known issues or FAQ, to inform users about such circumstances, such as requiring a change of
s/o
toson of
.
[original: nus-cs2103-AY2425S1/pe-interim#1723] [original labels: severity.Medium type.FeatureFlaw]
[This is the team's response to the above 'original' bug]
Since we are using '/' as a command limiter, we decided to disallow it as it will cause issues when parsing names with symbols. But encountering such names is infrequent, hence we decided that it should be a low severity.
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
1. Enter command: add n/Hubert Blaine s/o Wolfeschlegelsteinhausenbergerdorff a/36 g/M i/S1234561Z p/98765432 e/johnd@example.com h/311, Clementi Ave 2, #02-25 apt/01/02/2024 13:30 t/Patient t/A+
Expected
This is the real name of a person. Given that patients' healthcare data is to be saved, it is expected that the full, legal name of a person should be allowed and reflected. Disallowing 's/o' in a person name can cause a major problem since the input is expected to match the legal name of the person.
Actual
Error shown: Names should only contain alphanumeric characters and spaces, and it should not be blank 's/o' is disallowed in names, although some people's names do contain this.