nus-cs2113-AY1920S2 / pe-dev-response

0 stars 0 forks source link

Items containing phrases that matches flags cause invalid command to show #20

Open nus-pe-bot opened 4 years ago

nus-pe-bot commented 4 years ago

This is a bug because "ADD i/apple/orange p/3 q/1" works but "ADD i/bap/rice p/1 q/1" does not.

To reproduce the bug: enter "ADD i/bap/rice p/1 q/1" or enter item description that has p/ q/ i/ in the word itself that matches the flags.

image.png


[original: nus-cs2113-AY1920S2/pe-interim#28]

jiajuinphoon commented 4 years ago

Team's Response

Hi! For this command ADD i/bap/rice p/1 q/1, it will not work because the system will take p/rice as the price and price cannot be a string. Nonetheless, thank you for pointing it out and this issue will be downgraded to "Low" because it is not stated in the UG.

Duplicate status (if any):

--