[kmymoney] [Bug 450593] Unable to update price for CAD with fx-rate.net
Thomas Baumgart
bugzilla_noreply at kde.org
Sun Feb 27 17:52:23 GMT 2022
https://bugs.kde.org/show_bug.cgi?id=450593
--- Comment #16 from Thomas Baumgart <thb at net-bembel.de> ---
Git commit 31fa4f402441c364394d0a2b5d7ac46b5f944e42 by Thomas Baumgart.
Committed on 27/02/2022 at 17:48.
Pushed by tbaumgart into branch '5.1'.
Don't use invalid price pairs
For some reason price entries of the form "from currency to security"
are contained in the database (xml and sql). Such entries don't disturb
the price retrieval of KMyMoney as it can swap from and to if needed,
but they cause the online price update to be confused and failing.
The reason why these entries appear is yet unclear and needs to be
investigated further. To avoid these entries to cause problems during
online price update, they will not be listed in the price updater. This
change also removes those entries when writing the data file (or the
database for that matter) the next time. A respective debug message is
printed to the console.
This does not finally fix the problem reported but it cures the
symptoms.
FIXED-IN: 5.1.3
M +4 -1 kmymoney/dialogs/kequitypriceupdatedlg.cpp
M +11 -0 kmymoney/dialogs/kmymoneypricedlg.cpp
M +5 -0 kmymoney/plugins/sql/mymoneystoragesql_p.h
M +10 -3 kmymoney/plugins/xml/mymoneystoragexml.cpp
https://invent.kde.org/office/kmymoney/commit/31fa4f402441c364394d0a2b5d7ac46b5f944e42
--
You are receiving this mail because:
You are the assignee for the bug.
More information about the KMyMoney-devel
mailing list