GNOME Bugzilla – Bug 719471
Unused commodities saved to XML file
Last modified: 2018-06-29 23:22:03 UTC
Created attachment 263004 [details] minimal XML file with all commodities included Hello, when saving an XML file from GnuCash 2.5.8 (the same was not observed with 2.4.10), the resulting XML file includes "<commodity>" blocks for all possible currencies, each providing only the "user_symbol" slot. This seems not to be by design, because the commodity count at the start of book is still equal to 1 ('<gnc:count-data cd:type="commodity">1</gnc:count-data>'). This is suboptimal because: - the commodity count is not consistent with the data - those many unused commodities lengthen and complicate the file for no good reason, and might break scripts which worked with 2.4 (I know these are weak reasons) - the file now includes non-ASCII characters, which might break misconfigured systems (you know, like the one at your prefered tax office...) Cheers, Baptiste
This problem has been fixed in the development version (right after 2.5.8 got released). The fix will be available in the next major software release. Thank you for your bug report.
GnuCash bug tracking has moved to a new Bugzilla host. This bug has been copied to https://bugs.gnucash.org/show_bug.cgi?id=719471. Please update any external references or bookmarks.