Bug in gnc:make-account-list-option

Dave Peticolas dave@krondo.com
Thu, 02 Nov 2000 15:03:51 -0800

Richard -Gilligan- Uschold writes:
> --------------F2BE319626F7F61528C9C661
> Content-Type: text/plain; charset=us-ascii
> Content-Transfer-Encoding: 7bit
> I have been working on a tax related report and txf export routines.  I
> found a bug in gnc:make-account-list-option if both the multi-select
> mode is #f and gnc:refresh-main-window is called.  The next time a
> different account is selected and the apply button is clicked, the
> gnc:make-account-list-option returns a list with 2 elements! Oddly,
> neither the car nor the cadr of this two element list is the account!
> I found this on gnucahs-1.4.7, and I haven't checked other versions.
> To reproduce the error, modify the ...src/scm/report/hellow-world.scm
> file.

I can reproduce part of this bug, namely, one of the elements is #f.
However, the other is the correct account. I have fixed this in the
stable branch, I'll check and see if there is a problem in devel, too.