Closed Bug 1427194 Opened 7 years ago Closed 7 years ago

create or change events in offline mode, they will be undone as soon as I'm online again

Categories

(Calendar :: Lightning Only, defect)

Lightning 5.4.5
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED INVALID

People

(Reporter: a-esche, Unassigned)

Details

User Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:56.0) Gecko/20100101 Firefox/56.0 Build ID: 20170926190823 Steps to reproduce: Thunderbird 52.5.2 with Lightning 5.4.5.2 (also maybe 2 version before): Since years I work with a portable Thunderbird, I've configured to start in offline mode: offline.startup_state integer 3 1.) I create or change events in offline mode 2.) If I want to go online, I'll click on the online button in Thunderbird (Of course, the Caldav ics calendar files on my PC (Win7) are marked as "offline support" with check mark.) Actual results: When I create or change events in offline mode, they will be undone as soon as I'm online again! The "old" entries appear. It does not happen when I create the entries in online mode. So the "offline support" does not work properly anymore. Expected results: Normally the new entries (from cache?) are taken over, NOT the old ones overwrite the new... In previous versions everything worked fine for years, since the latest updates (I do not remember, since which version exactly, maybe 2 or 3) not anymore? :-(
If I understand your report correctly, your not using a caldav but an ics calendar (as caldav is not file based). You're probably seeing a race condition between Lightning and OS syncing here. Have you enabled offline support for the network calendar in the respective calendar properties? If you have, there should be no need to have the file available for OS offline support since changes to the calendar will be locally cached by Lightning and then syned by Lightning once you go online again. So, if you have the above mentioned property enabled, you should either remove "offline support" property from the respective files to prevent an OS based syncing or disable the offline support in the respective calendar properties in Lightning. Does this resolve the issue?
Flags: needinfo?(a-esche)
Thank you, thank you, thank you so much ... my day is saved! :-) Everything is fine now. (In reply to [:MakeMyDay] from comment #1) > If I understand your report correctly, your not using a caldav but an ics > calendar (as caldav is not file based). You're probably seeing a race > condition between Lightning and OS syncing here. > > Have you enabled offline support for the network calendar in the respective > calendar properties? If you have, there should be no need to have the file > available for OS offline support since changes to the calendar will be > locally cached by Lightning and then syned by Lightning once you go online > again. > > So, if you have the above mentioned property enabled, you should either > remove "offline support" property from the respective files to prevent an OS > based syncing or disable the offline support in the respective calendar > properties in Lightning. Does this resolve the issue?
Flags: needinfo?(a-esche)
Status: UNCONFIRMED → RESOLVED
Closed: 7 years ago
Resolution: --- → INVALID
You need to log in before you can comment on or make changes to this bug.