GNOME Bugzilla – Bug 119001
Multiple bugs in mortgage/loan repay druid (patch included)
Last modified: 2018-06-29 20:35:56 UTC
1. In the review panel of the druid, the first transaction is incorrect. The second should be the first and the third should be the second and so on. 2. There are n+1 payments listed for an n-month loan 3. Both 1 and 2 also occur in the created sched transaction. 4. The sched transaction creator makes the first repayment date the 'last made payment' of the sched xaction. This means that the first repayment won't happen until one month later. 5. If you use the druid to pick up in the middle of an existing loan (e.g. 12 payments have already been made), the first one the sched xaction creator will make is the 12th, not the 13th Resolution: All of these were caused by recurring off-by-one errors in druid-loan.c. Patch attached.
Created attachment 18872 [details] gzipped patch for this bug
*** Bug 112737 has been marked as a duplicate of this bug. ***
*** Bug 105225 has been marked as a duplicate of this bug. ***
FTR, I'm looking at this patch. Josh, if you object, let me know ;)
patch applied to CVS (head and 1.8) and should be fixed in 1.8.5 Thanks!
GnuCash bug tracking has moved to a new Bugzilla host. This bug has been copied to https://bugs.gnucash.org/show_bug.cgi?id=119001. Please update any external references or bookmarks.