Closed Bug 1223617 Opened 11 years ago Closed 8 years ago

Missed contacts on first import not importing after several attempts.

Categories

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

ARM
Gonk (Firefox OS)
defect

Tracking

(tracking-b2g:backlog)

RESOLVED WONTFIX
tracking-b2g backlog

People

(Reporter: sxean, Unassigned)

References

()

Details

(Whiteboard: [2.6-Daily-Testing])

Attachments

(3 files)

Description: When importing a large list of contacts from gmail or outlook email accounts, several contacts are missed. When try to re-import the missed contacts, they show as available to import but do not import after several attempts. Repro Steps: 1) Update a Aries to 20151110122027 2) Go to Contacts and click on the App, and the Gear/settings Icon at upper-right. 3) Click on "Import Contacts", then click on Gmail or Outlook to import contacts. (Should be over 1000 ) 4) Type in the email account if one not created yet, click on the ALLOW button. 5) Message appears: " Please Hold On. We are connecting to obtain your friend list. " 6) After the contact list appears, note that there are several contacts unchecked and need to be imported to have the complete list. 7) Click on "Select All" and import the remaining contacts. 8) after importing is completed a banner message at bottom of screen will pop up and state number of contacts updated. Actual: After Importing the missed contacts, when go back to the Contacts app, the contacts that were selected are not imported. Expected: Selected Contacts are imported, or merged with duplicates, and do not show as additional contacts to import when revisit the contact import list. Notes: This issue is most prevalent when importing over a 1000 contacts. Environmental Variables: Device: Aries 2.6 Build ID: 20151110122027 Gaia: c0482775b1526add626b170dd53a72d10bcaf07c Gecko: cc473fe5dc512c450634506f68cbacfb40a06a23 Gonk: a19052e4389c3ae2d8fc3e7a74a475401baacc56 Version: 45.0a1 (2.6) Firmware Version: D5803_23.1.A.1.28_NCB.ftf User Agent: Mozilla/5.0 (Mobile; rv:45.0) Gecko/45.0 Firefox/45.0 Repro frequency: (5/5) See attached: (video clip, logcat)
Flags: needinfo?(jmercado)
Reproducible on: Environmental Variables: Device: Aries 2.6 BuildID: 20151030120435 Gaia: 91cac94948094cfdcd00cba5c6483e27e80cb3b0 Gecko: c2534acb485963331d67bbc5c07f0d862ed56bf5 Gonk: a19052e4389c3ae2d8fc3e7a74a475401baacc56 Version: 45.0a1 (2.6) Firmware Version: D5803_23.1.A.1.28_NCB.ftf User Agent: Mozilla/5.0 (Mobile; rv:45.0) Gecko/45.0 Firefox/45.0 Environmental Variables: Device: Aries 2.5 Build ID: 20151110170210 Gaia: 07baf613699fa6225359c7f04825c5caeb71d424 Gecko: 361f2673aadc988918a551b45ecef4cce58edf1e Gonk: a19052e4389c3ae2d8fc3e7a74a475401baacc56 Version: 44.0a2 (2.5) Firmware Version: D5803_23.1.A.1.28_NCB.ftf User Agent: Mozilla/5.0 (Mobile; rv:44.0) Gecko/44.0 Firefox/44.0 Environmental Variables: Device: Flame 2.5 Build ID: 20151109004552 Gaia: cf646c52bb947af28329b0a100df91d1b1f2a907 Gecko: 4eafef5b80f8985c94c4a067f130d37513e1a581 Gonk: 205ac4204bbbb2098a8046444acba551ba5dc75a Version: 44.0a2 (2.5) Firmware Version: v18D User Agent: Mozilla/5.0 (Mobile; rv:44.0) Gecko/44.0 Firefox/44.0 Environmental Variables: Device: Flame 2.2 Build ID: 20151110032503 Gaia: 885647d92208fb67574ced44004ab2f29d23cb45 Gecko: ac5fce5a78e5 Gonk: bd9cb3af2a0354577a6903917bc826489050b40d Version: 37.0 (2.2) Firmware Version: v18D User Agent: Mozilla/5.0 (Mobile; rv:37.0) Gecko/37.0 Firefox/37.0
QA Whiteboard: [QAnalyst-Triage?]
Whiteboard: [2.6-Daily-Testing]
Isabel would you block on this issue?
QA Whiteboard: [QAnalyst-Triage?] → [QAnalyst-Triage+]
Flags: needinfo?(jmercado) → needinfo?(isabelrios)
[Blocking Requested - why for this release]: If importing is failing the functionality is somehow broken
blocking-b2g: --- → 2.5?
Triage: blocking.
blocking-b2g: 2.5? → 2.5+
Seems it's a race condition while loading the whole list and selecting all before the list is created. This should be a regression, since the functionality in 2.0 was done in order to be sure that selecting all even before the list is build was working. We created a promise like return value, before having promises in B2G for doing this. Fernando, can you take a look to this?
Flags: needinfo?(ferjmoreno)
Assignee: nobody → ferjmoreno
Flags: needinfo?(ferjmoreno)
I am not able to reproduce this issue with 2000 contacts using this test account: - user: bug1223617@gmail.com">bug1223617@gmail.com - pass: bug123456789 Also, the video doesn't show any issue.
Flags: needinfo?(sleedavid)
(In reply to Fernando Jiménez Moreno [:ferjm] from comment #7) > - user: bug1223617@gmail.com">bug1223617@gmail.com">bug1223617@gmail.com">bug1223617@gmail.com This is simply bug1223617@gmail.com">bug1223617@gmail.com
uploaded a video showing the second import attempt after the first failed to import same amount of missed contacts.
Sxean, I am not sure if it's bugzilla or my browser not downloading the whole video, but the video doesn't show anything useful. I can see 27 seconds of video. Is that the correct length?
(In reply to Fernando Jiménez Moreno [:ferjm] from comment #7) > I am not able to reproduce this issue with 2000 contacts using this test > account: > > - user: bug1223617@gmail.com">bug1223617@gmail.com">bug1223617@gmail.com">bug1223617@gmail.com > - pass: bug123456789 > > Also, the video doesn't show any issue. Just uploaded a video showing the failed imported contacts after the second attempt. Also, the contact list I used had exactly 5970 of which 1020 continued not to import after several attempts. In the video it shows two of the contacts that are unchecked that continue not to import.
Flags: needinfo?(sleedavid)
I still can't see any issue in the video. Sxean, could you upload it to youtube, please? I suspect that the video is incomplete.
Flags: needinfo?(isabelrios) → needinfo?(sleedavid)
Isa, are you able to reproduce this issue?
Flags: needinfo?(isabelrios)
Tried to reproduce with 7000 contacts. No luck. The app is terribly slow with this amount of contacts though and it takes like forever to retrieve the remote list of contacts, but that's a different issue.
Fernando, I cannot reproduce the problem with that account you say in comment #7 but I can see the problem reported in the bug. I remember to had that issue long time ago, but cannot remember what was causing that. Will investigate it. Sxean, maybe those contacts have any field different from the other? are they under the same contact folder in gmail?
Flags: needinfo?(isabelrios)
Fernando, I mean I can see what has been reported in the bug watching the videos. Not sure it was clear my previous comment, sorry.
Sxean, do those contacts have a picture?
(In reply to Isabel Rios[:isabel_rios] from comment #15) > Fernando, I cannot reproduce the problem with that account you say in > comment #7 but I can see the problem reported in the bug. > I remember to had that issue long time ago, but cannot remember what was > causing that. Will investigate it. > > Sxean, maybe those contacts have any field different from the other? are > they under the same contact folder in gmail? Yes, the contacts come from one single folder in my gmail and hotmail account. I also tried using contacts from "groups" and "tagged" folders and as expected the contacts will not import unless they're in the main contacts folder. That is not the issue however, the issue is when missed contacts on the first import continue to NOT import or are randomly importing after several attempts.
Flags: needinfo?(sleedavid)
(In reply to Fernando Jiménez Moreno [:ferjm] from comment #12) > I still can't see any issue in the video. Sxean, could you upload it to > youtube, please? I suspect that the video is incomplete. The entire process takes very long, so I only videoed the key areas. The main issue is that re-importing missed contacts will not import after several attempts. I suspect that contacts with same or similar names may be effecting the import.
Let's try to get more clear steps here and see if someone can reproduce.
Keywords: steps-wanted
I have been unable to reproduce this issue. I used the 7000 contacts Gmail account referenced in comment 7 as well as another Outlook account I have with +1000 contacts. All of the contacts seem to be imported successfully after the first attempt. I manually deleted a contact associated with the 1000 contacts account and attempted to import the 1 missing and the 1 missing was imported successfully. Environmental Variables: Device: Aries 2.6 BuildID: 20151112122058 Gaia: 27bc9412ca607648bc398b25bb1ae25653b2b278 Gecko: 3cc3b1968524248450c465c4ea2ee5596ffa65f2 Gonk: a19052e4389c3ae2d8fc3e7a74a475401baacc56 Version: 45.0a1 (2.6) Firmware Version: D5803_23.1.A.1.28_NCB.ftf User Agent: Mozilla/5.0 (Mobile; rv:45.0) Gecko/45.0 Firefox/45.0
QA Whiteboard: [QAnalyst-Triage+] → [QAnalyst-Triage?]
Flags: needinfo?(jmercado)
(In reply to Isabel Rios[:isabel_rios] from comment #17) > Sxean, do those contacts have a picture? Several of the missed contacts had pictures, but not all of them.
QA Whiteboard: [QAnalyst-Triage?] → [QAnalyst-Triage+]
Added Video that shows 4 imports needing to be reimported after already imported.
URL: https://youtu.be/LlDao1crCp0 → https://youtu.be/LlDao1crCp0, https:/...
URL: https://youtu.be/LlDao1crCp0, https:/... → https://youtu.be/LlDao1crCp0
This issue seems related to duplicate contact merging. In order to reproduce I had to have contacts that were merged on google's end (some data the same and some different will get contacts merged). When importing such contacts they are listed individually instead of the single merged contact. When importing these contacts Firefox OS will merge them. Attempting to import again will then show those contacts as not imported. Note: Occasionally they were not merged which is likely a separate bug and the cause of Sxean having seen the contact number change sometimes. Environmental Variables: Device: Aries 2.6 BuildID: 20151112122058 Gaia: 27bc9412ca607648bc398b25bb1ae25653b2b278 Gecko: 3cc3b1968524248450c465c4ea2ee5596ffa65f2 Gonk: a19052e4389c3ae2d8fc3e7a74a475401baacc56 Version: 45.0a1 (2.6) Firmware Version: D5803_23.1.A.1.28_NCB.ftf User Agent: Mozilla/5.0 (Mobile; rv:45.0) Gecko/45.0 Firefox/45.0
Flags: needinfo?(jmercado) → needinfo?(ferjmoreno)
Keywords: steps-wanted
[Blocking Requested - why for this release]: Renominating for triage with the latest information, looks to me like a corner case. Triage to decide on blocking or not.
blocking-b2g: 2.5+ → 2.5?
Triage not blocking, but moved to backlog with p2 priority.
blocking-b2g: 2.5? → ---
Priority: -- → P2
Assignee: ferjmoreno → nobody
Flags: needinfo?(ferjmoreno)
Firefox OS is not being worked on
Status: NEW → RESOLVED
Closed: 8 years ago
Resolution: --- → WONTFIX
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: