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 511182 - QIF Import: Saved commodity mappings lost after import to new GnuCash file
QIF Import: Saved commodity mappings lost after import to new GnuCash file
Status: VERIFIED FIXED
Product: GnuCash
Classification: Other
Component: Import - QIF
2.2.x
Other All
: Normal minor
: ---
Assigned To: Charles Day
Derek Atkins
Depends on:
Blocks: backport
 
 
Reported: 2008-01-22 05:28 UTC by Charles Day
Modified: 2018-06-29 22:00 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
QIF file demonstrating the bug (173 bytes, text/plain)
2008-01-22 05:30 UTC, Charles Day
Details

Description Charles Day 2008-01-22 05:28:40 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.
Comment 1 Charles Day 2008-01-22 05:30:23 UTC
Created attachment 103399 [details]
QIF file demonstrating the bug
Comment 2 Charles Day 2008-04-10 21:00:49 UTC
Fix committed as r17074. Requesting backport for 2.2.
Comment 3 Andreas Köhler 2008-04-22 22:56:06 UTC
Applied to branches/2.2 as r17107 for GnuCash 2.2.5.
Thanks a lot!
Comment 4 John Ralls 2018-06-29 22:00:04 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=511182. Please update any external references or bookmarks.