nus-cs2103-AY2021S1 / pe-dev-response

0 stars 0 forks source link

No error message when specifying inappropriate input for finding jobs by priority status #4179

Open nus-pe-bot opened 3 years ago

nus-pe-bot commented 3 years ago

When using the find job command to search by job's priority status, there is no error message when i provide an invalid priority type search term, for e.g find job p/VERY HIGH despite the application stating that priority can only take on 3 values, high, low or medium when adding a job.

Expected

Application indicates to user that invalid search term has been provided.

Actual

The application executes the search anyway and an empty list is always returned.

Reproduction

  1. Type in find job p/VERY HIGH
  2. Search executes even though invalid priority level is given and always returns an empty list

Capture4.JPG


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

g-erm commented 3 years ago

Team's Response

No response provided.

Duplicate status (if any):

Duplicate of #4177