Closed Bug 272852 Opened 20 years ago Closed 20 years ago

Working calendar published to webdav server is invalid after all entries have been deleted.

Categories

(Calendar :: Sunbird Only, defect)

defect
Not set
critical

Tracking

(Not tracked)

RESOLVED DUPLICATE of bug 218983

People

(Reporter: ivanmarsh, Assigned: mostafah)

Details

(Keywords: dataloss)

User-Agent:       Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.7.5) Gecko/20041107 Firefox/1.0
Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.7.5) Gecko/20041107 Firefox/1.0

I'm using the calendar extension under Thunderbird to publish to a
webdave/apache2 server running under Linux.

I can publish the initial calendar, set it up to automatically publish and sync
and it works fine.

You can add and delete tasks and events and they update the server.

The bug occurs if you delete all the tasks and events so that there is no data
in the calendar (don't know how often this will happen), but after the last
event has been deleted and the server has been updated, any attempts to read or
write the the published calendar reports that the file isn't valid and you can't
connect to the served file anymore or add anything to the displayed calendar.

You have to uncheck the automatic update checkbox, remove the remote server URL,
close and reopen the app, create a new event, publish the calendar, and then set
it up to automatically update again.

Reproducible: Always
Steps to Reproduce:
1. publish calendar to webdav server
2. set calendar to automatically update
3. ensure data is actually being saved on the server
4. delete all entries from the calendar so there is no data
5. close the calendar application
6. open the calendar application
7. it will tell you your file is invalid

Actual Results:  
Dialog box titled: Error getting Calendar

This doesn't appear to be a valid file. Here's what I get back from <URL to
remote file>
Result:

And an OK button

Expected Results:  
Apparently an empty calendar takes whatever formatting out of the file that's
required for the app to recognize it.

This a a very cool app and expect to be moving my company to an all Mozilla
groupware system as soon as sharing calendars is stable enough. Great work folks!
Keywords: dataloss
I've seen this problem too.  It's possible that it's a mod_dav issue.  In any
case, it's definitely not a CalDAV provider problem, since that code isn't up
and going yet.
Assignee: dmose → mostafah
Status: UNCONFIRMED → NEW
Component: CalDAV provider → Sunbird and Calendar-Extension Front End
Ever confirmed: true
OS: Linux → All
QA Contact: shaver → brantgurganus2001
Hardware: PC → All

*** This bug has been marked as a duplicate of 218983 ***
Status: NEW → RESOLVED
Closed: 20 years ago
Resolution: --- → DUPLICATE
The bugspam monkeys have been set free and are feeding on Calendar :: Sunbird Only. Be afraid for your sanity!
QA Contact: gurganbl → sunbird
You need to log in before you can comment on or make changes to this bug.