Closed Bug 722997 Opened 14 years ago Closed 11 years ago

"An error occurred when writing to the calendar XXX" (code: MODIFICATION_FAILED, tatus Code: 412, Precondition failed)

Categories

(Calendar :: Provider: CalDAV, defect)

Lightning 1.2
x86
macOS
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED INCOMPLETE

People

(Reporter: tatien, Unassigned)

Details

Attachments

(1 file)

Attached image Screenshot
User Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.5; rv:9.0.1) Gecko/20100101 Firefox/9.0.1 Build ID: 20111220165912 Steps to reproduce: I have a few CalDAV calendars registered with Lightning. They are hosted on the Chandler server and are all read+write. I worked offline and added a few events. I run Thunderbird 10.0 on Mac OS X 10.5. Actual results: Once I came back online I got the following error: ---- An error occurred when writing to the calendar <calendar name>! Error code: MODIFICATION_FAILED Description: Status Code: 412, Precondition failed. <?xml version='1.0' encoding='UTF-8'?><D:error xmlns:D="DAV:" xmlns:cosmo="http://osafoundation.org/cosmo/DAV"><cosmo:precondition-failed>If-None-Match disallows conditional request</cosmo:precondition-failed></D:error> ---- This happens when the calendars try to sync automatically or when I right-click and choose "Reload Remote Calendars". Expected results: They should have synched without error.
OS: All → Mac OS X
Hardware: All → x86
Could you please attach logs with calendar.debug = true Does this just happen with caching enabled?
Nothing is working anymore so I can't test. Is there a way to completely reset calendars and start from scratch? Cause now even when I remove and add my calendars nothing appears in the view (so I can't really test anything).
Warning: this will remove all calendar-related data, even events you might have created in the past: Go to your profile: http://kb.mozillazine.org/Profile_folder_-_Thunderbird * Delete the following directory: calendar-data * Edit prefs.js and remove all lines that say pref("calendar.... Alternative: Start a whole new profile (this means you will have to set up Thunderbird again though).
Status: UNCONFIRMED → RESOLVED
Closed: 11 years ago
Resolution: --- → INCOMPLETE
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: