View Issue Details

IDProjectCategoryView StatusLast Update
0003065SOGoBackend Calendarpublic2021-03-13 21:28
Reporterantoninor Assigned To 
PrioritynormalSeverityminorReproducibilityalways
Status newResolutionopen 
Summary0003065: CalDav REPORT: Unable to receive expanded events with recurrence
Description

After inserting a recurrence event, querying with report is returning the event but not expanding the single instances even though
<C:expand start="20150101T000000Z" end="20160118T000000Z"/>
is specified.

Steps To Reproduce
  1. Add a recurrence event:

BEGIN:VCALENDAR
VERSION:2.0
BEGIN:VEVENT
UID:eventUid-54b846f4679807.57149747
DTSTAMP:20150115T230212Z
SUMMARY:testput1
PRIORITY:5
DTSTART:20150112T163000Z
DTEND:20150113T050000Z
RRULE:FREQ=DAILY;COUNT=10
BEGIN:VALARM
TRIGGER:-PT30M
REPEAT:2
DURATION:PT15M
ACTION:display
END:VALARM
CLASS:PUBLIC
END:VEVENT
END:VCALENDAR

Result: OK

  1. Query with REPORT:

<C:calendar-query xmlns:D="DAV:" xmlns:C="urn:ietf:params:xml:ns:caldav">
<D:prop>
<C:calendar-data>
<C:expand start="20150111T000000Z" end="20150118T000000Z"/>
</C:calendar-data>
<D:getetag/>
</D:prop>
<C:filter>
<C:comp-filter name="VCALENDAR">
<C:comp-filter name="VEVENT">
<C:time-range start="20150111T000000Z" end="20150118T000000Z"/>
</C:comp-filter>
</C:comp-filter>
</C:filter>
</C:calendar-query>

Result: 207

But the inserted recurrence event is not returned expanded as requested:

<D:response>
<D:href>/SOGo/dav/foo@foo.com/Calendar/personal/testPut1.ics</D:href>
<D:propstat>
<D:prop>
<D:getetag>"gcs00000001"</D:getetag>
<C:calendar-data>BEGIN:VCALENDAR VERSION:2.0 BEGIN:VEVENT UID:eventUid-54b846f4679807.57149747 DTSTAMP:20150115T230212Z SUMMARY:testput1 PRIORITY:5 DTSTART:20150112T163000Z DTEND:20150113T050000Z RRULE:FREQ=DAILY;COUNT=10 BEGIN:VALARM TRIGGER:-PT30M REPEAT:2 DURATION:PT15M ACTION:display END:VALARM CLASS:PUBLIC END:VEVENT END:VCALENDAR</C:calendar-data>
</D:prop>
<D:status>HTTP/1.1 200 OK</D:status>
</D:propstat>
</D:response>

TagsNo tags attached.

Activities

antoninor

antoninor

2015-01-15 23:39

reporter   ~0008086

Last edited: 2015-01-18 21:26

Sogo Version 2.2.11a

Please note that the Sogo Web User Interface is showing the event expanded in single instances correctly.

tobixen

tobixen

2021-03-13 21:28

reporter   ~0015142

I can observe the same, running the test code of the python caldav client library.

Issue History

Date Modified Username Field Change
2015-01-15 23:35 antoninor New Issue
2015-01-15 23:39 antoninor Note Added: 0008086
2015-01-18 21:26 antoninor Note Edited: 0008086
2021-03-13 21:28 tobixen Note Added: 0015142