Crash in multi-currency transactions

BenoitGrégoire bock at step.polymtl.ca
Mon Aug 18 03:07:00 CDT 2003


On Thursday 14 August 2003 03:13, Christian Stimming wrote:
> > We are way too close to release for me to do something like that.  In the
> > meantime, I propose replacing the call to xaccSetBaseValue() in
> > import-export/import-backend.c:825 by to calls (xaccSplitSetValue() and
> > xaccSplitSetAmount()) BOTH with the same amount, and spit a FIXME in the
> > console.  The value will be good, the amount WILL be wrong, but at least
> > gnucash won't crash or do anything weird.
>
> Ah, yes, sounds good. I didn't think of this workaround earlier. Yes,
> simply go ahead and change it the way you just said.

I saw you did it,  thanks!  Did you have time to spit out a warning if and 
only if the commodities don't match?

-- 
Benoit Grégoire
http://step.polymtl.ca/~bock/



More information about the gnucash-devel mailing list