← Back to team overview

touch-packages team mailing list archive

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

 

This bug was fixed in the package content-hub -
0.0+15.10.20150909-0ubuntu1

---------------
content-hub (0.0+15.10.20150909-0ubuntu1) wily; urgency=medium

  [ Ken VanDine ]
  * Fixed crash when the service is passed an invalid type via dbus (LP:
    #1472026)

  [ Michael Sheldon ]
  * Add an "Undefined" content type to QML bindings so we can avoid
    making unnecessary peer look ups when the content type hasn't yet
    been set now that peers can register for Unknown.

  [ Robert Ancell ]
  * Drop unused include that makes build fail unless Qt5Gui pkg-config
    file is used.

 -- Ken VanDine <ken.vandine@xxxxxxxxxxxxx>  Wed, 09 Sep 2015 16:58:39
+0000

** Changed in: content-hub (Ubuntu)
       Status: In Progress => Fix Released

-- 
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:
  Fix Released

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