Open reetmitra opened 5 months ago
No details provided by team.
[The team marked this bug as a duplicate of the following bug]
Invalid Names Can be Added
Description:
User can input names with only numbers, although names do not have numbers.
Steps to Reproduce:
- Enter the following command "add n/87456187 p/96740636"
- Hit Enter
Expected Behaviour: Error Message: Names cannot have numbers, please try again
Actual Behaviour: Program accepts and runs the command, creates a person with a number as a name
Screenshot/Video:
Other Comments:
- Assigned medium because it can affect other functionality within the program
- It can also make the user confused between phone numbers and names, especially in the case of a typo
[original: nus-cs2103-AY2324S2/pe-interim#831] [original labels: severity.Medium type.FeatureFlaw]
[This is the team's response to the above 'original' bug]
We allow alphanumeric characters for contact names for flexibility of usage, for instance if the user wants to name their context alex1010. This is also stated in the UG.
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]
I used the command
add n/123 p/1234
and it added a person called 123. I think the name input should have the functionality to check that it only takes in letters?