MiloTruck / pe

0 stars 0 forks source link

"a__a" is not accepted as the local part of the email #2

Open MiloTruck opened 1 week ago

MiloTruck commented 1 week ago

Description:

According to the user guide, the local part of the email is valid as long as it follows the following rules:

Local-part: Can contain alphanumeric characters and these special characters: + _ . -

  • Cannot start or end with special characters.

Based on the validation rules above, a__a should be a valid local part. However, when attempting to enter any email with a__a as the local part, the application shows an error stating that the email format is incorrect.

Steps to reproduce:

Enter the following command:

 add n/John Doe nric/S6483749D p/98765432 e/a__a@example.com a/311,
 Clementi Ave 2, #02-25 t/backPain t/diabetic role/patient

An error stating that the email has an invalid format will be displayed.

nus-pe-script commented 4 days ago

[IMPORTANT!: Please do not edit or reply to this comment using the GitHub UI. You can respond to it using CATcher during the next phase of the PE]

Team's Response

I acknowledge this is a valid functionality bug as our implementation doesn't match what's documented in the UG regarding email validation rules. However, I would like to suggest downgrading the severity from Medium to Low because:

While we agree this is a bug that should be fixed to fully match our documented rules, its impact on regular usage is minimal enough to warrant Low severity classification.

Items for the Tester to Verify

:question: Issue severity

Team chose [severity.Low] Originally [severity.Medium]

Reason for disagreement: [replace this with your reason]