Closed
Bug 875491
Opened 11 years ago
Closed 11 years ago
thread UI gets broken when APN is bad
Categories
(Firefox OS Graveyard :: Gaia::SMS, defect)
Tracking
(blocking-b2g:leo+)
RESOLVED
DUPLICATE
of bug 877064
blocking-b2g | leo+ |
People
(Reporter: dietrich, Assigned: gerard-majax)
References
Details
i had an AT&T APN that was fine for data but not for MMS. this caused sent MMS to not get sent and stay forever in the thread with a spinner and received mms to show the "you've received a message" message with a download button, but download button did nothing. instead, we should: * if possible, let the user know that the messages aren't being sent because bad APN settings * handle the zombie sent/rec'd messages in a better way in the UI
Reporter | ||
Updated•11 years ago
|
blocking-b2g: --- → leo+
Whiteboard: [NO_UPLIFT]
Reporter | ||
Updated•11 years ago
|
Whiteboard: [NO_UPLIFT] → [NO_UPLIFT][uplift-blocker]
Comment 1•11 years ago
|
||
I'm not sure what can be done here... Is the reason for an error even broadcast in a way we could interpret it?
Flags: needinfo?(schung)
Flags: needinfo?(ctai)
Comment 2•11 years ago
|
||
The messages seem to get stuck in deliveryState[0] === 'pending' btw...
Comment 3•11 years ago
|
||
It could be reproduced easily while switching the apn to custom settings. We need gecko to return error event if apn settings is invalid(for both sending/receiving). Maybe we need to set a timeout for this situation.
Flags: needinfo?(schung)
Reporter | ||
Updated•11 years ago
|
Whiteboard: [NO_UPLIFT][uplift-blocker] → [NO_UPLIFT]
Reporter | ||
Updated•11 years ago
|
Whiteboard: [NO_UPLIFT]
Assignee | ||
Comment 4•11 years ago
|
||
I'll try and see what I can do for this one.
Updated•11 years ago
|
OS: Mac OS X → Gonk (Firefox OS)
Hardware: x86 → ARM
Comment 5•11 years ago
|
||
After 3 times retry(interval is 5 minutes), the gecko will notify an error. aRequest.notifySendMessageFailed(Ci.nsIMobileMessageCallback.INTERNAL_ERROR); Services.obs.notifyObservers(aDomMessage, kSmsFailedObserverTopic, null);
Flags: needinfo?(ctai)
Comment 6•11 years ago
|
||
Looks like something wrong in the timer of retry send... debuging..
Assignee | ||
Comment 7•11 years ago
|
||
No error seems to be sent also in case of MMSC triggering an error.
Comment 8•11 years ago
|
||
IMHO there are cases where we don't need to retry (like the MMSC proxy returning an error)
Reporter | ||
Updated•11 years ago
|
Assignee: nobody → lissyx+mozillians
Comment 9•11 years ago
|
||
Julien, Thanks for your suggestion, we will skip retry in some case on following version but not v1.1. There is no callback in current APN activate function. So we don't have a better way to do this. I think some cases like HTTP/503 is worth to retry. That is why we use retry mechanism. (In reply to Julien Wajsberg [:julienw] (PTO 30th May -> 10th June with no access to my bugmail) from comment #8) > IMHO there are cases where we don't need to retry (like the MMSC proxy > returning an error)
Comment 10•11 years ago
|
||
Dietrich, now 855610 877064 is landed. If APN wrong, gecko will retry(sending 3 times with 5 minutes interval and retry receiving 4 times with interval 1, 5, 10, and 30 minutes, Bug 840066). After retry, the spin icon will turn to an error icon. Is this OK for you on this bug?
Flags: needinfo?(dietrich)
Reporter | ||
Comment 11•11 years ago
|
||
Yes, I did see this now - eventually see an error icon with bad APN.
Flags: needinfo?(dietrich)
Comment 12•11 years ago
|
||
I close this bug because of we can see an error icon with bad APN when 877064 landed.
Status: NEW → RESOLVED
Closed: 11 years ago
Resolution: --- → DUPLICATE
You need to log in
before you can comment on or make changes to this bug.
Description
•