The number of contacts synced from Facebook is wrong if one of your Facebook friend has deactivated his account

NEW
Unassigned

Status

Firefox OS
Gaia::Contacts
3 years ago
3 years ago

People

(Reporter: Alissa(leave from Mozilla), Unassigned)

Tracking

unspecified
ARM
Gonk (Firefox OS)

Firefox Tracking Flags

(b2g-v2.0 affected, b2g-v2.1 affected, b2g-v2.2 unaffected)

Details

Attachments

(3 attachments)

(Reporter)

Description

3 years ago
Created attachment 8525220 [details]
1.png

[1.Description]:
[Flame][v2.1&2.2][Contacts]There are 40 contact in facebook,import  these contacts in FTU,but 40/41 contacts imported displayed.
Occurence time:10:12
see attachments:logcat1.txt,1.png,2.png.

[2.Testing Steps]: 
1.Launch first time use.
2.Connect wifi and go to import contacts view.
3.Tap facebook and sign in.
4.Select all contacts to import.
5.Go to home and launch contact.
6.Tap settings.


[3.Expected Result]: 
4.40/40 should be displayed.

[4.Actual Result]: 
4.After import complete,40/41 contacts imported displayed.
6.You can see 40/40 contacts imported displayed.

[5.Reproduction build]: 

Flame 2.1 build:
Gaia-Rev        1b231b87aad384842dfc79614b2a9ca68a4b4ff3
Gecko-Rev       https://hg.mozilla.org/releases/mozilla-b2g34_v2_1/rev/95fbd7635152
Build-ID        20141118001204
Version         34.0

Flame 2.2 new build:
Gaia-Rev        4aee256937afe9db2520752650685ba61ce6097d
Gecko-Rev       https://hg.mozilla.org/mozilla-central/rev/084441e904d1
Build-ID        20141118144012
Version         36.0a1

[6.Reproduction Frequency]: 
Always Recurrence,2/2
Free Test
(Reporter)

Comment 1

3 years ago
Created attachment 8525222 [details]
2.png
(Reporter)

Comment 2

3 years ago
Created attachment 8525223 [details]
logcat1.txt
status-b2g-v2.1: --- → affected
status-b2g-v2.2: --- → affected
QA wanted to check 2.0.
(Reporter)

Comment 4

3 years ago
This issue has been verified fail on 2.0.
Flame 2.0:
Gaia-Rev        736933b25ded904f0cb935a0d48f1f3cf91d33ad
Gecko-Rev       https://hg.mozilla.org/releases/mozilla-b2g32_v2_0/rev/6a7c0eba2aa3
Build-ID        20150121000258
Version         32.0
Device-Name     flame
FW-Release      4.4.2
FW-Incremental  eng.cltbld.20150121.032141
FW-Date         Wed Jan 21 03:21:51 EST 2015
Bootloader      L1TC000118D0
status-b2g-v2.0: --- → affected
Flags: needinfo?(jlorenzo)
(Reporter)

Comment 5

3 years ago
For 2.2,see bug 1121880
status-b2g-v2.2: affected → unaffected
I am not able to reproduce with one of the Moz QA accounts[1] on 2.0[2]. Jose, do you have an idea of what kind of contacts might fool the count? 

[1] https://intranet.mozilla.org/QA:B2G_Facebook_test_account
[2] Gaia-Rev        736933b25ded904f0cb935a0d48f1f3cf91d33ad
Gecko-Rev       https://hg.mozilla.org/releases/mozilla-b2g32_v2_0/rev/296e19e6edcb
Build-ID        20150122000201
Version         32.0
Device-Name     flame
FW-Release      4.4.2
FW-Incremental  65
FW-Date         Mon Dec 15 18:51:29 CST 2014
Bootloader      L1TC000118D0
Flags: needinfo?(jlorenzo) → needinfo?(jmcf)

Comment 7

3 years ago
That can be related to an existing bug which shows a discrepancy between the total number of friends and the real number imported. Usually the cause for such a discrepancy is that the non-imported friends have deactivated their account. 

Can you please confirm that extreme?

thanks, best
Flags: needinfo?(jmcf)
Alissa, does your test account have a deactivated friend?
Flags: needinfo?(huayu.li)
(Reporter)

Comment 9

3 years ago
(In reply to Johan Lorenzo [:jlorenzo] (QA) from comment #8)
> Alissa, does your test account have a deactivated friend?

Yes,I found some contact cannot be imported.
Flags: needinfo?(huayu.li)
Summary: [Flame][Contacts]Number of contacts imported from facebook is wrong in FTU. → The number of contacts synced from Facebook is wrong if one of your Facebook friend has deactivated his account
You need to log in before you can comment on or make changes to this bug.