[kmymoney4] [Bug 362139] CSV Importer asks the same question twice during profile deletion

NSLW via KDE Bugzilla bugzilla_noreply at kde.org
Mon May 16 18:40:18 UTC 2016


https://bugs.kde.org/show_bug.cgi?id=362139

--- Comment #9 from NSLW <lukasz.wojnilowicz at gmail.com> ---
(In reply to allan from comment #7)
> Today, and the first for a while, I updated from HEAD and to ensure all was
> OK, I did a CSV import of an investment file, which contained two similar
> entries.  They were both CashDividends, with the main difference being that
> one had an identical but negative amount.  On import, the negative sign had
> been dropped.
> I think I've traced it, possibly,  to the recent fee patch.
> In investprocessing.cpp(), at circa line 1723 -
> tr.m_amount = tr.m_amount.abs() - m_trInvestData.fee.abs();
> appears to drop the sign.

I'm glad you did it and gave feedback. I apologize if something is broken for
you lately with CSV imports. I would like to help fixing that. Could you send
your problematic, anonymized CSV test file and explain me what result you
expect after importing?
As I understand, you've got two CashDividends: one negative and one positive.
Frankly I don't get it, shouldn't CashDividends be always positive, as it its
you who gets the cash?

>This comment of mine, #7, was added to this bug when I first discovered this problem, but on >investigating, it seems that it doesn't really belong here, but probably to BUG: 361021. I can >add this entry to that bug report, but that might cause confusion about which bug to follow. >So, do I leave as is?
I would say don't bother. For the first time I used an feature, that Thomas
Baumgart explained to me, and I wasn't too careful with that, so you confused
right patch with wrong bug.

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the KMyMoney-devel mailing list