nus-cs2103-AY2021S1 / pe-dev-response

0 stars 0 forks source link

Wrong error message for delete command #5997

Open nus-pe-bot opened 3 years ago

nus-pe-bot commented 3 years ago

Description

When running command delete 0, McGymmy display an error message saying Index should be smaller than 2^31., while 0 is indeed smaller than 2^31. It is expected to be The food index provided is invalid.

How to Reproduce

Screenshot

Screenshot_20201113_163235.png


[original: nus-cs2103-AY2021S1/pe-interim#5988]

aidoxe-123 commented 3 years ago

Team's Response

The correct message should be "Index should be a positive integer smaller than 2^31". Thank you for the bug report

However, I believe this only cause minor inconvenience in rare situations only, so I will mark this bug's severity as Low

Duplicate status (if any):

--