DAV-4-TbSync icon indicating copy to clipboard operation
DAV-4-TbSync copied to clipboard

VCard exported not always compatible to CALDAV server

Open crocri opened this issue 4 years ago • 0 comments

Your environment

TbSync version: latest DAV-4-TbSync version: latest Thunderbird version: latest

[X ] Yes, I have installed the latest available beta version from https://tbsync.jobisoft.de and my issue is not yet fixed, I can still reproduce it.

Expected behavior

Sync contacts with caldav server. VCard VERSION type should be direct after BEGIN (for compatibility with V4). Some tools I found want to have VERSION direct after BEGIN, also for V3 (same for some libraries).

Corrected example: BEGIN:VCARD VERSION:3.0 ...

Actual behavior

VCard transferred with VERSION: 3.0 at the end, direct before END tag

Steps to reproduce

Sync contacts with server. Open server (baikal) and export one vcf file. Open file with editor.

Debug logging from TBSync (VERSION at the end - this is wrong!) Name, number replaced with * for data privacy.

** Thu Oct 22 2020 14:44:59 GMT+0200 (Mitteleuropäische Sommerzeit) ** [REQUEST] : PUT : BEGIN:VCARD FN:************************** N:;;;; UID:----*********** TEL;TYPE=HOME:************** ORG:******; VERSION:3.0 END:VCARD

crocri avatar Oct 22 '20 12:10 crocri