Bug 458964

Summary: No longer possible to import a GnuCash book
Product: [Applications] kmymoney Reporter: Dawid Wróbel <me>
Component: importerAssignee: KMyMoney Devel Mailing List <kmymoney-devel>
Status: REPORTED ---    
Severity: normal    
Priority: NOR    
Version: git (master)   
Target Milestone: ---   
Platform: Other   
OS: Other   
Latest Commit: Version Fixed In:

Description Dawid Wróbel 2022-09-10 14:13:33 UTC
SUMMARY
The same file I used to migrate from GnuCash to KMyMoney back in 2020 no longer works in master. 

The account type somehow gets appended in an endless loop. Additionally, the error shown does not stop the importer, hence the endless loop.

STEPS TO REPRODUCE
1. Import a GnuCash XML file

OBSERVED RESULT
Import fails

EXPECTED RESULT
Import should succeed. Any error should stop the import process.
Comment 1 Dawid Wróbel 2022-09-10 15:05:26 UTC
Additionally, once the file is opened, it is impossible to abort the import from the "Import Options" dialog — the import process continues despite clicking "Cancel".