Open Shauryan123 opened 7 months ago
Thank you for your bug report. Unfortunately, our team will be rejecting this bug since your entered email is indeed a valid email address.
Apart from the specification in our user guide and product, you may wish to refer to the RFC on email address format: https://tools.ietf.org/html/rfc5322#section-3.4.1. In summary, the domain part of the email does not necessarily have to contain a "dot", which can be seen in email addresses in private networks.
Furthermore, in the case of multiple errors, there is no hard requirement on which error we are returning since users are expected to fix both of them anyways.
Team chose [response.Rejected
]
Reason for disagreement: I disagree with the development team's decision to reject this bug on the basis that the entered email could technically be valid according to RFC specifications. The core issue at hand is not solely the validity of the email format, but rather the appropriateness and accuracy of the error message provided by the application when an error is detected. The specific error message received ("This courseMate already exists in the contact list. Consider adding a suffix to disambiguate") is misleading and does not accurately reflect the nature of the error encountered, which in this case is related to an email address that is unusual and likely unintended by a typical user.
The application's response should guide users more effectively by indicating the specific error with the input. Misleading error messages can cause confusion and inefficiency as users may attempt to resolve a non-existent issue (duplicate contact) rather than the real problem (email format). This constitutes a significant usability issue as it affects the user's ability to correctly and efficiently input data.
Error message for adding a person with an invalid email does not correspond to the error. Instead of "email is invalid" we get This courseMate already exists in the contact list. Consider adding a suffix to disambiguate
Steps to reproduce:
Command to enter: add shaun too -e johnd@examplasfasfasfs -p 98765432 -t johndoe -s Python -s Java