Closed Bug 1033207 Opened 12 years ago Closed 12 years ago

[OTA][Data Migration] APN data settings will be changed to default value after update from 1.4 to 2.0

Categories

(Firefox OS Graveyard :: Gaia::Settings, defect)

ARM
Gonk (Firefox OS)
defect
Not set
normal

Tracking

(blocking-b2g:2.0+, b2g-v2.0 fixed, b2g-v2.1 fixed)

RESOLVED FIXED
2.0 S6 (18july)
blocking-b2g 2.0+
Tracking Status
b2g-v2.0 --- fixed
b2g-v2.1 --- fixed

People

(Reporter: hlu, Assigned: arthurcc)

Details

(Keywords: dataloss, regression, Whiteboard: [p=2])

Attachments

(2 files)

Description: APN data settings will be changed to default value after update from 1.4 to 2.0. Updated from Flame 1.4:20140701160201 to Flame 2.0:20140701160202 Repro Steps: (1) Flash device to 20140701160201 (2) Change update channel to v2.0 (3) Go to settings/Cellular & Data/SIM 1/Data Settings (4) Customize the APN setting (5) Force check for update (6) Install the update package Actual: APN setting will be changed to default value. Expected: It should keep the configuration Environment: Gaia bf5ad311b6a14383924d6a3898c650ffa4525840 Gecko https://hg.mozilla.org/releases/mozilla-b2g30_v1_4/rev/6817b6858ccf BuildID 20140701160201 Version 30.0 ro.build.version.incremental=109 ro.build.date=Mon Jun 16 16:51:29 CST 2014
blocking-b2g: --- → 2.0?
Keywords: dataloss, regression
blocking-b2g: 2.0? → 2.0+
Hi Arthur, please have a look or reassign, thanks.
Assignee: nobody → arthur.chen
Status: NEW → ASSIGNED
Whiteboard: [p=2][ETA: 7/11]
Target Milestone: --- → 2.0 S6 (18july)
Whiteboard: [p=2][ETA: 7/11] → [p=2][ETA: 7/18]
Jose, would you mind take a look at this patch? The root cause is that the custom apn settings get overwritten when applying the apn settings again. In the patch I added a function that only updates the types that are not involved with custom settings.
Attachment #8456061 - Flags: review?(josea.olivera)
Comment on attachment 8456061 [details] link to https://github.com/mozilla-b2g/gaia/pull/21746 (In reply to Arthur Chen [:arthurcc] from comment #2) > Created attachment 8456061 [details] > link to https://github.com/mozilla-b2g/gaia/pull/21746 LGTM. r=me This is an issue we have from the very beginning, we have been always overwriting the custom APN (if any). :( I don't see any collateral issue it might appear taking this change. As you know we must be extra careful with adding changes here as it might result in no APNs and no data calls. I'm glad to see you added a test here. Thanks for taking care of it Arthur.
Attachment #8456061 - Flags: review?(josea.olivera) → review+
Thanks for reviewing, jose! master: 933165ae1719224dfbe6f96b833996252e66705e
Status: ASSIGNED → RESOLVED
Closed: 12 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: