Open nus-pe-bot opened 4 years ago
Bug occurred due to bug #526 as a result of the budget amount error. From the screenshots provided, it is deduced that before this, the user has added expenses such that the budget amount for the Food category has exceeded $9999999.99, triggering the bug as shown in #526.
While bug is accepted, the team feels that the severity of the bug should not be high as this only occurs in uncommon situations when the user added the expenses such that the budget amount exceeds $9999999.99.
While it is not a direct duplicate, the bug is a follow up bug of #526.
Summary: Weird behaviour of
addExpense
command.Steps to reproduce:
addExpense cat/Food n/Mala amt/1 d/2019 11 09 tg/food tg/indulgence
)Expected results: I should be notified that I am successful in adding the expense and that I have exceeded the budget.
Actual results: I am notified with an error that the budget amount should only contain numbers, and it should be only 2 decimal points at maximum. It should also not be bigger than 9999999.99, which is not the case since my expense is a legitimate number)
Screenshot of issue:
[original: nus-cs2103-AY1920S1/pe-interim#15]