Dependency Graph
View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0001098 | SOGo Connector | with external server | public | 2011-01-26 15:44 | 2012-03-06 19:58 |
Reporter | fedel | Assigned To | |||
Priority | normal | Severity | major | Reproducibility | always |
Status | resolved | Resolution | fixed | ||
Product Version | 3.104 | ||||
Summary | 0001098: GroupDavSynchronizer: obsolete DAV:sync-response after DAV:sync-collection request? | ||||
Description | The Sogo connector for Thunderbird (current nightly, 2011/01/25) only accepts DAV:sync-response's in response to DAV:sync-collection requests in the address book code. However, it seems like the newer WebDAV Sync drafts (see http://tools.ietf.org/html/draft-daboo-webdav-sync-04) suggest using regular DAV:response's instead of DAV:sync-response's. As a consequence, Thunderbird cannot receive new or updated objects from a CardDAV server which complies to a newer WebDAV Sync draft. This problem has been observed with the Sogo connector Jan 25, 2011 nightly communicating with a DAViCal server, version 0.9.9.4. The attached patch adds support for both response options. It may be applied against the current nightly. | ||||
Additional Information | Bug 0000942 might be related. | ||||
Tags | No tags attached. | ||||
2011-01-26 15:44
|
sync.addressbook.groupdav.patch (1,406 bytes)
diff -Nur sogo-connector-3.104-nightly\chrome\content\sogo-connector\general\sync.addressbook.groupdav.js sogo-connector-3.104-nightly-patched\chrome\content\sogo-connector\general\sync.addressbook.groupdav.js --- sogo-connector-3.104-nightly\chrome\content\sogo-connector\general\sync.addressbook.groupdav.js Tue Jan 25 07:45:16 2011 +++ sogo-connector-3.104-nightly-patched\chrome\content\sogo-connector\general\sync.addressbook.groupdav.js Wed Jan 26 16:30:28 2011 @@ -814,6 +814,15 @@ this.newWebdavSyncToken = jsonResponse["multistatus"][0]["sync-token"][0]; let responses = jsonResponse["multistatus"][0]["sync-response"]; + /* WebDAV Sync Draft 3+ propose regular "DAV:response" instead of + "DAV:sync-response" in response to "DAV:sync-collection" */ + if (typeof responses == "undefined") { + responses = jsonResponse["multistatus"][0]["response"]; + for each (let response in responses) { + if (typeof response["status"] == "undefined") + response["status"] = ["HTTP/1.1 200 OK"]; + } + } for each (let response in responses) { let href = response["href"][0]; let keyArray = href.split("/"); |
I just noticed Andrew Miller's bug 0000857. This new report turns out to be a duplicate of Andrew's issue. |
|
I have made a simple test using the above patch on nightly sogo-connector-3.105pre6.xpi as of 2011-03-16. Starting from a empty CardDAV address book I copy pasted about 150 entries into it and performed a sync to the Davical server. I then synced my Android phone against these entries as well. I also edited some entries in both Thunderbird and my phone and performed syncing back and forth a couple of times. All seems to work fine. :) My environment: |
|
I just tested the sogo-connector-3.105pre6.xpi using Icedove 3.0.11 on Debian Squeeze using two different Icedove profiles (separate install of add-on) and it did not work. :-( Details: As far as I understood it on the DaviCal mailing list the problem is that new contacts are not discovered by Icedove/Sogo. It might be, that changes/updates work fine. |
|
Florian, did you apply the patch attached to this bug report? |
|
I`m sorry, I assumed that the nightly build would contain the patch. I tested again using new profiles. This time I applied the patch and removed XUL.mfasl and XPC.mfasl, as I heard that after patching extensions its recommended to remove these cache files. Unfortunately the remote adressbook using the two profile setup still does not work. I`m still waiting for a reponse of my admin if the server is running 0.9.9.3 or 0.9.9.4. But perhaps someone could test this two profile setup, too. Just to be sure. It takes less than 10 minutes. |
|
I can now confirm that my tests used DAViCal 0.9.9.4. |
|
Using the patch attached to this bug report against sogo-connector-3.105per6 from 2011-03-12 on 3 separate systems I can confirm that this patch works as advertised. Environment: Florian, I've found it easier to patch the extension, zip it back up into an xpi and reinstall the extension; less messing around with caches |
|
Gregory, are you connecting to the server using http or https? I ask as I tried using the patched xpi which works fine for Erik. I am connecting using https and Erik is using http. |
|
Florian: my server is configured to use https only. |
|
Ludovic advised me to try this patch; unfortunately it does not make SoGO Connector work with Kerio Connect Server (CardDAV)... Any (more) suggestions? |
|
Should be fixed with the TB10 extensions available from: http://inverse.ca/downloads/extensions/nightly/ Test them and report. |
|
Using 10.0pre4 from 2012Feb10 against davical-1.0.2 connecting only via ssl. Seems to be working correctly for me. Changes, additions and deletions appear to be propagating both ways between the server and connector. The only errors I'm seeing are the following log entries from the server side: davical: LOG: request: Request specified content type but none is present. Assuming null content-type. |
|
Solved in 10.0 |
|
Date Modified | Username | Field | Change |
---|---|---|---|
2011-01-26 15:44 | fedel | New Issue | |
2011-01-26 15:44 | fedel | File Added: sync.addressbook.groupdav.patch | |
2011-01-26 15:54 | fedel | Note Added: 0002051 | |
2011-03-08 13:26 | ludovic | Relationship added | has duplicate 0000857 |
2011-03-09 20:19 |
|
Relationship added | related to 0001110 |
2011-03-16 14:10 | erik_hjerten | Note Added: 0002265 | |
2011-03-22 22:24 | florian_rittmeier | Note Added: 0002287 | |
2011-03-23 10:11 | erik_hjerten | Note Added: 0002288 | |
2011-03-23 13:13 | florian_rittmeier | Note Added: 0002289 | |
2011-03-24 23:17 | florian_rittmeier | Note Added: 0002296 | |
2011-03-25 15:16 | gregoryfinch | Note Added: 0002297 | |
2011-03-25 20:37 | florian_rittmeier | Note Added: 0002298 | |
2011-04-13 15:05 | gregoryfinch | Note Added: 0002381 | |
2011-08-03 14:46 | Sven Giermann | Note Added: 0002781 | |
2012-02-08 21:33 | ludovic | Note Added: 0003404 | |
2012-02-13 22:06 | gregoryfinch | Note Added: 0003433 | |
2012-03-06 19:58 |
|
Note Added: 0003537 | |
2012-03-06 19:58 |
|
Status | new => resolved |
2012-03-06 19:58 |
|
Resolution | open => fixed |
2012-03-06 19:58 |
|
Assigned To | => wsourdeau |