Open tricixg opened 1 year ago
Error message not well defined and we forgot to consider this
[The team marked this bug as a duplicate of the following bug]
incorrect error message when using wrong prefix
to duplicate, 1) add a new contact, with a valid email however use the prefix m+/ which is not allowed.
The error message displayed is regarding the email format. However, there is no issue with the email format.
This could lead to confusion as Behavior is not specified and differs from normal expectations (error message does not match the error)
[original: nus-cs2103-AY2223S2/pe-interim#3952] [original labels: severity.Low type.FunctionalityBug]
[This is the team's response to the above 'original' bug]
Thanks for the find, we missed this edge case where the user uses a wrong prefix
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]
Behavior is not specified and differs from normal expectations (error message does not match the error)
to duplicate this, 1) have a contact with the email e0823741@u.nus.edu 2) add another contact with the same email as well as an incorrect prefix m+/
The error message that shows up is regarding an error in the format of the email instead of the email being a duplicate. Additionally, the m+/ prefix is incorrectly used and is not allowed in the add command. This error is also not specified in the error message.
This could lead to confusion by the user and makes it hard for the user to learn how to use the software properly