You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
4.) CalDav Synchronizer does a PUT request to send the modified card (which is based on ETag "1111") to the Server. But in the header it uses the ETag fetched before: If-Match: "22222"
PUT /address/to/my/card.ics
If-Match: "22222"
BEGIN:VCALENDAR
VERSION:2.0
PRODID:-//ddaysoftware.com//NONSGML DDay.iCal 1.0//EN
BEGIN:VTIMEZONE
[... more ...]
5.) The Server should respond with 412 Precondition Failed because because the provided card is based on ETag "11111" , but it gets overwritten with the changes of ETag "22222" lost.
possible solution
When syncing, PUT requests should be made before fetching new data from the server.
The text was updated successfully, but these errors were encountered:
Outlook CalDav Synchronizer does not send the correct "If-Match" Header with a PUT request when modify a entry.
Steps to reproduce:
Now the CalDav Synchronizer does:
1.) A
REPORT
request to the calendar:2.) The server responses with the e-tag
<d:getetag>"22222"</d:getetag>
3.) CalDav Synchronizer does a
REPORT
to get the new event data,4.) CalDav Synchronizer does a
PUT
request to send the modified card (which is based on ETag "1111") to the Server. But in the header it uses the ETag fetched before:If-Match: "22222"
5.) The Server should respond with
412 Precondition Failed
because because the provided card is based on ETag"11111"
, but it gets overwritten with the changes of ETag"22222"
lost.possible solution
When syncing,
PUT
requests should be made before fetching new data from the server.The text was updated successfully, but these errors were encountered: