Closed
Bug 845629
Opened 12 years ago
Closed 11 years ago
[Gaia] change mcc/mnc type from integer to string.
Categories
(Firefox OS Graveyard :: Gaia::System, defect)
Tracking
(blocking-b2g:tef+, b2g18 fixed, b2g18-v1.0.1 fixed)
RESOLVED
FIXED
blocking-b2g | tef+ |
People
(Reporter: edgar, Assigned: iliu, NeedInfo)
References
Details
Attachments
(1 file)
In bug 828307, we plan to change mcc/mnc type from integer to string. This change might affect Gaia, so create this bug for tracking Gaia side. Thanks.
Comment 1•12 years ago
|
||
We need at least verify which part of Gaia will be impacted by the change.
Blocks: 828307
Updated•12 years ago
|
Assignee: nobody → arthur.chen
Assignee | ||
Comment 2•12 years ago
|
||
Pointer to Github pull-request
Assignee | ||
Comment 3•12 years ago
|
||
Comment on attachment 732232 [details]
Pointer to Github pull request: https://github.com/mozilla-b2g/gaia/pull/8934
Change mcc/mnc type from integer to string.
Kaze,
Could you please help to review my pr?
I think that you are familiar with mcc/mnc.
Thank you.
Attachment #732232 -
Flags: review?(kaze)
Comment 4•12 years ago
|
||
I had a few nitpicks on the pull request, but my main worry is that the shared `apn.json` database still relies on integer comparison: mnc values don’t have any leading zero.
Unfortunately I don’t have any SIM card with an mnc code lesser than 10, so I can’t test this patch right now. Let me see if I can find somebody who has an Orange SIM card…
Comment 5•12 years ago
|
||
Étienne, would you test this patch with your Orange SIM card please?
• first test: make sure the Settings > Cellular & Data > Data settings still show the usual APN list;
• second test: reboot the phone with another SIM card (or reset the phone to clear the mcc/mnc mozSettings), insert your Orange SIM card, and check the APN list is OK.
Thanks!
Flags: needinfo?(etienne)
Comment 6•12 years ago
|
||
(In reply to Fabien Cazenave [:kaze] from comment #5)
> Étienne, would you test this patch with your Orange SIM card please?
>
> • first test: make sure the Settings > Cellular & Data > Data settings
> still show the usual APN list;
>
> • second test: reboot the phone with another SIM card (or reset the phone
> to clear the mcc/mnc mozSettings), insert your Orange SIM card, and check
> the APN list is OK.
>
> Thanks!
all good !
Flags: needinfo?(etienne)
Comment 7•12 years ago
|
||
Thanks Étienne!
Ian, please address my nits so I can r+ and merge your patch.
Updated•12 years ago
|
Flags: needinfo?(iliu)
Assignee | ||
Comment 8•12 years ago
|
||
Kaze and Étienne,
Thanks for your review effort. I have revised the nits according your suggestion.
Flags: needinfo?(iliu)
Comment 9•11 years ago
|
||
Comment on attachment 732232 [details]
Pointer to Github pull request: https://github.com/mozilla-b2g/gaia/pull/8934
Looks good to me.
Attachment #732232 -
Flags: review?(kaze) → review+
Comment 10•11 years ago
|
||
Status: NEW → RESOLVED
Closed: 11 years ago
Resolution: --- → FIXED
Comment 11•11 years ago
|
||
Comment on attachment 732232 [details]
Pointer to Github pull request: https://github.com/mozilla-b2g/gaia/pull/8934
NOTE: Please see https://wiki.mozilla.org/Release_Management/B2G_Landing to better understand the B2G approval process and landings.
[Approval Request Comment]
Bug caused by (feature/regressing bug #): This bug needs to be uplifted because bug 860411 depends on it.
User impact if declined: See [1] (this is the gaia counterpart). Bugs 860411, 863125 and 863126. Read about those bug to see the user impact if declined.
Testing completed: Works fine in Gaia master branch.
Risk to taking this patch (and alternatives if risky): (No risky) Low in Gaia side.
String or UUID changes made by this patch: No changes.
[1]
Attachment #732232 -
Flags: approval-gaia-v1?
Comment 12•11 years ago
|
||
(In reply to José Antonio Olivera Ortega [:jaoo] from comment #11)
> Comment on attachment 732232 [details]
> Pointer to Github pull request: https://github.com/mozilla-b2g/gaia/pull/8934
> [1]
[1] https://bugzilla.mozilla.org/show_bug.cgi?id=828307#c0
Updated•11 years ago
|
Attachment #732232 -
Flags: approval-gaia-v1?
Comment 13•11 years ago
|
||
This blocks a blocker so should itself be a blocker.
blocking-b2g: --- → tef+
Comment 14•11 years ago
|
||
This bug was partially uplifted.
Uplifted 96a236d8a4c47447a4a16be60c1b457d7254acf9 to:
v1-train: 92e9257dcf133241e6f9542548916b4eb21a5b92
Commit 96a236d8a4c47447a4a16be60c1b457d7254acf9 didn't uplift to branch v1.0.1
status-b2g18:
--- → fixed
Comment 15•11 years ago
|
||
(In reply to James Lal [:lightsofapollo] from comment #14)
> Commit 96a236d8a4c47447a4a16be60c1b457d7254acf9 didn't uplift to branch
> v1.0.1
The conflict is in build/settings.py file, see:
<<<<<<< HEAD
"operatorvariant.mcc": 0,
"operatorvariant.mnc": 0,
=======
"mail.sent-sound.enabled": True,
"message.sent-sound.enabled": True,
"operatorvariant.mcc": "0",
"operatorvariant.mnc": "0",
>>>>>>> 96a236d... Merge pull request #8934 ...
Just keep:
"mail.sent-sound.enabled": True,
"message.sent-sound.enabled": True,
"operatorvariant.mcc": "0",
"operatorvariant.mnc": "0",
After that both bug 863125 and bug 860411 should uplift without conflicts (apply cleanly).
Comment 16•11 years ago
|
||
James, I'll do the uplift to v1.0.1 branch once we get a response from https://bugzilla.mozilla.org/show_bug.cgi?id=828307#c50. Thanks.
Updated•11 years ago
|
status-b2g18-v1.0.1:
--- → affected
Comment 17•11 years ago
|
||
v1.0.1: f050910456cf5b801e92a770aa1c9146b53ba80e
Comment 18•11 years ago
|
||
Can you please provide steps to verify this fix - as we will blackbox test from the UI?
Flags: needinfo?
Comment 19•11 years ago
|
||
Can you please provide steps to verify this fix - as we can perform blackbox testing from the UI?
You need to log in
before you can comment on or make changes to this bug.
Description
•