Closed Bug 1066557 Opened 10 years ago Closed 10 years ago

[System] Status bar error message: TypeError: roaming is undefined

Categories

(Firefox OS Graveyard :: Gaia::System, defect)

defect
Not set
normal

Tracking

(blocking-b2g:2.1+, b2g-v2.1 verified, b2g-v2.2 verified)

VERIFIED FIXED
2.1 S5 (26sep)
blocking-b2g 2.1+
Tracking Status
b2g-v2.1 --- verified
b2g-v2.2 --- verified

People

(Reporter: arcturus, Assigned: apastor)

References

Details

(Whiteboard: [systemsfe])

Attachments

(1 file)

I'm constantly seeing this error in logcat with my Flame with a sim roaming:

TypeError: roaming is undefined

Also the sim doesn't display the roaming indicator.
Possible culprit: bug 1056969. Alberto, could you take a look?
Flags: needinfo?(apastor)
Whiteboard: [systemsfe]
Francisco, do you have a file or line number in there?
Flags: needinfo?(francisco)
It seems it doesn't happen 100% of the times, but I was able to repro it at some point.

E/GeckoConsole(  203): [JavaScript Error: "TypeError: roaming is undefined" {file: "app://system.gaiamobile.org/js/statusbar.js" line: 1375}]

Another side problem is that the notifications tray does not open when that happens.
Flags: needinfo?(francisco)
Flags: needinfo?(apastor)
Blocks: 1056969
Assignee: nobody → apastor
A temporary way around this bug for me (in order to get access to the notification area again) was to enable USB storage and then restart with the USB cable plugged in. I don't USB storage is related to the bug, but the additional notification that it creates in the notification bar may be. After restarting and seeing the USB symbol in the notification area I can now expand the notification area for the first time in a few days.
Comment on attachment 8488905 [details] [review]
Link to Github pull-request: https://github.com/mozilla-b2g/gaia/pull/24020

This needs a test.
Attachment #8488905 - Flags: review?(mhenretty) → review+
(In reply to joshua.purcell from comment #5)
> A temporary way around this bug for me (in order to get access to the
> notification area again) was to enable USB storage and then restart with the
> USB cable plugged in. I don't USB storage is related to the bug, but the
> additional notification that it creates in the notification bar may be.
> After restarting and seeing the USB symbol in the notification area I can
> now expand the notification area for the first time in a few days.

How was this bug related to notification tray? Did you mean to comment on bug 1065028 instead?
Flags: needinfo?(joshua.purcell)
No I meant to reply here, since this bug seems to be related to a broken notification tray. gerard-majax mentioned that applying the patch available here solves his broken notification tray. The following comment in this thread mentions that the notification window functionality being affected by this bug as well: https://bugzilla.mozilla.org/show_bug.cgi?id=1066557#c3.

I didn't realize the but you linked to existed... I think these two are related to each other at the least, and possibly one is a duplicate of the other.
Flags: needinfo?(joshua.purcell)
Target Milestone: --- → 2.1 S5 (26sep)
master: https://github.com/mozilla-b2g/gaia/commit/76ba0c3abb97258496ec2cd0a8c21a15874012e0
Status: NEW → RESOLVED
Closed: 10 years ago
Resolution: --- → FIXED
[Blocking Requested - why for this release]: Regression from 1056969, which has been uplifted
blocking-b2g: --- → 2.1?
Comment on attachment 8488905 [details] [review]
Link to Github pull-request: https://github.com/mozilla-b2g/gaia/pull/24020

[Approval Request Comment]
[Bug caused by] (feature/regressing bug #):1056969
[User impact] if declined: The utility tray sometimes doesn't work. Roaming icon is not shown
[Testing completed]: Added unit tests
[Risk to taking this patch] (and alternatives if risky): Given the tests added and that has been tested for a while in master without any report, I think we can consider that the risk is quite low.
[String changes made]:-
Attachment #8488905 - Flags: approval-gaia-v2.1?(fabrice)
Attachment #8488905 - Flags: approval-gaia-v2.1?(fabrice) → approval-gaia-v2.1+
Roaming icon is not shown and we have to rely on utility tray.
blocking-b2g: 2.1? → 2.1+
Status: RESOLVED → VERIFIED
I don't think it makes sense an integration test for this. We can discuss in a triage.
Flags: in-testsuite-
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: