Handle import of existing events intelligently [Error code: DUPLICATE_ID. Description: ID already exists for addItem]
Categories
(Calendar :: General, defect)
Tracking
(Not tracked)
People
(Reporter: jem.benazra, Unassigned)
References
(Depends on 1 open bug)
Details
Updated•20 years ago
|
Comment 1•20 years ago
|
||
Comment 2•20 years ago
|
||
Comment 4•20 years ago
|
||
Comment 7•19 years ago
|
||
Comment 8•19 years ago
|
||
Comment 9•19 years ago
|
||
Comment 10•19 years ago
|
||
Comment 12•18 years ago
|
||
Updated•15 years ago
|
Updated•3 years ago
|
Comment 17•3 years ago
|
||
This is still a problem on Thunderbird 102.11.0 (64-bit) on Ubuntu 23.04; though it was marked as resolved in #497200 due to lack of response.
console.warn: Calendar: There has been an error reading data for calendar: Work. 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
I'd like to help testing out a branch or nightly (if there's a solution in place).
Comment 19•2 years ago
|
||
This bug is classified as Severity: S3.
The definition of S3 is "Blocks non-critical functionality and a work around exists".
Can somebody please explain what the necessarily existing 'work around' is that justifies the classification?
Comment 20•1 year ago
|
||
I'm getting this error with Thunderbird 128.2.3esr (the Snap package on Ubuntu 24.04.1 LTS) when trying to load the Canada and U.S. calendars from the Thunderbird Holiday Calendars website. Those calendars have many duplicate UID values. For example:
$ grep UID: CanadaHolidays.ics | wc -l
239
$ grep UID: CanadaHolidays.ics | sort -u | wc -l
64
$ grep UID: USHolidays.ics | wc -l
1699
$ grep UID: USHolidays.ics | sort -u | wc -l
424
Just taking the first unique event from the Canada calendar when sorted, it looks as if someone copied-and-pasted the 2024 events into the years 2025 and 2026, like so:
BEGIN:VEVENT
SUMMARY:Tartan Day
DTSTART;VALUE=DATE:20240406
DTEND;VALUE=DATE:20240407
DTSTAMP:20240903T094736Z
UID:034642290dc45e7414c862a79348d5a5
CATEGORIES:Holidays
CLASS:public
DESCRIPTION:Observance - Tartan Day is a special day for Canadians to cele
brate their national\, provincial\, territorial or personal tartans.
--
BEGIN:VEVENT
SUMMARY:Tartan Day
DTSTART;VALUE=DATE:20250406
DTEND;VALUE=DATE:20250407
DTSTAMP:20240903T094737Z
UID:034642290dc45e7414c862a79348d5a5
CATEGORIES:Holidays
CLASS:public
DESCRIPTION:Observance - Tartan Day is a special day for Canadians to cele
brate their national\, provincial\, territorial or personal tartans.
--
BEGIN:VEVENT
SUMMARY:Tartan Day
DTSTART;VALUE=DATE:20260406
DTEND;VALUE=DATE:20260407
DTSTAMP:20240903T094738Z
UID:034642290dc45e7414c862a79348d5a5
CATEGORIES:Holidays
CLASS:public
DESCRIPTION:Observance - Tartan Day is a special day for Canadians to cele
brate their national\, provincial\, territorial or personal tartans.
When I subscribe to them by URL, I get the MODIFICATION_FAILED error. When using File > Open > Calendar File, the events just don't show up. When I open the Developer Tools Console and synchronize the calendar, I see the error about a DUPLICATE_ID.
Are these holiday calendars simply malformed? Please let me know if I should open a new bug against the calendar files themselves. I added this comment here for others because this is the closest match I found for the error I'm getting.
Description
•