← Back to team overview

ubuntu-phonedations-bugs team mailing list archive

[Bug 1454756] Re: set-context-property doesn't support 'Preferred' ( boolean ) property

 

The following pull-request fixes this bug:

https://github.com/rilmodem/ofono/pull/184

-- 
You received this bug notification because you are a member of Ubuntu
Phonedations bugs, which is subscribed to ofono in Ubuntu.
https://bugs.launchpad.net/bugs/1454756

Title:
  set-context-property doesn't support 'Preferred' ( boolean ) property

Status in ofono package in Ubuntu:
  Fix Committed

Bug description:
  The test script set-context-property doesn't support the 'Preferred'
  property as it has a boolean value as opposed to the rest of the
  context properties which are all strings.

  The script needs to check for this property and properly convert it
  using dbus.Variant(dbus.Boolean(sys.argv[2])).

  The correct gdbus command to set/clear this property is:

  dbus-send --system --type=method_call --print-reply --dest=org.ofono
  /ril_0/context1 org.ofono.ConnectionContext.SetProperty
  string:"Preferred" variant:boolean:[true|false]

  This is being reported against the version of ofono as of vivid's
  release:

  1.12.bzr6894+15.04.20150424.1-0ubuntu1

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/ofono/+bug/1454756/+subscriptions


References