QOF_CHOICE bugs in G2?

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

QOF_CHOICE bugs in G2?

Derek Atkins
Neil,

I'm noticing some QOF_CHOICE bugs in current g2, to the point where
it looks like it's not even loading the customer object.  Any ideas?
My gnucash.trace has the following entries:

DEBUG: QOF_TYPE_CHOICE setup failed for gncCustomer

file qofchoice.c: line 75 (qof_choice_add_class): assertion `qof_object_is_choice(select)' failed
DEBUG: QOF_TYPE_CHOICE setup failed for gncInvoice

file qofchoice.c: line 75 (qof_choice_add_class): assertion `qof_object_is_choice(select)' failed
Error: qof_object_foreach(): No object of type gncCustomer
Error: qof_object_foreach(): No object of type gncCustomer

-derek

--
       Derek Atkins, SB '93 MIT EE, SM '95 MIT Media Laboratory
       Member, MIT Student Information Processing Board  (SIPB)
       URL: http://web.mit.edu/warlord/    PP-ASEL-IA     N1NWH
       [hidden email]                        PGP key available
_______________________________________________
gnucash-devel mailing list
[hidden email]
https://lists.gnucash.org/mailman/listinfo/gnucash-devel
Reply | Threaded
Open this post in threaded view
|

Re: QOF_CHOICE bugs in G2?

Neil Williams-2
On Saturday 27 August 2005 12:27 am, Derek Atkins wrote:
> I'm noticing some QOF_CHOICE bugs in current g2, to the point where
> it looks like it's not even loading the customer object.  Any ideas?
> My gnucash.trace has the following entries:
>
> DEBUG: QOF_TYPE_CHOICE setup failed for gncCustomer

Fixed - the sequence of registering objects has become important with the
setup of CHOICE parameters and I'd omitted this change from the CashUtil sync
(as it needed to take place in a different file in GnuCash).

Thankfully, CashUtil is progressing well - the xml backend is loadable (just
needing a few tweaks to determine the file type) and the restricted QOF Undo
code is working too. I'm also making progress on the remaining shell UI to
select a single entity from the book using commands rather than a window.

It won't be long before I can provide a patch for you to see that will strip
out all the #ifdef GNUCASH_MAJOR_VERSION rules and get G2 working as CashUtil
does.

--

Neil Williams
=============
http://www.data-freedom.org/
http://www.nosoftwarepatents.com/
http://www.linux.codehelp.co.uk/


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

attachment0 (196 bytes) Download Attachment