Closed
Bug 356183
Opened 18 years ago
Closed 18 years ago
CalDAV provider throws on retrieval of VTODOs
Categories
(Calendar :: Provider: CalDAV, defect)
Tracking
(Not tracked)
RESOLVED
FIXED
People
(Reporter: browning, Unassigned)
Details
Attachments
(1 file)
1.27 KB,
patch
|
mattwillis
:
first-review+
jminta
:
second-review+
|
Details | Diff | Splinter Review |
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.8.0.4) Gecko/20060614 Fedora/1.5.0.4-1.2.fc5 Firefox/1.5.0.4 pango-text Build Identifier: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9a1) Gecko/20061006 Sunbird/0.3 The Darwin CalendarServer is the first of the CalDAV servers "commonly" used with Sunbird that supports VTODOs. Sunbird can place VTODO items in a CalendarServer repostitory but throws when trying to retrieve them. Reproducible: Always Steps to Reproduce: 1. Using Sunbird, create a VTODO item on a CalendarServer repository 2. Exit/restart Sunbird 3. Actual Results: Item does not appear in Tasks list In Error Console: Error: [Exception... "Component returned failure code: 0x80004002 (NS_NOINTERFACE) [nsISupports.QueryInterface]" nsresult: "0x80004002 (NS_NOINTERFACE)" location: "JS frame :: file:///home/bruno/dloads/sunbird/components/calDavCalendar.js :: anonymous :: line 720" data: no] Source File: file:///home/bruno/dloads/sunbird/components/calDavCalendar.js Line: 720 Expected Results: Item should appear in Task list No errors in Error Console patch forthcoming. FWIW, I don't think this should have any impact whatsoever on release of 0.3: I just want to get it in the queue.
Reporter | ||
Comment 1•18 years ago
|
||
if an item is a vtodo, "item.QueryInterface(Ci.calIEvent)" throws, "item instanceof Ci.calIEvent" returns false. Seems to me we need the latter.
Attachment #241842 -
Flags: second-review?(dmose)
Attachment #241842 -
Flags: first-review?(lilmatt)
Comment 2•18 years ago
|
||
Comment on attachment 241842 [details] [diff] [review] instanceof instead of QueryInterface r=lilmatt for post 0.3
Attachment #241842 -
Flags: first-review?(lilmatt) → first-review+
Comment 3•18 years ago
|
||
Comment on attachment 241842 [details] [diff] [review] instanceof instead of QueryInterface Moving r2 to jminta per dmose
Attachment #241842 -
Flags: second-review?(dmose) → second-review?(jminta)
Comment 4•18 years ago
|
||
Comment on attachment 241842 [details] [diff] [review] instanceof instead of QueryInterface sweetness. r2=jminta
Attachment #241842 -
Flags: second-review?(jminta) → second-review+
Comment 5•18 years ago
|
||
Patch checked in on MOZILLA_1_8_BRANCH and trunk. -> FIXED
Status: NEW → RESOLVED
Closed: 18 years ago
Resolution: --- → FIXED
Looks like patch was misapplied. http://bonsai.mozilla.org/cvsview2.cgi?diff_mode=context&whitespace_mode=show&subdir=mozilla/calendar/providers/caldav&command=DIFF_FRAMESET&file=calDavCalendar.js&rev1=1.75&rev2=1.76&root=/cvsroot http://lxr.mozilla.org/mozilla/source/calendar/providers/caldav/calDavCalendar.js#721 Patch says should be item instanceof but result is item.instanceof -------^ Result is Error: missing ) after condition Source File: file:///C:/moz/sunbird/components/calDavCalendar.js Line: 720, Column: 43 Source Code: } else if (item.instanceof Ci.calIEvent) {
Status: RESOLVED → REOPENED
Resolution: FIXED → ---
Comment 7•18 years ago
|
||
I commited a fix for that an hour or so ago. -> FIXED
Status: REOPENED → RESOLVED
Closed: 18 years ago → 18 years ago
Resolution: --- → FIXED
You need to log in
before you can comment on or make changes to this bug.
Description
•