← Back to team overview

ubuntu-phonedations-bugs team mailing list archive

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

 

Public bug reported:

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

** Affects: ofono (Ubuntu)
     Importance: High
     Assignee: Tony Espy (awe)
         Status: Confirmed

** Changed in: ofono (Ubuntu)
       Status: New => Confirmed

** Changed in: ofono (Ubuntu)
   Importance: Undecided => High

** Changed in: ofono (Ubuntu)
     Assignee: (unassigned) => Tony Espy (awe)

-- 
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:
  Confirmed

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


Follow ups

References