Open Bug 1713625 Opened 2 years ago Updated 17 days ago

offline support for CALDAV-calendar not working correctly

Categories

(Calendar :: Provider: CalDAV, defect)

Thunderbird 91
x86_64
Windows 10
defect

Tracking

(Not tracked)

UNCONFIRMED

People

(Reporter: ma15d57, Unassigned)

Details

User Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:88.0) Gecko/20100101 Firefox/88.0

Steps to reproduce:

When I create a new calendar-entry (CALDAV) inside thunderbird on my desktop-computer, everthing is fine. Thunderbird synchronizes all server-entries when a network-connection is established to the CALDAV-server (e.g. Nextcloud).

When I do the same on my Notebook with enabled "offline-support" for this calendar, thunderbird synchronizes also all server-entries from the CALDAV-server.

But after a few time the synchronization doesn't work... we get no error-report,.. but not all (new) calender-entries from the CALDAV-server are shown.
The only (really not good) solution is:
1.) verify that the network-connection to the CALDAV-server is established
2.) disable the "offline-support" for this calendar
3.) start manual synchronization
4.) enable the "offline-support" for this calendar

Unfortunately, I cannot ensure that I always have a network connection (for the notebook), so permanently deactivating offline support (as with my desktop pc) is not a solution.

Actual results:

After a few time the offline-synchronization of CALDAV-calendars doesn't work... without any error-report,...
Not all (new) calender-entries from the CALDAV-server are shown.

Expected results:

The start of a (manual) complete synchronization should also do exactly just that.

PS: Many users in several inzternet-forums describes exactly this wrong behavior...

Hello,

we've found another (quick-and-very-dirty) hack for solve this problem temporarily:
1.) close 'thunderbird'
2.) wait for the process to finish
3.) delete the complete calendar-cache-folder;
e.g. 'C:\Users\<username>\AppData\Roaming\Thunderbird\Profiles\<profilename>.default\calendar-data'
4.) open/start 'thunderbird'

Hopefully, someone can found another (good) solution :-)

Thunderbird 91.2.1 (64 bit), Calendar (implemented), Windows 10 Pro, CALDAV via Synology DS418 calendar app (all up to date)

Hi all,

I can support the existence of the reported problem with offline-calendar data synchronised via CALDAV.

In short what I did:

Offline-support OFF

  1. Entry of new event (1h), via mouse, data by double click +12h alarm --> appears okay in Synology DS calendar app
  2. Changing the event to 2h length (mouse) --> again okay in DS
  3. Changing the start by dragging --> again okay in DS
  4. Dragging the event in DS to other time --> okay in TB after manual sync (didn't want to wait for half an hour)
    5a. Attempt to change length of event by mouse-action to 30 min in TB fails (minimum length accepted is 1h15min) NEW ERROR --> change is followed on DS side (duration 1:15h)
    5b. Double clicking and changing to 30 minutes works in TB --> okay in DS as well
  5. Again, event set to 2 hours duration in TB --> again okay in DS
  6. Changing via mouse in DS to 30 min duration --> appears correct in TB after manual sync

Offline-support ON
8. No change of event, manual sync: event remains but alarm disappears in TB --> remains as it was in DS (length, alarm)
9. Again change of duration to 2 h in TB --> duration change appears in DS, but alarm disappears here as well !!!
10. Attempt to create new event in TB via mouse --> nothing visible in TB, no warning, but empty event in DS calendar (syncronizing doesn't help)
11. Attempt creating event via right click, data entry, setting alarm in TB --> nothing visible in TB, no warning, but correct appearance in DS

Offline-support OFF
12. After manual sync both events being created in 10. and 11. are now visible but no alarm in TB --> unchanged in DS,as described in 8. above

My conclusion at the moment:
The function is usable in-house, but risky (even impractical) when using it offline e.g. on a notebook.

###SOLVED###
Tested on a Notebook with Linux-Mint 20.2
Tested with a portable TB on a USB-Stick under Windows 10

Okay, after fiddling another day it seems that I've solved almost all issues by creating new profile data. It looks like something was broken (still no idea where).

Actually, a remaining issue is a misleading "calendar not available" and "Modification failed" error message popping up when changing or adding anything in a calender file while being offline. Additionally a warning sign appears, decorating the respective calendar. Even if the message itself is correct as far as the CALDAV-server is concerned the explanation (leading towards snoozing or dismissing failures) is irritating in this context.
However, after confirming the warning everything seems to work.
Proposal: Avoiding a pop-up warning when offline-support is selected. Just add silently a message or icon offline instead of the warning icon.

A second issue is the remaining warning icon after being connected again to the CALDAV-server, even if everything seemed to be synchronised. It disappears only after adding a new entry or after rebooting TB. In most cases there might had been be a restart before while I've tested the offline mode by interrupting and re-connecting the WLAN-connection.

Sorry... nothing is solved :-(

Same problem in TB 91.3.2 and still no solution and no reaction :-(((

OS: Unspecified → Windows 10
Priority: -- → P1
Hardware: Unspecified → x86_64
Version: Thunderbird 78 → Thunderbird 91
Priority: P1 → --

Huge problems here as well. Several CalDAV-calendars with thousands of entries and 12 parallel connections (staff members working with calendars on their computers) not syncing properly with Offline-Support enabled.
Cannot use Thunderbird's calendar any more, because it is not reliable!
Thunderbird 91.5.1 (64bit), Windows 10 (64bit)

Same here. Seems to be related to this offline-support option. The connection of CalDAV calendars (Nextcloud) seems to get disturbed at one moment and then changes don't get synced anymore. Same with calendar alerts. It's not possible to close or snooze them. No error appears (no message/no error icon).
In this case a restart of TB helps. But this situation is very limiting.
Same: Thunderbird 91.5.1 (64bit), Windows 10 (64bit)

I can confirm this bug in my machine:
Thunderbird 91.6.1 (64 bit)
OS: Linux Mint 20.3 Cinnamon (64 bit)

With offline mode enabled for the calendar the synchronization works one-way. Events created in Thunderbird are synchronized to SOGO and then to all my other devices. But in the reverse direction it stops working after a while. Manual sync doesn't work as long as offline mode is enabled.

Without offline mode everything works fine.

I can confirm this issue too with TB 102.5.0 (64 bits) on OpenSuse Leap 15.4 and nextcloud 24 as Caldav provider. The workaround is either to disable offline mode or to remove and recreate the caldav resource. Simple TB restart is not enough.

You need to log in before you can comment on or make changes to this bug.