joshuayapwj98 / pe

0 stars 0 forks source link

[editc] Able to enter an empty address #3

Open joshuayapwj98 opened 2 years ago

joshuayapwj98 commented 2 years ago

Steps to reproduce

  1. type in the editc command
  2. edit the first customer on the list

    editc 1 a/" "

Expected Detect that it is an empty string and display an error message

Actual Address of customer 1 was changed to a blank address

Screenshot

Capture.PNG

soc-se-bot commented 2 years ago

Team's Response

Thank you for the report. If the address is inputted, it is not allowed to be blank like what we have tested as shown in the image below.

image.png

Based on the command the tester used editc 1 a/" ", it is not a legit blank address as there is the presence of double quotation marks ("").

image.png

Items for the Tester to Verify

:question: Issue response

Team chose [response.Rejected]

Reason for disagreement: Hi, I understand that the team has catered for empty string cases. However, my input was different from the team's one to counter this point.

My input has allowed for an empty string as an address and, therefore, does not follow the function behaviour. If possible, perhaps the severity can be decreased to Low. However, this persists as an issue.