Closed
Bug 869841
Opened 12 years ago
Closed 12 years ago
B2G MMS: Gaia cannot get request returned after calling .sendMMS(...).
Categories
(Core :: DOM: Device Interfaces, defect)
Tracking
()
People
(Reporter: airpingu, Assigned: airpingu)
References
Details
(Whiteboard: [fixed-in-birch])
Attachments
(1 file)
6.32 KB,
patch
|
vicamo
:
review+
ctai
:
feedback+
|
Details | Diff | Splinter Review |
+++ This bug was initially created as a clone of Bug #810091 +++
Please see bug 810091, comment #34.
We'll encounter an internal error when sending an MMS. This bug will stop Gaia getting the request returned after calling .sendMMS(). We must fix this ASAP. Nominating for leo+.
Assignee | ||
Comment 1•12 years ago
|
||
Attachment #746876 -
Flags: review?(vyang)
Attachment #746876 -
Flags: feedback?(ctai)
Assignee | ||
Updated•12 years ago
|
Whiteboard: [NO_UPLIFIT]
Updated•12 years ago
|
Attachment #746876 -
Flags: review?(vyang) → review+
Assignee | ||
Comment 2•12 years ago
|
||
Whiteboard: [NO_UPLIFIT] → [fixed-in-birch] [NO_UPLIFIT]
Comment 3•12 years ago
|
||
Status: NEW → RESOLVED
Closed: 12 years ago
Resolution: --- → FIXED
Whiteboard: [fixed-in-birch] [NO_UPLIFIT] → [fixed-in-birch] [NO_UPLIFT]
Target Milestone: --- → mozilla23
Updated•12 years ago
|
Attachment #746876 -
Flags: feedback?(ctai) → feedback+
Comment 4•12 years ago
|
||
Adding to leo+ per Description and blocking bug b2g-mms
blocking-b2g: leo? → leo+
Assignee | ||
Updated•12 years ago
|
Comment 5•12 years ago
|
||
Could you please check the NO_UPLIFT flag?
Thanks.
Flags: needinfo?(anshulj)
Assignee | ||
Comment 6•12 years ago
|
||
Flags: needinfo?(anshulj)
Comment 7•12 years ago
|
||
I'm seeing this error:
NS_ERROR_UNEXPECTED: Component returned failure code: 0x8000ffff (NS_ERROR_UNEXPECTED) [nsIDOMMozMobileMessageManager.sendMMS]
(Plus other delivery related errors)
Repro requires a bit of setup and all of the SMIL doc generation code, so i put it in a gist:
https://gist.github.com/rwldrn/b2aaf04f07c1990e8037
I'm not even sure I'm sending the right information to the sendMMS, as I can't find any information about what is required in the params object.
Assignee | ||
Comment 8•12 years ago
|
||
(In reply to Rick Waldron from comment #7)
> I'm seeing this error:
>
> NS_ERROR_UNEXPECTED: Component returned failure code: 0x8000ffff
> (NS_ERROR_UNEXPECTED) [nsIDOMMozMobileMessageManager.sendMMS]
>
> (Plus other delivery related errors)
>
> Repro requires a bit of setup and all of the SMIL doc generation code, so i
> put it in a gist:
>
> https://gist.github.com/rwldrn/b2aaf04f07c1990e8037
>
> I'm not even sure I'm sending the right information to the sendMMS, as I
> can't find any information about what is required in the params object.
var mms = {
sender: '+18572044340',
recievers: ['+18575409264'],
smil: message.smil,
attachments: message.attachments,
timestamp: Date.now()
};
Oops... I guess you had a typo here. Please try to do s/recievers/receivers/. Also, I don't think you need |timestamp| here. The platform will prepare that for you. In summary, what you only need is the following 4 attributes:
dictionary MmsParameters
{
jsval receivers; // DOMString[]
DOMString? subject;
DOMString? smil;
jsval attachments; // MmsAttachment[]
};
I didn't run your codes but I believe the above-mentioned is exactly the right cause. ;)
Updated•12 years ago
|
Flags: in-moztrap-
You need to log in
before you can comment on or make changes to this bug.
Description
•