Created attachment 152531 [details] screenshot of the principal and interest step SUMMARY Trying to change interest rate on a load account and can't "leave empty" Principal and interest field at the corresponding step of the wizard. If I leave the field empty it magically becomes 0.00. When I enter the new interest rate at the next step I cannot go past it because the Wizard complain that the values do not match and I should leave one of them empty. STEPS TO REPRODUCE 1. Launch Edit loan wizard and select Modify the interest rate option 2. Select variable rate, etc 3. Try to leave Principal and interest value empty 4. Enter new interest value OBSERVED RESULT Wizard complains about mismatching values. EXPECTED RESULT Wizard should accept the new interest rate and calculate other parameters based on it. SOFTWARE/OS VERSIONS KDE Frameworks Version 5.98.0 Qt Version 5.15.5 (built against 5.15.5) The xcb windowing system ADDITIONAL INFORMATION
Created attachment 152532 [details] the error box
Git commit b5799bc901ea24d5e0ecb8df60e5dea50966f972 by Thomas Baumgart. Committed on 28/01/2023 at 07:24. Pushed by tbaumgart into branch '5.1'. Allow empty fields for calculation (cherry picked from commit 3ee4f7de1e288c49e26ce6fad00ae3e915b22f9d) FIXED-IN: 5.1.4 M +2 -0 kmymoney/wizards/newloanwizard/finalpaymentwizardpage.cpp M +2 -0 kmymoney/wizards/newloanwizard/interesteditwizardpage.cpp M +2 -0 kmymoney/wizards/newloanwizard/paymenteditwizardpage.cpp M +2 -0 kmymoney/wizards/newloanwizard/paymentwizardpage.cpp https://invent.kde.org/office/kmymoney/commit/b5799bc901ea24d5e0ecb8df60e5dea50966f972
Created attachment 160681 [details] repro step 1
Created attachment 160682 [details] repro step 2
Created attachment 160683 [details] repro step 3
Created attachment 160684 [details] repro step 4
Created attachment 160685 [details] repro step 5
Created attachment 160686 [details] repro step 6
I am afraid that the change (as applied to 5.1 branch) has not fully fixed the issue for me. It does allow to leave the fields as empty and that fixes the original problem. But even if I leave one of the fields empty the wizard produces an error saying that I entered inconsistent values. Please see attached repro step 1 -6 images. It's possible that I am doing something wrong or that my earlier experiments created some sort of an edge case in the database (e.g., the current interest rate of zero). Could you please review this report?
Please specify exactly which version you are using to test, to be sure that version does include the fix.
(In reply to Jack from comment #10) > Please specify exactly which version you are using to test, to be sure that > version does include the fix. This is branch 5.1 updated today in a Git repo cloned from https://invent.kde.org/office/kmymoney.git
The branch is at commit 581d3ef3940828479eb6a71cfd981760950b8839
I just (re)found this bug - did you mean to reopen it? You added screenshots but did not change the state.