Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Inaccurate error message when viewing task #9

Open
kerct opened this issue Nov 13, 2020 · 1 comment
Open

Inaccurate error message when viewing task #9

kerct opened this issue Nov 13, 2020 · 1 comment

Comments

@kerct
Copy link
Owner

kerct commented Nov 13, 2020

image.png

The issue is not that parameters are missing, but rather the wrong index is given. Perhaps you can follow the format of the first error message, or say that the index is invalid.

Similarly:
image.png

@nus-pe-bot
Copy link

nus-pe-bot commented Nov 18, 2020

Team's Response

This bug shares similarities to #2952 involving the parser and the task command classes. However, since this does not involve the hyphen, it will not be marked as a duplicate.

The message could be improved to remind the users not to type extra spaces in between lines. Hence, this is a valid bug and will be accepted.

Items for the Tester to Verify

❓ Issue severity

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

  • I disagree

Reason for disagreement: Sorry, I don't get what you mean by "remind the users not to type extra spaces in between lines". This issue is referring to the wrong error message as seen in the screenshots. I feel that it affects normal operations of the product if the user thinks that he/ she is missing some parameters and continues to try adding more parameters, which does not solve the problem. Besides, it does not appear in rare situations as I encountered it quite a few times, and could happen easily when the user types wrongly.


Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants