[Cost Control] If new SIM, FTE does not show when tapping on Cost Control widget

RESOLVED FIXED

Status

Firefox OS
Gaia::Cost Control
P2
normal
RESOLVED FIXED
6 years ago
6 years ago

People

(Reporter: salva, Assigned: salva)

Tracking

unspecified
x86_64
Linux

Firefox Tracking Flags

(blocking-basecamp:+)

Details

Attachments

(1 attachment, 1 obsolete attachment)

Repro:
1.- Insert a new SIM or issue the command `make reset-gaia`
2.- Pull down utility tray
3.- Tap on the Cost Control widget

Expected:
Cost Control application opens and shows the FTE

Actual:
Cost Control application opens with no FTE
Created attachment 683563 [details]
Fixed logic and race conditions preventing FTE

In addition to the main modification, as consequence of avoid starting CC during the device boot (bug #813243), I have to change the way that views and service are initialized to avoid race conditions.
Attachment #683563 - Flags: review?(francisco.jordano)
Attachment #683563 - Flags: review?(francisco.jordano) → review+
Created attachment 683710 [details]
This fix takes in count the settings to ensure it is loaded only when Service is available

I added a commit, :arcturus to ease your review. You can note there is only a little change to ensure settings.html is loaded when service is available (inside the _init() context). If you r+ me then I squash the commits before merge.
Attachment #683563 - Attachment is obsolete: true
Attachment #683710 - Flags: review?(francisco.jordano)
Chris, it sounds like needed in the target market cause we suppose that they will often change SIM.
blocking-basecamp: ? → +
Flags: needinfo?(clee)
Priority: -- → P2
Attachment #683710 - Flags: review?(francisco.jordano) → review+
Status: NEW → RESOLVED
Last Resolved: 6 years ago
Resolution: --- → FIXED
Removing needinfo since already fixed.
Flags: needinfo?(clee)
You need to log in before you can comment on or make changes to this bug.