liuy1103 / pe

0 stars 0 forks source link

Confusing exception thrown for add command that contradicts the UG disclaimers #6

Open liuy1103 opened 2 months ago

liuy1103 commented 2 months ago

When input is add, app throws an exception The add function accepts 6 parameters: {name} {cook time} {calories} {singular slash separated allergies} {meal category} {url}. However, in the UG under disclaimers, it says that "parameters inside [ ] are compulsory, while those inside { } are optional".

Although it was specified in the UG that the disclaimers are meant for the document, but seeing the content of the exception thrown to guide users on the formatting of the add command does make it a little confusing (the disclaimer on the use of commas is accurate though).

image.png

image.png

nus-se-script commented 2 months ago

Your response not required for this bug as the team has accepted the bug as it is.