Share

KMyMoney

Tracker: Bugs

5 Wrong report by transaction on splits with transfer - ID: 1560238
Last Update: Comment added ( sf-robot )

For example, I have a transaction where I spent 20.- on
my own stuff (say, food) and another 10.- on stuff for
somebody else, i.e. lending him my money.
In the transaction of 30.-, I enter two splits - one on
category "Food" and the other to account "Loans" (where
I keep all loans to friends etc.).
When I go to the "Loans" account, there is a
transaction that shows the correct 10.- with the
corresponding memo, but contains two splits (30.- and
-20.-). This wasn't really obvious to me, but may be right.
But then, when I create a report of Transactions by
Category, the Food-Part of the split transaction
appears *twice*.

Tested with kmymoney2 0.8.3 and 0.8.5.


Stephan ( bnaphets ) - 2006-09-17 17:38

5

Closed

None

Thomas Baumgart

reports

0.8

Public


Comments ( 6 )

Date: 2008-01-31 03:20
Sender: sf-robotSourceForge.net Site Admin


This Tracker item was closed automatically by the system. It was
previously set to a Pending status, and the original submitter
did not respond within 14 days (the time period specified by
the administrator of this Tracker).


Date: 2008-01-16 12:11
Sender: ipwizardProject Admin


Dear KMyMoney user,

thank you for opening a tracker item on our bug tracker and giving us
valuable feedback about a problem with the application.

The problem reported cannot be reproduced with the current CVS HEAD
version of the application. Maybe, we have fixed your problem with some of
the changes we have made recently to the codebase.

We therefore close this entry. If you are still able to reproduce the
problem with current CVS HEAD version then please feel free to re-open the
problem and state the fact that it still fails with CVS HEAD.

Thank you for your support.

The KMyMoney development team


Date: 2006-12-16 09:00
Sender: ipwizardProject Admin


You can send a patch against CVS (make sure to use the rel-0-8-branch tag
when cheching out) to the developers mailing list if you want. Use "cvs
diff -u" to create it. If you refer to this entry here, we can certainly
attach your work to it.


Date: 2006-11-10 23:35
Sender: aegean

Logged In: YES
user_id=1640028

I've been tinkering with the transaction reports
(querytable.cpp) to address this very design problem. So as
not to interfere with the existing transaction reports, I've
added a new report to querytable.cpp, AccountDetail, that
seems to handle this split problem in a more appropriate
way. The report groups transactions by Institution &
Account, and with little effort can show split transaction
detail or just summarized split transactions. The user can
choose which accounts to include in the report. The report
is not polished, but the "heavy lifting" is done and it does
demonstrate an alternative logic for handling split
transactions.

I'd like to share the changes, but don't see a way to attach
them here. My work is probably too premature to include
directly via CVS. If there's any interest, please let me know.

-dv


Date: 2006-11-04 05:41
Sender: acejones

Logged In: YES
user_id=954547

See #1504663. Fundamentally the same bug.


Date: 2006-11-04 05:40
Sender: acejones

Logged In: YES
user_id=954547

Yeah, there is a design flaw with the way transaction
reports handle splits. I am toying around with some solutions.


Attached File ( 1 )

Filename Description Download
test.kmy Sample file showing the problem (by Robert Wadley) Download

Changes ( 7 )

Field Old Value Date By
status_id Pending 2008-01-31 03:20 sf-robot
close_date 2008-01-16 12:11 2008-01-31 03:20 sf-robot
close_date - 2008-01-16 12:11 ipwizard
assigned_to acejones 2008-01-16 12:11 ipwizard
status_id Open 2008-01-16 12:11 ipwizard
assigned_to nobody 2006-11-04 05:40 acejones
File Added 193897: test.kmy 2006-09-17 17:38 bnaphets