Bug 421025

Summary: Loan: Button "Next" in "Edit account" without function
Product: [Applications] kmymoney Reporter: Eugen Albiker <eugen>
Component: generalAssignee: KMyMoney Devel Mailing List <kmymoney-devel>
Status: REPORTED ---    
Severity: normal CC: lp.allard.1
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: Appimage   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Eugen Albiker 2020-05-04 21:21:09 UTC
SUMMARY
I deleted a "scheduled transaction" for a "loan". Then I "edit account" for the loan.
After entering the "Interest rate" in the "edit accound" wizard the button "next" is without function

STEPS TO REPRODUCE
1. Delete the "scheduled transaction" for a "loan"
2. Goto "Ledgers" and "edit account" for the loan
3. Select "modify the interest rate" and go through the wizard
4. After entering the "Interest rate" the button "next" is without function

OBSERVED RESULT
User stuck in wizard without a hint, why the "next" button doesn't work.
Only "cancel" the wizard is possible

EXPECTED RESULT
I want to recreate(!) the "scheduled transaction"


SOFTWARE/OS VERSIONS
Linux/KDE Plasma: KDE Frameworks 5.68.0
Qt 5.12.8 (kompiliert gegen 5.12.8)
Das xcb Fenstersystem 

ADDITIONAL INFORMATION
kmymoney version "KMyMoney-5.0.8-2812ef6-x86_64.AppImage"
Enclosed I have made a video :-)
Comment 1 Jack 2020-05-04 21:36:21 UTC
Please specify exactly which version of the appimage you are using (from Help/About KMyMoney).  This sounds like it may be related to another problem that has very recently been fixed related to editing loans after deleting the scheduled transaction.
Comment 2 Eugen Albiker 2020-05-04 21:53:27 UTC
Hi Jack,

kmymoney version "KMyMoney-5.0.8-2812ef6-x86_64.AppImage"
This is the most recent version from yesterday - the fix which you refer to (I reported that), is in the version I am now using already fixed. So the this is a new problem.
Comment 3 Eugen Albiker 2020-11-13 21:29:46 UTC
Hi,

I testet the issue with the newest AppImage KMyMoney-5.1.80-b5e12f7-x86_64.AppImage. 
The issue, which I described on "2020-05-04 21:21:09" still exists.
--> After entering the "Interest rate" the button "next" is without function
Nothing happens on click on "next"

Important is the step 1 ("Delete the "scheduled transaction" for a "loan"")

Greetings
Eugen
Comment 4 Thomas Baumgart 2020-11-14 09:47:47 UTC
Don't use master (identified by 5.1.80) for production. Use the stable version (aka 5.1.0....) instead. It might not make a difference for the problem you encounter, but it is a lot more stable than master.
Comment 5 lp.allard.1 2022-02-20 17:01:12 UTC
I have the same exact problem with 5.0.8 ***and with*** AppImage 5.1.2-83e127485 (freshly downloaded on 2022-02-19).  When I try to rename an old load that was closed a long time ago, the wizard will not let me get past the "Final amortization" window.

Steps:

1.  Right click on load > Edit Account
2.  Click Next
3.  Click "Modify other load information" -> There should be a way to simply rename the load and not have to go through all the mathematics (interest, balloon payment, etc).  In my experience, once the load is setup and running, the less we play with these the better....
4.  When the changes should become active:  enter today's date then click Next
5.  Modify name of load then click next
6.  When does the actual interest rate gets calculated? -> Leave as-is and click next
7.  Please enter the interest rate... leave as is and click next
8.  Term of this loan:  leave as is and click next
9.  Principal and interest:  leave as is and click next
10.  Final amortization: leave as is and click next

The next button does nothing.
Comment 6 lp.allard.1 2022-04-18 14:12:48 UTC
Just tested with latest AppImage (on 2022-04-18) ==> kmymoney-5.1-85-linux-64-gcc.AppImage

IN the terminal I can see the following message show up when I press the next button:

Occurrence not supported by financial calculator

I tried also erasing the amount of the balloon payment thinking it was a miscalculation from KMM and that it would recalculate it, but it replaces the empty text box with 0.00 and the above message is issued in the terminal.
Comment 7 Thomas Baumgart 2022-04-18 14:37:17 UTC
I checked the source and it seems (and I kind of remember to have skipped implementation of that function when I wrote the loan part in the range of 15+ years ago) that one cannot recreate a once deleted schedule of a loan. I know, bummer. The side effect of a hung wizard is not acceptable, though.