Closed
Bug 871939
Opened 12 years ago
Closed 12 years ago
[Dialer] Cannot search contact number when number has addtional area or operator number
Categories
(Firefox OS Graveyard :: Gaia::Dialer, defect, P2)
Tracking
(blocking-b2g:leo+, b2g18 fixed, b2g18-v1.0.0 wontfix, b2g18-v1.0.1 wontfix)
People
(Reporter: leo.bugzilla.gaia, Assigned: gal)
References
Details
(Whiteboard: [TD-27881], inarirun2 , MiniWW)
Attachments
(2 files)
|
15.87 KB,
application/vnd.openxmlformats-officedocument.spreadsheetml.sheet
|
Details | |
|
6.82 KB,
patch
|
etienne
:
review+
|
Details | Diff | Splinter Review |
1. Title : Cannot search contact number when number has area or operator number
2. Precondition : Saved contact // ex) 21113754
3. Tester's Action : Making a call "01021113754" (010 is operator number)
4. Detailed Symptom : Cannot search contact number
5. Expected : Can search contact number. In android case, android can search contact number
6. Reproducibility: Y
1) Frequency Rate : 100%
7. Gaia Master/v1-train : Reproduce
8. Gaia Revision : d5f7b2d3f7acc04c35abda8b001262d8912f9dfe
9. Gecko Revision : 0ab3418551bfcefe1e14633f8f2b0422707a4c2f
10 Personal email id : promise09th@gmail.com
Updated•12 years ago
|
Target Milestone: --- → 1.1 QE2
Comment 1•12 years ago
|
||
This looks more like a feature request.Needsinfo on Krishna to see if we are planning on supporting this before blocking on this
Flags: needinfo?(kkumar)
Updated•12 years ago
|
Whiteboard: [TD-27881] → [TD-27881], inarirun2
Brazil Scenario :
Minimum matching digits : 7 digits.
Matching algorithm :
Step 1. Find the matching number same as the back of 7-digits number in contacts
Step 2. If device find several matching numbers, shows number that get the first contact found.
For example, receiving number is "21113754", and saving numbers are "121113754" and "221113754".
In this case, device can find these two numbers, but only show first contact found.(If "121113754" is found at first, show "121113754")
Finding numbers is difference in many cases(different name or other information)
This is not android scenario but Brazil scenario.
Updated•12 years ago
|
Whiteboard: [TD-27881], inarirun2 → [TD-27881], inarirun2 , MiniWW
As discussed in San Diego work week marking this as leo+.
blocking-b2g: leo? → leo+
Updated•12 years ago
|
Assignee: nobody → gal
| Assignee | ||
Comment 6•12 years ago
|
||
90 and 9090 are collect calls. We don't handle those in phonenumber.js. There are other bugs here as well, and a bunch of questions.
For example 87654321 should not match 01187654321 IMO. (11) is Sao Paulo but the number might be from a different city. I need some help from the leo team here understanding this.
| Assignee | ||
Updated•12 years ago
|
Flags: needinfo?(leo.bugzilla.gaia)
I ask scenraio and I reply as soon as possible.
Flags: needinfo?(leo.bugzilla.gaia)
| Assignee | ||
Comment 8•12 years ago
|
||
I added support for parsing the national collect call (90) and I will post a patch shortly.
These are local numbers:
87654321
909087654321
987654321
9090987654321
Its not visible from the numbers that the current area code is 11 (Sao Paulo), so they can't match the other numbers. We could potentially do that by figuring out from the cell id/LAC that the cell tower is located in Sao Paulo. Is that what Android does here?
Flags: needinfo?(kkumar)
| Assignee | ||
Comment 9•12 years ago
|
||
I pushed a fix to phonenumber.js:
https://github.com/andreasgal/PhoneNumber.js/commit/8fb44b12b11baf7c3d1cd0ff3758701bcee71dee
This doesn't support 9090, since I don't know whether and how we will handle local calls. Waiting for leo feedback.
I will post a Gecko patch here.
| Assignee | ||
Comment 10•12 years ago
|
||
| Assignee | ||
Comment 11•12 years ago
|
||
Comment on attachment 755499 [details] [diff] [review]
patch, fixes everything except 9090 and local call area code inference
Gregor is out, so asking Etienne for help here.
Attachment #755499 -
Flags: review?(etienne)
| Assignee | ||
Comment 12•12 years ago
|
||
See the phonenumber.js changeset if you are curious what changes here.
The actual change is: (?:0|90), which makes us accept 90 in place of the national access number (0).
Comment 13•12 years ago
|
||
Comment on attachment 755499 [details] [diff] [review]
patch, fixes everything except 9090 and local call area code inference
Review of attachment 755499 [details] [diff] [review]:
-----------------------------------------------------------------
looks good
Attachment #755499 -
Flags: review?(etienne) → review+
| Assignee | ||
Comment 14•12 years ago
|
||
lets land this and clone the bug for the rest
Updated•12 years ago
|
Assignee: mwu → dale
Comment 18•12 years ago
|
||
Apparently tbpl broke. Going to queue up so I can land as soon as it comes back up.
Comment 19•12 years ago
|
||
This patch requires bug 875845 to apply cleanly to b2g18
Depends on: 875845
Updated•12 years ago
|
Comment 20•12 years ago
|
||
Comment 21•12 years ago
|
||
Status: NEW → RESOLVED
Closed: 12 years ago
Flags: in-testsuite+
Resolution: --- → FIXED
Updated•12 years ago
|
Assignee: mwu → gal
Updated•12 years ago
|
Flags: in-moztrap?
Comment 22•12 years ago
|
||
Added test case in MozTrap:
https://moztrap.mozilla.org/manage/case/8503/
Flags: in-moztrap? → in-moztrap+
Comment 23•12 years ago
|
||
The issue still reproduces on Leo 1.1 and Buri 1.2
Opened a new bug
You need to log in
before you can comment on or make changes to this bug.
Description
•