nus-cs2103-AY2122S2 / pe-dev-response

0 stars 0 forks source link

Incorrect error message when invalid fields are used for add #2523

Open nus-pe-bot opened 2 years ago

nus-pe-bot commented 2 years ago

Issue

When using add and supplying idt/, which according to the UG is invalid, the following error message shows up.

image.png

Input

add n/Shopee j/Software Engineer a/somewhere p/11111 e/hr@shopee.com pt/LOW ast/NOT_APPLIED idt/2022-05-27 13:00


[original: nus-cs2103-AY2122S2/pe-interim#2501] [original labels: severity.Low type.FunctionalityBug]

lchokhoe commented 2 years ago

Team's Response

Reject this Bug. idt/ is not accepted in "add" command hence the input is read as "NOT_APPLIED idt/2022-05-27 13:00" for ast/ which is invalid. The error message that is printed is accurate. It was also mentioned that idt/ is not an accepted parameter for Add Command for the UG.

Duplicate status (if any):

--