Closed
Bug 877956
Opened 11 years ago
Closed 7 years ago
Phone number matching improperly handles (international) prefixes
Categories
(Firefox OS Graveyard :: Gaia::Dialer, defect, P1)
Tracking
(blocking-b2g:-)
RESOLVED
WONTFIX
blocking-b2g | - |
People
(Reporter: evanxd, Unassigned)
References
Details
(Keywords: foxfood, Whiteboard: [mozilla-triage])
Attachments
(2 files, 1 obsolete file)
In Gaia 55e7cf33b951406f8d6124e237177f7b43898a81,
Dialer App will save the wrong contact name when user have these two contacts:
1. A contact has phone number without international code (e.g., 0933080123).
2. Another contact has phone number with international code(e.g., +886933080123).
STP:
1. Save these two contacts: a) Evan, 0933080123 b) iEvan, +886933080123
2. Call "Evan" from contacts page in Dialer App, then hang up.
3. Call "iEvan" from contacts page in Dialer App, then hang up.
Expected:
It shows the below in the Call log page.
iEvan, +886933080123
Evan, 0933080123
Current:
It shows the below in the Call log page.
iEvan, +886933080123
iEvan, 0933080123
And we could see the bug in the "issue screenshot" attachment.
Reporter | ||
Comment 1•11 years ago
|
||
Hi all,
For the issue,
I found out that when we call "Evan" with 0933080123,
the oncall.html page shows "iEvan" with +886933080123 not "Evan".
I think it might be the root cause of the bug.
So we could check the findByNumber function in the dialer/js/contacts.js.
Updated•11 years ago
|
blocking-b2g: --- → leo?
OS: Mac OS X → Gonk (Firefox OS)
Hardware: x86 → ARM
Reporter | ||
Comment 3•11 years ago
|
||
Hi Etienne,
Please help me review the patch.
Thanks. :)
Attachment #758502 -
Flags: review?(etienne)
Comment 4•11 years ago
|
||
Are you sure about the expected result?
My understanding is that for those STR the result should be only 1 entry in the call log displaying "iEvan or 1 other".
Needinfoing UX to check this.
Flags: needinfo?(firefoxos-ux-bugzilla)
Flags: needinfo?(aymanmaat)
Comment 5•11 years ago
|
||
Comment on attachment 758502 [details]
Point to GitHub pull request: https://github.com/mozilla-b2g/gaia/pull/10215
Clearing the review flag while waiting for UX input.
Attachment #758502 -
Flags: review?(etienne)
Comment 6•11 years ago
|
||
Flagging Rob on expected result since this is leo+.
Flags: needinfo?(firefoxos-ux-bugzilla) → needinfo?(rmacdonald)
Comment 7•11 years ago
|
||
Actually Stephany to the best of my knowledge i am supposed to be looking over the call log for V1.1
Etienne
In the event that two contacts in the contact list have the same phone number the expected behavior in the call log is that the first contact in the contact list when it read alphabetically A-Z will be output. We no longer output " 'name' or 1 other ".
There is a related bug, I will find it for you
Flags: needinfo?(rmacdonald)
Flags: needinfo?(aymanmaat)
Comment 8•11 years ago
|
||
Oh, thanks Ayman! I thought this may have come too late in the day on a Friday for you to see it, which is part of why I flagged Rob. Feel free to take this instead and clear the flags if so. Thanks!
Comment 9•11 years ago
|
||
(In reply to ayman maat :maat from comment #7)
> Actually Stephany to the best of my knowledge i am supposed to be looking
> over the call log for V1.1
>
> Etienne
>
> In the event that two contacts in the contact list have the same phone
> number the expected behavior in the call log is that the first contact in
> the contact list when it read alphabetically A-Z will be output. We no
> longer output " 'name' or 1 other ".
>
> There is a related bug, I will find it for you
And can you comment on the grouping behavior? Thanks!
Reporter | ||
Comment 10•11 years ago
|
||
Hi Ayman,
Is the number +886933080123 is same as 0933080123 in your opinion?
If so, in the STR, the expected result in Call log page is
Evan, +886933080123
Evan, 0933080123
Is it right?
Thanks. :)
Flags: needinfo?(aymanmaat)
Comment 11•11 years ago
|
||
(In reply to Evan Tseng [:evanxd] from comment #10)
> Hi Ayman,
>
> Is the number +886933080123 is same as 0933080123 in your opinion?
>
> If so, in the STR, the expected result in Call log page is
> Evan, +886933080123
> Evan, 0933080123
>
> Is it right?
> Thanks. :)
Sadly its not my opinion. Grouping mechanism is all supposed to depend on what SIM you have in the phone because it was specified that we would define MCC from the SIM present in the phone. So if you have three contacts with the following numbers
Contact 1, +886933080123
Contact 2, 0933080123
Contact 3, +496933080123
...and you have a Taiwanese SIM in your phone, contact 1 and 2 should be grouped, but contact 3 will stand alone.
However it would seem that we have a bug (probably located in phone number lib) as we are not grouping based on the MCC of SIM.
We are raise some bugs regarding this.
Flags: needinfo?(aymanmaat)
Reporter | ||
Comment 12•11 years ago
|
||
Hi Ayman,
So if we have these two contacts: a) Evan, 0933080123 b) iEvan, +886933080123.
When user makes phone call with 0933080123, the Dialer App will show Evan.
And when user makes phone call with +886933080123, the Dialer App will show iEvan.
Is that right?
Flags: needinfo?(aymanmaat)
Comment 13•11 years ago
|
||
(In reply to Evan Tseng [:evanxd] from comment #12)
> Hi Ayman,
>
> So if we have these two contacts: a) Evan, 0933080123 b) iEvan,
> +886933080123.
>
> When user makes phone call with 0933080123, the Dialer App will show Evan.
> And when user makes phone call with +886933080123, the Dialer App will show
> iEvan.
>
> Is that right?
Hi Evan
No to the best of my knowledge that is not correct. Like i say it dependent on the SIM card in the phone and the way we read the contact list. If you have a Taiwanese SIM in your phone and the following contacts in your phones contact list
Evan, 0933080123
iEvan, +886933080123.
1) and dial 0933080123 the dialer app will show Evan
2)and dial +886933080123 the dialer app will show Evan
This is because 0933080123 and +886933080123 are the same number in Taiwan and we show the first instance of the contact with that phone number that is in the contact list as we read alphabetically A to Z.
Flags: needinfo?(aymanmaat)
Comment 14•11 years ago
|
||
We expect any solution here to be regression prone, so we'd rather not take this at all. The requirements to repro are so edge casey, and the user impact isn't awful. Please reconsider.
blocking-b2g: leo+ → leo?
Whiteboard: [mozilla-triage]
Comment 15•11 years ago
|
||
Partner will check STR from description and reconsider if this conflicts the target market requirement. They'll set flags accordingly after.
Note there are a few bugs tracking such number matching scenarios, this one seems to me the least serious.
Reporter | ||
Comment 16•11 years ago
|
||
Hi Wayne,
So we should wait for partner's responses to decide that we will fix this bug or just close the bug with WONTFIX, right?
Thanks. :)
Status: NEW → RESOLVED
Closed: 11 years ago
Resolution: --- → FIXED
Reporter | ||
Updated•11 years ago
|
Status: RESOLVED → REOPENED
Resolution: FIXED → ---
Reporter | ||
Updated•11 years ago
|
Status: REOPENED → NEW
Reporter | ||
Comment 17•11 years ago
|
||
Hi Wayne,
Or for the master branch, we could just fix this bug with following Ayman's comments in Comment 13.
Flags: needinfo?(wchang)
Comment 18•11 years ago
|
||
I check this issue, but still remain some bug.
If I don't select any call log, deselect all button is enabled
I think select all button should be enabled
Comment 19•11 years ago
|
||
Comment on attachment 765274 [details]
Deslect all button is enabled
Sorry. I mistake. I upload wrong image
Attachment #765274 -
Attachment is obsolete: true
Reporter | ||
Comment 20•11 years ago
|
||
Hi Leo,
I could not reproduce the issue in Comment 18.
Could you give us the STR to reproduce that?
And we could file a new bug for the bug.
Thanks. :)
Reporter | ||
Updated•11 years ago
|
Flags: needinfo?(leo.bugzilla.gaia)
Comment 21•11 years ago
|
||
Sorry. I mistake to upload. Comment 18 should be uploaded to Bug 883787.
Flags: needinfo?(leo.bugzilla.gaia)
Comment 22•11 years ago
|
||
(In reply to Leo from comment #21)
> Sorry. I mistake to upload. Comment 18 should be uploaded to Bug 883787.
I really sorry. Bug 883787 -> Bug 883760
Reporter | ||
Comment 23•11 years ago
|
||
Hi Leo,
It is fine.
I got it.
Thanks. :)
Updated•11 years ago
|
blocking-b2g: leo? → -
Updated•11 years ago
|
Flags: needinfo?(wchang)
Reporter | ||
Updated•11 years ago
|
Assignee: evanxd → nobody
Updated•10 years ago
|
Blocks: dialer-most-wanted
Updated•10 years ago
|
No longer blocks: dialer-most-wanted
Summary: [Dialer] Save wrong contact name in Call log → Phone number matching improperly handles (international) prefixes
Keywords: foxfood
Updated•9 years ago
|
Comment 34•7 years ago
|
||
Firefox OS is not being worked on
Status: NEW → RESOLVED
Closed: 11 years ago → 7 years ago
Resolution: --- → WONTFIX
You need to log in
before you can comment on or make changes to this bug.
Description
•