CS2103-AY1819S2-W16-1 / main

UniLA
https://cs2103-ay1819s2-w16-1.github.io/main/
0 stars 1 forks source link

Name cannot be a number #163

Closed nus-se-bot closed 5 years ago

nus-se-bot commented 5 years ago

Name added into address book cannot be a number I added "51" as a friend on address book.

Suggestion A person's name cannot be a number right? Unless it's a prisoner. Is there anyway you can sanitise the input? Then again, I"m sure it's up to the user how he wants to save the person's contact. If during PE, you just need to justify why adding number as a name is okay if you're not going to modify it.

Additional context image


Reported by: @jeraldtsy Severity: Low

[original: nus-cs2103-AY1819S2/pe-dry-run#551]

jwl1997 commented 5 years ago

bug fixed, thanks