View Issue Details

IDProjectCategoryView StatusLast Update
0003896SOGo Connectorwith external serverpublic2016-11-16 11:32
ReporterpbSogo Assigned To 
PriorityhighSeveritymajorReproducibilityalways
Status closedResolutionno change required 
PlatformLinuxOSFedoraOS Version24
Product Version31.0.3 
Summary0003896: vcard update not working with radicale 2.x because of missing sync-token
Description

vcard update is not working (anymore).

It's unclear whether this is a sogo connector or carddav server issue, please comment - thank you very much!

Unfortunatly, because of currently not able to add an additional remote addressbook to my test server (see other bug report) I can't run extensive debug tests...

Steps To Reproduce

Modify vcard, check log of thunderbird
card set for upload: ****.vcf
GOT STATUS: 207

...

sogoWebDAV.js: an exception occured
TypeError: jsonResponse.multistatus[0]['sync-token'] is undefined
chrome://sogo-connector/content/general/sync.addressbook.groupdav.js:1210

TagsNo tags attached.

Activities

pbSogo

pbSogo

2016-11-13 09:51

reporter   ~0010842

Last edited: 2016-11-13 10:42

can it be that SOGo connector misses a fallback in case of sync-token is not provided?

Radicale related discussions:
https://github.com/Kozea/Radicale/issues/306

according to debug log of radicale, after SOGo requested a a PROPFIND

<?xml version="1.0"?>
<D:propfind xmlns:D="DAV:" xmlns:x0="http://calendarserver.org/ns/&quot;>&lt;D:prop>&lt;D:resourcetype/>&lt;D:supported-report-set/>&lt;x0:getctag/>&lt;/D:prop>&lt;/D:propfind>

where one

<CS:getctag>"2229d62987e2e5c15c04a6ca52f1b8cd"</CS:getctag

is returned, it asked for REPORT with depth=1

<?xml version="1.0"?><sync-collection xmlns="DAV:"><sync-token/><prop><getetag/><getcontenttype/></prop></sync-collection>

and the result is

<?xml version="1.0"?>
<multistatus xmlns="DAV:">
<response>
<href>/URI/UUID.vcf</href>
<propstat>
<prop>
<getetag>"2229d62987e2e5c15c04a6ca52f1b8cd"</getetag>
<getcontenttype>text/vcard; component=vcard</getcontenttype>
</prop>
<status>HTTP/1.1 200 OK</status>
</propstat>
</response>
</multistatus>

(not containing any sync-token...)

pbSogo

pbSogo

2016-11-13 11:09

reporter   ~0010844

it turned out that Radicale offered in PROPFIND

      &lt;supported-report>
        &lt;report>
          &lt;sync-collection />
        &lt;/report>
      &lt;/supported-report>

while not really supported internally.

Removed the offering, now it's working.

pbSogo

pbSogo

2016-11-16 05:37

reporter   ~0010869

Issue can be closed now, because it was caused by broken server

Issue History

Date Modified Username Field Change
2016-11-13 08:24 pbSogo New Issue
2016-11-13 09:51 pbSogo Note Added: 0010842
2016-11-13 09:52 pbSogo Note Edited: 0010842
2016-11-13 10:42 pbSogo Note Edited: 0010842
2016-11-13 11:09 pbSogo Note Added: 0010844
2016-11-16 05:37 pbSogo Note Added: 0010869
2016-11-16 11:32 francis Status new => closed
2016-11-16 11:32 francis Resolution open => no change required