Closed Bug 455292 Opened 16 years ago Closed 15 years ago

MODIFICATION_FAILED when dismissing event or snoozing

Categories

(Calendar :: Lightning Only, defect)

Lightning 0.9
x86
Linux
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED DUPLICATE of bug 356002

People

(Reporter: setzer, Unassigned)

Details

User-Agent:       Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.0.1) Gecko/2008070206 Firefox/3.0.1
Build Identifier: Thunderbird version 2.0.0.16 (20080707) // Lightning 0.9 RC1

there are 2 caldav calendars on a scalix server release 11.4
problem occurs only with the "testres" calendar. when there is an event for the orange calendar i can dismiss it but it still pops up every time after i restart the application.

the testres calendar shows the errors in the console window:

Error: uncaught exception: [Exception... "Component returned failure code: 0x80520012 (NS_ERROR_FILE_NOT_FOUND) [nsIWebNavigation.loadURI]"  nsresult: "0x80520012 (NS_ERROR_FILE_NOT_FOUND)"  location: "JS frame :: chrome://global/content/viewSource.js :: viewSource :: line 141"  data: no]

Error: An error occurred when writing to the calendar testres! Error code: MODIFICATION_FAILED. Description: 
Source File: file:///home/<user>/.thunderbird/kir95057.default/extensions/%7Be2fda1a4-762b-4020-b5ad-a41df1933103%7D/components/calItemModule.js -> file:///home/<user>/.thunderbird/kir95057.default/extensions/%7Be2fda1a4-762b-4020-b5ad-a41df1933103%7D/js/calCalendarManager.js
Line: 943

Warning: There has been an error reading data for calendar: testres.  However, this error is believed to be minor, so the program will attempt to continue. Error code: DAV_PUT_ERROR. Description: There was an error storing the item on the server.

Reproducible: Always

Steps to Reproduce:
1. create new profile with default mail account
2. install lightning 0.9 rc1
3. restart thunderbird
4. create the 2 calender caldav ressources
5. reload button. or restart
Actual Results:  
everytime the testres calendar brings up that message. the calendar has write permission and i can create new events in it.

Expected Results:  
dismissed the event or snoozed.
Version: unspecified → Lightning 0.9
Works for me on Bedework.
I'm running davical here and have the same problem.

I have read access on an other calendar and can't dismiss the events of that calendar.
Perhaps when the rewriting of the event to the server fails due to the calendar being read-only, the calendar could be set to ignore alarms and a dialog box could be displayed saying that had happened.

For a read-only remote calendar this will most likely be what people want (i.e. to not see any alarms at all for that calendar) but since the item is only currently accessible through the calendar properties dialog after the calendar is created, and not during the actual creation process, many users will not be aware of the option at all.
I'm seeing this bug a lot, because I have a slow system.  It happens only when my system is really busy, and does not even require that I dismiss I task.  So I suspect there's a timer for some function expiring, before some dependent operation completes, thereby causing a race condition of some sort.

If you guys can get action on this bug, very soon, I will add my error messages and more info here.  Otherwise, I will create a dupe so I can explain what I am seeing.

Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.1b3pre) Gecko/20081205 Lightning/1.0pre ID:20081205075757

Intel P3 933 MHz
Flags: blocking-calendar1.0?
There seems to be some related discussion at: https://bugzilla.mozilla.org/show_bug.cgi?id=356002
Marking as duplicate for now, please reopen if this turns out to be a different issue.
Status: UNCONFIRMED → RESOLVED
Closed: 15 years ago
Resolution: --- → DUPLICATE
You need to log in before you can comment on or make changes to this bug.