AY2425S1-CS2103T-F13-1 / tp

MIT License
0 stars 5 forks source link

[PE-D][Tester B] Name validation restricts important special characters #269

Closed nus-pe-script closed 2 days ago

nus-pe-script commented 5 days ago

Steps to Reproduce:

  1. Enter command add n/Mary-Anne p/9876543 e/mary-anne@gmail.com

Expected Behaviour: System should allow person to be added.

Actual Behaviour: System does not allow adding person with hyphen in their name.

Screenshot of Behaviour:

Screenshot 2024-11-08 at 4.52.56 PM.png

Explanation Hyphenated names are valid names for potential users of the system (or names with '/' character, such as names with S/O or D/O), so restricting this input might not allow complete tracking of all students.

Suggestion for Improvement Including hyphens or slashes (and other valid characters that can be in names) in the validation regex for student names.


Labels: severity.Medium type.FeatureFlaw original: dasha3412/ped#6

S-K-Y-Light commented 4 days ago

Update UG/DG: Names reject special characters, except , and spaces