Closed
Bug 890218
Opened 10 years ago
Closed 10 years ago
[MMS] If reboot device while downloading MMS attachment, the message will be empty and will not be deleted anymore.
Categories
(Firefox OS Graveyard :: Gaia::SMS, defect, P1)
Tracking
(blocking-b2g:leo+, firefox23 wontfix, firefox24 wontfix, firefox25 fixed, b2g18 fixed, b2g18-v1.0.0 wontfix, b2g18-v1.0.1 wontfix, b2g-v1.1hd fixed)
People
(Reporter: echu, Assigned: ctai)
References
Details
(Whiteboard: [u=commsapps-user c=messaging p=0])
Attachments
(5 files, 2 obsolete files)
9.08 MB,
video/mp4
|
Details | |
224.67 KB,
text/plain
|
Details | |
341.05 KB,
text/plain
|
Details | |
1.45 KB,
patch
|
Details | Diff | Splinter Review | |
1.46 KB,
patch
|
Details | Diff | Splinter Review |
Please check attached video, this exception case is trying to reboot device when mms attachment is being downloaded, the message will be empty even receiving new one, and it cannot be deleted unless reset device. * Build Number (Both Gecko and Gaia) Gaia: 1436e2778b90bd74635b0b94d1cf8ccb0d71b60c B-D 2013-06-25 17:04:16 Gecko: http://hg.mozilla.org/releases/mozilla-b2g18/rev/29933d1937db BuildID 20130625070217 Version 18.0 * Reproduce Steps 1. Set mms auto-retrieve to off 2. Send a mms to device 3. Press download button of the message then reboot device while download is still ongoing. * Expected Result The message can be downloaded again. * Actual Result No way to download the message and unable to delete the message as well.
Updated•10 years ago
|
Comment 5•10 years ago
|
||
I cannot reproduce this bug. Every time I restart the FFOS (via long-pushing the power button and tap the "Restart") during downloading, all the MMS files can be successfully downloaded and displayed after rebooting. Hi Eric, do you have a more stable set of steps to reproduce this bug? Thanks!
Hi Gene, I had reproduced the issue for 3 times, so at this moment I assume it's 100% reproducible, but yes I didn't reproduce it more than the 3 times. All I did is after press download button, before attachment is downloaded, I long press power key and select reboot item to restart device. Anything I can do(ex: filming steps, capturing extra log) to assist debugging procedure? Enpei
Comment 7•10 years ago
|
||
Thanks for the reply. No bother. :) I think I'll try to download bigger pictures or add some hard codes to reproduce this. I'll let you know if it's still not working for me.
Comment 9•10 years ago
|
||
Pretty nasty bug, blocking for sure since we need messages to be deletable and re-downloadable if interrupted.
blocking-b2g: leo? → leo+
Updated•10 years ago
|
Whiteboard: [u=commsapps-user c=messaging p=0]
Comment 10•10 years ago
|
||
Hi Vicamo and Chia-hung, do you have time to support this? I'm occupied with other bugs. Please feel free to take this over from me. Thanks!
![]() |
||
Updated•10 years ago
|
Flags: in-testsuite?
![]() |
||
Updated•10 years ago
|
Flags: in-testsuite? → in-moztrap?
Assignee | ||
Comment 13•10 years ago
|
||
Assignee | ||
Updated•10 years ago
|
Attachment #773160 -
Flags: review?(gene.lian)
Comment 14•10 years ago
|
||
Comment on attachment 773160 [details] [diff] [review] Patch v1.0 Review of attachment 773160 [details] [diff] [review]: ----------------------------------------------------------------- ::: dom/mobilemessage/src/gonk/MobileMessageDatabaseService.js @@ +779,5 @@ > let part = parts[i]; > if (DEBUG) { > debug("MMS: part[" + i + "]: " + JSON.stringify(part)); > } > + if (!part) { Could you please add one comment before this condition? Thanks! // Sometimes the part is incomplete because the device reboots when // downloading MMS. Don't need to expose this part to the content.
Attachment #773160 -
Flags: review?(gene.lian) → review+
Assignee | ||
Comment 15•10 years ago
|
||
Attachment #773160 -
Attachment is obsolete: true
Comment 16•10 years ago
|
||
This issue also appears to happen if the SMS app gets killed. Is there an ETA of when this patch will be landed? I've run in to this issue again and I don't want to have to reset my phone.
Assignee | ||
Updated•10 years ago
|
Keywords: checkin-needed
Assignee | ||
Comment 17•10 years ago
|
||
Assignee | ||
Comment 18•10 years ago
|
||
Attachment #775404 -
Attachment is obsolete: true
Assignee | ||
Comment 19•10 years ago
|
||
Patch for uplift to b2g18 branch. (In reply to Chia-hung Tai [:ctai :ctai_mozilla :cht] from comment #18) > Created attachment 775405 [details] [diff] [review] > b2g18-Patch1.0
Comment 20•10 years ago
|
||
https://hg.mozilla.org/projects/birch/rev/9cd23670d3a3
Keywords: checkin-needed
Comment 21•10 years ago
|
||
https://hg.mozilla.org/mozilla-central/rev/9cd23670d3a3
Status: NEW → RESOLVED
Closed: 10 years ago
Resolution: --- → FIXED
Comment 22•10 years ago
|
||
https://hg.mozilla.org/releases/mozilla-b2g18/rev/acbcc91458f1
status-b2g18:
--- → fixed
status-b2g18-v1.0.0:
--- → wontfix
status-b2g18-v1.0.1:
--- → wontfix
status-b2g-v1.1hd:
--- → affected
status-firefox23:
--- → wontfix
status-firefox24:
--- → wontfix
status-firefox25:
--- → fixed
![]() |
||
Updated•10 years ago
|
Flags: in-moztrap?
Reporter | ||
Comment 24•10 years ago
|
||
Hi Ryan, I can still reproduce the issue with following steps, yet the failure rate is lower(no logcat logging, from 3/3 to 1/5. It's hard to reproduce while logging) Gaia: f1d2e3fd806dc55f167c72ac8ef7a3b6baed915e B-D 2013-07-18 03:52:52 Gecko: http://hg.mozilla.org/releases/mozilla-b2g18_v1_1_0_hd/rev/d38580e20aa2 BuildID 20130716230202 Version 18.1 Is the patch already in this build? Enpei
You need to log in
before you can comment on or make changes to this bug.
Description
•