Closed Bug 959839 Opened 10 years ago Closed 10 years ago

[Messages] multi-word search cannot find contacts with multi-word names

Categories

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

ARM
Gonk (Firefox OS)
defect
Not set
normal

Tracking

(b2g18 affected, b2g-v1.2 affected, b2g-v1.3 affected)

RESOLVED FIXED
Tracking Status
b2g18 --- affected
b2g-v1.2 --- affected
b2g-v1.3 --- affected

People

(Reporter: rkuhlman, Assigned: rwaldron)

Details

(Whiteboard: burirun1.3-2)

Attachments

(3 files, 1 obsolete file)

Attached file FullNameSearch.txt
When creating a new SMS message, the user should be able to specify a recipient by typing the entire contact name into the search field. If the desired contact has an extra space in their name, they will not be found by the search algorithm.
Example Contact: First Name: 'Mary Anne' Last Name: 'Jones'
Alternate Example Contact: First Name: 'Michael' Last Name: 'Jones Jr.'

Repro Steps:
1) Updated Buri to BuildID: 20140113004002
2) Launch Contacts app and create a new contact.
3) Enter one of the example names provided above.
5) Enter a phone number.
6) Save contact and launch SMS app.
7) Create a new message and type entire contact name into the 'to' field.

Actual:
Search cannot find contact when entire name is typed.

Expected:
Typing entire name into search field should prompt desired contact to appear.

Environmental Variables:
Device: Buri v1.3 Moz RIL
BuildID: 20140113004002
Gaia: b3fc4f712562ee92b0ed0bd17abc61be9a36a8da
Gecko: 5bb1837de7c0
Version: 28.0a2
Firmware Version: v1.2-device.cfg

Notes:
Repro frequency: 100%
Link to failed test case: https://moztrap.mozilla.org/manage/case/10729/
See attached: logcat and video.
Attached file Search by typing full name. (obsolete) —
This issue also occurs in 1.2 and 1.1

Environmental Variables:
Device: Buri v1.2 Moz RIL
BuildID: 20140114004002
Gaia: 539a25e1887b902b8b25038c547048e691bd97f6
Gecko: 42a1c35fc831
Version: 26.0
Firmware Version: v1.2-device.cfg

1.1 Environmental Variables
Device: Buri v 1.1.0 COM RIL 
Build ID: 20140102041202
Gecko: http://hg.mozilla.org/releases/mozilla-b2g18/rev/bdac595a4e46
Gaia: 6ff3a607f873320d00cb036fa76117f6fadd010f
Platform Version: 18.1
RIL Version: 01.01.00.019.281

Searching for contact 'Mary Anne' 'Jones' by typing full name could not find contact.
Attached video FullNameSearch.mp4
Fixing broken video that i previously submitted.
Attachment #8360067 - Attachment is obsolete: true
Assignee: nobody → waldron.rick
Summary: [B2G][SMS] "full name search" cannot find contacts that contain a space character in one of the name fields. → [Messages] multi-word search cannot find contacts with multi-word names
Attachment #8360102 - Flags: review?(felash)
Sorry, I meant bug 860804 ;)
Comment on attachment 8360102 [details] [review]
https://github.com/mozilla-b2g/gaia/pull/15331

r=me (the travis failure is not related)

This won't fix bug 860804 though but this is still a good addition !
Attachment #8360102 - Flags: review?(felash) → review+
gaia master https://github.com/mozilla-b2g/gaia/commit/98cd39268c481be11ea697642dd438e9f7db0be3
Status: NEW → RESOLVED
Closed: 10 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: