Closed Bug 908207 Opened 11 years ago Closed 11 years ago

[Contacts] Name is not displayed in contact details if last name is not provided

Categories

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

ARM
Gonk (Firefox OS)
defect
Not set
normal

Tracking

(blocking-b2g:koi+)

VERIFIED FIXED
blocking-b2g koi+

People

(Reporter: salva, Assigned: salva)

References

Details

(Whiteboard: [u=commsapps-user c=contacts p=1])

Attachments

(1 file)

STR:

1- Open Contacts
2- Add a new contact. Provide ONLY name.
3- Save the contact. Ignore any attempt to merge with another contact.
4- Look for the contact added in step 2.
5- See contact details.

Expected:
Name is shown in the header of the screen.

Actual:
The header is empty.
Whiteboard: [u=commsapps-user c=contacts p=0]
blocking-b2g: koi? → koi+
Once bug 906756 is landed, this will be fixed.
Depends on: 906756
Bux 906756 landed. I've checked the STR. It is not reproducing.
Status: NEW → RESOLVED
Closed: 11 years ago
Resolution: --- → FIXED
When calling contact activity from other apps (for example SMS), after saving a contact with name 'Robert' and phone number '123':

EXPECTED:
{"name":"Robert","number":"123","type":"","carrier":"","separator":"","nameHTML":"","numberHTML":""}

CURRENTLY:
{"name":"123","number":"123","type":"","carrier":"","separator":"","nameHTML":"","numberHTML":""}

Reopening
Status: RESOLVED → REOPENED
Resolution: FIXED → ---
Summary: [Contacts] Name is not displayed in contact details if last name is not provided → [Contacts] Name is not filled properly when requesting activity from Contacts App
OS: Linux → Gonk (Firefox OS)
Hardware: x86_64 → ARM
Whiteboard: [u=commsapps-user c=contacts p=0] → [u=commsapps-user c=contacts p=1]
Im going to investigate this because is blocking some SMS/MMS work. Taking this!
Assignee: salva → fbsc
After debugging it's issue is tied to SMS. With new activity made by Fernando, this seems not reproducible anymore. Moving all work to the bug related with SMS.
Status: REOPENED → RESOLVED
Closed: 11 years ago11 years ago
Resolution: --- → FIXED
Whiteboard: [u=commsapps-user c=contacts p=1] → [u=commsapps-user c=contacts p=0]
As bug 906756 has been reopen this bug has reappeared.
Status: RESOLVED → REOPENED
Resolution: FIXED → ---
Summary: [Contacts] Name is not filled properly when requesting activity from Contacts App → [Contacts] Name is not displayed in contact details if last name is not provided
Assignee: fbsc → salva
Whiteboard: [u=commsapps-user c=contacts p=0] → [u=commsapps-user c=contacts p=1]
Comment on attachment 800192 [details]
Fix name creation taking noting givenName and familyName are arrays.

thanks Salva, for fixing this.
Attachment #800192 - Flags: review?(jmcf) → review+
https://github.com/mozilla-b2g/gaia/commit/81c56b165dceb823838c8641a83db1d4adb34437
Status: REOPENED → RESOLVED
Closed: 11 years ago11 years ago
Resolution: --- → FIXED
Verified on v1.2 11/18 build:
Gecko-1443247
Gaia-7a23f8c
Status: RESOLVED → VERIFIED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: