AdityaB4 / pe

0 stars 0 forks source link

Email prefix accepts invalid top level domain in email address #7

Open AdityaB4 opened 7 months ago

AdityaB4 commented 7 months ago

Steps to reproduce:

Potential scenarios:

soc-pe-bot commented 7 months ago

Team's Response

There is no reason for us to implement overzealous input validation. Allowing such flexibility can in turn allow the user to use the software in their own preference while overzealous rejection of inputs can annoy the user.

https://nus-cs2103-ay2324s2.github.io/website/admin/tp-pe.html#feature-flaws-2

This is not a functionality bug as our EMAIL works as intended by accepting all TLDs.

Items for the Tester to Verify

:question: Issue response

Team chose [response.Rejected]

Reason for disagreement: I believe the section about overzealous input validation being cited here has been misinterpreted. The point for not having overzealous input validation is to allow for valid and sensible inputs to be represented in different ways. Example from the CS2103T website: phone numbers allowing brackets so that users can enter something along the lines of (H) <phone number> where <phone number> is any valid phone number.

However, in this case, allowing for an input that is not a valid or sensible email, i.e., some text that has an invalid TLD (like .techno) would be considered a bug. To add on to this, allowing for an invalid email input could cause loss of valuable information as mentioned in the original issue description.


## :question: Issue type Team chose [`type.FeatureFlaw`] Originally [`type.FunctionalityBug`] - [x] I disagree **Reason for disagreement:** I disagree since this fits under the definition of a functionality bug: "A functionality does not work as specified/**expected**.", as it does not work as one would **expect** an email input to work. Especially since these exist in many apps that are used regularly nowadays, creating a strong expectation from, or familiarity to an email input.
## :question: Issue severity Team chose [`severity.Low`] Originally [`severity.Medium`] - [x] I disagree **Reason for disagreement:** I disagree since this reasonably fits under the definition of a Medium bug: > severity.Medium : A flaw that causes occasional inconvenience to some users, but they can continue to use the product. Entering an invalid TLD would cause occasional inconvenience to some users, but they can continue to use the product by asking their client for the valid email again.