r13049 - gnucash/trunk - Clear up the billterm data lossage (due to
a broken enum definition).
Derek Atkins
warlord at cvs.gnucash.org
Mon Jan 30 00:57:10 EST 2006
Author: warlord
Date: 2006-01-30 00:57:08 -0500 (Mon, 30 Jan 2006)
New Revision: 13049
Trac: http://svn.gnucash.org/trac/changeset/13049
Modified:
gnucash/trunk/ChangeLog
gnucash/trunk/src/business/business-core/file/gnc-bill-term-xml-v2.c
gnucash/trunk/src/business/business-core/file/gnc-bill-term-xml-v2.h
gnucash/trunk/src/business/business-core/file/gnc-customer-xml-v2.c
gnucash/trunk/src/business/business-core/file/gnc-invoice-xml-v2.c
gnucash/trunk/src/business/business-core/file/gnc-vendor-xml-v2.c
gnucash/trunk/src/business/business-core/gncBillTerm.c
gnucash/trunk/src/business/business-core/gncBillTerm.h
Log:
Clear up the billterm data lossage (due to a broken enum definition).
* src/business/business-core/file/gnc-bill-term-xml-v2.c:
* src/business/business-core/file/gnc-bill-term-xml-v2.h:
Add a new API to "find-or-create" a billterm so all the
code is collated in one location.
Add more debugging during the scrub phases.
* src/business/business-core/file/gnc-invoice-xml-v2.c:
* src/business/business-core/file/gnc-vendor-xml-v2.c:
* src/business/business-core/file/gnc-customer-xml-v2.c:
Use the new bill-term find-or-create API
* src/business/business-core/gncBillTerm.c:
add some additional debugging
* src/business/business-core/gncBillTerm.h:
The Billterm Type ENUM must start at 1, not zero. The data file
now appears to properly save itself without destroying data.
Fixes rest of #328790.
More information about the gnucash-patches
mailing list