Closed Bug 943298 Opened 11 years ago Closed 11 years ago

In SIM import-export contacts flows avoid creating new entries in the SIM card

Categories

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

x86
macOS
defect
Not set
normal

Tracking

(blocking-b2g:-, b2g-v1.2 fixed, b2g-v1.3 fixed, b2g-v1.3T fixed, b2g-v1.4 unaffected)

RESOLVED FIXED
1.2 C6(Dec6)
blocking-b2g -
Tracking Status
b2g-v1.2 --- fixed
b2g-v1.3 --- fixed
b2g-v1.3T --- fixed
b2g-v1.4 --- unaffected

People

(Reporter: jmcf, Assigned: jmcf)

References

Details

Attachments

(2 files)

When a Contact is imported from the SIM card we should keep the contact id that the iccManager module is providing. With this simple approach we are avoiding contact duplicates in import-export flows.

Please note that this does not solve all the SIM export duplicates problems as a local contact - export - import flow cannot be solved until bug 943234 lands and its corresponding Gaia patch. 

Nominating this as it will be a really simple patch but at the same time will be a quick win for avoiding SIM duplications.
Please renom for later release. This is a feature enhancement so no 1.2 or 1.3.
blocking-b2g: koi? → -
Attachment #8339780 - Flags: review?(francisco.jordano)
(In reply to Jose M. Cantera from comment #2)
> Created attachment 8339780 [details]
> 14163.html - Patch for v1.2 version

The user gain having this patch uplifted to v1.2 is huge. ni Ayman to confirm this.
Flags: needinfo?(aymanmaat)
As Jose rightly states, the user gain due to the presence of this patch is immense. 

...from a UX PoV Anything that reduces the possibility (and therefore the number) of duplicate contact being created in the contact list when contacts are imported from the SIM is highly beneficial to our users. It keeps their data clean, and reduces the amount of effort that the user must expend (and therefore frustration they experience) to clean up their contact list after import. In view of this I would recommend to uplift for V1.2

Good work Jose
Flags: needinfo?(aymanmaat)
Blocks: 922988
Attachment #8339842 - Flags: review?(francisco.jordano)
Comment on attachment 8339780 [details]
14163.html - Patch for v1.2 version

Looking great to me, just left a comment on github.
Attachment #8339780 - Flags: review?(francisco.jordano) → review+
Comment on attachment 8339842 [details]
14170.html (patch for master)

Same here, thanks for the job!
Attachment #8339842 - Flags: review?(francisco.jordano) → review+
Comment on attachment 8339780 [details]
14163.html - Patch for v1.2 version

NOTE: Please see https://wiki.mozilla.org/Release_Management/B2G_Landing to better understand the B2G approval process and landings.

[Approval Request Comment]
[Bug caused by] (feature/regressing bug #): Not properly managing contactIds provided by the moziccManager API. 
[User impact] if declined: Very high. High number of contact duplications while exporting 
[Testing completed]: Yes
[Risk to taking this patch] (and alternatives if risky): Very low risk patch 
[String changes made]: contactId returned by iccManager.readContacts while importing is saved in the mozContact object for later reusing it
Attachment #8339780 - Flags: approval-gaia-v1.2?(francisco.jordano)
Comment on attachment 8339780 [details]
14163.html - Patch for v1.2 version

We need this patch as has been addressed in the request, way to many duplicated contacts while importing.

a=me
Attachment #8339780 - Flags: approval-gaia-v1.2?(francisco.jordano) → approval-gaia-v1.2+
ready to be tested by QA
Status: NEW → RESOLVED
Closed: 11 years ago
Resolution: --- → FIXED
Target Milestone: --- → 1.3 Sprint 6 - 12/6
Target Milestone: 1.3 Sprint 6 - 12/6 → 1.2 C6(Dec6)
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: