Jai2501 / pe

0 stars 0 forks source link

Create Functionality Bug - 1 #2

Open Jai2501 opened 3 years ago

Jai2501 commented 3 years ago

Bug Description: Able to add a name, which just consists of numbers.

Steps to Reproduce:

  1. Create a profile using the create command, and for the name part use a number, eg: n/1234

Actual Output: Profile Created Successfully.

Expected Output: An Error Message Should have been displayed.

OS and Java Version: macOS Big Sur, Java 11.0.12

image.png

It could be escalated to a Medium Severity, because there are very rare instances of numbers in names.

nus-pe-bot commented 2 years ago

Team's Response

What if Elon Musk's son enrolled into NUS Comp Science? Or George the 5th?

Items for the Tester to Verify

:question: Issue response

Team chose [response.Rejected]

Reason for disagreement: All those names (Elon Musk's Son and George the 5th) do have alphabets in them. The name maybe alphanumeric, thats not the issue, the issue was the app accepting a name which only consists of numbers, that should have been checked and avoided by throwing an error message.