Commit 16f0e11d authored by Sam Thursfield's avatar Sam Thursfield Committed by Debarshi Ray

base-item, utils: Avoid CRITICALs when reading an item's metadata

If the Tracker extractor has not yet run for an item then various
variables in the query will be unbound. This would led to things like:
  Tracker-CRITICAL **: tracker_sparql_cursor_real_get_integer:
    assertion 'tracker_sparql_cursor_get_value_type (self, column) ==

These CRITICALs were more often (always?) triggered when using
TrackerSparqlConnection's 'bus' backend that uses D-Bus to access the
Tracker database. eg., the Flatpak builds that don't bundle the Tracker
D-Bus services.

parent 92a19102
Pipeline #215931 passed with stage
in 17 minutes and 2 seconds