Closed Bug 990021 Opened 10 years ago Closed 10 years ago

[Messages] We should show the correct error message when trying to download a MMS in airplane mode

Categories

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

x86_64
Linux
defect
Not set
normal

Tracking

(tracking-b2g:backlog)

RESOLVED FIXED
tracking-b2g backlog

People

(Reporter: julienw, Assigned: azasypkin)

References

Details

(Whiteboard: [priority][sms-sprint-2.1S1])

Attachments

(1 file)

We need to display a different message for RadioDisabledError in the MMS retrieving case.

+++ This bug was initially created as a clone of Bug #981577 +++

STR:
* set "MMS Automatic retrieval" to off
* receive a MMS with attachment
* enable airplane mode
* try to download the MMS

Expected:
* we should see an error related to airplane mode

Actual:
* no error is displayed, only the error icon is added.

Note that I didn't find any error message related to airplane mode for this case (we have one for _sending_ messages but it's not suited for this bug).

NI ayman for providing more information.
QAwanted to know the behavior in v1.1.
NI Joe because we need to prioritize this in the 1.5 time frame.
Flags: needinfo?(jcheng)
1.5? so this can be triaged in comms team triage
blocking-b2g: --- → 1.5?
Flags: needinfo?(jcheng)
Change component to SMS, if it's not correct, please assign back or assign to correct component, thanks.
Component: RIL → Gaia::SMS
Yes, it's a SMS issue, Gecko part was done in Bug 981577.
triage: add to backlog
ni? Omega for the spec
blocking-b2g: 2.0? → backlog
Flags: needinfo?(ofeng)
Let's use this:

Airplane Mode Activated
-----------------------
Turn off airplane mode to download attachments.

[OK]
Flags: needinfo?(ofeng)
Hi Omega,
Do you have other strings to notify user instead of guiding them to turning off airplane mode?
Flags: needinfo?(ofeng)
Whiteboard: [priority]
(In reply to Wesley Huang [:wesley_huang] from comment #7)
> Hi Omega,
> Do you have other strings to notify user instead of guiding them to turning
> off airplane mode?

I suggest this string since we have similar string when sending MSG with Airplane mode on. It's "Turn off airplane mode to send messages.". If we want to change the string, we should consider both of them. No idea for now. Anybody has suggestions?
Flags: needinfo?(ofeng)
I think that when Airplane mode is enabled, the user will know how to disable it.
Hey Omega and Julien,

Currently I see the following message for the STR in comment 0:

Title: "Airplane mode activated"
Body: "Turn off airplane mode to send messages." - still a bit weird, as we're not sending anything, but retrieving.

Should we just replace "send message" part with "download message" or there are any other ideas?

Thanks!
Flags: needinfo?(ofeng)
Please, see comment 10...
Flags: needinfo?(felash)
See comment 6 :)
Flags: needinfo?(ofeng)
Flags: needinfo?(felash)
Nice, thanks!
Depends on: 1035279
Hey Steve,

I have the patch for this for a long time already, but was waiting for bug 1035279 to be resolved, so the time to dust off this code has come :)

Thanks!
Assignee: nobody → azasypkin
Status: NEW → ASSIGNED
Attachment #8465283 - Flags: review?(schung)
Patch looks fine for me but I haven't got a validate sim for testing yet, will try it other day. Thanks!
Comment on attachment 8465283 [details] [review]
GitHub pull request URL

Thanks for adding new error message for this case. I think we just need additional comment for this, so r=me.
Attachment #8465283 - Flags: review?(schung) → review+
(In reply to Steve Chung [:steveck] from comment #16)
> Comment on attachment 8465283 [details] [review]
> GitHub pull request URL
> 
> Thanks for adding new error message for this case. I think we just need
> additional comment for this, so r=me.

Thanks for review! Added comment as you suggested.

Master: https://github.com/mozilla-b2g/gaia/commit/9d6c9c846721d9f7ff44c5f1421fb202e1d0b640
Status: ASSIGNED → RESOLVED
Closed: 10 years ago
Resolution: --- → FIXED
Whiteboard: [priority] → [priority][sms-sprint-2.1S1]
blocking-b2g: backlog → ---
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: