Hi,

Phil Longstaff <[email protected]> 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
       [email protected]                        PGP key available
_______________________________________________
gnucash-devel mailing list
[email protected]
https://lists.gnucash.org/mailman/listinfo/gnucash-devel

Reply via email to