Summary: | Remote online quotes sources disappear from list of installed sources | ||
---|---|---|---|
Product: | [Frameworks and Libraries] alkimia | Reporter: | Ralf Habacker <ralf.habacker> |
Component: | Online quotes widget | Assignee: | KMyMoney Devel Mailing List <kmymoney-devel> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | ostroffjh |
Priority: | NOR | ||
Version: | master | ||
Target Milestone: | --- | ||
Platform: | Other | ||
OS: | Other | ||
Latest Commit: | https://invent.kde.org/office/alkimia/-/commit/7c13364d21c69ef66da41b802271668d1ccaf0f9 | Version Fixed In: | 8.2 |
Sentry Crash Report: |
Description
Ralf Habacker
2024-05-01 11:17:33 UTC
In addition to the above, I just renamed the KMM price source "Yahoo Finance" to something else. I then Installed the new Yahoo equity source, made a copy, and renamed the copy to "Yahoo Finance." It worked for some downloads, but then, not only did the new source disappear from the list, the entry for "Yahoo Finance" showed the old source, not the newly copied/renamed one. Once I uninstalled/reinstalled the new source, I had to redo the rename/copy/rename process. (In reply to Ralf Habacker from comment #0) > Then, at some point, the entry disappears from the Online Quotes dialog. The current implementation fetches all available remote online courses from the new stuff api and then determines which ones are installed. This does not seem to work stably. Another approach could solve this problem: The newstuff library stores the installed entries in a file called *.knsregistry, which is accessible via an API. Git commit 7c13364d21c69ef66da41b802271668d1ccaf0f9 by Ralf Habacker. Committed on 26/05/2024 at 12:26. Pushed by habacker into branch 'master'. Fix detecting installed entries when using knewstuff FIXED-IN:8.2 A +18 -0 3rdparty/KF4/knewstuff/CMakeLists.txt A +64 -0 3rdparty/KF4/knewstuff/knewstuff3/core/author.cpp [License: LGPL (v2.1+)] A +97 -0 3rdparty/KF4/knewstuff/knewstuff3/core/author.h [License: LGPL (v2.1+)] A +75 -0 3rdparty/KF4/knewstuff/knewstuff3/core/cache.h [License: LGPL(v2.1+)] A +602 -0 3rdparty/KF4/knewstuff/knewstuff3/core/entryinternal.cpp [License: LGPL (v2.1+)] A +423 -0 3rdparty/KF4/knewstuff/knewstuff3/core/entryinternal.h [License: LGPL (v2.1+)] A +91 -0 3rdparty/KF4/knewstuff/knewstuff3/core/xmlloader.cpp [License: LGPL (v2.1+)] A +87 -0 3rdparty/KF4/knewstuff/knewstuff3/core/xmlloader.h [License: LGPL (v2.1+)] A +34 -0 3rdparty/KF4/knewstuff/knewstuff3/entry_p.h [License: LGPL (v2.1+)] M +2 -1 CMakeLists.txt M +31 -47 src/alknewstuffengine.cpp M +5 -0 src/alknewstuffengine.h M +5 -0 src/alkonlinequotesprofile.cpp M +2 -0 src/alkonlinequotesprofile.h M +2 -2 src/alkonlinequotesprofile_p.cpp M +4 -3 src/alkonlinequoteswidget.cpp https://invent.kde.org/office/alkimia/-/commit/7c13364d21c69ef66da41b802271668d1ccaf0f9 |