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
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
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.
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
student n/John Doe id/A0123456X p/98765432 e/johnd@com a/311, Clementi Ave 2, #02-25 t/friends t/owesMoney
Screenshots
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]