Closed
Bug 916068
Opened 12 years ago
Closed 12 years ago
Can't change timezone if we are not connected to a voice network
Categories
(Firefox OS Graveyard :: Gaia, defect)
Tracking
(blocking-b2g:hd+, b2g-v1.1hd fixed, b2g-v1.2 fixed)
VERIFIED
FIXED
| blocking-b2g | hd+ |
People
(Reporter: hub, Assigned: timdream)
References
Details
(Keywords: regression)
Attachments
(1 file)
|
587 bytes,
patch
|
jj.evelyn
:
review+
|
Details | Diff | Splinter Review |
I just reflashed my inari with today master.
In the FTE, Date & Time, the timezone is set to GMT. When I tap the top "change" button I get an empty list. Same for the one next to "GMT".
| Reporter | ||
Updated•12 years ago
|
OS: Linux → Gonk (Firefox OS)
Hardware: x86_64 → ARM
| Reporter | ||
Updated•12 years ago
|
Keywords: regression
Updated•12 years ago
|
blocking-b2g: --- → koi?
Keywords: regressionwindow-wanted
Updated•12 years ago
|
Assignee: nobody → sparsons
Updated•12 years ago
|
Assignee: sparsons → nobody
QA Contact: sparsons
Comment 1•12 years ago
|
||
This issue was reproduced as far back as the 8/28 Build ID: 20130828040202. It seems as though it can only be reproduced when there is no SIM inserted in the device.
Environmental Variables
Build ID: 20130828040202
Gecko: http://hg.mozilla.org/mozilla-central/rev/416075f77249
Gaia: eb48d3682e045c94b650323b5a55898afdf3e3b1
Platform Version: 26.0a1
RIL Version: 01.02.00.019.043
Last working on Buri 1.2 Build ID: 20130827040201
Environmental Variables
Build ID: 20130827040201
Gecko: http://hg.mozilla.org/mozilla-central/rev/e42dce3209da
Gaia: 599214a0f41eece076dc83cd85f5b27f8cfe67f2
Platform Version: 26.0a1
RIL Version: 01.02.00.019.043
Keywords: regressionwindow-wanted
| Reporter | ||
Comment 2•12 years ago
|
||
Actually that phone has a SIM card, but it is disabled (settings show "????"). (it is one of the SIM card from TEF that we got in Madrid)
Comment 3•12 years ago
|
||
Interesting, we are using AT&T SIM's and can only repro when no SIM is inserted...
(In reply to Hubert Figuiere [:hub] from comment #2)
> Actually that phone has a SIM card, but it is disabled (settings show
> "????"). (it is one of the SIM card from TEF that we got in Madrid)
| Reporter | ||
Comment 4•12 years ago
|
||
(In reply to Sarah Parsons from comment #3)
> Interesting, we are using AT&T SIM's and can only repro when no SIM is
> inserted...
But as I said, I suspect the SIM card has been disabled by the carrier.
| Assignee | ||
Comment 7•12 years ago
|
||
As I investigated and documented in bug 923775, this is due to the fact tz.json is not copied into application.zip.
This bug affects Settings app too.
Component: Gaia::First Time Experience → Gaia
Summary: Can't change timezone → Can't change timezone on FTU and Settings app
| Assignee | ||
Comment 8•12 years ago
|
||
Yuren, according to regression range, this might be a regression from bug 905096.
Flags: needinfo?(yurenju.mozilla)
| Assignee | ||
Comment 9•12 years ago
|
||
OK, bug 905096 doesn't look like to be the offending commit....
Flags: needinfo?(yurenju.mozilla)
| Assignee | ||
Comment 10•12 years ago
|
||
Wait, maybe missing json files is not the cause.
| Assignee | ||
Comment 11•12 years ago
|
||
OK, the error I got is:
[JavaScript Error: "TypeError: conn.voice.network is null" {file: "app://settings.gaiamobile.org/shared/js/tz_select.js" line: 43}]
which I can fix. I am not sure if there are other causes, but I am going to submit a patch on this bug.
Summary: Can't change timezone on FTU and Settings app → Can't change timezone if we are not connected to a voice network
| Assignee | ||
Updated•12 years ago
|
Assignee: nobody → timdream
| Assignee | ||
Comment 12•12 years ago
|
||
Due to Summit I am flagging anyone on the Settings app module and see how response first. This is really trivial.
Triage: this should be koi+ because w/o this patch devices w/o telephony will not be able to switch timezones.
Attachment #813987 -
Flags: review?(kaze)
Attachment #813987 -
Flags: review?(ehung)
Attachment #813987 -
Flags: review?(arthur.chen)
| Assignee | ||
Comment 13•12 years ago
|
||
One the other hand, I might have a phone with a broken RIL ... but I think our code should be more resistant to API breakage.
Comment 15•12 years ago
|
||
Comment on attachment 813987 [details] [diff] [review]
Patch
r=me, thanks for picking the JS error and fixing it.
Clear other review flags.
Attachment #813987 -
Flags: review?(kaze)
Attachment #813987 -
Flags: review?(ehung)
Attachment #813987 -
Flags: review?(arthur.chen)
Attachment #813987 -
Flags: review+
| Assignee | ||
Comment 16•12 years ago
|
||
koi+ because of bug 916068 is marked so.
blocking-b2g: koi? → koi+
| Assignee | ||
Comment 17•12 years ago
|
||
Correction, bug 911917.
| Assignee | ||
Comment 18•12 years ago
|
||
Test passes: https://travis-ci.org/timdream/gaia/builds/12220806
master: https://github.com/mozilla-b2g/gaia/commit/c3cc92096f408e12ea65dc95e08a0f5a4c19fdb0
Status: NEW → RESOLVED
Closed: 12 years ago
Resolution: --- → FIXED
Comment 19•12 years ago
|
||
Uplifted c3cc92096f408e12ea65dc95e08a0f5a4c19fdb0 to:
v1.2: e96514bc8a47669f523a5abe724b3834cefeb0f9
status-b2g-v1.2:
--- → fixed
Updated•12 years ago
|
status-b2g-v1.2:
fixed → ---
Updated•12 years ago
|
blocking-b2g: koi+ → hd+
Comment 23•12 years ago
|
||
Hi Tim,
As discussed this needs to land on HD+ too for the duped bug 925506
Flags: needinfo?(timdream)
Updated•12 years ago
|
status-b2g-v1.2:
--- → fixed
| Assignee | ||
Comment 24•12 years ago
|
||
v1.1.0hd: c829a2042594b6c3a4899ee27979799a0f301534
status-b2g-v1.1hd:
--- → fixed
Flags: needinfo?(timdream)
Comment 25•12 years ago
|
||
[2013/10/21 Helix Testing]
Gaia: c829a2042594b6c3a4899ee27979799a0f301534
Gecko: http://hg.mozilla.org/releases/mozilla-b2g18_v1_1_0_hd/rev/f7c657f6d019
BuildID 20131015042201
Version 18.0
Status: RESOLVED → VERIFIED
You need to log in
before you can comment on or make changes to this bug.
Description
•