Closed Bug 823370 Opened 13 years ago Closed 13 years ago

[FTU] Hit "Import SIM contacts" multiple time will create duplicate contacts

Categories

(Firefox OS Graveyard :: Gaia::First Time Experience, defect)

x86_64
Gonk (Firefox OS)
defect
Not set
normal

Tracking

(blocking-basecamp:-, b2g18+ fixed)

RESOLVED FIXED
blocking-basecamp -
Tracking Status
b2g18 + fixed

People

(Reporter: johnshih.bugs, Assigned: jmcf)

References

Details

Attachments

(1 file)

## Environment : Unagi phone, daily build 2012-12-20 Build info: gaia master: 6b2782639208a52e070185750ef66421f67f0b2c mozilla-b2g18 : 81b03770cbbc ## Repro : 1. Flash and boot the device 2. In the FTU, move to Import contacts 3. Hit Import from SIM multiple times ## Expected: * There should be a protection mechanism or logic to only let one set of SIM contacts be imported ## Actual: * There will be duplicate contacts be imported according to the hit times
blocking-basecamp: --- → ?
Depends on: 823372
blocking-basecamp: ? → -
tracking-b2g18: --- → +
Attached file Pointer to GH PR 7107
NOTE: If blocking-basecamp+ is set, just land it for now. [Approval Request Comment] Bug caused by (feature/regressing bug #): User impact if declined: High Testing completed: Risk to taking this patch (and alternatives if risky): very low
Attachment #694364 - Flags: review?(fernando.campo)
Attachment #694364 - Flags: approval-gaia-master?(francisco.jordano)
Assignee: nobody → jmcf
Status: NEW → ASSIGNED
Comment on attachment 694364 [details] Pointer to GH PR 7107 Small and unrisky change that makes the product better. a=me
Attachment #694364 - Flags: approval-gaia-master?(francisco.jordano) → approval-gaia-master+
Does this patch solve the described problem? It seems it will disable the button, but not prevent the same process being repeated later which will still result in multiple contacts being created. See also bug 823372 and bug 813732 for likely duplicates.
Comment on attachment 694364 [details] Pointer to GH PR 7107 till the addressed comments are fixed :)
Attachment #694364 - Flags: review?(fernando.campo) → review-
(In reply to Mark Hammond (:markh) from comment #3) > Does this patch solve the described problem? It seems it will disable the > button, but not prevent the same process being repeated later which will > still result in multiple contacts being created. See also bug 823372 and > bug 813732 for likely duplicates. My understanding is that we have two different problems here. One is the multiple clicks on the 'Import' button while being on the same screen or even during the importing process. This could be accidental, or due to bad refreshing of the messages, and that is what should be fixed by this patch. On the other hand, if the user import the contacts properly, finishes the FTU, and later goes to contacts click again the import button, then is a deliberate action, not an user error, and that is known and explained in https://bugzilla.mozilla.org/show_bug.cgi?id=813732#c2, being a limitation on contact-validation.
Attachment #694364 - Flags: review- → review+
Patch updated on github, works fine now, so r=me. Thanks Jose
Status: ASSIGNED → RESOLVED
Closed: 13 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: