Closed Bug 289282 Opened 20 years ago Closed 20 years ago

Error getting an empty WebDAV calendar

Categories

(Calendar :: General, defect)

x86
Windows XP
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED DUPLICATE of bug 231321

People

(Reporter: airbaggins, Assigned: mostafah)

Details

User-Agent:       Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.6) Gecko/20050223 Firefox/1.0.1
Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8a5) Gecko/20050203 Mozilla Sunbird/0.2

Using the option: 'Automatically publish your changes to the remote calendar...',
when trying to publish a new calendar without any events and then trying to add
content, we get an error dialog:

Error getting calendar
This doesn't appear to be a valid file. Here's what I got back from 
https://hostname/path/to/file.ics
Result:

It seems that the only way to fix this is to manually select the "Publish Entire
Calendar", after adding something to it. Then to restart the program. 

Reproducible: Always

Steps to Reproduce:
Requires access to a webdav server. 

1. File -> New Calendar File
2. Enter Calendar Name and remote server url to WebDAV file path.
3. "Check automatically publish your changes"

Dialog: [Error getting calendar file]
Reload icon continues spinning.
4. Try to add an event, results in same dialogue and event is lost.
5. Try to add an event again, get dialogue:
Error getting calendar
This doesn't appear to be a valid file. Here's what I got back from 
https://hostname/path/to/file.ics
Result:




Expected Results:  

I feel that the calendar should either:
 gracefully ignore an empty calendar file from a webdav server.
 or put the most basic information when asked to save an empty calendar
    it seemed that a file with just this in worked in this situation:
  BEGIN:VCALENDAR
  END:VCALENDAR


The workaround seems to be to disable 'Automatically publish your changes to the
remote calendar?...', then close mozilla/sunbird, then add an event, then
manually 'Publish Entire Calendar'.
Whiteboard: DUPEME

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