View Issue Details

IDProjectCategoryView StatusLast Update
0003107SOGo Connectorwith SOGopublic2018-03-17 08:39
Reporterartbristol Assigned Toludovic  
PrioritynormalSeverityminorReproducibilitysometimes
Status feedbackResolutionreopened 
Summary0003107: Cannot synchronize contact with Apple Calendar & Contacts Server
Description

I have a problem synchronizing between Thunderbird 31.4.0 with SOGO connector 31.0.1 and Apple's CALDAV server (Debian version 3.2). It complains

"Calendar data had unfixable problems:
[VCARD] Missing or too many required property: N"

I have added a trace of the HTTP PUT request.

Additional Information

PUT /addressbooks/users/[snip]/addressbook/[snip].vcf HTTP/1.1
Host: [snip]
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.4.0 Lightning/3.3.4
Accept: text/xml
Accept-Language: en-gb,en;q=0.5
Accept-Encoding: gzip, deflate
Accept-Charset: utf-8,*;q=0.1
Content-Type: text/vcard; charset=utf-8
If-Match: "[snip]"
Content-Length: 244
Authorization: Basic [snip]
Connection: keep-alive
Pragma: no-cache
Cache-Control: no-cache

BEGIN:VCARD
VERSION:3.0
PRODID:-//Inverse inc.//SOGo Connector 1.0//EN
UID:DD14[snip]FA40178
FN:l[snip]n@gmail.com
X-MOZILLA-HTML:FALSE
EMAIL;TYPE=work:l[snip]n@gmail.com
REV:20140512T164558Z
END:VCARD

HTTP/1.1 403 Forbidden
Date: Sat, 14 Feb 2015 10:58:09 GMT
DAV: 1, access-control, calendar-access, calendar-schedule, calendar-auto-schedule, calendar-availability, inbox-availability, calendar-proxy, calendarserver-private-events, calendarserver-private-comments, calendar-query-extended, addressbook, extended-mkcol, calendarserver-principal-property-search
Content-Type: text/xml
Content-Length: 348
Server: CalendarServer/3.2(r) Twisted/12.0.0 TwistedWeb/9.0.0

<?xml version='1.0' encoding='UTF-8'?>
<error xmlns='DAV:'>
<valid-address-data xmlns='urn:ietf:params:xml:ns:carddav'/>
<error-description xmlns='http://twistedmatrix.com/xml_namespace/dav/'>&lt;![CDATA[Invalid vcard data: Calendar data had unfixable problems:
[VCARD] Missing or too many required property: N]]></error-description>
</error>

TagsNo tags attached.

Activities

artbristol

artbristol

2015-02-14 11:13

reporter   ~0008191

Last edited: 2015-02-14 11:13

It is possible to work around this by ensuring the 'First Name', 'Last Name', and 'Display Name' fields are filled in on the contact in Thunderbird, but I don't think this should be necessary.

artbristol

artbristol

2015-03-30 17:47

reporter   ~0008381

To find out the offending contact, you need to export your addressbook as CSV and find ones with blank 'Display Name'. You can then update the contact in Thunderbird to add a Display Name and synchronization will then work.

ludovic

ludovic

2018-03-16 18:39

administrator   ~0012742

FN is required, and SOGo sends it.

N isn't and Apple solution complains about it. It is broken and the bug should be fixed in their solution.

artbristol

artbristol

2018-03-16 23:13

reporter   ~0012773

According to Wikipedia (maybe you have a better source) N is required for VCard 3.0

ludovic

ludovic

2018-03-17 00:23

administrator   ~0012774

Wikipedia is not an official source of information.

RFCs are: https://tools.ietf.org/html/rfc6350

6.2.1. FN - "The property MUST be present in the vCard object."

6.2.2. N - The property SHOULD be present in the vCard object when the name of the object the vCard represents follows the X.520 model.

artbristol

artbristol

2018-03-17 08:39

reporter   ~0012778

RFC 6530 is version 4.0

RFC 2426 is version 3.0.

RFC 2426 specifies FN and N as mandatory

Issue History

Date Modified Username Field Change
2015-02-14 11:06 artbristol New Issue
2015-02-14 11:13 artbristol Note Added: 0008191
2015-02-14 11:13 artbristol Note Edited: 0008191
2015-03-30 17:47 artbristol Note Added: 0008381
2016-07-12 12:05 ludovic Status new => assigned
2016-07-12 12:05 ludovic Assigned To => ludovic
2018-03-16 18:39 ludovic Note Added: 0012742
2018-03-16 18:39 ludovic Status assigned => closed
2018-03-16 18:39 ludovic Resolution open => won't fix
2018-03-16 23:13 artbristol Note Added: 0012773
2018-03-16 23:13 artbristol Status closed => feedback
2018-03-16 23:13 artbristol Resolution won't fix => reopened
2018-03-17 00:23 ludovic Note Added: 0012774
2018-03-17 00:24 ludovic Status feedback => closed
2018-03-17 00:24 ludovic Resolution reopened => suspended
2018-03-17 00:24 ludovic Sticky Issue No => Yes
2018-03-17 00:25 ludovic Sticky Issue Yes => No
2018-03-17 08:39 artbristol Note Added: 0012778
2018-03-17 08:39 artbristol Status closed => feedback
2018-03-17 08:39 artbristol Resolution suspended => reopened