nus-cs2103-AY2425S1 / pe-dev-response

0 stars 0 forks source link

Failed input validation for email address #3328

Open nus-pe-bot opened 1 week ago

nus-pe-bot commented 1 week ago

Summary

Expected Behavior: While trying to add a contact with invalid email address format (such as johnd@com), the contact should not be added and the user should be prompted an error message saying that the contact that the user trying to add is with an invalid email address.

Actual Behavior: While trying to add a contact with invalid email address format, the contact is added and the user is prompted a success message.


Steps to Reproduce

  1. run command student n/John Doe id/A0123456X p/98765432 e/johnd@com a/311, Clementi Ave 2, #02-25 t/friends t/owesMoney

Screenshots

image.png


Reasoning for Severity

This can be considered as a low feature flaw as the application fails to validate inputs correctly, meaning the user can give in any email address with invalid format and will not be prompted by the app at all and thus can cause a minor inconvenience for user.


[original: nus-cs2103-AY2425S1/pe-interim#2285] [original labels: type.FeatureFlaw severity.Low]

ruiming97 commented 1 week ago

Team's Response

No details provided by team.

Duplicate status (if any):

Duplicate of #566