Closed Bug 1718718 Opened 3 years ago Closed 3 years ago

Importing an ICS file to a local calendar doesn't update the display

Categories

(Calendar :: Import and Export, defect)

defect

Tracking

(thunderbird_esr78 unaffected)

RESOLVED FIXED
91 Branch
Tracking Status
thunderbird_esr78 --- unaffected

People

(Reporter: darktrojan, Assigned: darktrojan)

Details

Attachments

(1 file)

The import code wraps the addition of new items in startBatch/endBatch notifications, but never issues a load notification. This is okay for network calendars because they have load notifications for other reasons when importing, but a problem because local calendars never issue a load notification. The views expect a load notification after batching to know when to update.

My solution is not to have batch notifications, as the network calendars issue their own anyway, and local calendars don't really need them. It's not perfect, but then, none of this is.

Pushed by geoff@darktrojan.net:
https://hg.mozilla.org/comm-central/rev/d93eda3c86ab
Stop sending batch notifications when importing calendar items. r=mkmelin

Status: ASSIGNED → RESOLVED
Closed: 3 years ago
Resolution: --- → FIXED
Target Milestone: --- → 91 Branch
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: