Open nus-pe-bot opened 4 years ago
The usability is not affected in this case. This error might be caused when there is already an error in the user's weight such as empty weight after user accidentally deleted all weight from the record. Thus the system might prompt the user to check the weight prior to using anymore functions in the program.
We can rectify this small UI issue by making the statement or intuitive for the user based on the command input if required.
Duplicate of #694
I believe the addf command does not have anything to do with weight. Not sure why it says 'Invalid index of weight! Please check and try again.' when the command format is not followed.
This causes occasional inconvenience to users when they enter the command wrongly (which could be rather common as it is easy to mistake -- for - in the command) but they can continue to use the product.
[original: nus-cs2113-AY1920S2/pe-interim#715]