Open Bug 1197168 Opened 10 years ago Updated 3 years ago

changing an event's calendar does not work

Categories

(Calendar :: General, defect)

Lightning 4.0.2
defect

Tracking

(Not tracked)

UNCONFIRMED

People

(Reporter: tilman, Unassigned)

Details

User Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:40.0) Gecko/20100101 Firefox/40.0 Build ID: 20150812163655 Steps to reproduce: 0. Started Thunderbird with Lightning with two calendars configured: - one local calendar named "Privat" - one CalDAV calendar named "Fastmail" 1. Opened an ICS file "xing_event_1588682.ics" containing a single event. Lightning shows it as a separate calendar named "xing_event_1588682". 2. Opened the single event in calendar "xing_event_1588682" by double-clicking it. Edit Event dialog appears. 3. In the Edit Event dialog, changed the "Calendar" field from "xing_event_1588682" to "Fastmail" from the drop-down selection list. 4. Clicked "Save and Close". Actual results: Event is still in calendar "xing_event_1588682", as witnessed by: - its colour still being the same - when doubleclicked again, "Calendar" shows "xing_event_1588682" - disappears when I unsubscribe from calendar "xing_event_1588682" Expected results: The event should be moved to calendar "Fastmail", ie.: - its colour should change to the one assigned to calendar "Fastmail" - when doubleclicked again, "Calendar" should now show "Fastmail" - it should remain even if I unsubscribe from calendar "xing_event_1588682"
Do you get any messages in the error console (ctrl+shift+j)? Have you checked the CalDAV calendar is writable when trying this (as offline support is broken for CalDAV in 4.0.2 due to bug 1195974)? Btw: you can import an event into a calendar directly by using the import functionality instead of opening as a calendar.
Flags: needinfo?(tilman)
> Do you get any messages in the error console (ctrl+shift+j)? The error console had a lot of messages so I cleared it, repeated the test with a different event file, and got this message: Timestamp: 21.08.2015 19:21:07 Error: CalDAV: Unexpected status adding item to Fastmail: 403 BEGIN:VCALENDAR PRODID:-//Mozilla.org/NONSGML Mozilla Calendar V1.1//EN VERSION:2.0 BEGIN:VTIMEZONE TZID:Europe/Berlin BEGIN:DAYLIGHT TZOFFSETFROM:+0100 TZOFFSETTO:+0200 TZNAME:CEST DTSTART:19700329T020000 RRULE:FREQ=YEARLY;BYDAY=-1SU;BYMONTH=3 END:DAYLIGHT BEGIN:STANDARD TZOFFSETFROM:+0200 TZOFFSETTO:+0100 TZNAME:CET DTSTART:19701025T030000 RRULE:FREQ=YEARLY;BYDAY=-1SU;BYMONTH=10 END:STANDARD END:VTIMEZONE BEGIN:VEVENT LAST-MODIFIED:20150821T172107Z DTSTAMP:20150821T172107Z UID:f6d8ef16-65e0-41f8-b1b3-04239a7d68ac@frab.froscon.org SUMMARY:Towards a server-less Web ORGANIZER:mailto:tilman@imap.cc DTSTART;TZID=Europe/Berlin:20150822T140000 DTEND;TZID=Europe/Berlin:20150822T150000 DESCRIPTION:A new communication framework has entered the Web Platform - W ebRTC. Using the WebRTC protocols and APIs allows for a whole new paradig m of Web Application development\, especially P2P apps that communicate wi th each other without a central server. In this talk I will dive into the possibilities of implementing a reliable\, server-less P2P infrastructure for applications and data sharing.\n URL:https://programm.froscon.de/2015/events/1627.html LOCATION:HS 4 TRANSP:OPAQUE END:VEVENT END:VCALENDAR Source file: file:///C:/Users/Tilman/AppData/Roaming/Thunderbird/Profiles/6et5j93p.default/extensions/%7Be2fda1a4-762b-4020-b5ad-a41df1933103%7D/components/calDavCalendar.js Line: 693 > Have you checked the CalDAV calendar is writable when trying this Yes, it is. > (as offline support is broken for CalDAV in 4.0.2 due to bug 1195974)? Interesting point. Offline support was enabled for that account. Disabling it immediately after the above test made a _copy_ of the event appear in calendar "Fastmail". Repeating the test with offline support disabled caused the "Fastmail" calendar to be disabled. The error console showed another entry like the above, followed by: Timestamp: 21.08.2015 19:40:06 Warning: Error reading data for calendar: Fastmail. It was consequently set to write-protected mode because changes in this calendar will probably cause data loss. You can change this setting by selecting "edit calendar". Error code: DAV_PUT_ERROR. Description: An error occurred while storing the entry on the server. Source file: file:///C:/Users/Tilman/AppData/Roaming/Thunderbird/Profiles/6et5j93p.default/extensions/%7Be2fda1a4-762b-4020-b5ad-a41df1933103%7D/calendar-js/calCalendarManager.js Line: 960 Timestamp: 21.08.2015 19:40:06 Error: An error occurred while writing to the calendar Fastmail! Error code: MODIFICATION_FAILED. Description: Status Code: 2147500037, The request cannot be processed. Server Replied with 403 Source file: resource://calendar/modules/calUtils.jsm -> file:///C:/Users/Tilman/AppData/Roaming/Thunderbird/Profiles/6et5j93p.default/extensions/%7Be2fda1a4-762b-4020-b5ad-a41df1933103%7D/calendar-js/calCalendarManager.js Line: 963 After reenabling the calendar "Fastmail", it contained again a copy of the event.
Flags: needinfo?(tilman)
Severity: normal → S3
You need to log in before you can comment on or make changes to this bug.