Closed
Bug 720253
Opened 12 years ago
Closed 12 years ago
Zimbra uses different conflict code 409 instead of 412
Categories
(Calendar :: Provider: CalDAV, defect)
Calendar
Provider: CalDAV
Tracking
(Not tracked)
RESOLVED
FIXED
1.2
People
(Reporter: Fallen, Assigned: Fallen)
Details
Attachments
(1 file)
1.12 KB,
patch
|
redDragon
:
review+
|
Details | Diff | Splinter Review |
This means with the cache enabled you can't really edit events after a conflict. This simple patch fixes...
Attachment #590587 -
Flags: review?(mohit.kanwal)
Assignee | ||
Comment 1•12 years ago
|
||
I'm going to push this since it makes things better for zimbra and its low risk, I'd still appreciate a review though.
Assignee | ||
Comment 2•12 years ago
|
||
Pushed to comm-central changeset 3ce3754f549d
Status: NEW → RESOLVED
Closed: 12 years ago
Resolution: --- → FIXED
Target Milestone: --- → 1.4
Assignee | ||
Comment 3•12 years ago
|
||
Backported to releases/comm-aurora changeset ee492eaff0e3
Target Milestone: 1.4 → 1.3
Assignee | ||
Comment 4•12 years ago
|
||
Backported to releases/comm-beta changeset 02f161ec50f5
Target Milestone: 1.3 → 1.2
Comment 5•12 years ago
|
||
Comment on attachment 590587 [details] [diff] [review] Fix - v1 Review of attachment 590587 [details] [diff] [review]: ----------------------------------------------------------------- Setting + but I think we would require the comment documenting this issue. ::: calendar/providers/caldav/calDavCalendar.js @@ +742,4 @@ > if (wasInboxItem && thisCalendar.mShouldPollInbox) { > thisCalendar.doDeleteItemOrUseCache(aNewItem, true, null, true, true, null); > } > + } else if (status == 412 || status == 409) { Maybe a comment about this particular issue can be added, to the file, so that if Zimbra changes the code in the future we don't need to hunt down too much :)
Attachment #590587 -
Flags: review?(mohit.kanwal) → review+
Assignee | ||
Comment 6•12 years ago
|
||
409 is the right code for a conflict, 412 is "just" the code for when the conditions sent via If/If-Match headers fail, so I think its safe to just allow 409 in all cases without an extra comment. See <http://www.w3.org/Protocols/rfc2616/rfc2616-sec10.html> Thanks for looking in to this though!
Updated•12 years ago
|
Assignee: nobody → philipp
You need to log in
before you can comment on or make changes to this bug.
Description
•