We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
The 'add' command does not properly validate phone numbers, allowing for non-valid phone numbers to be entered into the application.
add cn/Google n/John Doe p/123 e/[email protected] a/311, Clementi Ave 2, #02-25 tt/121220221400 i/Birthday: 12 May 2001 s/5000 pl/Java t/friends t/owesMoney pri/2
123
The application should validate that p/123 is not a valid phone number and prevent the addition of the record until a valid phone number is provided.
p/123
The application allows an invalid phone number p/123 to be used in the add command and creates a new person record with this invalid phone number.
add
Proper validation checks for phone number formats should be implemented to ensure that only valid phone numbers are accepted by the 'add' command.
Labels: severity.Low type.FunctionalityBug original: jmsandiegoo/ped#9
severity.Low
type.FunctionalityBug
The text was updated successfully, but these errors were encountered:
Lalelulilulela
Successfully merging a pull request may close this issue.
Description
The 'add' command does not properly validate phone numbers, allowing for non-valid phone numbers to be entered into the application.
Steps to Reproduce
add cn/Google n/John Doe p/123 e/[email protected] a/311, Clementi Ave 2, #02-25 tt/121220221400 i/Birthday: 12 May 2001 s/5000 pl/Java t/friends t/owesMoney pri/2
123
as a valid phone number and adds the record.Expected Behavior
The application should validate that
p/123
is not a valid phone number and prevent the addition of the record until a valid phone number is provided.Actual Behavior
The application allows an invalid phone number

p/123
to be used in theadd
command and creates a new person record with this invalid phone number.Additional Information
Proper validation checks for phone number formats should be implemented to ensure that only valid phone numbers are accepted by the 'add' command.
Labels:
severity.Low
type.FunctionalityBug
original: jmsandiegoo/ped#9
The text was updated successfully, but these errors were encountered: