[B2G][Contacts] Contacts are imported from Gmail despite losing internet/data connection

RESOLVED WORKSFORME

Status

Firefox OS
Gaia::Contacts
RESOLVED WORKSFORME
4 years ago
4 years ago

People

(Reporter: bmorgan, Unassigned)

Tracking

unspecified
ARM
Gonk (Firefox OS)

Firefox Tracking Flags

(b2g-v1.3 affected, b2g-v1.4 affected, b2g-v2.0 affected)

Details

(Whiteboard: [2.0-flame-test-run-1], URL)

Attachments

(1 attachment)

(Reporter)

Description

4 years ago
Created attachment 8436218 [details]
logcat buri 2-0.txt

Description:
While importing contacts from Gmail, turning off the data/wifi connection brings up a page notifying the user that continuing will import contacts without photos.  Tapping on 'OK' imports the contacts WITH photos.  Tapping 'Cancel' imports contacts up to the point of the interrupt.

Pre-requisite: Gmail account with ~30 contacts, some of which have pictures attached.

Repro Steps:
1) Update a Flame to 20140606040202
2) Open contacts > settings > import > Gmail > log in.
3) Tap on 'Select All' then tap 'Import' in upper right corner.
4) Hold the power button and turn on Airplane mode.
5) Tap 'OK' on the confirmation page.
6) After contacts are imported, observe contact pictures have been imported.
7) Delete all contacts.
8) Repeat steps 2-4.  Tap 'Cancel' on confirmation page.
9) Observe report at bottom of screen informing some contacts have been imported.


Actual:
After tapping 'OK': all contacts are imported with pictures attached
After tapping 'Cancel': all contacts up to point of interruption are imported


Expected:
After tapping 'OK': all contacts are imported without pictures attached
After tapping 'Cancel': no contacts are imported

Environmental Variables:
Device: Flame 2.0
Build ID: 20140606040202
Gaia: 857129928b6e56a809cee9d5445effb8fa9f1c2c
Gecko: c8288d0c7a15
Version: 32.0a1 (2.0) MOZ
Firmware Version: v10G-2

User Agent: Mozilla/5.0 (Mobile; rv:32.0) Gecko/32.0 Firefox/32.0


Repro frequency: 100%
Link to failed test case: https://moztrap.mozilla.org/manage/case/7047/
See attached: logcat

Flame logcat issue: https://bugzilla.mozilla.org/show_bug.cgi?id=1010993
(Reporter)

Comment 1

4 years ago
Buri 2.0, 1.4, 1.3 MOZ RIL:
After tapping 'OK': all contacts are imported with pictures attached.
After tapping 'Cancel': all contacts up to point of interruption are imported.


2.0 Environmental Variables:
Device: Buri 2.0 MOZ
BuildID: 20140530040207
Gaia: 26d8fcab9b61f46451600f39c51e0387ef3c4f88
Gecko: e6f113c83095
Version: 32.0a1
Firmware Version: v1.2-device.cfg

My User Agent: Mozilla/5.0 (Mobile; rv:32.0) Gecko/32.0 Firefox/32.0


1.4 Environmental Variables:
Device: Buri 1.4 MOZ
BuildID: 20140530000202
Gaia: fe612fd21389193a8e593aa718831602e5086a62
Gecko: 25011f9a8f26
Version: 30.0
Firmware Version: v1.2-device.cfg

My User Agent: Mozilla/5.0 (Mobile; rv:30.0) Gecko/30.0 Firefox/30.0


1.3 Environmental Variables:
Device: Buri 1.3 MOZ
BuildID: 20140530024008
Gaia: 5bd226b03a2d63dfe9df204f7c0afb9984e8fd42
Gecko: 57cd741e4d0b
Version: 28.0
Firmware Version: v1.2-device.cfg

My User Agent: Mozilla/5.0 (Mobile; rv:28.0) Gecko/28.0 Firefox/28.0
Hi,

the gmail importer, as well as other importers work in that way.

If the user cancels any import action, contacts imported till hitting the cancel button will remain in the system, won't be deleted.
Status: NEW → RESOLVED
Last Resolved: 4 years ago
Resolution: --- → WORKSFORME
You need to log in before you can comment on or make changes to this bug.