Closed Bug 904525 Opened 11 years ago Closed 11 years ago

[Buri][TOR]Voice mail notification in status bar disappear without dial to voicemail

Categories

(Firefox OS Graveyard :: Gaia::System, defect, P1)

defect

Tracking

(blocking-b2g:leo+, b2g18 verified, b2g-v1.1hd fixed)

RESOLVED FIXED
blocking-b2g leo+
Tracking Status
b2g18 --- verified
b2g-v1.1hd --- fixed

People

(Reporter: sync-1, Assigned: alive)

References

Details

Attachments

(6 files)

5.72 MB, application/octet-stream
Details
9.54 MB, application/octet-stream
Details
1.72 KB, patch
alive
: review+
Details | Diff | Splinter Review
9.54 MB, application/octet-stream
Details
9.54 MB, application/octet-stream
Details
5.72 MB, application/octet-stream
Details
AU_LINUX_GECKO_ICS_STRAWBERRY.01.01.00.019.184
 Firefox os  v1.1
 Mozilla build ID:20130806071254
 
 DEFECT DESCRIPTION:
 Voice mail notification in status bar disappear without dial to voicemail
 
  REPRODUCING PROCEDURES:
 -receives voice mail
 -phone notify in status bar about new voice mail
 -select the notification in order to check it
 -nothing happend and notification is deleted
 
  EXPECTED BEHAVIOUR:
 When user select the notification phone should dial to voice mail, after to check voicemail notification should delet
 
  ASSOCIATE SPECIFICATION:
 
  TEST PLAN REFERENCE:
 
  TOOLS AND PLATFORMS USED:
 
  USER IMPACT:
 
  REPRODUCING RATE:
 
  For FT PR, Please list reference mobile's behavior:
Clone from brother
Attached file video part4
Clone from brother
Attached file video part3
Clone from brother
Attached patch patchSplinter Review
Dears,

I investigated this bug, found that it is because of the code "https://github.com/mozilla-b2g/gaia/blob/v1-train/apps/system/js/voicemail.js#L43"

"voicemailNumber" is null so this issue happen.

I have a patch to solve it, please refer to the attachment. Hope it can help you.
Attached file video part1
Attached file video part3
Clone from brother
Attached file video part4
I have a patch to solve it, please refer to the attachment. Hope it can help you.
blocking-b2g: --- → leo?
Looking at the code it would appear this is a regression since v1.0.1 so blocking for a fix.
blocking-b2g: leo? → leo+
Summary: [Buri]Voice mail notification in status bar disappear without dial to voicemail → [Buri][TOR]Voice mail notification in status bar disappear without dial to voicemail
Hi,how about this issue now?
hi Tim, can you have someone look into this? Thanks
Flags: needinfo?(timdream)
I will check this later.
Flags: needinfo?(timdream)
Comment on attachment 789492 [details] [diff] [review]
patch

Review of attachment 789492 [details] [diff] [review]:
-----------------------------------------------------------------

Hi contributor,
I wonder why mozVoicemail is null but settings['ril.iccInfo.mbdn'] is not?
Because it's set by https://github.com/mozilla-b2g/gaia/pull/10076/files#L2R578
Flags: needinfo?(zmm)
Assignee: nobody → alive
Hi Alive,

I am not sure why mozVoicemail is null also.I just found it is null when I debug this issue.So I used the code "request.result['ril.iccInfo.mbdn']" to get the number.
Flags: needinfo?(zmm)
After checking with Vicamo,
voicemail.number may be null if SIM card doesn't provide MBDN info.
I suspect you're using customized voicemail number which is storing in ril.iccInfo.mbdn
Comment on attachment 789492 [details] [diff] [review]
patch

Review of attachment 789492 [details] [diff] [review]:
-----------------------------------------------------------------

Hi, Mingming
Could you file a pull request for this and I could merge for you? Thanks for contributing.

::: apps/system/js/voicemail.js
@@ +43,1 @@
>  

Add comment here.
// Fetch voicemail number from 'ril.iccInfo.mbdn' settings before looking up navigator.mozVoicemail.number
// Some SIM card may not provide MBDN info but we could still use settings to overload that.

@@ +51,5 @@
> +      var number = request.result['ril.iccInfo.mbdn'];
> +      var voicemail = navigator.mozVoicemail;
> +      if (!number && voicemail && voicemail.number) {
> +        number = voicemail.number;
> +      }

if (!number)
  number = (voicemail && voicemail.number) ? voicemail.number : '';
Attachment #789492 - Flags: review+
Assignee: alive → zmm
Hi Alive, could you help me merge this patch? I can not download the code "mozilla-b2g/gaia" from github. And please change the assignee to you, I do not know how to fill in the bug status and others. Thanks a lot!:-)
(In reply to Mingming ZHAO from comment #20)
> Hi Alive, could you help me merge this patch? I can not download the code
> "mozilla-b2g/gaia" from github. And please change the assignee to you, I do
> not know how to fill in the bug status and others. Thanks a lot!:-)

As your wish. Thanks!
Assignee: zmm → alive
master

https://github.com/mozilla-b2g/gaia/commit/72d9989f759099632c3d3b8b5335b7d12d969d2f

Thanks!
Status: NEW → RESOLVED
Closed: 11 years ago
Resolution: --- → FIXED
Dear Alive,

Find another issue, why the voicemail notification only can receive once? 

STR: 
1.Receive a voicemail notification 
2.Click it, dial the voicemail number
3.Send a voicemail from other phone
4.The FFOS phone can not receive the voicemail notification
(In reply to Mingming ZHAO from comment #23)
> Dear Alive,
> 
> Find another issue, why the voicemail notification only can receive once? 
> 
> STR: 
> 1.Receive a voicemail notification 
> 2.Click it, dial the voicemail number
> 3.Send a voicemail from other phone
> 4.The FFOS phone can not receive the voicemail notification

New issue in new bug, thanks. And honestly we don't have a better way to test voicemail in real device....ping vicamo.
Uplifted 72d9989f759099632c3d3b8b5335b7d12d969d2f to:
v1-train: f7a6ecac00d178167691728b9179ef140822dda7
v1.1.0hd: f7a6ecac00d178167691728b9179ef140822dda7
The issue no longer reproduces on Leo COM RIL 1.1
A user is able to access the voicemail after the voicemail message notification is appeared in the notification bar

Environmental  Variables:
Build ID: 20130904041204
Gecko: http://hg.mozilla.org/releases/mozilla-b2g18/rev/307824edadd7
Gaia: d0a415bbf23e5d01c2b287d9fca708e167cfe70d
Platform Version: 18.1
RIL Version: 01.01.00.019.212
Firmware revision: D300f10a
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: