After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 119001 - Multiple bugs in mortgage/loan repay druid (patch included)
Multiple bugs in mortgage/loan repay druid (patch included)
Status: VERIFIED FIXED
Product: GnuCash
Classification: Other
Component: Scheduled Transactions
git-master
Other Linux
: Normal normal
: ---
Assigned To: Josh Sled
Josh Sled
: 105225 112737 (view as bug list)
Depends on:
Blocks:
 
 
Reported: 2003-08-03 13:30 UTC by dhannum
Modified: 2018-06-29 20:35 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
gzipped patch for this bug (5.74 KB, application/x-gzip)
2003-08-03 13:32 UTC, dhannum
Details

Description dhannum 2003-08-03 13:30:20 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.
Comment 1 dhannum 2003-08-03 13:32:55 UTC
Created attachment 18872 [details]
gzipped patch for this bug
Comment 2 Derek Atkins 2003-08-03 19:59:46 UTC
*** Bug 112737 has been marked as a duplicate of this bug. ***
Comment 3 Derek Atkins 2003-08-03 20:00:24 UTC
*** Bug 105225 has been marked as a duplicate of this bug. ***
Comment 4 Derek Atkins 2003-08-03 20:13:26 UTC
FTR, I'm looking at this patch.  Josh, if you object, let me know ;)
Comment 5 Derek Atkins 2003-08-04 01:34:16 UTC
patch applied to CVS (head and 1.8) and should be fixed in 1.8.5

Thanks!
Comment 6 John Ralls 2018-06-29 20:35:56 UTC
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.