Kozea / Radicale

A simple CalDAV (calendar) and CardDAV (contact) server.
https://radicale.org
GNU General Public License v3.0
3.28k stars 430 forks source link

Time-range filter with prop-filter does not work #984

Open arunasank opened 5 years ago

arunasank commented 5 years ago

Report query:

Does Radicale not support the prop-filter within the time-range filter? The following query does not filter events with DTSTAMP within the time range specified.

<?xml version="1.0" encoding="utf-8" ?>
                 <C:calendar-query xmlns:D="DAV:" xmlns:C="urn:ietf:params:xml:ns:caldav">
                   <D:prop xmlns:D="DAV:">
                     <C:calendar-data/>
                   </D:prop>
                   <C:filter>
                     <C:comp-filter name="VCALENDAR">
                       <C:comp-filter name="VEVENT">
                          <C:prop-filter name="DTSTAMP">
                            <C:time-range start="20190824T192139Z"
                                   end="20190826T170934Z"/>
                          </C:prop-filter>
                       </C:comp-filter>
                     </C:comp-filter>
                   </C:filter>
                 </C:calendar-query>

Event that does not get filtered:

BEGIN:VCALENDAR
VERSION:2.0
PRODID:-//PYVOBJECT//NONSGML Version 1//EN
BEGIN:VEVENT
UID:7a7abc68-da4e-b03c-e4ae-b7c147c6a6c5
DTSTART:20190826T165200
DTEND:20190827T165200
DESCRIPTION:Yes I will!
DTSTAMP:20190826T160900
SUMMARY:WILL YOU WORK\, OH GOOD EVENT?
END:VEVENT
END:VCALENDAR
pbiering commented 6 months ago

is this still an issue with latest 3.1.x?