nus-cs2113-AY2223S1 / pe-dev-response

0 stars 0 forks source link

Wrong error message when enter description with space #773

Open nus-pe-bot opened 1 year ago

nus-pe-bot commented 1 year ago

When adding a transaction with description with spacing, it gives error message with "not supported tag detected" but there are no tags cuz no "/" appeared. Maybe the error message should be changed to "invalid description".

image.png


[original: nus-cs2113-AY2223S1/pe-interim#746] [original labels: severity.Low type.FunctionalityBug]

wcwy commented 1 year ago

Team's Response

Our user guide has clearly indicated that each parameter is separated by a space and user should not use any space within a parameter. As such, the error message raised by the tester is a correct and valid error message. The word "fare" here is treated as a tag here which is not supported by our program, and the suggestion by the tester where the error message should be changed to "invalid description" does not stand since the description i/bus is indeed a valid one.

image.png

As the bug raised by the tester is the correct expected behavior of the application, the bug is rejected.

Duplicate status (if any):

--