[Moto X Android Development] m0ndul:
I lost my APNs after upgrading from CM12, also I'm unable to add a new one, when I press the plus icon nothing happens (installed the cm-12.1-20150417-NIGHTLY-ghost.zip and also the latest one cm-12.1-20150423-NIGHTLY-ghost.zip). Checked on the logcat and got this error:

E/SQLiteLog( 1498): (1) table carriers has no column named localized_name
E/SQLiteDatabase( 1498): Error inserting mvno_match_data= password= modem_cognitive=false carrier_enabled=true sub_id=2 mvno_type= roaming_protocol=IP profile_id=0 authtype=-1 user= localized_name= protocol=IP read_only=false mmsport= bearer=0 mmsproxy= proxy= server= name= max_conns_time=0 port= apn= wait_time=0 max_conns=0
E/SQLiteDatabase( 1498): android.database.sqlite.SQLiteException: table carriers has no column named localized_name (code 1): , while compiling: INSERT INTO carriers(mvno_match_data,password,modem_cognitive,carrier_enabled,sub_id,mvno_type,roaming_protocol,profile_id,authtype,user,localized_name,protocol,read_only,mmsport,bearer,mmsproxy,proxy,server,name,max_conns_time,port,apn,wait_time,max_conns) VALUES (?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?)
E/SQLiteDatabase( 1498): at android.database.sqlite.SQLiteConnection.nativePrepareStatement(Native Method)
E/SQLiteDatabase( 1498): at android.database.sqlite.SQLiteConnection.acquirePreparedStatement(SQLiteConnection.java:891)
E/SQLiteDatabase( 1498): at android.database.sqlite.SQLiteConnection.prepare(SQLiteConnection.java:502)
E/SQLiteDatabase( 1498): at android.database.sqlite.SQLiteSession.prepare(SQLiteSession.java:588)
E/SQLiteDatabase( 1498): at android.database.sqlite.SQLiteProgram.<init>(SQLiteProgram.java:58)
E/SQLiteDatabase( 1498): at android.database.sqlite.SQLiteStatement.<init>(SQLiteStatement.java:31)
E/SQLiteDatabase( 1498): at android.database.sqlite.SQLiteDatabase.insertWithOnConflict(SQLiteDatabase.java:1469)
E/SQLiteDatabase( 1498): at android.database.sqlite.SQLiteDatabase.insert(SQLiteDatabase.java:1341)
E/SQLiteDatabase( 1498): at com.android.providers.telephony.TelephonyProvider.insert(TelephonyProvider.java:933)
E/SQLiteDatabase( 1498): at android.content.ContentProvider$Transport.insert(ContentProvider.java:239)
E/SQLiteDatabase( 1498): at android.content.ContentProviderNative.onTransact(ContentProviderNative.java:163)
E/SQLiteDatabase( 1498): at android.os.Binder.execTransact(Binder.java:446)
W/ApnEditor( 8568): Failed to insert new telephony provider into content://telephony/carriers//subId/2

So, i tried to add it manually using sqlite:

sqlite3 /data/data/com.android.providers.telephony/databases/telephony.db "INSERT INTO carriers (name, numeric, mcc, mnc, apn, type, authtype) VALUES ('Tigo Web', 732103, 732, 103, 'web.colombiamovil.com.co', 'default,supl,hipri', 1);"

And it's not being shown on the APNs list. Checking on the logcat for the mcc got this:

D/MccTable( 1498): updateMccMncConfiguration mccmnc='732103' fromServiceState=true
D/MccTable( 1498): updateMccMncConfiguration defaultMccMnc=732111
D/MccTable( 1498): updateMccMncConfiguration: mcc=732, mnc=103
D/MccTable( 1498): defaultLanguageForMcc(732): country co uses es
D/MccTable( 1498): getLocaleFromMcc to es_co mcc=732

So the APNs code seems to be using the one it gets from the SIM card instead of the one from the current network.

Anyone knows how can I report this bug in order to be fixed?