Bug 43 - Can't import repetition instances of empty master event
Summary: Can't import repetition instances of empty master event
Alias: None

Status: VERIFIED FIXED
: Normal minor
Assignee: Dirk Steinmetz <ds>

Product: Thunderbird Integration
Classification: Unclassified
Component: calendar (show other bugs)
Version: 0.2.x.x
Hardware: PC All

Depends on:
Blocks:

URL:

Reported: 2017-03-01 17:18 UTC by Dirk Steinmetz <ds>
Modified: 2017-03-01 21:26 UTC (History)
1 user (show)

Description

Child instances of specific events are not correctly imported.

STR:
0. Thunderbird 45, GeneralSync Add-on 0.2.1.4b, empty GeneralSync calendar
1. Import the following ics file:
> BEGIN:VCALENDAR
> VERSION:2.0
> 
> BEGIN:VEVENT
> UID:9cba7d7c-5a5f-4cef-86bd-1e07ac74c4a7
> RDATE;VALUE=DATE-TIME:20170301T120000Z
> DTSTART:20170301T130000Z
> DTEND:20170302T130000Z
> END:VEVENT
> 
> BEGIN:VEVENT
> UID:9cba7d7c-5a5f-4cef-86bd-1e07ac74c4a7
> SUMMARY:Test
> RECURRENCE-ID:20170301T130000Z
> DTSTART:20170301T130000Z
> DTEND:20170302T130000Z
> END:VEVENT
> 
> END:VCALENDAR

Note: Thunderbird generates events of this form (with X-MOZ-FAKED-MASTER:1) when writing repetition instances that do not have a parent element in the same calendar.

Expected:
An item "Test" is imported

Actual:
Error, MODIFICATION_FAILED. For larger ics files, other events in the same batch are correctly imported.

Attachments


Description Dirk Steinmetz <ds> generalsync 2017-03-01 17:18:46 UTC
Child instances of specific events are not correctly imported.

STR:
0. Thunderbird 45, GeneralSync Add-on 0.2.1.4b, empty GeneralSync calendar
1. Import the following ics file:
> BEGIN:VCALENDAR
> VERSION:2.0
> 
> BEGIN:VEVENT
> UID:9cba7d7c-5a5f-4cef-86bd-1e07ac74c4a7
> RDATE;VALUE=DATE-TIME:20170301T120000Z
> DTSTART:20170301T130000Z
> DTEND:20170302T130000Z
> END:VEVENT
> 
> BEGIN:VEVENT
> UID:9cba7d7c-5a5f-4cef-86bd-1e07ac74c4a7
> SUMMARY:Test
> RECURRENCE-ID:20170301T130000Z
> DTSTART:20170301T130000Z
> DTEND:20170302T130000Z
> END:VEVENT
> 
> END:VCALENDAR
Note: Thunderbird generates events of this form (with X-MOZ-FAKED-MASTER:1) when writing repetition instances that do not have a parent element in the same calendar.

Expected:
An item "Test" is imported

Actual:
Error, MODIFICATION_FAILED. For larger ics files, other events in the same batch are correctly imported.
Comment 1 Dirk Steinmetz <ds> generalsync 2017-03-01 20:16:16 UTC
Resolved on trunk. An update will be released soon.
Comment 2 Dirk Steinmetz <ds> generalsync 2017-03-01 21:26:43 UTC
The update will be released as 0.2.1.5b, available now at
<https://fetch.generalsync.com/public/integration-thunderbird/0.2.1.5b/xpi>

I'll test the change for a few more days before pushing it through automatic updates.

Note You need to log in before you can comment on or make changes to this bug.