r13049 - gnucash/trunk - Clear up the billterm data lossage (due to a broken enum definition).

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

r13049 - gnucash/trunk - Clear up the billterm data lossage (due to a broken enum definition).

Derek Atkins-2
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.



_______________________________________________
gnucash-patches mailing list
[hidden email]
https://lists.gnucash.org/mailman/listinfo/gnucash-patches