Closed
Bug 390085
Opened 18 years ago
Closed 18 years ago
Import of an iCAL file claims events already exist after correctly importing 2 or so events
Categories
(Calendar :: Import and Export, defect)
Tracking
(Not tracked)
VERIFIED
INVALID
People
(Reporter: djecc, Unassigned)
References
()
Details
Attachments
(2 files)
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.1.5) Gecko/20070713 Firefox/2.0.0.5
Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.1.4pre) Gecko/20070614 Sunbird/0.5
I've tried importing two different iCAL files and both times sumbird seems to start importing and then throws an error at the end saying that x number of events were ignored because they already existed in the calender and the file. This is not possible therefore some parsing error is happening. With the larger file there seems to be a flash of the events being imported then vanishing.
My uneducated guess is that the parsing of the ical file is threaded along side the error checking thread that sees if the events already exist, and as the ical file is being imported, the exception catcher comes along behind, (causing the problem) thinking it was already there.
Reproducible: Always
Steps to Reproduce:
1.Import iCal file. (try one from my school's site that I was using calendar.utdallas.edu)
2.see error
3.freak out while saying WTF
4.repeat until you find bugzilla
Actual Results:
One or two events correctly import, the rest do not. (On one file the first event is a recurring art building event that spans two weeks. All occurences work but after that it dies.)
Expected Results:
imported correctly, dummy
fresh install of 0.5 (over 0.3)
Updated•18 years ago
|
Attachment #274415 -
Attachment mime type: application/octet-stream → text/plain
Updated•18 years ago
|
Attachment #274416 -
Attachment mime type: application/octet-stream → text/plain
Comment 3•18 years ago
|
||
Attachment 274415 [details] contains 22 events using the same unique identifier (UID) "20070729T235520Z@utdallas.edu/calendar".
Attachment 274416 [details] contains 58 events using the same UID "20070730T002955Z@utdallas.edu/calendar" and 75 events using the same UID "20070730T002956Z@utdallas.edu/calendar".
The UID must be a persistent, globally unique identifier for each event/task according to iCalendar standard (see <http://www.ietf.org/rfc/rfc2445.txt> chapter 4.8.4.7 Unique Identifier). Two events with the same UID are equal. This is the reason the import fails for the second and later events fails.
I'd recommend to contact the creator of the calendar to fix the calendars.
-> Sunbird behaves as expected, bug report is invalid.
Status: UNCONFIRMED → RESOLVED
Closed: 18 years ago
Resolution: --- → INVALID
Updated•18 years ago
|
Status: RESOLVED → VERIFIED
You need to log in
before you can comment on or make changes to this bug.
Description
•