[AppStream Runner] Also search when there were errors during Pool::load

Authored by bruns on Aug 21 2018, 4:55 PM.

Description

[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.

BUG: 397531

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

Details