Closed Bug 889635 Opened 11 years ago Closed 11 years ago

Usage information does not show in notifications

Categories

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

ARM
Gonk (Firefox OS)
defect
Not set
normal

Tracking

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

VERIFIED FIXED
blocking-b2g leo+
Tracking Status
b2g18 ? verified
b2g-v1.1hd --- fixed

People

(Reporter: marcia, Assigned: salva)

References

()

Details

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

Attachments

(6 files)

Leo device, while using - happens on Unagi as well using the same build:

Gecko  http://hg.mozilla.org/releases/mozilla-b2g18/rev/01eacfdb4793
Gaia   0d5a9a7577f16b6a72a982148c6f509ee1714ea2
BuildID 20130702070214
Version 18.1

STR:
1. Pull down notifications
2. Observe no data shows
3. Go to usage app - observe that data shows

Screenshots attached
Attached file Logcat
Nominating for blocking.
blocking-b2g: --- → leo?
OS: Android → Gonk (Firefox OS)
Broken:

Gecko  http://hg.mozilla.org/releases/mozilla-b2g18/rev/8d883cb49438
Gaia   6ed9316f397dfe09d8fa88506881d1a4e697643a
BuildID 20130629230208
Version 18.1

Works:

Gecko  http://hg.mozilla.org/releases/mozilla-b2g18/rev/8d883cb49438
Gaia   c9e9b09cb181fcd15d12af09f89ff87f553c06c7
BuildID 20130628070211
Version 18.1
Assignee: nobody → gduan
In addition to this issue, there is also an issue in usage settings where you are not able to save any of your settings when selecting "Done." I assume it is part of the same issue since it is not seen in the "Works" build in Comment 4.
Comment on attachment 770658 [details]
https://github.com/mozilla-b2g/gaia/pull/10759

I prefer to keep the balance undefined as it is not mandatory. Anyway, this is already resolved in bug 888206.
Attachment #770658 - Flags: review?(salva) → review-
Status: NEW → RESOLVED
Closed: 11 years ago
Resolution: --- → DUPLICATE
This bug is due to the below(from v1train code)

[JavaScript Error: "TypeError: ConfigManager.configuration.balance is undefined" {file: "app://costcontrol.gaiamobile.org/js/widget.js" line: 109}]

So need to be uplifted to v1train.
Status: RESOLVED → REOPENED
Flags: needinfo?(salva)
Resolution: DUPLICATE → ---
blocking-b2g: leo? → leo+
Thanks Leo.

This isn't a duplicate because 888206 is resolved and this bug is still occurring.
Ok, I see. Indeed, the problem is the same but it was happening in two different places. Anyway, the solution is not adding a default value for balance object as it is valid to not have a balance section at all. The solution must be to not initialize the BalanceView when there is not balance section.
Assignee: gduan → salva
Flags: needinfo?(salva)
Flags: in-moztrap?(cbarker)
Attached file Avoid startup error
Attachment #771623 - Flags: review?(francisco.jordano)
Comment on attachment 771623 [details]
Avoid startup error

Damn it, we missed this in bug 888206, anyway the fix is pretty straight forward and works perfectly.

Thanks Salva.
Attachment #771623 - Flags: review?(francisco.jordano) → review+
Master: 9e3fc3bbbd07454644a911f1a60095e1d085ad07
Status: REOPENED → RESOLVED
Closed: 11 years ago11 years ago
Resolution: --- → FIXED
I can reproduce this again on v1-train on Unagi with today's build:

Gecko  http://hg.mozilla.org/releases/mozilla-b2g18/rev/f917f3fb17ab
Gaia   4d6b55ce05cfd94474946cbefc87fc1ecc930d21
BuildID 20130708230204
Version 18.0
Status: RESOLVED → REOPENED
Resolution: FIXED → ---
Attached image screenshot 07/09
Teodosia, this patch has not been backported yet to b2g18. It's only fixed on master. So lets see that we can get this backported. Setting the flags accordingly.
Status: REOPENED → RESOLVED
Closed: 11 years ago11 years ago
tracking-b2g18: --- → ?
Resolution: --- → FIXED
Uplifted 9e3fc3bbbd07454644a911f1a60095e1d085ad07 to:
v1-train: 878476f9e8b47c9398f847304d9387fa9fd23b92
Verified fixed on v1-train.

Gecko  http://hg.mozilla.org/releases/mozilla-b2g18/rev/b64372810dd7
Gaia   680c72ccbd2d5045e590a6ba08de2aac6af71953
BuildID 20130710230201
Version 18.0
Status: RESOLVED → VERIFIED
Whiteboard: [LeoVB+]
v1.1.0hd: 878476f9e8b47c9398f847304d9387fa9fd23b92
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: