Closed Bug 934996 Opened 11 years ago Closed 11 years ago

[Costcontrol] After restarting the device there is no info about data consumption in the utility tray

Categories

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

ARM
Gonk (Firefox OS)
defect
Not set
normal

Tracking

(blocking-b2g:koi+, b2g-v1.2 verified)

VERIFIED FIXED
1.2 C5(Nov22)
blocking-b2g koi+
Tracking Status
b2g-v1.2 --- verified

People

(Reporter: isabelrios, Assigned: salva)

References

Details

(Keywords: regression, Whiteboard: burirun3, burirun4)

Attachments

(2 files)

Attached image IMG_0044.jpg
1.2 buri testrun3 build:
Gecko-9150851
Gaia-606517c

STR
1. Launch Usage app
2. Browse to consume data
3. Long tap on the power off key, tap on Restart
4. Once the device starts up pull down the utility tray

EXPECTED
Pulling down the utility tray shows the usage app with the correct values.

ACTUAL
All the fields appear empty. Please see picture attached
blocking-b2g: koi? → koi+
QA Contact: nkot
Works for me... pulling down the utility tray shows the usage app with the correct values after device been rebooted.

We do phone Reset every time we flash to a new build (since we don't do full flash but use fullflash_gecko_ril_gaia.sh). Maybe resetting fixes the issue.

BuildID: 20131106004004
Gaia: 2140c987fdde1c99097018f7e93b0bbd43d2125d
Gecko: 6a831fcb96f4
Version: 26.0
Isabel - Can you double check this on today's build?
Flags: needinfo?(isabelrios)
Hi Jason,

Yes, I just checked it with today's build:
Gecko-609a2d5
Gaia-590eb59

And the result is the same than reported.
Flags: needinfo?(isabelrios)
The bug is indeed caused by a bug in cost control functionality, not usage control. I'm going to review, then reword if necessary.
Assignee: nobody → salva
regression window if needed is provided in dup, see https://bugzilla.mozilla.org/show_bug.cgi?id=936255#c2
Target Milestone: --- → 1.2 C5(Nov22)
Comment on attachment 829908 [details]
Changing issues indicators and preventing duplicated events to affect the startup process.

Unit tests failing with this PR:

https://travis-ci.org/mozilla-b2g/gaia/jobs/13775799

Just doing the r- for checking again once you ask for review.

Thanks Salva!
Attachment #829908 - Flags: review?(francisco.jordano) → review-
Comment on attachment 829908 [details]
Changing issues indicators and preventing duplicated events to affect the startup process.

My fault. Mocks needed to be updated. All is ok now. Waiting fro travis.
Attachment #829908 - Flags: review- → review?(francisco.jordano)
Attachment #829908 - Flags: review?(francisco.jordano) → review?(jmcf)
Providing a simpler STR:

1) Pass the Cost Control FTU for for any kind of SIM
2) Restart the device
3) Show the utility tray

Expected:
The widget shows the info properly.

Actual:
The widget shows two empty areas.

In any case you will find this error in the system log:
TypeError: proxy.contentWindow.setNextReset is not a function
jmcf, any word on review? can we pass the review baton if jmcf isn't able to review early this week?
He told me he will review this today.
Comment on attachment 829908 [details]
Changing issues indicators and preventing duplicated events to affect the startup process.

good work Salva. now working perfectly
Attachment #829908 - Flags: review?(jmcf) → review+
Master: c317b614ffb412b474dcb7fd8d533b1978dfae95
Status: NEW → RESOLVED
Closed: 11 years ago
Resolution: --- → FIXED
Uplifted c317b614ffb412b474dcb7fd8d533b1978dfae95 to:
v1.2: aeb58858a3fb707189f79871e9bbccc18c575fce
Whiteboard: burirun3 → burirun3, burirun4
The notification now correctly displays data plan usage after a device restart.

1.2 Environmental Variables:
Device: Buri v1.2 COM RIL
BuildID: 20131204004003
Gaia: 8d762f3376318fd6be390432db750ae4904c9ab6
Gecko: 758f3fb32dda
Version: 26.0
Firmware Version: V1.2_20131115

1.3 Master Environmental Variables
Device: Buri v1.3 COM RIL
Build ID: 20131203040236
Gecko: 8648aa476eef
Gaia: 31808a29cfcffa584b6a88b4f1e515387f485a1b
Platform Version: 28.0a1
RIL Version: 01.02.00.019.102
Firmware Version: v1.2_20131115
Status: RESOLVED → VERIFIED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: