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 343795 - Mortgage druid review gives bad results
Mortgage druid review gives bad results
Status: VERIFIED FIXED
Product: GnuCash
Classification: Other
Component: Scheduled Transactions
2.0.x
Other All
: Normal normal
: ---
Assigned To: Josh Sled
Josh Sled
: 120938 (view as bug list)
Depends on:
Blocks: 347575
 
 
Reported: 2006-06-04 02:07 UTC by jlquinn
Modified: 2018-06-29 21:07 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
patch to fix bug (1.48 KB, patch)
2007-03-28 03:10 UTC, jlquinn
committed Details | Review

Description jlquinn 2006-06-04 02:07:59 UTC
Please describe the problem:
The mortgage druid is completely broken for me (and has been since this feature first appeared in 1.8).

I enter the parameters for my home mortgage, and the review shows ridiculous payment amounts and no principal or interest.

Steps to reproduce:
1. Start mortgage druid.
2. Enter the following on Loan info page
amount: 269000.00
rate: 4.990%
fixed
start: 4/03
length: 360
months remaining: 321 (automatic)

3. Options page:

pay taxes
pay insurance

4. Repaymnet page:

pay from a bank account
principal to a liability account
interest to an expense
frequency: monthly on the 5th

5. Tax page:
pick an amount ($500), direct to an expense account
part of payment transaction

6. Insurance page:
pick an amount ($100), direct to an expense account
part of payment transaction



Actual results:
On the review page, I see amortization for the current year.  But, each month's line is identical:

date       paymnt      principal    interest    taxes    insurance
XX/05/06   156,664.00                           500      100


Expected results:
I expect to see reasonable payments with principal and interest calculated.

Does this happen every time?
yes

Other information:
This is gnucash 1.9.6-3 in debian testing.

built from r14070 on 2006-05-16.

The exact same problem existed for me in 1.8.X.  The money file was created under 1.8
Comment 1 Josh Sled 2006-06-04 14:10:09 UTC
I cannot reproduce without automatic decimal point enabled

I can with it enabled.

Comment 2 Josh Sled 2006-06-04 15:02:13 UTC
Fixed in r14319, 1.9.7.  Thanks for the great bug report!
Comment 3 Josh Sled 2006-06-10 02:47:11 UTC
*** Bug 120938 has been marked as a duplicate of this bug. ***
Comment 4 jlquinn 2006-06-20 03:24:30 UTC
This broke again in 1.9.8, unfortunately.
Comment 5 Christian Stimming 2006-06-21 14:50:25 UTC
In which way is it broken in 1.9.8? In the same way as described by you in the initial description?
Comment 6 jlquinn 2006-06-21 15:56:00 UTC
Sorry about that.  Yes, it's the same breakage as the initial description.
Comment 7 jlquinn 2006-07-12 04:57:35 UTC
This is still broken in 2.0.0
Comment 8 jlquinn 2006-08-19 03:00:39 UTC
This is still broken in 2.0.1.

It was fixed for a brief shining moment in 1.9.7 and has been broken since then.  Is there a chance of getting a quick fix for this in again?
Comment 9 jlquinn 2007-03-28 03:10:28 UTC
Created attachment 85421 [details] [review]
patch to fix bug

Works for mainline, tested with both auto_decimal enabled and disabled
Comment 10 Josh Sled 2007-04-03 00:56:39 UTC
trunk/@15777.
Comment 11 Derek Atkins 2007-04-21 19:19:33 UTC
backported to 2.0 branch in r15955.
Fix will be in 2.0.6 (and it was in 2.1.0)
Comment 12 Derek Atkins 2007-04-21 19:22:03 UTC
Actually, it was in r15956
Comment 13 John Ralls 2018-06-29 21:07:10 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=343795. Please update any external references or bookmarks.