Closed Bug 332618 Opened 19 years ago Closed 15 years ago

new events on write-protected calendar get stuck

Categories

(Calendar :: Provider: ICS/WebDAV, defect)

x86
Windows XP
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED WORKSFORME

People

(Reporter: gkindler, Unassigned)

Details

User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.0.1) Gecko/20060111 Firefox/1.5.0.1 Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9a1) Gecko/20060330 Mozilla Sunbird/0.3a1+ I am subscribed to an online calendar that's write-protected, and I forgot to check the read-only box when creating it. I used the mouse to create a new event in week view, not noticing that this calendar was selected. The event appeared on view, but I got an error saying "There has been an error reading data for calendar: IsraeliHolidays2005. It has been placed in read-only mode, since changes to this calendar will likely result in data-loss. You may change this setting by choosing 'Edit Calendar'." Now I tried to edit the event to move it to a different calendar, but it won't budge (since it's officially on a read only calendar). Moving or deleting it will also not work. of course, but if I quit sunbird and run it again the event dissappears, because it was never actually put on the write-protected calendar.. So I guess this is a data loss bug, kinda, and also just annoying. There should be a ui, i think, asking what i want to do with the new event, given that it can't be written to the calendar. Reproducible: Always Steps to Reproduce: 1. creat a webdav calendar and make it write-protected (mine was on a remote site, but i bet it will work the same with a local one). do not check the "read only" box. 2. make sure above mentioned calendar is selected. 3. go to week view 4. use the mouse to create new event Actual Results: event seems to be created, but error message is given, calendar becomes read only, and event becomes unmovable. (although one can edit calendar, uncheck read only, then delete event) Expected Results: event should either not appear in the first place, or a dialog should appear asking what to do with the event, given that it can't be written to the calendar. messing around with the bug, i got occasional crashes, but i coudn't produce them in a consistent manner.
Summary: new events on write-protexted calendar get stuck → new events on write-protected calendar get stuck
Component: Sunbird Only → Provider: ICS/Webdav
QA Contact: sunbird → ics-provider
I can not see an error but this effect is known and mentioned in some others bugs (can not find any good example), however I agree that if calendar is read only (even if is not checked as read-only) the event should not be temporary displayed
Status: UNCONFIRMED → NEW
Ever confirmed: true
The fault described by Guy occured even when the calendar is marked read-only. It is now gone with version 0.7 of sunbird. But it remains still problematic that in the create or edit events dialog box the calendar drop down list shows all calendars. It should show only the calendars on which the user has write access.
Status: NEW → RESOLVED
Closed: 15 years ago
Resolution: --- → WORKSFORME
You need to log in before you can comment on or make changes to this bug.