nus-cs2113-AY2021S2 / pe-dev-response

0 stars 0 forks source link

Input data: add (error message) #839

Open nus-pe-bot opened 3 years ago

nus-pe-bot commented 3 years ago

image.png When I input add t/D f/protein w/19 date 16-03-2021, this cannot be recorded successfully should because I forgot the "/ " after I type "date", the error message could be improved.


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

Song0180 commented 3 years ago

Team's Response

since the keyword for date "date/" is not detected, the application will consider the whole part "19 date 15-03-2021" as weight input, hence the application will not recognize the input as a valid weight. The command line application will not be as smart as GUI application and can always recognize the correct divider position for invalid input.

Duplicate status (if any):

--