[B2G][Contacts] Searching in Gmail contacts using "$" symbol shows incorrect results



5 years ago
4 years ago


(Reporter: bzumwalt, Unassigned)


Gonk (Firefox OS)

Firefox Tracking Flags

(b2g18 affected, b2g-v1.2 affected)



(1 attachment)



5 years ago
When user searches Gmail to import contacts in FTE/FTU or the Contacts app, searching for the character "$" does not filter any results regardless of whether they have a "$" symbol in their name. Searching with string "$$" pulls up results that have a dollar sign as their first character.

Repro Steps:
1) Updated Buri to Build ID: 20131118004001
2) Open Contacts app
3) Click on gear symbol to open settings
4) Select Import Contacts
5) Select Gmail
6) Login to Gmail with valid account
7) Search Gmail contact list for "$" or "$$"

Searching for "$" or "$$" does not result in properly filtered results.

Searching with any character properly filters contact list.

Environmental Variables
Device: buri v 1.2 COM RIL
Build ID: 20131118004001
Gecko: http://hg.mozilla.org/releases/mozilla-b2g26_v1_2/rev/3e8b854a992e
Gaia: 7a23f8c53ba97da9c63a7275b36d155b4526a639
Platform Version: 26.0
RIL Version: 
Firmware Version: US_20131104

Repro frequency: 3/3, 100%
Link to failed test case: https://moztrap.mozilla.org/manage/case/7097/
See attached: screenshots

Comment 1

5 years ago
Created attachment 8334206 [details]
DoubleDollarSignSearch.png - Result when searching for "$$"
Does this reproduce on 1.1?
Keywords: qawanted

Comment 3

5 years ago
Yes, this does reproduce in 1.1

Device: Leo v 1.1.0 COM RIL
Build ID: 20131119041201
Gecko: http://hg.mozilla.org/releases/mozilla-b2g18/rev/7c3cfc0936ca
Gaia: b585b32441fafa67f2b4582db23be5f3a2afab21
Platform Version: 18.1
RIL Version: 
Firmware Version: D300f10a
status-b2g18: --- → affected
status-b2g-v1.2: --- → affected
Keywords: qawanted
Is this gmail, or is happening for any search?
Hei Adrian,

is this familiar to you? I think you fixed something similar but in the normal search, not in the importers search.
Flags: needinfo?(hola)

Comment 6

4 years ago
Yes, maybe it's related to the work I did in this bug https://bugzilla.mozilla.org/show_bug.cgi?id=1093523 but I would have to take a more detailed look into it to see what is happening. I will test this as soon as I can.
Flags: needinfo?(hola)

Comment 7

4 years ago
I finally tested it. Highlighting is working fine but search fails in some cases. If you search for '$' it will match with 's' and won't return any contact with '$'. Searching for '$asdf' or '$$' works fine.

Comment 8

4 years ago
After some search related bugs landed this issue has been fixed too, so I'll mark it as worksforme. But just to be sure, can you verify this bug is solved for you?

Last Resolved: 4 years ago
Flags: needinfo?(bzumwalt)
Resolution: --- → WORKSFORME

Comment 9

4 years ago
This issue is not occurring for me on the latest Flame 3.0

Searching Google contacts list for import shows correct results. Searching "$" brings up contacts with "$" in their name. Searching "$$" brings up only contacts with "$$" in their name.

Device: Flame 3.0
Build ID: 20150211010216
Gaia: 8c7865486a1b11076b849bbf8f7fccbaffbfafe7
Gecko: ee093ca70666
Gonk: e7c90613521145db090dd24147afd5ceb5703190
Version: 38.0a1 (3.0)
Firmware Version: v18D-1
User Agent: Mozilla/5.0 (Mobile; rv:38.0) Gecko/38.0 Firefox/38.0
QA Whiteboard: [QAnalyst-Triage?]
Flags: needinfo?(bzumwalt) → needinfo?(ktucker)
QA Whiteboard: [QAnalyst-Triage?] → [QAnalyst-Triage+]
Flags: needinfo?(ktucker)
You need to log in before you can comment on or make changes to this bug.