Closed
Bug 371300
Opened 19 years ago
Closed 17 years ago
Incorrect calendar's functionality while working offline, losing data in some cases
Categories
(Calendar :: Lightning Only, defect)
Tracking
(Not tracked)
RESOLVED
DUPLICATE
of bug 380060
People
(Reporter: antonioblancap, Unassigned)
Details
(Keywords: dataloss)
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.1.1) Gecko/20061204 Firefox/2.0.0.1
Build Identifier: Mozilla Thunderbird 1.5.0.9(build 20061207) , Lightning 0.3.1(build 2007021403)
Working offline.
If you create a new event you can not see the changes you made to it if you edit it or delete it.
If you create more than 1 event, it is only displayed the first one. If you edit or delete the event is displayed, the changes are not displayed either.
If you create more than 3, it looks like only 3 of the events you created are stored, and only the first one is displayed. You can't also see the changes if you edit or delete the displayed event.
When you go back online and you publish your calendar and then you reload it you will be able to see only three of events you created, with the changes you did to them, when you were offline. If you create more than 3 you lost data.
I test this with zimbra server and with the ical Exchange server.
Reproducible: Always
Steps to Reproduce:
1.- Install thunderbird 1.5.0.9
2.- Install Lightning 0.3.1
3.- Create New e-mail account
*Incoming server type: IMAP
4.- Create New Calendar.
*Use this configuration, during the creation of the calendar:(On the network, Icalendar, Specify your server location)
*Delete Home Calenadar.
5.- Go offline.
6.- Create a new event
7.- Create 3 more events
8.- Go online again.
9.- Publish your calendar.
10.- Reload Remote Calendar.
Actual Results:
-After step 6:
If you make changes to the event you just created those changes are not displayed
-After step 7:
Only displayed the first event you created
-After step 10:
Displayed only 3 of the events you create with the changes you made to them when you where offline, losing all the data about the other events you created
Expected Results:
-After step 6:
Display all the change you made to the event you create
-After step 7:
Display all the events you create
-After step 10:
Displayed all the events you create with all the changes made to them when you where offline
-Publish and reload the events should happen automatically when you return online.(at least there should be an option to enable this)
Comment 1•19 years ago
|
||
By 'Go Offline' you mean disconnect your internet connection?
Sunbird/Lightning currently has no Offline mode. All changes made to remote calendars will be automatically published. If that fails and you manually force a reload the changes will be lost. You'll probably see an error message in the JavaScript console if you try to change remote calendars while being not connected to the internet.
Offline mode is planned for later releases (e.g. Bug 366923, Bug 196942, Bug 366787)
Comment 2•19 years ago
|
||
Of course, since there's no offline-mode yet, we could also mark all external calendars as read-only for now...
Updated•19 years ago
|
Whiteboard: qa discussion needed
Updated•19 years ago
|
Whiteboard: qa discussion needed → [qa discussion needed]
Comment 3•19 years ago
|
||
Using TB2b2(20070116)-dutch with lightning 0.5pre(2007031003).
When working offline with google-provider the following error is fired in the console. The messages don't change in the calendar-view and when going online the changes are not comitted.
Fout: Severe error in internal transaction code!
Please report this to the developers.
Bronbestand: chrome://calendar/content/calendar-item-editing.js
Regel: 365
When working offline with local calendar: no error, event gets added. Correct behaviour for local files.
When working online with webdav the console reports:
Fout: [Exception... "Component returned failure code: 0x80040111 (NS_ERROR_NOT_AVAILABLE) [nsIHttpChannel.requestSucceeded]" nsresult: "0x80040111 (NS_ERROR_NOT_AVAILABLE)" location: "JS frame :: file:///C:/WINDOWS/Application%20Data/Thunderbird/Profiles/g7msmn00.default/extensions/%7Be2fda1a4-762b-4020-b5ad-a41df1933103%7D/components/calICSCalendar.js :: anonymous :: line 372" data: no]
Bronbestand: file:///C:/WINDOWS/Application%20Data/Thunderbird/Profiles/g7msmn00.default/extensions/%7Be2fda1a4-762b-4020-b5ad-a41df1933103%7D/components/calICSCalendar.js
Regel: 372
(why does this happen?)
When working offline with webdav no error is thrown in the console (so different from google-provider), the changes are not visible in your calendar (deleted two events and created two) but when I went back online the changes were all committed.
When working offline with ftp a window is fired and the calendar is set to read-only. The events get published to ftp when you go online though:
error: 804b0010
Publishing the calendar file failed
Status code: 804b0010
So offline is kind of supported now but are different for the three providers, but what will happen if the calendar gets edited by another client when you are offline (for webdav and ftp that is), I think all changes will get overwritten?
What do we want? the working on google-provider, essentially no offline-support, the working of ftp (changes committed in view and external ics overwritten without warning)? Imho, the webdav-behaviour is wrong, if changes are commiteed, these should be reflected in the calendar-view at least.
Status: UNCONFIRMED → NEW
Ever confirmed: true
Comment 4•19 years ago
|
||
Bug 196942 was resolved as duplicate of Bug 380060, updating dependencies.
Comment 5•18 years ago
|
||
Reporter, can you pls test with a recent 0.8pre nightly and see if the issue
can still be reproduced?
Comment 6•17 years ago
|
||
Another open bug about offline usage does not help.
You need to log in
before you can comment on or make changes to this bug.
Description
•