Problem with calendar filter

42 views
Skip to first unread message

Venkatesh

unread,
Mar 31, 2017, 1:31:10 PM3/31/17
to caldav4j
Hi,

Trying to run calendar filter with date range. Following is the request XML:

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

I am running this against CommuniGate Pro server with path https://server/CalDAV/Calendar
Problem is irrespective of filter I set, server is always returning all events that are present for authenticated user. 
I tried other filters as well, like "VEVENT : SUMMARY==..". Response remains same.

Please suggest. Thank you.

Regards,
Venkatesh

Roberto Polli

unread,
Mar 31, 2017, 1:36:09 PM3/31/17
to cald...@googlegroups.com
Hi V,


2017-03-31 19:31 GMT+02:00 Venkatesh <test...@gmail.com>:

> Problem is irrespective of filter I set, server is always returning all
> events that are present for authenticated user.
> I tried other filters as well, like "VEVENT : SUMMARY==..". Response remains
> same.

Did you try to run junit test against communigate?
If some test fails, probably your server doesn't support all caldav features.

Peace,
R:
Reply all
Reply to author
Forward
0 new messages