Open nabonitasen opened 11 months ago
Same issue, lies in the "-name NAME" parameter taken in by lesson and person
[The team marked this bug as a duplicate of the following bug]
Name accepts more than 1 whitespace in between
Expected: Name does not accept more than 1 whitespace that the user might have typed in by accident
Actual: Name accepts more than 1 whitespace, which can confuse the user when he/she is looking for that name again. This also allows the same name to be added again, which is against the UG
[original: nus-cs2103-AY2324S1/pe-interim#4261] [original labels: type.FunctionalityBug severity.Medium]
[This is the team's response to the above 'original' bug]
We agree that this is allowed in our app. However, we feel that the severity should not be medium, but rather low. It is very rare rather than occasional situation that the user would type in the same person multiple times but with different spaces. This fits into the severity labels in the textbook:
Furthermore, our find feature allows searching of partial names, hence searching for
Leah
would return all of them, hence the user would realise that they duplicated it. Also, the argument that the user might add a person ofLeah Soh
with 2 spaces, and again find forLeah Soh
with 2 spaces is even rarer.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]
UG states that duplicate names not allowed. This is not sensitive to white spaces (ie if the same name with two whitespaces in between first and last name is added, it is accepted), which could be a common user error.