Open cashewnade opened 2 years ago
No details provided by team.
[The team marked this bug as a duplicate of the following bug]
Able to add a negative
amount
foradd
commandSteps to reproduce:
Similar to Issue #4 on the
edit
command.User is able to add a negative amount when adding an expense into the app.
add d/testing negative a/-1 t/2022-04-16
Expected:
A non-negative amount when adding an expense.
Actual:
[original: nus-cs2103-AY2122S2/pe-interim#726] [original labels: type.FunctionalityBug severity.High]
[This is the team's response to the above 'original' bug]
Rejected because it is a feature flaw, not a functionality bug. In addition, this feature flaw will not affect the functionality of the application, it will just render one expense invalid due to negative value and user can re-key the value. Hence, the severity should not be high too.
Team chose to mark this issue as a duplicate of another issue (as explained in the Team's response above)
Reason for disagreement: [replace this with your explanation]
Team chose [response.Rejected
]
Reason for disagreement: There should be enforcements done by the team to ensure that expenses entered by users are non-negative. If the user makes the mistake and the application does not remind them, it could lead to serious money management when it comes to large sums. It does cause inconvenience to most, if not all users.
Team chose [type.FeatureFlaw
]
Originally [type.FunctionalityBug
]
Reason for disagreement: [replace this with your explanation]
The command "add d/gundam t/2022-03-23 a/-15" ran without throwing an error, which should not be the case as expenses should be positive numbers.