Closed
Bug 871199
Opened 13 years ago
Closed 13 years ago
All day events are corrupted by ical.js backend
Categories
(Calendar :: ICAL.js Integration, defect)
Calendar
ICAL.js Integration
Tracking
(Not tracked)
RESOLVED
FIXED
2.5
People
(Reporter: mmecca, Assigned: Fallen)
References
Details
(Keywords: dataloss, dogfood)
Attachments
(1 file)
|
1.76 KB,
patch
|
Fallen
:
review+
Fallen
:
approval-calendar-aurora+
|
Details | Diff | Splinter Review |
All day events and other properties of type VALUE=DATE are incorrectly formatted by the ical.js backend, causing data corruption on ics calendars containing these events.
STR:
1) Switch to the ical.js backend
2) Create and open a new ics calendar
3) Create an all day event
Results:
On restarting Thunderbird, calendar parsing fails with
Error: 'Error: invalid date-time value: "2013--0-5-T1::"' when calling method: [calIIcalComponent::getNextProperty] = NS_ERROR_XPC_JS_THREW_JS_OBJECT
Source file: resource://calendar/modules/calIteratorUtils.jsm
Line: 186
Date properties are written in the format:
DTSTART:2013-05-11
but should be in the format:
DTSTART;VALUE=DATE:20130511
Updated•13 years ago
|
Summary: All day events are corrupted by ical.js backend → [jsical] All day events are corrupted by ical.js backend
| Assignee | ||
Updated•13 years ago
|
Component: Internal Components → ICAL.js Integration
| Assignee | ||
Updated•13 years ago
|
Summary: [jsical] All day events are corrupted by ical.js backend → All day events are corrupted by ical.js backend
Updated•13 years ago
|
| Assignee | ||
Comment 1•13 years ago
|
||
Turns out this is https://github.com/mozilla-comm/ical.js/pull/84 and I just forgot to include the patch in Lightning.
I'd appreciate if you could review the PR on github for the tests it adds. The patch uploaded here just contains the changes in Lightning.
| Assignee | ||
Comment 2•13 years ago
|
||
Comment on attachment 749897 [details] [diff] [review]
Fix - v1
r=lightsofapollo at github. Some slight changes I'll add before commit.
Attachment #749897 -
Flags: review?(matthew.mecca) → review+
| Assignee | ||
Comment 3•13 years ago
|
||
Pushed to comm-central changeset 65fd9a64e428
Status: ASSIGNED → RESOLVED
Closed: 13 years ago
Resolution: --- → FIXED
Target Milestone: --- → 2.6
| Assignee | ||
Comment 4•13 years ago
|
||
Backported to releases/comm-aurora changeset 37c0e4310473
Target Milestone: 2.6 → 2.5
| Assignee | ||
Updated•13 years ago
|
Attachment #749897 -
Flags: approval-calendar-aurora+
You need to log in
before you can comment on or make changes to this bug.
Description
•