← Back to team overview

touch-packages team mailing list archive

[Bug 1472026] Re: Crashes when supplied with unknown type id

 

** Project changed: content-hub => content-hub (Ubuntu)

-- 
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, which is subscribed to content-hub in Ubuntu.
https://bugs.launchpad.net/bugs/1472026

Title:
  Crashes when supplied with unknown type id

Status in content-hub package in Ubuntu:
  New

Bug description:
  If you access the DBus interface methods KnownDestinationsForType,
  KnownSharesForType or KnownSourcesForType with an invalid type_id
  (e.g. '') the content hub service crashes. This is because it used the
  id as a GSettings key and it is considered a programmer error to look
  up a key that does not exist [1].

  [1] https://developer.gnome.org/gio/stable/GSettings.html#g-settings-
  get-value

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/content-hub/+bug/1472026/+subscriptions