View Issue Details

IDProjectCategoryView StatusLast Update
0001310SOGoBackend Calendarpublic2014-12-30 13:31
ReporterMarten Gajda Assigned To 
PrioritynormalSeverityminorReproducibilityalways
Status newResolutionopen 
Product Version1.3.6 
Summary0001310: CaldDAV calendar-query returns events out of specified range
Description

during development of my CalDAV-Sync adapter for Android I came across the following issue:

when I request the following REPORT (I use the sogo-demo-server)

<?xml version="1.0" encoding="utf-8" ?>
<C:calendar-query xmlns:C="urn:ietf:params:xml:ns:caldav" xmlns:D="DAV:">
<D:prop>
<D:getetag />
</D:prop>
<C:filter>
<C:comp-filter name="VCALENDAR">
<C:comp-filter name="VEVENT">
<C:time-range start="20110511T000000Z" end="20110615T000000Z" />
</C:comp-filter>
</C:comp-filter>
</C:filter>
</C:calendar-query>

one of the urls I get is for the attached event.

Here are the important lines

RRULE:FREQ=YEARLY
DTSTART;TZID=/inverse.ca/20101018_1/Europe/Berlin:20110412T030000
DTEND;TZID=/inverse.ca/20101018_1/Europe/Berlin:20110412T041500

As you can see the event repeats every year on 12th of April, thus no event instance intersects the given range. According to RFC 4791 the event should not be returned as result.

TagsNo tags attached.

Activities

2011-05-18 13:47

 

3A37-4DD0C580-1D-1EEBE7E0.ics (801 bytes)   
BEGIN:VCALENDAR
VERSION:2.0
PRODID:-//Inverse inc./SOGo 1.3.7//EN
BEGIN:VEVENT
UID:3A37-4DD0C580-1D-1EEBE7E0
SUMMARY:Y Out
CREATED:20110516T063407Z
DTSTAMP:20110516T063407Z
LAST-MODIFIED:20110516T063407Z
RRULE:FREQ=YEARLY
DTSTART;TZID=/inverse.ca/20101018_1/Europe/Berlin:20110412T030000
DTEND;TZID=/inverse.ca/20101018_1/Europe/Berlin:20110412T041500
TRANSP:OPAQUE
END:VEVENT
BEGIN:VTIMEZONE
TZID:/inverse.ca/20101018_1/Europe/Berlin
X-LIC-LOCATION:Europe/Berlin
BEGIN:DAYLIGHT
TZOFFSETFROM:+0100
TZOFFSETTO:+0200
TZNAME:CEST
DTSTART:19700329T020000
RRULE:FREQ=YEARLY;BYMONTH=3;BYDAY=-1SU
END:DAYLIGHT
BEGIN:STANDARD
TZOFFSETFROM:+0200
TZOFFSETTO:+0100
TZNAME:CET
DTSTART:19701025T030000
RRULE:FREQ=YEARLY;BYMONTH=10;BYDAY=-1SU
END:STANDARD
END:VTIMEZONE
END:VCALENDAR
Marten Gajda

Marten Gajda

2011-05-18 16:34

reporter   ~0002495

btw. I just noticed the attached ics file (which I downloaded from your demo-server) says:

PRODID:-//Inverse inc./SOGo 1.3.7//EN

but the "about" dialog on the demo-server homepage says 1.3.6.

Issue History

Date Modified Username Field Change
2011-05-18 13:47 Marten Gajda New Issue
2011-05-18 13:47 Marten Gajda File Added: 3A37-4DD0C580-1D-1EEBE7E0.ics
2011-05-18 16:34 Marten Gajda Note Added: 0002495
2014-12-30 13:31 ludovic Severity major => minor