r19743 - gnucash/trunk/src/backend/xml - Revised handling of obsolete security elements, made log messages better.

John Ralls jralls at code.gnucash.org
Tue Nov 2 14:21:51 EDT 2010


Author: jralls
Date: 2010-11-02 14:21:50 -0400 (Tue, 02 Nov 2010)
New Revision: 19743
Trac: http://svn.gnucash.org/trac/changeset/19743

Modified:
   gnucash/trunk/src/backend/xml/gnc-account-xml-v2.c
Log:
Revised handling of obsolete security elements, made log messages better.

Accounts with security elements would only use the security to update the 
commodity if there wasn't a commodity; however, the files in the tests had 
accounts which had a security and a commodity, where the commodity was a 
currency. That's wrong. so now if the commodity is a currency, the security 
will overwrite it.

Added the account name and element name to the log message to assist in 
troubleshooting, should that be needed.





More information about the gnucash-patches mailing list