If I move a child account somewhere else, the parent
totals are no longer correct. This occurs almost 100%
of the time when the child is a different currency than
the parent. It appears to occur occasionally when the
child and parent are the same currency.
Sorry if this is kind of vague. I will try to create a
duplicatable set of instructions for this bug.
Logged In: YES
user_id=192791
Perhaps this is related to #769632 ?
http://sourceforge.net/tracker/index.php?func=detail&aid=769362&group_id=31680&atid=403069
Logged In: YES
user_id=192791
OK, I have a repeatable set to demonstrate this:
new account: foo
new account: bar, balance=1000
new account: baz, parent=foo
Baz: new transaction, acct=bar, amt=42, [deposit]
bar=958, baz=42, foo=0 (correct!)
baz: account details, parent=bar
bar=958, baz=42, foo=0 (correct!)
colapse bar, bar=958, not 1000 (NOT correct!)
Logged In: YES
user_id=192791
Further testing. The algorithm works correctly for the
simple test case outlined here if all transactions are
cleared. It does not work if they are not cleared.
The algorithm does not work when there are multiple
currencies regardless of clear/unclear state.