Closed Bug 888206 Opened 11 years ago Closed 11 years ago

[Cost Control] Start-up process crashes trying to load an nonexistent balance configuration causing settings UI to crash as well.

Categories

(Firefox OS Graveyard :: Gaia::Cost Control, defect, P1)

Other
Gonk (Firefox OS)

Tracking

(blocking-b2g:leo+, b2g18 fixed, b2g-v1.1hd fixed)

VERIFIED FIXED
1.1 QE4 (15jul)
blocking-b2g leo+
Tracking Status
b2g18 --- fixed
b2g-v1.1hd --- fixed

People

(Reporter: zcampbell, Assigned: salva)

Details

(Keywords: regression, Whiteboard: [fromAutomation][LeoVB+])

Attachments

(2 files)

Attached image screenshot
All the string content is missing from the Settings in Cost Control app making it unusable.


Gecko  http://hg.mozilla.org/mozilla-central/rev/3b955f306226
Gaia  b9a009103bd70ec77eb8ec9472a943e38d8219b1
BuildID 20130627031208
Version 25.0a1
Please, can you report a STR?
blocking-b2g: --- → leo?
Flags: needinfo?(zcampbell)
I am not sure how to give you STR aside from:

1. Load Usage app
2. Complete Usage FTE
3. Open settings!

I even re-flashed my device just to see if there was something wrong but on a fresh flash it still had the same problem.
Flags: needinfo?(zcampbell)
Gaia master?
(In reply to Salvador de la Puente González [:salva] from comment #3)
> Gaia master?

Yep, Gaia master.
Priority: -- → P1
Target Milestone: --- → 1.1 QE4 (15jul)
I think this is related to a localized bug that window.onlocalized is not fired. If I comment out the line 189 to 192 in [1], I get the same result as attachment. It's an old bug and I got the bug number. I will post bug number back if I found it.

[1] https://github.com/mozilla-b2g/gaia/blob/6e78863eeff44198e76fae6ef501f9cb073e194e/apps/costcontrol/js/app.js#L189-L192
I got it, it is bug 882592. Ian Liu found this bug that the window.localized is not fired when event listener is hooked after window is already localized, and the event is never fired anymore. It's a race condition. So, it is hard to reproduce.
From comment 6, adding bug 882592 as blocker.
Depends on: 882592
No, this is not related with bug 882592. Rewording and preparing a PR.
Assignee: nobody → salva
No longer depends on: 882592
Keywords: regression
This is a regression introduced by bug 885314. Please, flag as a blocker as it is a regression.
Summary: String/content is missing from the Cost control Settings → [Cost Control] Start-up process crashes trying to load an nonexistent balance configuration causing settings UI to crash as well.
Attachment #770201 - Flags: review?(francisco.jordano)
Bug 885314 is dependent on this issue.So marking it as leo+.
blocking-b2g: leo? → leo+
Comment on attachment 770201 [details]
Avoid crash during start-up

Tested on the phone, working fine.

Thanks Salva!
Attachment #770201 - Flags: review?(francisco.jordano) → review+
Master: 77db0e56e2f14fcd007321392b20150581f6c5ae
Status: NEW → RESOLVED
Closed: 11 years ago
Resolution: --- → FIXED
Uplifted 77db0e56e2f14fcd007321392b20150581f6c5ae to:
v1-train: 11df918f3c852e6acf8012ba80f363a64d854e41
Verified fixed.

Gecko  http://hg.mozilla.org/releases/mozilla-b2g18/rev/39607fd11f6b
Gaia   5d7a0da528dce626b563abafc135eb828599d3c0
BuildID 20130703230208
Version 18.0
Status: RESOLVED → VERIFIED
Whiteboard: [fromAutomation] → [fromAutomation][LeoVB+]
v1.1.0hd: 11df918f3c852e6acf8012ba80f363a64d854e41
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: