@devvv4ever Sorry for the delay in responding. I used the IP instead of the name, but I get the same result.
Here is the log
davx5-info.txt
Any thought will be greatly appreciated.
I have my own CardDAV-Server (Synology Contacts), a Samsung S8 (with DAVx5) and EMClient. I tried the following:
Result: all was ok
Then i edited one contact in EMClient. Result: all was ok, the changes synced in all devices
Then i edited in Synology Contacts. Result: all was ok
But now i edited one contact in my Samsung S8. Result: in Synology Contacts the data is ok (i exported the vCard), but the attribute TYPE of some addresses were written in lowercase like this: ADR;TYPE=home and an additional line with LABEL;TYPE=home:<address> was added. In EMClient i got two addresses. One with ADR;TYPE=home and the same Address with ADR;TYPE=TYPE.
So i gues DAVx5 is changing the attribute of TYPE in lowercase, adds an additonal line (LABEL;…) and EMClient adds a new ADR-line to the vCard, because it cannot read the line with TYPE=home and the additional line LABEL (which could be ignored)?
After every snc i get more and more addresses like described above. So who is doing wrong? DAVx5 (the additional LABEL is allowed, but lowercase for TYPE=home or TYPE=work is that ok?) or EMCient?
vCard in CardDAV-Server before Sync:
BEGIN:VCARD
VERSION:3.0
PRODID:+//IDN bitfire.at//DAVx5/3.2.1.3-gplay ez-vcard/0.11.0
UID:fa9fbe9a-81fe-4a10-b048-b2476686f472
ADR;TYPE=HOME:;;street 1;town;region;plz;Deutschland
BDAY:1960-01-01
CATEGORIES:Bekannte
EMAIL;TYPE=HOME,PREF:mailtome@yahoo.de
FN:Birgit Gxxxxx
N:Gxxxxx;Bxxxxx;;;
REV:2020-07-28T14:18:39Z
SORT-STRING:Bxxxxx Gxxxxx
TEL;TYPE=HOME:+49 600000 00000
TEL;TYPE=CELL:+49 160 00000000
END:VCARD
vCard in CardDAV-Server after Sync:
BEGIN:VCARD
VERSION:3.0
PRODID:+//IDN bitfire.at//DAVx5/3.2.1.3-gplay ez-vcard/0.11.0
UID:fa9fbe9a-81fe-4a10-b048-b2476686f472
ADR;TYPE=home:;;street 1;town;region;plz;Deutschland
BDAY:1960-01-01
CATEGORIES:Bekannte
EMAIL;TYPE=home,pref:mailtome@yahoo.de
FN:Bxxxxx Gxxxxx
--->> LABEL;TYPE=home::;;street 1\ntown\nregion\nplz\nDEUTSCHLAND
N:Gxxxxx;Bxxxxx;;;
REV:2020-07-28T14:18:39Z
SORT-STRING:Bxxxxx Gxxxxx
TEL;TYPE=home:+49 600000 00000
TEL;TYPE=cell:+49 160 00000000
END:VCARD
Thanks, I could reproduce the problem. For reference, also linking to: https://forum.emclient.com/t/contacts-wont-display-address-in-column-when-vcard-uses-lower-case-type/45285
As I understand it, it’s an eM Client problem, because it treats LABEL
as a separate address. Please follow up here: https://forum.emclient.com/t/contacts-wont-display-address-in-column-when-vcard-uses-lower-case-type/45285/7