Bug 423287 - Loan Payments Calculator Fails If Numbers Modified After "Calculate" is Pushed
Summary: Loan Payments Calculator Fails If Numbers Modified After "Calculate" is Pushed
Status: REPORTED
Alias: None
Product: kmymoney
Classification: Applications
Component: general (show other bugs)
Version: git (master)
Platform: Other Linux
: NOR minor
Target Milestone: ---
Assignee: KMyMoney Devel Mailing List
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2020-06-20 18:40 UTC by jmadero
Modified: 2020-06-20 18:40 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description jmadero 2020-06-20 18:40:49 UTC
SUMMARY
The "calculate" button in the loan creation wizard works the first time but subsequently fails and gives error message: "You have entered mis-matching information. Please modify your figures or leave one value empty to let KMyMoney calculate it for you" if a number is modified post-calculation.

STEPS TO REPRODUCE
1. Set up a new loan;
2. On the "payment" tab - enter numbers for loan amount, interest rate, and term
3. Push "calculate"
--calculation done correctly - "Payment (principal and interest)" should now be filled with a value, potentially value in "balloon payment" depending on values used in test
4. Modified the loan term (example: add 12 months, or 1 year)
5. Delete both values previously calculated (balloon and payment)
6. Push "calculate" again to calculate new value based on modified loan term

OBSERVED RESULT
Error dialog appears: "You have entered mis-matching information. Please modify your figures or leave one value empty to let KMyMoney calculate it for you"


EXPECTED RESULT
A new calculation occurs incorporating modified term length


SOFTWARE/OS VERSIONS
Linux/KDE Plasma: Bodhi Linux running Moksha


ADDITIONAL INFORMATION
Because of this bug, the only way I can get the calculation to work post-modified loan is to start from scratch with the loan dialog.