Closed Bug 533466 Opened 13 years ago Closed 13 years ago

CALDAV:calendar-multiget REPORT should not specify the calendar collection URL in the request body


(Calendar :: Provider: CalDAV, defect)

Not set


(Not tracked)



(Reporter: bernard.desruisseaux, Assigned: browning)


(Whiteboard: [needed beta][no l10n impact])


(1 file)

User-Agent:       Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv: Gecko/20091102 Firefox/ X-ORACLE-DEBUG=STATS (.NET CLR 3.5.30729)
Build Identifier: Lightning/1.0b1pre

The calendar collection URL should not be specified as a DAV:href element in the body of a CALDAV:calendar-multiget REPORT request.

Reproducible: Always

Steps to Reproduce:
1. Create CalDAV account
Actual Results:  
The Request-URI of the CALDAV:calendar-multiget REPORT request, that is, the calendar collection URL is erroneously specified in a DAV:href element in the request body.

Expected Results:  
The calendar collection URL should be omitted here.
Prior to the CALDAV:calendar-multiget REPORT request, Lightning issues the following PROPFIND request on the calendar collection with Depth: 1

<?xml version="1.0" encoding="UTF-8"?>
<D:propfind xmlns:D="DAV:">

Lightning doesn't request the DAV:resourcetype property, as such it isn't clear how Lightning differentiate collections from calendar object resources in the PROPFIND response (i.e., the calendar collection targeted by the request as well as any regular non-calendar collection that could possibly exist in the calendar collection) and omit them from the subsequent CALDAV:calendar-multiget REPORT request.

This topic was recently discussed here:
Patch adds the resourcetype check and omits collections from the multiget. Allows access to the test Oracle calendars. Did basic smoketests (create/modify/delete event) against Apple Bedework DAViCal Kerio Oracle Scalix SOGo Sun, all w/o mishap.
Assignee: nobody → browning
Ever confirmed: true
Attachment #416745 - Flags: review?(philipp)
OS: Windows XP → All
Hardware: x86 → All
Comment on attachment 416745 [details] [diff] [review]
Ignore collections located inside the calendar collection

Looks fine. Given we might need a further rc1 build anyway, I'll check this in on all three branches.
Attachment #416745 - Flags: review?(philipp) → review+
Pushed to comm-central <>
and comm-191: 807677aad2c7 (default) / 362717be060d (1.0b1 relbranch)

Closed: 13 years ago
Flags: blocking-calendar1.0+
Resolution: --- → FIXED
Whiteboard: [needed beta][no l10n impact]
Target Milestone: --- → 1.0
These bugs are likely targeted at Lightning 1.0b1, not Lightning 1.0. If this change was done in error, please adjust the target milestone to its correct value. To filter on this bugspam, you can use "lightning-10-target-move".
Target Milestone: 1.0 → 1.0b1
You need to log in before you can comment on or make changes to this bug.