Closed
Bug 366860
Opened 19 years ago
Closed 19 years ago
error when creating remote calendar
Categories
(Calendar :: Provider: CalDAV, defect)
Tracking
(Not tracked)
RESOLVED
WORKSFORME
People
(Reporter: damian.publicemail, Unassigned)
References
()
Details
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; pl; rv:1.8.1.1) Gecko/20061204 Firefox/2.0.0.1
Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9a2pre) Gecko/20070112 Calendar/0.4a1
Please follow the scenario
Reproducible: Always
Steps to Reproduce:
1. create new profile
2. create new calendar, use this url http://mozilla.kewis.ch/testday-zones.ics but choose CalDAV (!)
3. select created calendar from calendar panel
4. use drag&drop to create new event
5. login using calendar / testday
Actual Results:
error console:
Error: Severe error in internal transaction code!
[xpconnect wrapped (nsISupports, calIItemBase, calIEvent, calIInternalShallowCopy, nsIClassInfo)]
Please report this to the developers.
Source File: chrome://calendar/content/calendar-item-editing.js
Line: 293
Expected Results:
no error
I should not choose CalDAV but anyway the error says that something is wrong
Comment 1•19 years ago
|
||
The error is thrown because event creation failed, which in turn is caused by choosing the wrong calendar type. There's a patch awaiting second-review in bug 355270 which will detect this kind of problem, put the calendar in read-only mode, and toss a message onto the error console. We'll want to do more than that for 1.0, but it's a start.
Comment 2•19 years ago
|
||
I can see different error:
Error: [Exception... "'The resource at http://mozilla.kewis.ch/testday-zones.ics is either not DAV or not available
' when calling method: [nsIWebDAVOperationListener::onOperationComplete]" nsresult: "0x8057001e (NS_ERROR_XPC_JS_THREW_STRING)" location: "<unknown>" data: no]
Actually I'm unable to use CalDAV protocol because of errors like this:
Error: [Exception... "'The resource at https://cosmo-demo.osafoundation.org/home/myusername/ is a DAV collection but not a CalDAV calendar
' when calling method: [nsIWebDAVOperationListener::onOperationComplete]" nsresult: "0x8057001e (NS_ERROR_XPC_JS_THREW_STRING)" location: "<unknown>" data: no]
Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.1.4pre) Gecko/20070326 Calendar/0.5pre
Updated•19 years ago
|
Summary: error when createing remote calendar → error when creating remote calendar
Comment 3•19 years ago
|
||
The errors reported in comment #2 come from improved error reporting provided by the patch in bug 355270. Comments #11 and following in that bug are relevant.
Comment 4•19 years ago
|
||
I'm setting this as qa discussion needed. It seem to me that the defect here is allowing the user to create a "CalDAV" calendar using a non-CalDAV URL without throwing an error immediately. We now do throw such an error, as demonstrated in comment #2. I'm inclined to close this bug either FIXED or INVALID, but hesitate to do so since I wrote the relevant patch.
Whiteboard: [qa discussion needed]
Since the new errors have been put into place, we are marking this as WFM.
Status: NEW → RESOLVED
Closed: 19 years ago
Resolution: --- → WORKSFORME
Whiteboard: [qa discussion needed]
You need to log in
before you can comment on or make changes to this bug.
Description
•