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)

ARM
Gonk (Firefox OS)
defect

Tracking

(blocking-b2g:leo+, b2g18 fixed, b2g18-v1.0.0 wontfix, b2g18-v1.0.1 wontfix)

RESOLVED FIXED
1.1 QE2 (6jun)
blocking-b2g leo+
Tracking Status
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)

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
Whiteboard: [TD-27881]
blocking-b2g: leo? → ---
Target Milestone: --- → 1.1 QE2
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)
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.
Should pass all case.
blocking-b2g: --- → leo?
Whiteboard: [TD-27881], inarirun2 → [TD-27881], inarirun2 , MiniWW
As discussed in San Diego work week marking this as leo+.
blocking-b2g: leo? → leo+
Assignee: nobody → gal
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.
Flags: needinfo?(leo.bugzilla.gaia)
I ask scenraio and I reply as soon as possible.
Flags: needinfo?(leo.bugzilla.gaia)
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)
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.
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)
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 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+
lets land this and clone the bug for the rest
Blocks: 877302
mwu, can you please land this? thanks
Assignee: gal → mwu
Assignee: mwu → dale
Issues with my repo access, switching back
Assignee: dale → mwu
Apparently tbpl broke. Going to queue up so I can land as soon as it comes back up.
This patch requires bug 875845 to apply cleanly to b2g18
Depends on: 875845
Status: NEW → RESOLVED
Closed: 12 years ago
Flags: in-testsuite+
Resolution: --- → FIXED
Assignee: mwu → gal
Flags: in-moztrap?
Flags: in-moztrap? → in-moztrap+
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.

Attachment

General

Creator:
Created:
Updated:
Size: