Skip to content
This repository has been archived by the owner on Oct 28, 2020. It is now read-only.

Sync FFOX 3.0 #82

Open
Thatoo opened this issue May 29, 2015 · 3 comments
Open

Sync FFOX 3.0 #82

Thatoo opened this issue May 29, 2015 · 3 comments
Labels

Comments

@Thatoo
Copy link

Thatoo commented May 29, 2015

Caldav works perfectly between cozy and FFOS 3.0 using the Thunderbird link! Both way, it works great!

About contact, I try using the two apps that I could find on the marketplace, SyncDav (https://marketplace.firefox.com/app/syncdav?src=search, github : https://github.com/tuxgasy/SyncDav/issues ) and CardDavSync (https://marketplace.firefox.com/app/carddavsync?src=search , contact : liartes@exileas.com ). In both cases, it syncs only one way from server to pocket computer, from cozy to FFOS.

SyncDav download only the phone number, and everytime I click on sync it download everything, even the one I downloaded before.
CardDavSync seems better because it download names and number (probably the rest also, email and stuff but I don't know, I didn't try). And it doesn't download all everytime. However, it "download/create" weird contact, uncomplete (just the phone or an empty contact..).

@frankrousseau
Copy link

Thank you for reporting but it looks like the problem comes for the app. Could you try this app with Google Calendar?

@Thatoo
Copy link
Author

Thatoo commented May 30, 2015

I think also that problems are coming from apps that's why I give their contact and I contacted them to give them your contact. However, I hope Mozilla will offer a native carddav system for FFOS 3.1 or 4.0.

@Thatoo
Copy link
Author

Thatoo commented May 31, 2015

Email exchange with liartes@exileas.com :
TWO EMAILS FROM LIARTES :
"
Hi Thatoo,

Thank you for your feedback. I think I have an idea about the weird contact issue : open the .vcf card of a contact on which you experience the bug. Does it have a FN field value ?

For the moment, this field is the only way for CardDAVSync to guess a contact already exist in the phone memory and merge informations. I experienced this bug with Tine2.0 CardDAV provider lately and I am thinking about a workaround.

Can you please confirm me that your .vcf contact card doesn't have a FN field value ? It will help me to narrow this issue down.

Best regards,

Liartes
"

"
Hi Thatoo,

I made some test on Cozycloud public demo. I did not experienced any duplication/weird contact behaviour. By analyzing the .vcf cards, the FN field is correctly fill on the CozyCloud demo instance. Infortunately Firefox OS didn't provide any other field to formely identify a unique contact so I can't fix this issue at the moment.

Best regards,

Liartes
"
MY ANSWER :
"
Hello Liartes,

I check what you said and I couldn't find anything special about FN.

I tried several things :

  • Ideleted all my contacts in FFOS 3.0 and I sync from cozy. I download all the contact but it was weird because only the phone number appeared in the list of contact. I had to click on a contact to see his name.
  • I deleted all and import the vcard from cozy again. It creates a confusion between first name and last name.
  • I sync and one "no name" appear.
  • I deleted all again and import the vcard that I saved before from the phone. No problem between names.
  • I sync again and I had two new contact, the phone number of one of my contact, and one "no name"

Finally :

  • I checked then my contact in cozy and I find at that first name and last name are not well done. I modified them, putting first name and last name in the good fields. I export this new vcard. I deleted my contacts in my phone to import this new vcard. Contacts are ok now on both, my phone and cozy.
  • I seems to sync well, no double contacts, it just downloaded one empty extra "no name". If I sync again, it still here but not two like before. If I delete it, and sync again, it comes back, just one single "no name". It's not a big deal if the rest works.
  • I created a new contact (with email) in cozy and I modified one (delete phone number and add email).
  • I sync. The new contact appear in my phone. However, it didn't modified the exisitng contact, even after several sync.
    -I came back to normal (delete the fake contact and add back the phone number to the contact, I keep the email).
  • I sync, the fake contact is not deleted, it stays. and the modified contact is still not modified. It seems that when I sync, it can only download new contact but cannot modify or delete a contact.

Something completely different : when I sync, it usually pause at 21%, 28% and/or 33% (and it can be quiet long) before completing the sync.

Cheers,
Yogo
"

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

2 participants