Closed Bug 904625 Opened 11 years ago Closed 11 years ago

Wrong error message displayed when making a call in airplane mode

Categories

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

ARM
Gonk (Firefox OS)
defect
Not set
normal

Tracking

(blocking-b2g:koi+)

RESOLVED FIXED
blocking-b2g koi+

People

(Reporter: Bebe, Assigned: gerard-majax)

References

Details

(Keywords: regression)

Attachments

(1 file)

STR:
1. Activate airplane mode
2. Try to make a call
3. Verify the error message

Expected:
3. The error message should be:
"Airplane mode activated"

Actual:
3. The error message is:
"No network connection"

Screenshot:
http://imgur.com/FI3QjZP

This is reproducible on:

Gecko  http://hg.mozilla.org/mozilla-central/rev/8c240c67f76c
Gaia  b527d7406b4eed3bacdee78597bb4ff21bf9f7d0
BuildID 20130813040222
Version 26.0a1
Keywords: regression
blocking-b2g: --- → koi?
We plus it as it is a regression
blocking-b2g: koi? → koi+
Reproducing in Inari :)
In telephony_helper.js, we have a check against conn.voice.network that explains the current behavior. Removing this would allow to go further in the code path, but when placing a call in this state, we do a dialEmergency() and I get no error coming back from Gecko when calling something else than 112.
Bug 909638 adds the needed bits for proper error to get back to us.
Depends on: 909638
Pointer to Github pull-request
Comment on attachment 802933 [details]
Pointer to Github pull request: https://github.com/mozilla-b2g/gaia/pull/12115

Please find attached a link to the github pull request that addresses the issue.
Attachment #802933 - Flags: review?(etienne)
Comment on attachment 802933 [details]
Pointer to Github pull request: https://github.com/mozilla-b2g/gaia/pull/12115

sweet and simple, thanks!
Attachment #802933 - Flags: review?(etienne) → review+
https://github.com/mozilla-b2g/gaia/commit/9025d9103e2bb344bf99a986e08ae75732dcd675
Status: NEW → RESOLVED
Closed: 11 years ago
Resolution: --- → FIXED
Looks like this was resolved by Alex Lissy.
Assignee: nobody → lissyx+mozillians
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: