nus-cs2103-AY2122S1 / pe-dev-response

0 stars 0 forks source link

Error message not appropriate with incorrect nusnet id #5829

Open nus-se-bot opened 3 years ago

nus-se-bot commented 3 years ago

Screen Shot 2021-11-12 at 5.09.11 PM.png Should tell me that id doesn't exist, instead accepts input.


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

jonas-chow commented 3 years ago

Team's Response

The UG states: "For search with NUSNET ID, group name or tag, partial search is supported."

Hence we cannot give the error "the ID you have entered does not exist" as it would otherwise be misleading

Your command is searching for students with IDs that contain the string "a0812", and is indeed a valid command.

For example: the following command works:

Screenshot 2021-11-13 at 9.01.21 PM.png

Duplicate status (if any):

--