Closed
Bug 724541
Opened 13 years ago
Closed 13 years ago
Lightning Import ics file adds first event subsequent event fail with duplicate_id error
Categories
(Calendar :: Lightning Only, defect)
Tracking
(Not tracked)
RESOLVED
INVALID
People
(Reporter: wolasallank, Unassigned)
Details
Attachments
(1 file)
1.25 KB,
text/plain
|
Details |
User Agent: Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:10.0) Gecko/20100101 Firefox/10.0
Build ID: 20120129141257
Steps to reproduce:
I am trying to migrate calendars from evolution to thunderbird (9) lightning (1.1.1) on ubuntu 11.10 (amd64)
Import fails.
I have now recreated problem exporting a 2 event test calendar.
Attempted Import t1.ics (attached) to an empty local calendar.
Actual results:
Import appears to add the first event but the second (and subsequent in previous tests) fail.
Error console shows:
Warning: There has been an error reading data for calendar: BobC. However, this error is believed to be minor, so the program will attempt to continue. Error code: DUPLICATE_ID. Description: ID already exists for addItem
Error: An error occurred when writing to the calendar BobC! Error code: MODIFICATION_FAILED. Description:
Source File: resource://calendar/modules/calUtils.jsm -> file:///home/allan-user/.thunderbird/sly380hk.default/extensions/%7Be2fda1a4-762b-4020-b5ad-a41df1933103%7D/calendar-js/calCalendarManager.js
Line: 1108
Expected results:
Two events should have been added
Comment 1•13 years ago
|
||
This is a problem in your calendar. Each event must have a unique id (UID property). Events with the same UID are treaded as the same events.
So this looks like a bug in evolution export (saveas), could take an aeon to get fixed.
Is there a protocol for generating UID or could I just massage the current file with a script to add a suffix to each UID in ics?
Ignore last comment. I've noticed that evolution is generating correct number of events but they are all duplicates of the first entry, cleary not iterating through events. Should have spotted that sooner.
Close this one up.
Status: UNCONFIRMED → RESOLVED
Closed: 13 years ago
Resolution: --- → INVALID
You need to log in
before you can comment on or make changes to this bug.
Description
•