Closed Bug 820026 Opened 12 years ago Closed 12 years ago

If a device contact without name and last name is linked to a FB friend, those fields appear as empty in Contacts App

Categories

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

All
Gonk (Firefox OS)
defect
Not set
major

Tracking

(Not tracked)

VERIFIED FIXED

People

(Reporter: sonmarce, Assigned: jmcf)

Details

Attachments

(1 file)

*Procedure
1-Create a contact only with phone number filled
2-Link the concat to a FB contact with name and surname filled.

*Expected Result
The contact is linked and shows the name and surname of FB contact

*Actual Result
The fields name and surname are showing empty in contact details
Assignee: nobody → jmcf
Status: NEW → ASSIGNED
I'm gonna implement this bug as follows:

If the deviceContact has givenName and familyName, it will be take precedence over the FB Name.

If givenName or familyName are empty, then the FB correspondence will be taken i.e. if the givenName is given but not the familyName the final name will be device(givenName), facebook(familyName) and viceversa. if none of them are device-defined then the FB Name will appear. 

Please take into account that FB names will be subject to local changes made by the user. 

Please confirm that you agree with this approach

thanks!
Attached file Pointer to GH PR 6985
Attachment #691547 - Flags: review?(crdlc)
Summary: If you link a contact without name and last name filled to a contact FB, the fields are showing empty in contact details → If a device contact without name and last name is linked to a FB friend, those fields appear as empty in Contacts App
Attachment #691547 - Flags: review?(crdlc) → review+
Comment on attachment 691547 [details]
Pointer to GH PR 6985

NOTE: If blocking-basecamp+ is set, just land it for now.

[Approval Request Comment]
Bug caused by (feature/regressing bug #): 
User impact if declined: UX will be bad and a nice FB feature will lost 

Testing completed: 
Risk to taking this patch (and alternatives if risky):

Master can judge himself but the risk is low
Attachment #691547 - Flags: approval-gaia-master?(francisco.jordano)
Comment on attachment 691547 [details]
Pointer to GH PR 6985

Changing affecting to fb enabled.

JS check looking good, also got the r+, plus needed late mini feature.
Attachment #691547 - Flags: approval-gaia-master?(francisco.jordano) → approval-gaia-master+
Status: ASSIGNED → RESOLVED
Closed: 12 years ago
Resolution: --- → FIXED
2012/28/01 build. Gecko-cfad7c9 Gaia-6c53dfd
Status: RESOLVED → VERIFIED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: