[ietf-caldav] Problem with REPORT query

Pascal Robert <probert@macti.ca> Thu, 15 January 2009 20:11 UTC

Return-Path: <probert@macti.ca>
X-Original-To: ietf-caldav@osafoundation.org
Delivered-To: ietf-caldav@osafoundation.org
Received: from localhost (localhost [127.0.0.1]) by leka.osafoundation.org (Postfix) with ESMTP id 7076077D710 for <ietf-caldav@osafoundation.org>; Thu, 15 Jan 2009 12:11:12 -0800 (PST)
X-Virus-Scanned: by amavisd-new and clamav at osafoundation.org
X-Spam-Score: -2.599
X-Spam-Level:
X-Spam-Status: No, score=-2.599 tagged_above=-50 required=4 tests=[BAYES_00=-2.599]
Received: from leka.osafoundation.org ([127.0.0.1]) by localhost (leka.osafoundation.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id hC0kyvCqb6ii for <ietf-caldav@osafoundation.org>; Thu, 15 Jan 2009 12:10:59 -0800 (PST)
Received: from inmail.macti.ca (inmail.macti.ca [64.15.147.213]) by leka.osafoundation.org (Postfix) with ESMTP id B8C0877D708 for <ietf-caldav@osafoundation.org>; Thu, 15 Jan 2009 12:10:59 -0800 (PST)
Received: from localhost (localhost.localdomain [127.0.0.1]) by inmail.macti.ca (Postfix) with ESMTP id ED4AC1FC8008 for <ietf-caldav@osafoundation.org>; Thu, 15 Jan 2009 15:10:58 -0500 (EST)
X-Virus-Scanned: amavisd-new at inmail.macti.ca
Received: from inmail.macti.ca ([127.0.0.1]) by localhost (inmail.macti.ca [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id DA9cAoURMvW4 for <ietf-caldav@osafoundation.org>; Thu, 15 Jan 2009 15:10:58 -0500 (EST)
Received: from [192.168.0.103] (modemcable174.33-82-70.mc.videotron.ca [70.82.33.174]) by inmail.macti.ca (Postfix) with ESMTP id 70BA01FC8007 for <ietf-caldav@osafoundation.org>; Thu, 15 Jan 2009 15:10:58 -0500 (EST)
Message-Id: <27D01F3B-1EF4-4768-9877-3B06D0743072@macti.ca>
From: Pascal Robert <probert@macti.ca>
To: ietf-caldav@osafoundation.org
Content-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yes
Content-Transfer-Encoding: 7bit
Mime-Version: 1.0 (Apple Message framework v930.3)
Date: Thu, 15 Jan 2009 15:10:47 -0500
X-Mailer: Apple Mail (2.930.3)
Subject: [ietf-caldav] Problem with REPORT query
X-BeenThere: ietf-caldav@osafoundation.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: Discussions on Calendar Access protocol based on WebDAV <ietf-caldav.osafoundation.org>
List-Unsubscribe: <http://lists.osafoundation.org/mailman/listinfo/ietf-caldav>, <mailto:ietf-caldav-request@osafoundation.org?subject=unsubscribe>
List-Archive: <http://lists.osafoundation.org/pipermail/ietf-caldav>
List-Post: <mailto:ietf-caldav@osafoundation.org>
List-Help: <mailto:ietf-caldav-request@osafoundation.org?subject=help>
List-Subscribe: <http://lists.osafoundation.org/mailman/listinfo/ietf-caldav>, <mailto:ietf-caldav-request@osafoundation.org?subject=subscribe>
X-List-Received-Date: Thu, 15 Jan 2009 20:11:12 -0000

Hi,

I'm trying to use a calendar as a timeline to display stuff on large  
screens, so I'm adding events with reccurences every XX minutes, and  
each event have a 30s duration. Event creation works fine, but when I  
try to query available events for a specific time range, I get events  
who are outside the range.

Server is Zimbra Collaboration Suite 5.09. Am I doing something wrong?  
I looked at the RFC for CalDAV and it seems fine. This problem only  
happens for reccurrences, for one-time event it's working fine.

REPORT /dav/mtmls134/Calendar/ HTTP/1.1
...
<x1:calendar-query xmlns:x1="urn:ietf:params:xml:ns:caldav">
<x0:prop xmlns:x0="DAV:">
<x0:getetag/>
<x1:calendar-data/>
</x0:prop>
<x1:filter>
<x1:comp-filter name="VCALENDAR">
<x1:comp-filter name="VEVENT">
<x1:time-range end="20090114T211125Z" start="20090114T211025Z"/>
</x1:comp-filter>
</x1:comp-filter>
</x1:filter>
</x1:calendar-query>

And the answer contains occurences instances who are outside this  
range :

VERSION:2.0
PRODID:Zimbra-Calendar-Provider
BEGIN:VTIMEZONE
TZID:(GMT-05.00) Eastern Time (US &amp; Canada)
BEGIN:STANDARD
DTSTART:19710101T020000
TZOFFSETTO:-0500
TZOFFSETFROM:-0400
RRULE:FREQ=YEARLY;WKST=MO;INTERVAL=1;BYMONTH=11;BYDAY=1SU
END:STANDARD
BEGIN:DAYLIGHT
DTSTART:19710101T020000
TZOFFSETTO:-0400
TZOFFSETFROM:-0500
RRULE:FREQ=YEARLY;WKST=MO;INTERVAL=1;BYMONTH=3;BYDAY=2SU
END:DAYLIGHT
END:VTIMEZONE
BEGIN:VTIMEZONE
TZID:America/Montreal
BEGIN:STANDARD
DTSTART:20071104T020000
TZOFFSETTO:-0500
TZOFFSETFROM:-0400
RRULE:FREQ=YEARLY;BYMONTH=11;BYDAY=1SU
END:STANDARD
BEGIN:DAYLIGHT
DTSTART:20070311T020000
TZOFFSETTO:-0400
TZOFFSETFROM:-0500
RRULE:FREQ=YEARLY;BYMONTH=3;BYDAY=2SU
END:DAYLIGHT
END:VTIMEZONE
BEGIN:VEVENT
UID:20090114T210802Z-7854060086120464658@172.16.25.1
RRULE:FREQ=MINUTELY;UNTIL=20090115T010802Z;INTERVAL=30
SUMMARY:Test CalDAV
DTSTART;TZID="America/Montreal":20090114T160802
DURATION:PT30S
STATUS:CONFIRMED
CLASS:PUBLIC
X-MICROSOFT-CDO-INTENDEDSTATUS:BUSY
TRANSP:OPAQUE
X-MICROSOFT-DISALLOW-COUNTER:TRUE
DTSTAMP:20090114T210802Z
SEQUENCE:0
END:VEVENT
END:VCALENDAR



-------------------------------------------------------
Pascal Robert

http://www.macti.ca
http://www.aircourriel.com
http://www.linkedin.com/in/macti

Skype: MacTICanada
AIM/iChat : MacTICanada