nus-cs2103-AY2122S1 / pe-dev-response

0 stars 0 forks source link

Wrong display error message `Tags names should be alphanumeric` #4138

Open nus-pe-bot opened 3 years ago

nus-pe-bot commented 3 years ago

Command used: add n/Lulu Yousef d/2021-11-13 t/0800-2300 l/NUS SOC tag/CS2103 T tag/supplementary

The tag is alphanumeric, however, the error message still warns it. I guess it this case, it should warn something like Tag should only be one word.

image.png


[original: nus-cs2103-AY2122S1/pe-interim#4208] [original labels: severity.Low type.FunctionalityBug]

Jacobnbh commented 3 years ago

Team's Response

A whitespace is not an alphanumeric character. Therefore, the tag CS2103 T is NOT alphanumeric and the error message supplied is thus correct.

Duplicate status (if any):

--