https://bugs.kde.org/show_bug.cgi?id=449727

Fushan Wen <qydwhotm...@gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
         Resolution|---                         |FIXED
   Version Fixed In|                            |5.104
      Latest Commit|                            |https://invent.kde.org/fram
                   |                            |eworks/kpackage/commit/1bda
                   |                            |f324a7b78738ffc09ed4a556366
                   |                            |6fa85e9d2
             Status|ASSIGNED                    |RESOLVED

--- Comment #6 from Fushan Wen <qydwhotm...@gmail.com> ---
Git commit 1bdaf324a7b78738ffc09ed4a5563666fa85e9d2 by Fushan Wen.
Committed on 11/02/2023 at 08:54.
Pushed by alex into branch 'kf5'.

Check pluginId contains '/' before using it as package type

Some old packages do not contain ServiceTypes field, and their plugin
name/id is not a package type. Usually a package type string contains
'/', so add check for that.
FIXED-IN: 5.104

A  +18   -0   
autotests/data/testplasmathemepackagewithoutservicetypes/metadata.desktop
M  +12   -0    autotests/querytest.cpp
M  +2    -0    autotests/querytest.h
M  +4    -3    src/kpackage/private/utils.h

https://invent.kde.org/frameworks/kpackage/commit/1bdaf324a7b78738ffc09ed4a5563666fa85e9d2

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to