Currency account in CVS broken (was: Bug importing 1.6 currency accounts in CVS)
Derek Atkins
warlord@MIT.EDU
03 Dec 2002 14:22:43 -0500
Christian,
Did you ever try this file on the new (in CVS/1.7.5) code to make sure
it works?
-derek
Christian Stimming <stimming@tuhh.de> writes:
> On Dienstag, August 20 2002, Herbert Thoma pointed out a bug in imported
> currency accounts from a gnucash-1.6 file into gnucash-CVS. Recently I
> encountered the same problem and it turned out to not only affect 1.6-er
> files but additionally the complete multi-currency handling.
>
> I extended Herbert's demonstration file (attached). Please open it and open
> the "DEM-EUR" currency account. You will see two transactions. One of them is
> not balanced (labelled as "Wrong Transaction"). First bug: This transaction
> has been balanced in gnucash-1.6. But there are more obvious bugs to come.
> Now open the multi-split view of the "Wrong Transaction".
>
> You see the other split ("Correct Split") that books the 511.29 EUR to a EUR
> account. But in the the split of this account ("Wrong Split"), you see that
> the split value 1000.00 is correct and corresponds to the "Correct
> Transaction". But the split amount is WRONG since it deduces 1000.00 shares
> at a price of 1.0 from this account, whereas it was supposed to deduce 511.29
> shares at a (dynamically calculated) price of 1.95584, just as the price in
> the "Correct Transaction".
>
> Here's the OBVIOUS BUG: Now try to enter the mentioned price (or any other) in
> the "price" field, and answer the following question such that the "share
> amount" should be changed. Bummer. The amount simply doesn't change at all.
> This is a SERIOUS problem of share/multi-currency handling which definitely
> needs to be sorted out until 1.8. Anybody any ideas?
>
> Christian
>
>
>
--
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@MIT.EDU PGP key available