Open mrweikiat opened 3 years ago
Not a bug.
tim@localhost
[The team marked this bug as a duplicate of the following bug]
invalid email inpiut
Email with no '.com' domain passes through. should handle it.
[original: nus-cs2103-AY2021S2/pe-interim#2613] [original labels: severity.Medium type.FunctionalityBug]
[This is the team's response to the above 'original' bug]
Not a bug.
- This format is intentionally accepted, see #245, e.g.
tim@localhost
- Severity = Low: Outside of normal use
- Bug report type = FeatureFlaw: Behaviour is clearly specified in UG, see below.
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]
Team chose [response.Rejected
]
Reason for disagreement: tim@tim is not an email, so there should at least be error thrown for not following to the format of the email eg: USER_NAME@DOMAIN_NAME.COM . If not, tim@time.commm is also a valid input, tim@tim.com.sggg is also a valid input. Should handle these cases as well, since currently these emails are valid test cases
Team chose [type.FeatureFlaw
]
Originally [type.FunctionalityBug
]
Reason for disagreement: [replace this with your explanation]
Team chose [severity.Low
]
Originally [severity.Medium
]
Reason for disagreement: [replace this with your explanation]
tried command: add -n bob -e death_69@example Expected: error to be thrown because it is an invalid email with no .com Actual: Valid test case and was added to the list