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:
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.
Steps to Reproduce:
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:
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