Open
Bug 325449
Opened 19 years ago
Updated 7 months ago
Handle import of existing events intelligently [Error code: DUPLICATE_ID. Description: ID already exists for addItem]
Categories
(Calendar :: General, defect)
Calendar
General
Tracking
(Not tracked)
NEW
People
(Reporter: jem.benazra, Unassigned)
References
(Depends on 1 open bug)
Details
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; fr; rv:1.8) Gecko/20051111 Firefox/1.5 Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.1; fr; rv:1.8) Gecko/20051111 Firefox/1.5 When I load an event which already exist, it make a failed import error. I don't know if the message is conform but i'd like to be notify if this event already exist or if the import realy failed Reproducible: Always Steps to Reproduce: 1.Import an *.ics event 2.Import the same event 3. Actual Results: Import failed Expected Results: This event already exist
Updated•19 years ago
|
Summary: Import an event wich already exist → Display a clear error message, when importing an event which already exists
Comment 1•19 years ago
|
||
Ultimately, we should actually compare the events being imported to see if they differ. If they do, the right thing to do is probably pop up a dialog with various different options, including aborting the import, handling the conflicting events one-by-one, allowing the import to always win or lose. This code can probably be shared, to some extent, with caching/sync code as well.
Status: UNCONFIRMED → NEW
Ever confirmed: true
OS: Windows XP → All
Hardware: PC → All
Summary: Display a clear error message, when importing an event which already exists → handle importing existing events intelligently
Comment 2•18 years ago
|
||
*** Bug 330547 has been marked as a duplicate of this bug. ***
(In reply to comment #2) > *** Bug 330547 has been marked as a duplicate of this bug. *** > My bug, 343461,was marked as a dupe of 330547. now 330547 has been marked as a dupe of this one...but this one doesn't have anything to do with mine...mine is an error where there are no duplicate items in the schedule...trying to import the .ics into a new, empty, calendar...
Comment 4•18 years ago
|
||
(In reply to comment #3) This doesn't matter. It is one database. If the event already exist in that database (even if in another calendar) the error message is shown at the moment.
(In reply to comment #4) > (In reply to comment #3) Thanks for clarification, it makes sense now. i was under the assummption each calendar within the program was actually separate.
Comment 7•18 years ago
|
||
Would accept a patch, but we're not going to block on this.
Flags: blocking0.3? → blocking0.3-
Comment 8•18 years ago
|
||
Each calendar file should be a separate database. In Sunbird 0.2, if I deleted a calendar, it deleted all events with it, too, hence I could re-import an ics file to put it into a new calendar. I can't do that with Lightning.
Comment 9•18 years ago
|
||
*** Bug 356913 has been marked as a duplicate of this bug. ***
Comment 10•18 years ago
|
||
Import an UPDATED item with an EXISTING UID. You'll get: "1 items failed to import. The last error was: 2147500037" The error message proposed above: "This even already exists" Is not the RFC2445 compliant solution. In this case we've updated the event, so the old entry should be REPLACED. There really should never be a situation where a UID duplicated, unless it is meant to be an update to the original event (or a harmless duplicate of the same event).
Comment 12•16 years ago
|
||
jem, could you pls test with the latest trunk / 0.8pre nightlies and see if this issue still occurs?
Updated•14 years ago
|
Summary: handle importing existing events intelligently → Handle import of existing events intelligently [Error code: DUPLICATE_ID. Description: ID already exists for addItem]
Updated•2 years ago
|
Severity: normal → S3
Comment 17•10 months 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•7 months 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?
You need to log in
before you can comment on or make changes to this bug.
Description
•