Closed Bug 434371 Opened 16 years ago Closed 16 years ago

Error on deleting item from Zimbra server

Categories

(Calendar :: Provider: CalDAV, defect)

Sunbird 0.8
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: browning, Assigned: browning)

Details

Attachments

(1 file)

Attached patch Accept 200 response to DELETE — — Splinter Review
After some recent tightening of error checking in the CalDAV provider, we now throw an error after deleting an item from a Zimbra CalDAV server (the item does get deleted; we just incorrectly consider Zimbra's "200 OK" response to be unexpected. Other CalDAV servers generally respond "204 No Content"). This patch causes both 200 and 204 to be acceptable success codes.

There will be a somewhat similar issue wrt item modifications: modifications do get written to the server but we throw an error because Zimbra incorrectly responds with "201 Created" instead of either 200 or 204. This has been reported and is bug number 28050 in the Zimbra bz.
Attachment #321518 - Flags: review?(philipp)
Comment on attachment 321518 [details] [diff] [review]
Accept 200 response to DELETE

r=philipp
Attachment #321518 - Flags: review?(philipp) → review+
patch checked in on HEAD and MOZILLA_1_8_BRANCH
->FIXED
Status: NEW → RESOLVED
Closed: 16 years ago
Resolution: --- → FIXED
Status: RESOLVED → REOPENED
Resolution: FIXED → ---
Assignee: nobody → browning
Status: REOPENED → NEW
Target Milestone: --- → 0.9
Status: NEW → RESOLVED
Closed: 16 years ago16 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: