GNOME Bugzilla – Bug 511182
QIF Import: Saved commodity mappings lost after import to new GnuCash file
Last modified: 2018-06-29 22:00:04 UTC
Please describe the problem: The QIF importer remembers the namespaces and mnemonics that were entered for previously imported QIF securities, but this information is lost after importing to a new GnuCash file. Steps to reproduce: 1. Make a backup your qif-accounts-map file, then remove the original. 2. Start GnuCash with --nofile. 3. Import the attached QIF file. 4. Notice that the mapping of the QIF security name to the GnuCash commodity's namespace ("NYSE") and mnemonic ("C") has been saved in qif-account-map. 5. Restart GnuCash, again with --nofile. 6. Import the same QIF file. Actual results: The qif-account-map still contains the QIF security name, but the GnuCash commodity's namespace and mnemonic have been lost (both are ""). The mapping is now completely useless. Expected results: The qif-account-map is unchanged. Does this happen every time? Yes Other information: This bug is related to bug 511006, but not a duplicate. 511006 is easy to fix and may be patched on its own, whereas fixing this bug requires a larger effort.
Created attachment 103399 [details] QIF file demonstrating the bug
Fix committed as r17074. Requesting backport for 2.2.
Applied to branches/2.2 as r17107 for GnuCash 2.2.5. 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=511182. Please update any external references or bookmarks.