NiniJiaying / pe

0 stars 0 forks source link

[project command] inaccurate error message #6

Open NiniJiaying opened 3 years ago

NiniJiaying commented 3 years ago

Issue description

inaccurate error message for project index

Steps to reproduce the issue

  1. type "project 1 v/hi"

What's the expected result?

What's the actual result?

nus-pe-bot commented 3 years ago

Team's Response

This is the expected behaviour. It is described on page 8 of our UG:

image.png

Since the project command only takes an index as its parameter, any input after project should be considered as part of the index parameter. This is consistent with all our other commands.

Following the explanation above, 1 v/hi will be taken as the project index, which is invalid, hence the The project index provided is invalid. error message.

Items for the Tester to Verify

:question: Issue response

Team chose [response.Rejected]

Reason for disagreement: The current error message is not very clear or intuitive to users. The user won't know what is wrong as they already provided a correct index, instead, the error message could be something like "The wrong format is given. The format should be ...".


:question: Issue severity

Team chose [severity.VeryLow] Originally [severity.Medium]

Reason for disagreement: [replace this with your explanation]