Reports and the root account

Derek Atkins warlord at MIT.EDU
Thu Mar 19 12:40:27 EDT 2009


Hi,

Phil Longstaff <plongstaff at rogers.com> writes:

> While doing some testing on the sql backend, I noticed that when I run a 
> report (e.g. Balance Sheet), the report system attempts to query all 
> transactions for the root account.  The sql backend tries to do a 
> xaccAccountLookup() on the guid in the qofQuery, and fails when it returns 
> NULL.
>
> I could detect this and fail more gracefully i.e. ignore this account, but I 
> think it should be handled in the report system.  I don't plan to address this 
> right now, but can log this in bugzilla if no one else wants to look at it in 
> the near future.

Why do you not have the root account GUID in the SQL DB?

-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
       warlord at MIT.EDU                        PGP key available


More information about the gnucash-devel mailing list