Closed
Bug 894872
Opened 11 years ago
Closed 11 years ago
Memory Card import needs to support contact dedup
Categories
(Firefox OS Graveyard :: Gaia::Contacts, defect)
Tracking
(blocking-b2g:koi+)
RESOLVED
FIXED
blocking-b2g | koi+ |
People
(Reporter: jmcf, Assigned: jmcf)
References
Details
(Whiteboard: [u=commsapps-user c=dialer p=0])
Attachments
(4 files)
No description provided.
Comment 1•11 years ago
|
||
Before I start with this, is there a general way to solve duplicates in import APIs?
Assignee | ||
Comment 2•11 years ago
|
||
yes, it is ongoing, please wait until all the related bugs land
Assignee | ||
Updated•11 years ago
|
blocking-b2g: --- → koi?
Comment 3•11 years ago
|
||
Ok, thanks.
Assignee | ||
Comment 4•11 years ago
|
||
Sergi, You can start with this bug if you have time. Please see import_sim_contacts.js for an example on how to deal with matching and merging.
Assignee | ||
Updated•11 years ago
|
Assignee: nobody → jmcf
Assignee | ||
Comment 5•11 years ago
|
||
Attachment #781035 -
Flags: review?(sergi.mansilla)
Comment 6•11 years ago
|
||
Is this supposed to avoid duplication when importing the same contacts several times? When I test it on the device, it duplicates existing contacts when I run the importer twice.
Updated•11 years ago
|
Flags: needinfo?(jmcf)
Assignee | ||
Comment 7•11 years ago
|
||
yes, it is. It was working perfectly for me. Please, could you attach the vCard you were using for your tests? thanks
Flags: needinfo?(jmcf)
Comment 8•11 years ago
|
||
I am testing with this vcard file.
Assignee | ||
Comment 9•11 years ago
|
||
Sergi,
I think you are testing with the wrong branch. With your vcard file it is working perfectly for me. I have rebased the branch, please update your branch with the correct one and test again.
thanks
Assignee | ||
Comment 10•11 years ago
|
||
If I don't get review results by today I will re-assign review to Francisco.
best
Comment 11•11 years ago
|
||
I will try again today and let you know.
Thanks
Comment 12•11 years ago
|
||
Jose Manuel,
I still have the same issue with your branch. I am testing on a Peak, B2G 1.2, Build ID 20130729085713. Git Gaia commit is fa5fe75ee97, and I am doing the following:
- Open contacts app
- Contact Settings -> Memory Card import
- The process goes smoothly, but it adds duplicated contacts each time I repeat the process.
Please let me know if I am on a wrong build or if I am not testing the proper flow.
Comment 13•11 years ago
|
||
We are on track for catching this x file :)
Thanks Sergi and Jose Manuel!
Assignee | ||
Comment 14•11 years ago
|
||
Hi Sergi,
Could you test the same example removing the SIM card from your device? It seems the 'match' filter in contacts API is not working properly with your SIM.
Please let me know
Flags: needinfo?(sergi.mansilla)
Comment 15•11 years ago
|
||
Hi Jose Manuel,
I was testing with a device with no SIM card in it, just a SD card with the contacts file in it.
Flags: needinfo?(sergi.mansilla)
Updated•11 years ago
|
Whiteboard: [u=commsapps-user c=dialer p=0]
Updated•11 years ago
|
blocking-b2g: koi? → koi+
Comment 17•11 years ago
|
||
Hi Joe, don't think so, we've just removed it from sprint 3 and added to "ready backlog" for v1.2
Flags: needinfo?(jmcf)
Assignee | ||
Comment 18•11 years ago
|
||
Attachment #800188 -
Flags: review?(francisco.jordano)
Assignee | ||
Updated•11 years ago
|
Attachment #781035 -
Flags: review?(sergi.mansilla)
Assignee | ||
Comment 19•11 years ago
|
||
Comment on attachment 781035 [details]
Pointer to GH PR
this patch is obsolete
Comment 20•11 years ago
|
||
Comment on attachment 800188 [details]
11955.html
Code looking good to me, and unit tests passing locally.
r+!
Thanks Jose Manuel!
Attachment #800188 -
Flags: review?(francisco.jordano) → review+
Assignee | ||
Comment 21•11 years ago
|
||
Status: NEW → RESOLVED
Closed: 11 years ago
Resolution: --- → FIXED
You need to log in
before you can comment on or make changes to this bug.
Description
•