View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0002493 | SOGo | Backend Calendar | public | 2013-11-11 17:58 | 2014-09-15 19:47 |
Reporter | Marten Gajda | Assigned To | ludovic | ||
Priority | normal | Severity | feature | Reproducibility | always |
Status | resolved | Resolution | fixed | ||
Product Version | 2.1.0 | ||||
Target Version | 2.2.9 | Fixed in Version | 2.2.9 | ||
Summary | 0002493: sync-token property not returned in PROPFIND | ||||
Description | According to http://tools.ietf.org/html/rfc6578#section-4 each collection that supports sync-collection MUST return a sync-token. | ||||
Steps To Reproduce | Sending this request: <?xml version="1.0" encoding="UTF-8"?> to http://sogo-demo.inverse.ca/SOGo/dav/sogo1/Calendar/personal returns: <D:multistatus xmlns:D="DAV:"> instead is should return: <?xml version="1.0" encoding="utf-8"?> | ||||
Tags | No tags attached. | ||||
Are you sure you read the spec correctly? It says: Purpose: Contains the value of the synchronization token as it would That's a REPORT. ALL the examples in the spec use REPORT, just like DAV clients we're dealing with. |
|
Yes, sync-collection is a report, but you can query the sync-token in advance using a regular PROPFIND request, just like you would get a CTag. They key in the purpose above is the word "as". Purpose: Contains the value of the synchronization token as it would It means that the sync-token returned in response to the propfind request is the same that would be returned by a sync-collection request. It's meant to get the sync-token only, not the entire change set like a sync-collection report would return. I use the following propfind request in CalDAV-Sync to get the sync-token in advance, along with a couple of other properties: <?xml version="1.0" encoding="UTF-8"?> That way I know if anything has changed before I send a sync-collection request. The CTag is not part of the official standards, it's more like a workaround. That's why I prefer the sync-token if there is any. I have to check for the supported-report-set anyway if I want to use sync-collection, so why not get the sync-token with the same request to safe an additional sync-collection request if nothing has changed. |
|
https://github.com/inverse-inc/sope/commit/0ee64d0309ecc96a29d7c788e56246aec3606ad5 |
|
Date Modified | Username | Field | Change |
---|---|---|---|
2013-11-11 17:58 | Marten Gajda | New Issue | |
2013-11-11 18:04 | ludovic | Note Added: 0006213 | |
2013-11-12 09:45 | Marten Gajda | Note Added: 0006219 | |
2013-11-19 14:02 | ludovic | Severity | major => feature |
2014-09-15 19:47 | ludovic | Target Version | => 2.2.9 |
2014-09-15 19:47 | ludovic | Note Added: 0007517 | |
2014-09-15 19:47 | ludovic | Status | new => resolved |
2014-09-15 19:47 | ludovic | Fixed in Version | => 2.2.9 |
2014-09-15 19:47 | ludovic | Resolution | open => fixed |
2014-09-15 19:47 | ludovic | Assigned To | => ludovic |