Summary: | AppStream Krunner does not return any results if there are nonfatal errors | ||
---|---|---|---|
Product: | [Plasma] krunner | Reporter: | Stefan Brüns <stefan.bruens> |
Component: | general | Assignee: | Kai Uwe Broulik <kde> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | nate |
Priority: | NOR | ||
Version First Reported In: | unspecified | ||
Target Milestone: | --- | ||
Platform: | Other | ||
OS: | Linux | ||
Latest Commit: | https://commits.kde.org/plasma-workspace/0ec3f76810b712b99f18ef5f1afa70fe4a3884fd | Version Fixed In: | |
Sentry Crash Report: |
Description
Stefan Brüns
2018-08-16 18:11:32 UTC
Wanna submit a patch? ;) (In reply to Nate Graham from comment #1) > Wanna submit a patch? ;) https://phabricator.kde.org/D14807 (In reply to Stefan Brüns from comment #2) > (In reply to Nate Graham from comment #1) > > Wanna submit a patch? ;) > > https://phabricator.kde.org/D14807 Wanna review? ;) Btw, the validation error is caused by bad metadata created by appstream-builder, see https://github.com/hughsie/appstream-glib/issues/260 I wish I could, but I'm not really qualified to, I'm afraid. Git commit 0ec3f76810b712b99f18ef5f1afa70fe4a3884fd by Stefan Brüns. Committed on 31/08/2018 at 14:21. Pushed by bruns into branch 'master'. [AppStream Runner] Also search when there were errors during Pool::load Summary: The return code of the Pool::load() method is somewhat misleading, as it returns true only if there were no errors at all. The error flag is set on the first validation error, but the pool will contain meaningful data nevertheless. Test Plan: Searching for "blend" Unfixed version: No results are returned under "Software Center" Fixed version: Software Center: "Get Blender", "Get Hugin", ... Reviewers: #plasma, #frameworks, apol Reviewed By: apol Subscribers: ngraham, plasma-devel Tags: #plasma Differential Revision: https://phabricator.kde.org/D14807 M +0 -1 runners/appstream/appstreamrunner.cpp https://commits.kde.org/plasma-workspace/0ec3f76810b712b99f18ef5f1afa70fe4a3884fd |