GNOME Bugzilla – Bug 412673
invisible accounts are being added on save
Last modified: 2018-06-29 21:28:09 UTC
Please describe the problem: After a save new accounts are appearing the the save XML file Steps to reproduce: 1. Start gnucash 2. select save 3. compare XML file Actual results: New acconts of form <gnc:account version="2.0.0"> <act:name>abb81bfd740a28b739dd18e8787140bf</act:name> <act:id type="guid">655386190b0f7fe80c9e834446c57340</act:id> <act:type>BANK</act:type> <act:commodity> <cmdty:space>template</cmdty:space> <cmdty:id>template</cmdty:id> </act:commodity> <act:commodity-scu>1</act:commodity-scu> <act:parent type="guid">add037be17b625c09c60ba4d20b7a7a8</act:parent> </gnc:account> are appearing in the file. These accounts are not visible in the account tree. Expected results: The previous and current XML files should equivalent. Does this happen every time? yes Other information: SVN version 15671
Thanks for the bug report. This is fixed in r15674.
(In reply to comment #1) > Thanks for the bug report. This is fixed in r15674. > I've updated to r15675 and I am still seeing an new invisibale ROOT account being added. e.g. <gnc:account version="2.0.0"> <act:name/> - <act:id type="guid">b9bb11f97958d059d38674cfb0d45b85</act:id> - <act:type>ROOT</act:type> - <act:commodity-scu>0</act:commodity-scu> -</gnc:account> -<gnc:account version="2.0.0"> - <act:name/> <act:id type="guid">adffe7dff06118adcc863745806187e5</act:id> <act:type>ROOT</act:type> - <act:commodity> - <cmdty:space>template</cmdty:space> - <cmdty:id>template</cmdty:id> - </act:commodity> - <act:commodity-scu>1</act:commodity-scu> - <act:parent type="guid">b9bb11f97958d059d38674cfb0d45b85</act:parent> + <act:commodity-scu>0</act:commodity-scu> </gnc:account> and the save before that <gnc:account version="2.0.0"> <act:name/> - <act:id type="guid">adffe7dff06118adcc863745806187e5</act:id> - <act:type>ROOT</act:type> - <act:commodity-scu>0</act:commodity-scu> -</gnc:account> -<gnc:account version="2.0.0"> - <act:name/> <act:id type="guid">9c3ed1ca6f14ab34a200d35a8011b3b1</act:id> <act:type>ROOT</act:type> - <act:commodity> - <cmdty:space>template</cmdty:space> - <cmdty:id>template</cmdty:id> - </act:commodity> - <act:commodity-scu>1</act:commodity-scu> - <act:parent type="guid">adffe7dff06118adcc863745806187e5</act:parent> + <act:commodity-scu>0</act:commodity-scu> </gnc:account>
The root accounts are an intentional addition to the data file. These are the accounts that hold all the "top level" accounts like Assets, Liabilities, etc. They shoudn't be written out, however, unless you've set a specific key in gconf (/apps/gnucash/dev/allow_file_incompatibility) to allow differences between the 2.0 data file and the 2.2 data file. I just tested gnucash, and it correctly honors the existence and value of this key.
GnuCash bug tracking has moved to a new Bugzilla host. This bug has been copied to https://bugs.gnucash.org/show_bug.cgi?id=412673. Please update any external references or bookmarks.