Crash in multi-currency transactions

BenoitGrégoire bock at step.polymtl.ca
Mon Sep 1 23:32:16 CDT 2003


On Tuesday 26 August 2003 16:17, Tobias & Nicole Krais wrote:
> Hi together,
>
> a few minutes ago I tested the HBCI import of multicurrency
> transactions. Please see below
>
> Christian Stimming wrote:
> > -----BEGIN PGP SIGNED MESSAGE-----
> >
> > On Donnerstag, 14. August 2003 22:16, Tobias Krais wrote:
> >>>>The bug is that you aren't setting the transaction
> >>>>split amount/values
> >>>>properly.  This is a bug in the importer, IMHO.
> >>
> >>To me it seem also that it is a bug in the importer. I can not reproduce
> >>this failure by entering the amount myself. It only happens when I import
> >>data via HBCI.
> >
> > We have fixed the importer code in 1.8.5. Can you please try again after
> > updating to this version? Thanks.
>
> GnuCash does not crash anymore. Good job! But: the amount isn't still
> set properly. When I import a multicurrency transaction via HBCI, the
> amount is only properly set in the account in which I use HBCI, the
> other account remains without a value. The console gives me the same
> feedback as last time (about 20 times):
>
> Warning: PrintAmountInternal: Bad numeric.

The fix was a quick workaround to avoid the crash.  The fundamental problem is 
how do we tell what the amount is in a different currency?  Ask the user?  
Look it up online?  For what date?

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



More information about the gnucash-devel mailing list