Skip to content

Overzealous Input validation for names in 'add' command #2480

@nus-pe-bot

Description

@nus-pe-bot
  1. Description

adding a user "Vivian s/o Balakrishan" to the application throws an error message: "Subject names should be alphanumeric"

  1. Steps to reproduce

add n/Vivian s/o Balakrishnan g/M p/83465432 e/[email protected] s/CS2103

  1. Expected

User successfully added.

  1. Actual

Subject names should be alphanumeric

Screenshot 2025-04-11 at 4.31.53 PM.png

  1. Rationale

As this bug effectively disallows any user with "s/o" in their names from being added to the application, I have rated the severity of this bug to be medium.

"s/o" is a common naming convention among the indian student population, which I believe are target users of the application as well


[original: nus-cs2103-AY2425S2/pe-interim#2475] [original labels: severity.Medium type.FunctionalityBug]

Metadata

Metadata

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions