Closed Bug 1221476 Opened 9 years ago Closed 6 years ago

[Contacts]When user taps "Cancel"or"Retry" button while importing Gmail contact, device will be stuck.

Categories

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

ARM
Gonk (Firefox OS)
defect

Tracking

(blocking-b2g:2.6+, b2g-v2.2 unaffected, b2g-v2.5 fixed, b2g-master fixed)

RESOLVED WONTFIX
blocking-b2g 2.6+
Tracking Status
b2g-v2.2 --- unaffected
b2g-v2.5 --- fixed
b2g-master --- fixed

People

(Reporter: liuke, Assigned: arcturus)

Details

(Keywords: regression)

Attachments

(6 files)

[1.Description]:
[Aires KK v2.6][Flame KK v2.6&2.5][Contacts] ]When user imports contacts from Gmail and login to an account, if user "Cancel"or"Retry" button  while importing Gmail contacts, device will be stuck.

See video:"Aires master.3GP"
See log:"logcat_0325.txt"
Found time:03:25

[2.Testing Steps]: 
Precondition: Have an internet connection.
1.Launch the Contacts.
2.Select Settings and  click into "Import Contancts".
3.Select"Gmail"

[3.Expected Result]: 
3. When user taps "Cancel"or"Retry" while importing Gmail contacts, device  should not be stuck.

[4.Actual Result]: 
3. When user taps "Cancel"or"Retry" while importing Gmail contacts, device will be stuck.

[5.Reproduction build]: 
Device: Aries KK v2.6 (master)(Affected)
Build ID               20151103000930
Gaia Revision          7954ff0cbd794a35499a1082bed273598f82ee6f
Gaia Date              2015-11-02 17:35:17
Gecko Revision         https://hg.mozilla.org/mozilla-central/rev/9f69202d82752e093a653a8f15b0274e347db33a
Gecko Version          45.0a1
Device Name            aries
Firmware(Release)      4.4.2
Firmware(Incremental)  eng.worker.20151102.233051
Firmware Date          Mon Nov  2 23:30:58 UTC 2015
Bootloader             s1

Device: Flame KK v2.6 512mb (Affected)
Build ID               20151103004501
Gaia Revision          91cac94948094cfdcd00cba5c6483e27e80cb3b0
Gaia Date              2015-10-28 20:32:15
Gecko Revision         https://hg.mozilla.org/releases/mozilla-b2g44_v2_5/rev/4e0955369a51850f2982087145ac5c2df257ffe9
Gecko Version          44.0a1
Device Name            flame
Firmware(Release)      4.4.2
Firmware(Incremental)  eng.cltbld.20151103.054921
Firmware Date          Tue Nov  3 05:49:36 EST 2015
Firmware Version       v18D v4
Bootloader             L1TC000118D0

Device: Flame KK v2.5  512mb (Affected)
Build ID               20151103004501
Gaia Revision          91cac94948094cfdcd00cba5c6483e27e80cb3b0
Gaia Date              2015-10-28 20:32:15
Gecko Revision         https://hg.mozilla.org/releases/mozilla-b2g44_v2_5/rev/4e0955369a51850f2982087145ac5c2df257ffe9
Gecko Version          44.0a1
Device Name            flame
Firmware(Release)      4.4.2
Firmware(Incremental)  eng.cltbld.20151103.054921
Firmware Date          Tue Nov  3 05:49:36 EST 2015
Firmware Version       v18D v4
Bootloader             L1TC000118D0

Device: Flame KK v2.2 512mb (Unaffected)
Build ID               20151103032504
Gaia Revision          885647d92208fb67574ced44004ab2f29d23cb45
Gaia Date              2015-10-07 13:05:24
Gecko Revision         https://hg.mozilla.org/releases/mozilla-b2g37_v2_2/rev/b8b7f4efaa6e
Gecko Version          37.0
Device Name            flame
Firmware(Release)      4.4.2
Firmware(Incremental)  eng.cltbld.20151103.071510
Firmware Date          Tue Nov  3 07:15:21 EST 2015
Firmware Version       v18D v4
Bootloader             L1TC000118D0


[6.Reproduction Frequency]: 
Always Recurrence,10/10

[7.TCID]: 
Free test

[8.NOTE]
This bug does not exist when importing contacts from the Outlook
[Blocking Requested - why for this release]:

I got to reproduce this issue but not always. Seems that it is necessary to cancel the process once before, at least is the way I can reproduce it.
In order to reproduce the bug I had to follow these steps:
-Import contacts from gmail, but cancel the process once it started. Some contacts where imported ok.
-Then I tried to import again, cancel the process and then I saw this problem

Anyway I think this is critical enough to nominate.
blocking-b2g: --- → 2.5?
blocking-b2g: 2.5? → 2.5+
Keywords: regression
Assignee: nobody → francisco
Status: NEW → ASSIGNED
Hi Isabel,

I've tried this several times (more than 10 times) and I'm not able to reproduce the error described on the comments or video.

I managed to get the retry screen one, by putting the phone in airplane mode while trying to get the contacts, but after clicking on retry, it worked.

Could you provide some STR that give the error?

Thanks a lot!
F.
Flags: needinfo?(isabelrios)
Hi Francisco,

I reproduced it, with this build:
Flame 2.5 just flashed with:
Gaia: cf646c5
Gecko: 44702b1
BuildID: 20151109004552
Platform: 44.0a2

And following these steps:
-Contact list is empty, go to settings->Import contacts -> Import from gmail
-Log in with your credentials
-While retrieving the contact list, cancel
-Go to Import from gmail again
-Wait till the list of contacts is shown (I have around 250), select all and tap on Import
-Cancel the process when around 10 contacts are imported
-Go to contact list to see those contacts
-Then, go to Import from Gmail again
-While the list of contacts is being retrieved, tap on cancel

I will be doing some more tests to check if this is 100% repro and if all those previos cancel are needed to reproduce the issue or it can be seen following easier steps.
Flags: needinfo?(isabelrios)
Attachment #8685984 - Flags: review?(ferjmoreno)
Attachment #8685984 - Flags: review?(ferjmoreno) → review+
Landed in master:

https://github.com/mozilla-b2g/gaia/commit/6676924227798e3ff37aa6ad2e87b72f179286c0

nga branch:

521eaa5
Status: ASSIGNED → RESOLVED
Closed: 9 years ago
Resolution: --- → FIXED
Comment on attachment 8685984 [details] [review]
[gaia] arcturus:bug-1221476 > mozilla-b2g:master

[Approval Request Comment]
[Bug caused by] (feature/regressing bug #):
Regression
[User impact] if declined:
Bad user experience
[Testing completed]:
Tested on device
[Risk to taking this patch] (and alternatives if risky):
Pretty low risk patch
[String changes made]:
Attachment #8685984 - Flags: approval-gaia-v2.5?
Comment on attachment 8685984 [details] [review]
[gaia] arcturus:bug-1221476 > mozilla-b2g:master

Approved for 2.5 uplift. 

Thanks
Attachment #8685984 - Flags: approval-gaia-v2.5? → approval-gaia-v2.5+
Flags: needinfo?(lixia)
Unfortunately I am still able to reproduce this issue in both 2.6 and 2.5.

With the device just flashed, wifi on:
1-Open contacts -> settings-> import -> import from gmail
2-Log in and while the contact list is being retrieved, tap on cancel
I got the error in screenshot 1, and tapping on cancel or retry the device is stuck at screenshot 2. It is necessary to close the app.

Aries 2.6
BuildID:201511250136653
Gaia:37250b12
Platform: 45.0a1

Flame 2.5
BuildID:20151125230113
Gaia:93b8bf2d
Platform: 44.0a2
Attached image screenshot 1
Attached image screenshot 2
Attaching also logs, the log file start when tapping on allow access request from gmail after login. Hope that helps.
Attached file logs.txt
Flags: needinfo?(lixia)
This is still happening as in comment #10:

Build ID               20151202150204
Gaia Revision          719d89803fd1809bb1132e564a6d0c255963d4b7
Gaia Date              2015-12-02 09:58:12
Gecko Revision         https://hg.mozilla.org/mozilla-central/rev/eec9a0bfd929a68237f0ef799a9d8f28c4749296
Gecko Version          45.0a1
Device Name            flame
Firmware(Release)      4.4.2
Firmware(Incremental)  eng.cltbld.20151202.182842
Firmware Date          Wed Dec  2 18:28:54 EST 2015
Bootloader             L1TC000118D0

Francisco, what do you prefer to re-open this bug or create a new one?Thanks!
Flags: needinfo?(francisco)
I am also able to still reproduce this issue on both Flame and Aries.

Environmental Variables:
Device: Flame 2.6
BuildID: 20151221030230
Gaia: 14aefb2519becfa32f31bcc3c9c995693421f19c
Gecko: e6ba2d4a2e4930bb359f90312ef6f1ebdc34c0ac
Gonk: 205ac4204bbbb2098a8046444acba551ba5dc75a
Version: 46.0a1 (2.6) 
Firmware Version: v18D
User Agent: Mozilla/5.0 (Mobile; rv:46.0) Gecko/46.0 Firefox/46.0

Environmental Variables:
Device: Aries 2.6
BuildID: 20151221131907
Gaia: 14aefb2519becfa32f31bcc3c9c995693421f19c
Gecko: a8acaa9868df4aa8d801725cfa9ef744640fc402
Gonk: a19052e4389c3ae2d8fc3e7a74a475401baacc56
Version: 46.0a1 (2.6) 
Firmware Version: D5803_23.1.A.1.28_NCB.ftf
User Agent: Mozilla/5.0 (Mobile; rv:46.0) Gecko/46.0 Firefox/46.0
QA Whiteboard: [failed-verification]
Status: RESOLVED → REOPENED
Resolution: FIXED → ---
blocking-b2g: 2.5+ → 2.6+
Flags: needinfo?(francisco)
Priority: -- → P1
Firefox OS is not being worked on
Status: REOPENED → RESOLVED
Closed: 9 years ago6 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: