[CalendarServer-dev] [CalendarServer] #315: principal-match REPORT vends two response XML elements instead of one

CalendarServer trac at macosforge.org
Wed Jan 7 15:22:01 PST 2009


#315: principal-match REPORT vends two response XML elements instead of one
--------------------------------+-------------------------------------------
 Reporter:  wsanchez@…          |       Owner:  sagen@…           
     Type:  Defect              |      Status:  new               
 Priority:  3: Important        |   Milestone:  CalendarServer-2.x
Component:  Calendar Server     |    Severity:  Other             
 Keywords:                      |  
--------------------------------+-------------------------------------------
 From Helge:

 When requesting missing properties in a principal-match REPORT, iCal
 server returns two response XML elements with individual propstat's
 instead of one response element with two propstat's.

 {{{
 REPORT /calendars/users/nat/
 Depth:0

 <?xml version="1.0" encoding="utf-8"?>
 <principal-match xmlns="DAV:"
 xmlns:I="urn:ietf:params:xml:ns:caldav"
 xmlns:C="urn:ietf:params:xml:ns:carddav"
 xmlns:G="http://groupdav.org/"
 xmlns:A="http://calendarserver.org/ns/"
 >
 <self/>
 <prop>
 <displayname/>
 <resourcetype/>
 ...
 <A:first-name />
 ...
 ---snap---

 gives:
 ---snip---
 <?xml version='1.0' encoding='UTF-8'?>
 <multistatus xmlns='DAV:'>
 <response>
 <href>/principals/users/nat/</href>
 <propstat>
 <prop>
 <displayname>Nat!</displayname>
 <resourcetype>
 <collection/>
 <principal/>
 ...
 </prop>
 <status>HTTP/1.1 200 OK</status>
 </propstat>
 </response>
 <response>
 <href>/principals/users/nat/</href>
 <propstat>
 <prop>
 <getctag xmlns='http://calendarserver.org/ns/'/>
 ...
 </prop>
 <status>HTTP/1.1 404 Not Found</status>
 </propstat>
 </response>
 </multistatus>
 }}}

-- 
Ticket URL: <http://trac.calendarserver.org/ticket/315>
CalendarServer </>
HTTP/WebDAV/CalDAV Server


More information about the calendarserver-dev mailing list