[Gnucash-changes] r12989 - gnucash/trunk/src/report - Check for invalid options tables when loading reports.

Derek Atkins warlord at MIT.EDU
Fri Jan 27 17:32:37 EST 2006


Quoting Chris Shoemaker <c.shoemaker at cox.net>:

>>      (if (>= id *gnc:_report-next-serial_*)
>>          (set! *gnc:_report-next-serial_* (+ id 1)))
>>      (gnc:report-add id r)
>> -    id))
>> +    #f))
>>
>
> *sigh* This was a mistake.  I convinced myself that we didn't depend
> on the return value, and we didn't used to, but we do now.  New-style
> saved-reports won't restore until I'll fix this in my next commit.

I was wondering about that, but I hadn't had the time to actually
go read the code and convince myself this was okay.

> -chris

-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