Comment 0 for bug 1415495

Revision history for this message
Alfonso Sanchez-Beato (alfonsosanchezbeato) wrote : APN editor fails to create a custom APN

When ofono configuration in /var/lib/ofono/<IMSI>/gprs is:

[Settings]
Powered=true
RoamingAllowed=false

[context1]
Name=Internet
AccessPointName=
Username=
Password=
Type=internet
Protocol=ip

APN editor is not able to create a custom APN. To reproduce:

Go to the APN editor from system-settings, with this configuration we see an APN of name "Internet" that is not marked (apn-editor1.png). If we touch it to activate it, then return to the previous screen, then back to APN screen, now 2 APNs with the same name appear (apn-editor2.png), and none of them is marked.

Even worse, when trying to create a custom APN ("Custom Internet APN..."), we introduce the values, then push "Activate". Going back to the Carrier screen, then to APN screen we see now 3 APNs with the same name, but using the ofono script:

# /usr/share/ofono/scripts/list-contexts
[ /ril_0 ]
    [ /ril_0/context1 ]
        Active = 0
        Name = Internet
        Type = internet
        Protocol = ip
        Settings = { }
        Password =
        IPv6.Settings = { }
        Username =
        AccessPointName =

    [ /ril_0/context2 ]
        Active = 0
        Name = Internet
        Type = internet
        Protocol = ip
        Settings = { }
        Password =
        IPv6.Settings = { }
        Username =
        AccessPointName =

    [ /ril_0/context3 ]
        Active = 0
        Name = Internet
        Type = internet
        Protocol = ip
        Settings = { }
        Password =
        IPv6.Settings = { }
        Username =
        AccessPointName =

we see that we have 3 APNs and that none of them has the values we have set using the APN editor.

This happens in:

$ system-image-cli -i
current build number: 86
device name: krillin
channel: ubuntu-touch/vivid-proposed
last update: 2015-01-26 03:14:09
version version: 86
version ubuntu: 20150126
version device: 20150113-9cccefe
version custom: 20150126