[Kmymoney-devel] [Bug 308247] KMymoney crashes on importing QIF

allan agander93 at gmail.com
Fri Oct 12 10:55:31 UTC 2012


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

--- Comment #6 from allan <agander93 at gmail.com> ---
@ Thomas
I need your guidance here, I'm afraid.

What constitutes a valid split?  The problem transactions here have a split
amount but no 'S' split category, although they do have a 'L' category item.

I have eliminated the cause of the crash, in extractSplits(listqSplits), where
the absence of the 'S' bypassed the creation of a listqSplits entry.  However,
if I create a istqSplits entry on the presence of a '$' split amount, there is
no split category so the imported transaction is flagged as having no category,
which was present, but with an 'L' entry.

If the apparently useless '$' is edited out, these transactions import with the
'L' category assigned, so the user has no need of editing the transaction
category.

So, to me, the best way would be to ignore (or flag) any split amount entry
which isn't accompanied by a 'S' split category.

Any other ideas, please?

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


More information about the KMyMoney-devel mailing list