Open Bug 1248288 Opened 9 years ago Updated 3 years ago

Import of some VCALENDAR items, having VALUE= not set, from owncloud silently fails

Categories

(Calendar :: Provider: CalDAV, defect)

Lightning 4.9
defect

Tracking

(Not tracked)

UNCONFIRMED

People

(Reporter: danpb, Unassigned)

Details

Attachments

(1 file)

User Agent: Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Firefox/38.0 Iceweasel/38.6.1 Build ID: 20160214065925 Steps to reproduce: Synchronizing with owncloud server does not import all items. Some VCALENDAR objects include a line like DTEND;TZID=Europe/Berlin;VALUE=:20151019T114500. According to RFC 5545 (iCalendar) section 3.8.2.2, the VALUE= parameter is not set correctly. I have not been able to figure out why this happens only to some objects, while other objects are formatted and imported just fine. Anyway, the effect is that the user believes in a working calendar synchronization and eventually misses some events, because the import fails silently. Steps to reproduce: Import broken.ics (attached to the report), either directly into thunderbird or via caldav sync with owncloud Actual results: the event will not be imported. The user will not be notified about this. The error console prints (three times): Timestamp: 14.02.2016 22:45:08 Error: NS_ERROR_XPC_JAVASCRIPT_ERROR_WITH_DETAILS: [JavaScript Error: "this.innerObject.dayOfWeek is not a function" {file: "resource://calendar/modules/calUtils.jsm -> file:///home/***/thunderbird/comm-central/obj-x86_64-unknown-linux-gnu/dist/bin/extensions/%7Be2fda1a4-762b-4020-b5ad-a41df1933103%7D/calendar-js/calDateTime.js" line: 75}]'[JavaScript Error: "this.innerObject.dayOfWeek is not a function" {file: "resource://calendar/modules/calUtils.jsm -> file:///home/***/thunderbird/comm-central/obj-x86_64-unknown-linux-gnu/dist/bin/extensions/%7Be2fda1a4-762b-4020-b5ad-a41df1933103%7D/calendar-js/calDateTime.js" line: 75}]' when calling method: [calIDateTime::weekday] Source File: resource://calendar/modules/calUtils.jsm -> file:///home/***/thunderbird/comm-central/obj-x86_64-unknown-linux-gnu/dist/bin/extensions/%7Be2fda1a4-762b-4020-b5ad-a41df1933103%7D/calendar-js/calDateTimeFormatter.js Line: 116 when using calDav sync, the error console additionally prints the contents of the failed VCALENDAR object. Expected results: Either a successful import (ignoring the empty VALUE= parameter) or an alert informing the user about the failed import of some iCal events.
Component: Provider: CalDAV → Import and Export
I encountered the problem first on Thunderbird+Lightning on Windows and have been able to track it down for this report in the current Daily build from Thunderbird+Lightning on Debian.
OS: Unspecified → All
Hardware: Unspecified → All
Component: Import and Export → Provider: CalDAV
Version: Trunk → Lightning 4.9
Severity: normal → S3
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: