Closed
Bug 855610
Opened 12 years ago
Closed 12 years ago
B2G MMS: Scan pending sending/receiving transaction and set the status to fail when b2g bootup
Categories
(Core :: DOM: Device Interfaces, defect)
Tracking
()
People
(Reporter: ctai, Assigned: ctai)
References
Details
(Whiteboard: [fixed-in-birch])
Attachments
(1 file, 6 obsolete files)
5.00 KB,
patch
|
Details | Diff | Splinter Review |
No description provided.
Assignee | ||
Comment 1•12 years ago
|
||
Somtimes we might be in bad data call environment and could not be able to retrieve or send MM. But when we come back to good data call environment, we should re-queque those pending transactions.
Assignee | ||
Updated•12 years ago
|
Assignee: nobody → ctai
Assignee | ||
Updated•12 years ago
|
Summary: B2G MMS: Scan pending transaction when new MMS transaction acquired. → B2G MMS: Scan pending transaction when new MMS transaction acquired or a change in network connectivity has occurred.
Assignee | ||
Comment 2•12 years ago
|
||
After discuss with Vicamo, let's start from scanning pending send and retrieve transaction in boot-up first.
Summary: B2G MMS: Scan pending transaction when new MMS transaction acquired or a change in network connectivity has occurred. → B2G MMS: Scan pending transaction when bootup
Assignee | ||
Comment 3•12 years ago
|
||
After talk with Casey in Madrid, he don't want this feature. So reset assignee to default.
Assignee: ctai → nobody
Assignee | ||
Updated•12 years ago
|
Summary: B2G MMS: Scan pending transaction when bootup → B2G MMS: Scan pending sending/receiving transaction and set the status to fail when bootup
Assignee | ||
Updated•12 years ago
|
Summary: B2G MMS: Scan pending sending/receiving transaction and set the status to fail when bootup → B2G MMS: Scan pending sending/receiving transaction and set the status to fail when b2g bootup
Assignee | ||
Comment 4•12 years ago
|
||
After messaging AP support MMS, looks like we need this bug fix some UI bad behaviour.
For example, if we reboot or remove the battery when we are receiving/sending MMS, we will see the spin icon forever on those messages. We need to refresh the message record when b2g start. Nominate for leo+.
blocking-b2g: --- → leo?
Assignee | ||
Comment 5•12 years ago
|
||
Assignee: nobody → ctai
Assignee | ||
Comment 6•12 years ago
|
||
Attachment #757323 -
Attachment is obsolete: true
Assignee | ||
Comment 7•12 years ago
|
||
Attachment #757325 -
Attachment is obsolete: true
Assignee | ||
Comment 8•12 years ago
|
||
Attachment #757327 -
Attachment is obsolete: true
Assignee | ||
Updated•12 years ago
|
Attachment #757328 -
Flags: feedback?(vyang)
Comment 9•12 years ago
|
||
Comment on attachment 757328 [details] [diff] [review]
Patch v1.3
Review of attachment 757328 [details] [diff] [review]:
-----------------------------------------------------------------
Looks good for me, just need a few adjustments to SMS messages as well. :)
::: dom/mobilemessage/src/ril/MobileMessageDatabaseService.js
@@ +298,5 @@
> + return;
> + let messageRecord = messageCursor.value;
> + if (messageRecord.type == "sms") {
> + messageCursor.continue();
> + return;
We can also have unsent SMS messages.
@@ +324,5 @@
> + if (!messageCursor)
> + return;
> + let messageRecord = messageCursor.value;
> + if (messageRecord.type == "sms") {
> + messageCursor.continue();
We have no "not-downloaded" SMS messages, just place a comment here will do.
Attachment #757328 -
Flags: feedback?(vyang) → feedback+
Assignee | ||
Comment 10•12 years ago
|
||
Attachment #757328 -
Attachment is obsolete: true
Assignee | ||
Comment 11•12 years ago
|
||
Attachment #758423 -
Attachment is obsolete: true
Assignee | ||
Updated•12 years ago
|
Attachment #758428 -
Flags: review?(vyang)
Comment 12•12 years ago
|
||
Comment on attachment 758428 [details] [diff] [review]
Patch v1.5
Review of attachment 758428 [details] [diff] [review]:
-----------------------------------------------------------------
I have a little bit concern about the new "error" value for "not-downloaded" messages. Is it a request from UX or supported by any user stories?
::: dom/mobilemessage/src/ril/MobileMessageDatabaseService.js
@@ +302,5 @@
> + cursorRequestSending.onsuccess = function(event) {
> + let messageCursor = event.target.result;
> + if (!messageCursor)
> + return;
> + let messageRecord = messageCursor.value;
nit: I think we embrace one-liner with only one exception -- |if (DEBUG) debug("short messages");|. Besides, please have an empty line after a return statement. That make it more clear that following code is for another purpose.
@@ +329,5 @@
> + cursorRequestNotDownloaded.onsuccess = function(event) {
> + let messageCursor = event.target.result;
> + if (!messageCursor)
> + return;
> + let messageRecord = messageCursor.value;
ditto
Attachment #758428 -
Flags: review?(vyang) → review+
Assignee | ||
Comment 13•12 years ago
|
||
(In reply to Vicamo Yang [:vicamo][:vyang] from comment #12)
> Comment on attachment 758428 [details] [diff] [review]
> Patch v1.5
>
> Review of attachment 758428 [details] [diff] [review]:
> -----------------------------------------------------------------
>
> I have a little bit concern about the new "error" value for "not-downloaded"
> messages. Is it a request from UX or supported by any user stories?
I think this just a bug. It is not a request UX or user story. It will spin forever without the 'error' value when we reboot during retrieving MMS.
Assignee | ||
Comment 14•12 years ago
|
||
Attachment #758428 -
Attachment is obsolete: true
Comment 15•12 years ago
|
||
Whiteboard: [fixed-in-birch]
Comment 16•12 years ago
|
||
Status: NEW → RESOLVED
Closed: 12 years ago
Resolution: --- → FIXED
Comment 17•12 years ago
|
||
Comment 18•12 years ago
|
||
status-b2g-v1.1hd:
--- → fixed
status-firefox22:
--- → wontfix
status-firefox23:
--- → wontfix
status-firefox24:
--- → fixed
Updated•12 years ago
|
Flags: in-moztrap-
You need to log in
before you can comment on or make changes to this bug.
Description
•