https://bugs.kde.org/show_bug.cgi?id=529101
Bug ID: 529101
Summary: GnuCash importer does not import transaction
descriptions and notes
Classification: Applications
Product: kmymoney
Version First 5.2.2
Reported In:
Platform: Other
OS: Microsoft Windows
Status: REPORTED
Severity: normal
Priority: NOR
Component: importer
Assignee: [email protected]
Reporter: [email protected]
Target Milestone: ---
Created attachment 198645
--> https://bugs.kde.org/attachment.cgi?id=198645&action=edit
GnuCash test file
Product: KMyMoney
Version: 5.2.2-2da6f67
Source application: GnuCash 5.16
Operating system: Windows 11
File format: Native compressed GnuCash XML (.gnucash)
Summary
When opening a GnuCash XML file directly in KMyMoney, transaction descriptions
and transaction notes are not imported.
However, split memos are imported correctly.
This issue is reproducible with a small test file containing only three
transactions.
Steps to reproduce
Create a GnuCash 5.16 XML file containing three transactions.
Populate the following fields:
Transaction description
Transaction notes
Split memos
EmployeurX
Salaire 01
Avec Prime 01
EDF
Electricité
None
Supermarché
Alimentation-Habillement
Alimentation 1 / Habillement 1
Save the file in the native compressed GnuCash format.
Open the file directly in KMyMoney using File → Open.
Examine the imported transactions.
Actual result
No payees are created.
The Payee/Beneficiary field is empty for all three transactions.
Transaction-level notes are missing.
Split memos are imported correctly.
The import report confirms that 9 accounts and 3 transactions have been
imported without reporting any inconsistencies.
Expected result
GnuCash transaction descriptions should be imported as KMyMoney
payees/beneficiaries.
GnuCash transaction notes should be preserved.
Split memos should remain correctly associated with their respective splits.
XML verification
The source XML file contains all the expected information:
trn:description contains the transaction descriptions.
trn:slots contains the transaction-level notes field.
split:memo contains the individual split memos.
The information is therefore present in the source file and is not lost during
GnuCash file creation.
Additional observation
The problem is also present when importing a larger GnuCash file containing
7,947 transactions.
The KMyMoney importer's "Make data anonymous" debugging option also appears to
have a separate problem: enabling it produces errors such as:
Current importer does not recognize GnuCash account type INCOME
Security 'EUR' not found
These errors do not occur during normal file opening.
Attached test file
A minimal reproducible test file (TEST.gnucash) is available.
It contains fictitious data and reproduces the missing payees and transaction
notes.
Please investigate the GnuCash importer, particularly the handling of
transaction descriptions and transaction-level notes.
--
You are receiving this mail because:
You are watching all bug changes.