GNOME Bugzilla – Bug 512497
Investment transactions ignore payee/memo mappings
Last modified: 2018-06-29 22:00:15 UTC
Please describe the problem: The druid asks the user to create mappings of payees and memos to accounts. This mapping is supposed to be used when an account or category is missing. These mappings are being ignored for investment transactions. Steps to reproduce: 1. Begin importing the attached QIF file. 2. At the druid's "Match payees/memos to GnuCash accounts" step, change each entry to something other than "Unspecified". 3. Finish importing the QIF file. Actual results: The imported transactions all use the Unspecified account. Expected results: The imported transactions use the accounts specified in the "Match payees/memos to GnuCash accounts" step. Does this happen every time? Yes. Other information:
Created attachment 103859 [details] QIF file demonstrating the bug
Created attachment 103870 [details] [review] Proposed patch I've tested this patch on several different types of investment transactions. It works on those that require an account or category, such as BuyX, SellX, and XIn. Transactions that don't use accounts or categories, such as Buy and Sell, are unaffected (as expected).
Created attachment 103871 [details] [review] Proposed patch (ignore previous) Whoops... I attached the wrong file previously. This is the right one.
trunk@16906, awaiting backport for 2.2.4. Thanks!
Applied to branches/2.2 as r16917 for GnuCash 2.2.4. Thanks a lot!
GnuCash bug tracking has moved to a new Bugzilla host. This bug has been copied to https://bugs.gnucash.org/show_bug.cgi?id=512497. Please update any external references or bookmarks.