Bug 390627 - QIF Import filter fails
Summary: QIF Import filter fails
Status: RESOLVED FIXED
Alias: None
Product: kmymoney
Classification: Applications
Component: importer (show other bugs)
Version: 5.0.0
Platform: Arch Linux Linux
: NOR normal
Target Milestone: ---
Assignee: KMyMoney Devel Mailing List
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2018-02-17 19:43 UTC by Georg Pichler
Modified: 2018-02-21 11:43 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In: 5.0.1


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Georg Pichler 2018-02-17 19:43:22 UTC
OS: Arch Linux
Version: 5.0.0 (provided by Arch package)

When defining a QIF import filter and starting an import using the profile, where the filter was defined, I get the error

"Error while running the filter ''."

(note that the actual filter program string is empty) and the error message reads

"No program defined."

Expected behavior:
Successful import using the defined filter program.
Actual behavior:
Import fails with the given error message.
Comment 1 Georg Pichler 2018-02-17 19:49:56 UTC
After some digging, I believe the bug was introduced in commit 9db968bfd:
At line 475 in kmymoney/plugins/qif/import/mymoneyqifreader.cpp the QStringList arguments is set to the program name, including the arguments:

      arguments << m_qifProfile.filterScriptImport().split(' ', QString::KeepEmptyParts);

However, the actual QString program is never set. Could that be the reason?