Closed
Bug 983215
Opened 10 years ago
Closed 10 years ago
[RIL][DSDS] Sending SMS/MMS doesn't respect given serviceId
Categories
(Firefox OS Graveyard :: RIL, defect)
Firefox OS Graveyard
RIL
Tracking
(blocking-b2g:1.4+, firefox28 wontfix, firefox29 wontfix, firefox30 fixed, b2g-v1.4 fixed)
People
(Reporter: drs, Assigned: edgar)
References
Details
Attachments
(1 file, 1 obsolete file)
1.90 KB,
patch
|
airpingu
:
review+
|
Details | Diff | Splinter Review |
I haven't dug further than this, but from the SMS app: this._mozMobileMessage.send(..., {serviceId: 1}) Doesn't override the SIM to send the message from, instead always sending it from the first. It does respect the ril.sms.defaultServiceId setting, though.
Comment 1•10 years ago
|
||
For information, here is the code used in the SMS app: [1]. We might have a string instead of a long, I don't know how WebIDL behaves in that case. I'll try things locally. [1] https://github.com/julienw/gaia/blob/63865a3ed07817176539450b82386e2bdd106755/apps/sms/js/message_manager.js#L491-L496
Comment 2•10 years ago
|
||
I tried forcing either 0, 1, 2, "1" or anything, it always sent using my configured default SIM "0". So either I'm not using the API correctly, or there is a bug.
Updated•10 years ago
|
Summary: [DSDS] SMS doesn't respect given serviceId → [RIL][DSDS] SMS doesn't respect given serviceId
Updated•10 years ago
|
blocking-b2g: --- → 1.4?
Updated•10 years ago
|
Flags: needinfo?(btseng)
Updated•10 years ago
|
Blocks: b2g-dsds-1.4
Updated•10 years ago
|
Keywords: testcase-wanted
Comment 4•10 years ago
|
||
It should be working. Please see [1]. [1] http://mxr.mozilla.org/mozilla-central/source/dom/mobilemessage/src/MobileMessageManager.cpp#198
Assignee | ||
Comment 5•10 years ago
|
||
We suspect there is an logic error in MobileMessageManager [1]. Patch is on the way. [1] https://github.com/EdgarChen/mozilla-central/blob/119f4a0bdbdf3e4a8145b04d28d5aec578052a5e/dom/mobilemessage/src/MobileMessageManager.cpp#L198-L207
Assignee: nobody → echen
Flags: needinfo?(btseng)
Assignee | ||
Updated•10 years ago
|
Summary: [RIL][DSDS] SMS doesn't respect given serviceId → [RIL][DSDS] Sending SMS/MMS doesn't respect given serviceId
Assignee | ||
Comment 6•10 years ago
|
||
Assignee | ||
Comment 7•10 years ago
|
||
Comment on attachment 8391069 [details] [diff] [review] Patch, v1 Hi Gene, could you help to review this? Thank you.
Attachment #8391069 -
Flags: review?(gene.lian)
Comment 8•10 years ago
|
||
Comment on attachment 8391069 [details] [diff] [review] Patch, v1 Review of attachment 8391069 [details] [diff] [review]: ----------------------------------------------------------------- My bad. Shame on me. :(
Attachment #8391069 -
Flags: review?(gene.lian) → review+
Assignee | ||
Comment 9•10 years ago
|
||
Try result: https://tbpl.mozilla.org/?tree=Try&rev=9e40cc03bc10
Comment 11•10 years ago
|
||
I don't see any difficulty here that we have to file an extra bug for test cases.
Assignee | ||
Comment 12•10 years ago
|
||
(In reply to Vicamo Yang [:vicamo][:vyang] from comment #11) > I don't see any difficulty here that we have to file an extra bug for test > cases. Hi Vicamo, My original idea is to land the fix patch ASAP because it blocks gaia development. So can we land the fix part first? And I will keep working on test case part. Thank you.
Comment 13•10 years ago
|
||
Already has a patch, so I'm removing testcase-wanted.
Keywords: testcase-wanted
Comment 14•10 years ago
|
||
Comment 15•10 years ago
|
||
Comment on attachment 8391421 [details] [diff] [review] part 2/2: test cases : WIP Obsoleting this because now it does raise a problem in emulator -- SMS sent to 2nd modem doesn't loop back.
Attachment #8391421 -
Attachment is obsolete: true
Comment 16•10 years ago
|
||
(In reply to Jason Smith [:jsmith] from comment #13) > Already has a patch, so I'm removing testcase-wanted. I thought v1.4 is about stability. Yet another prove that it is not.
Assignee | ||
Comment 17•10 years ago
|
||
https://hg.mozilla.org/integration/b2g-inbound/rev/f965cc60b604
Comment 18•10 years ago
|
||
(In reply to Vicamo Yang [:vicamo][:vyang] from comment #16) > (In reply to Jason Smith [:jsmith] from comment #13) > > Already has a patch, so I'm removing testcase-wanted. > > I thought v1.4 is about stability. Yet another prove that it is not. I don't think you're talking about the same "testcase" meaning. The keyword "testcase-wanted" means that we want a minimal web page to show the bug. What you cant, Vicamo, is unit tests, and I fully agree with you. But I think there is a misunderstanding here. FWIW it doesn't block Gaia development, we could do the development just fine using mocks. It blocks the final testing though.
Comment 19•10 years ago
|
||
https://hg.mozilla.org/mozilla-central/rev/f965cc60b604
Status: NEW → RESOLVED
Closed: 10 years ago
Resolution: --- → FIXED
Comment 20•10 years ago
|
||
Although it's really nice to have a fix so quickly, we shouldn't have landed it without tests. The Gaia team can compile Gecko with this patch applied if it is really blocking development. Also, writing the tests often helps you check that the fix is the correct one. And finally, given the amount of different configurations that we now ship or plan to ship, there is no way for us developers to manually test on every device before landing so we need to write new tests to get our automation to do that for us.
Updated•10 years ago
|
status-b2g-v1.4:
--- → fixed
status-firefox28:
--- → wontfix
status-firefox29:
--- → wontfix
status-firefox30:
--- → fixed
Target Milestone: --- → 1.4 S4 (28mar)
You need to log in
before you can comment on or make changes to this bug.
Description
•