Bug 381818 - OFX importer does not show libofx debug messages
Summary: OFX importer does not show libofx debug messages
Status: RESOLVED FIXED
Alias: None
Product: kmymoney
Classification: Applications
Component: general (show other bugs)
Version: 4.8.0
Platform: Other All
: NOR normal
Target Milestone: ---
Assignee: KMyMoney Devel Mailing List
URL:
Keywords:
Depends on:
Blocks: 323480 381786
  Show dependency treegraph
 
Reported: 2017-06-30 09:17 UTC by Ralf Habacker
Modified: 2019-08-31 11:47 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In: 4.8.1,5.0.0
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Ralf Habacker 2017-06-30 09:17:30 UTC
While trying to reproduce bug 323480 it turned out that the ofx importer does not dump any libofx related messages which would be good to have in case there are import errors or warning etc.

How to reproduce:
1. start kmymoney from command line on linux to be able to see debug messages
2. import ofx file from bug 323480

What happens:
No libofx related message are displayed. libofx related message are in the following form: 
LibOFX INFO: libofx_proc_file(): File format not specified, autodetecting...

What is expected: 
There should be a way to enable libofx related debug messages


Additional informations:
libofx dump messages to stderr only if the global variables ofx_XXX_msg are set.
On normal processing at least the message level 'status', 'info', 'warnings'
and 'error' should be displayed. Developers should be able to setup additional
warning levels inside the code.
Comment 1 Ralf Habacker 2017-06-30 09:20:20 UTC
Git commit 3f1481db19ea60e5ff7cd9ede80f4343ac3c828c by Ralf Habacker.
Committed on 30/06/2017 at 09:20.
Pushed by habacker into branch '4.8'.

Fix 'OFX importer does not show libofx debug messages'
FIXED-IN:4.8.1

M  +17   -0    kmymoney/plugins/ofximport/ofximporterplugin.cpp

https://commits.kde.org/kmymoney/3f1481db19ea60e5ff7cd9ede80f4343ac3c828c