nus-cs2103-AY2122S1 / pe-dev-response

0 stars 0 forks source link

Error message not appropriate for Search feature #5751

Open nus-se-bot opened 2 years ago

nus-se-bot commented 2 years ago

Steps to reproduce
search -t random

Expected result
Should tell me there isn't a tag random.

Actual result
Accepts input.

Screenshots
Screen Shot 2021-11-12 at 5.07.29 PM.png


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

jonas-chow commented 2 years ago

Team's Response

The search feature allows for partial matching of tags, as mentioned in the UG: "For search with NUSNET ID, group name or tag, partial search is supported."

Thus, it is impractical to enforce that the user input matches an existing tag, since we want to allow users to input values that only partially match some tags.

Duplicate status (if any):

--