nus-cs2103-AY2021S1 / pe-dev-response

0 stars 0 forks source link

Tag containing whitespaces does not return the correct error message #5979

Open nus-pe-bot opened 3 years ago

nus-pe-bot commented 3 years ago

Steps to reproduce:

  1. execute "tag 2 -t Soon to expire" (assuming there are at least 2 food items)

Expected: Return a message saying that "Tag containing whitespaces is not allowed"

Actual: Returns an error message saying that "Tag names should be alphanumeric and less than 20 characters"

Screen Shot 2020-11-13 at 5.30.16 PM.png


[original: nus-cs2103-AY2021S1/pe-interim#5969]

aidoxe-123 commented 3 years ago

Team's Response

Thank you for the bug report.

Firstly, we will classify this as Low instead of Medium as this "issue" will rarely happen and thus not affect the usual operations of the app. Refer to the image below:

image.png

Alphanumeric has already mean that it cannot contain whitespace. Therefore, we reject this bug.

Alphanumeric, also known as alphameric, simply refers to the type of Latin and Arabic characters representing the numbers 0 - 9, > the letters A - Z (both uppercase and lowercase), and some common symbols such as @ # * and &.>

Source: https://study.com/academy/lesson/what-is-alphanumeric-definition-characters.html#:~:text=investigate%20shall%20we%3F-,Alphanumeric%20Defined,as%20%40%20%23%20*%20and%20%26.

Duplicate status (if any):

--