nus-cs2103-AY2122S1 / pe-dev-response

0 stars 0 forks source link

Tag command issue #5695

Open nus-se-bot opened 2 years ago

nus-se-bot commented 2 years ago

Environment

Windows 11, java version 11.0.9

Steps to reproduce

edit 1 /tag pay-Kai-Min,-Ryan

Expected Result

tag gets edited to pay-kai-min,-ryan

Actual Result

error is thrown Screenshot 2021-11-12 164803.png

But the person who I need to pay to is named Kai Min, Ryan. How do I include him?


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

yzhilong commented 2 years ago

Team's Response

User guide states: Tag: a single word (or dash-separated words) attribute assigned to the game which can be used to categorize the game.

The format has been defined to be dash-separated words. Strings with commas are not allowed for tags.

In app error states: Tags names should be alphanumerical values connected by dashes and separated by commas.

Having commas in your tag name violates the format defined. Alphanumerical values do not include commas.

Both definitions are consistent and the input here is unallowed as tags.

Duplicate status (if any):

--