Bug 484016 - An incorrect source type is displayed for the installed GHNS online course source alkimia-fx.net
Summary: An incorrect source type is displayed for the installed GHNS online course so...
Status: RESOLVED FIXED
Alias: None
Product: alkimia
Classification: Frameworks and Libraries
Component: Online quotes widget (show other bugs)
Version: master
Platform: openSUSE Linux
: NOR normal
Target Milestone: ---
Assignee: KMyMoney Devel Mailing List
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-03-19 19:07 UTC by Ralf Habacker
Modified: 2024-05-27 22:31 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In: 8.2
Sentry Crash Report:


Attachments
Screenshot showing incorrect source type (11.68 KB, image/png)
2024-03-19 19:07 UTC, Ralf Habacker
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Ralf Habacker 2024-03-19 19:07:17 UTC
Created attachment 167482 [details]
Screenshot showing incorrect source type

SUMMARY
see title

STEPS FOR REPRODUCTION
1. create the alkimia source code from the git master branch
2. run onlinequoteseditor5
3. select the profile 'alkimia5'
4. install the online source 'alkimia-fx.net'.
5. see attached screenshot

OBSERVED RESULT
The online quote source you have just installed is displayed as "Remote unpublished".

EXPECTED RESULT
The quote source just installed should be displayed as "Remote".


SOFTWARE/OS VERSIONS
Linux: openSUSE Leap 15.5
KDE Frameworks Version: 5.102
Qt Version: 5.15
Comment 1 Bug Janitor Service 2024-03-20 20:25:27 UTC
A possibly relevant merge request was started @ https://invent.kde.org/office/alkimia/-/merge_requests/30
Comment 2 Ralf Habacker 2024-05-27 22:31:29 UTC
Git commit a4476bd232ffc42f922517ffd878e01b73362fdb by Ralf Habacker.
Committed on 27/05/2024 at 20:01.
Pushed by habacker into branch 'master'.

Fix detecting installed remote ghns sources

The path returned by knewstuff for installed files of an entry contains
'//', which does not match the actual path and prevents this file from
being recognized as an installed entry.

This fix is for older supported platforms, for Qt5 builds the problem
could not be reproduced here, as it seems to have already been fixed with
!42.
FIXED-IN:8.2

M  +7    -0    3rdparty/KF4/knewstuff/knewstuff3/core/cache.h

https://invent.kde.org/office/alkimia/-/commit/a4476bd232ffc42f922517ffd878e01b73362fdb