Closed Bug 918155 Opened 11 years ago Closed 11 years ago

[B2G] [Buri] [Dialer] Search suggestions do not appear if numeric string used matches more than two contact numbers

Categories

(Firefox OS Graveyard :: Gaia::Dialer, defect)

ARM
Gonk (Firefox OS)
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED DUPLICATE of bug 939773

People

(Reporter: ckreinbring, Unassigned)

References

Details

(Whiteboard: burirun1,[mentor=:rik])

Attachments

(2 files)

Description:
Attempting to search for a contact in the dialer by using a numeric string that matches more than two contact numbers will not cause the suggested results bar to appear.

Repro Steps:
1) Update Buri to Build ID: 20130916040205
2) Make sure there are multiple contacts with similar phone numbers on the device.
3) Launch the Dialer app.
4) Enter a string of four numbers that matches more than two contact numbers.
5) Observe the area where the suggested results are supposed to appear.

Actual:
Nothing is shown.

Expected:
One of the contacts is shown with the portion of the number that matches the string highlighted.  There is also a number at the right end of the screen totaling how many numbers match the string.

Environmental Variables
Occurs on the Buri 1.2 mozilla RIL
Build ID: 20130916040205
Gecko: http://hg.mozilla.org/mozilla-central/rev/c4bcef90cef9
Gaia: a0079597d510ce8ea0b9cbb02c506030510b9eeb
Platform Version: 26.0a1

Notes:
Repro frequency: 100%
Test Suite Name: Dialer
UCID: dialer-005
Link to failed test case: https://moztrap.mozilla.org/manage/cases/?filter-id=7317
See attached screenshots
No longer blocks: b2g-central-dogfood
blocking-b2g: --- → koi?
After further testing today, the search suggestions rarely appear after entering a matching numeric string.  Same environmental variables as yesterday.  The repro rate appears to be about 85%
QA Contact: sparsons
This issue was reproduced on the Leo device 1.1 Build ID: 20130918041204 so it is not a regression

Environmental Variables
Build ID: 20130918041204
Gecko: http://hg.mozilla.org/releases/mozilla-b2g18/rev/6b8a7556ab2e
Gaia: 7310d9fd969db201bdc9ff275a3ac8b537f7070a
Platform Version: 18.1
blocking-b2g: koi? → ---
Blocks: 921977
Blocks: 921979
No longer blocks: 921977
Here is the error I'm seeing when I reproduce:
[JavaScript Error: "ReferenceError: asyncStorage is not defined" {file: "app://communications.gaiamobile.org/dialer/js/contacts.js" line: 258}]

We lazy load the asyncStorage library so it is a case where it is not loaded yet. The code that uses it should ensure it's here before using it.
Whiteboard: burirun1 → burirun1,[mentor=:rik]
Duping to bug 939773 since it has a patch to fix this.
Status: NEW → RESOLVED
Closed: 11 years ago
Resolution: --- → DUPLICATE
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: