You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
[Bug]: Calendar::search returns recurrences that do not match search pattern if used in conjunction with a timerange #52979
When passing a pattern to the search in conjunction with a time range, the pattern is matched first via oc_calendarobjects_props.
In case of an event with recurrence exceptions, it will also match on the recurrence exceptions.
The search then returns the recurrences that fit within the time range specified, even if the pattern does not match for the expanded recurrence(s) and are only a match for the recurrence exception.
Steps to reproduce
Create a recurring event with an attendee alice
Create a recurrence exception for this event, adding a new attendee bob for this recurrence exception only
Search with a pattern of bob, a search property of ATTENDEE and limit your search to a time frame that does not include the recurrence exception with bob
See that a recurrence is returned, even though bob is not a match on the ATTENDEE property.
Expected behavior
No search results are returned as there are no events where bob is an attendee in the specified time range.
changed the title [-][Bug]: CalDAV::search returns recurrences that do not match search pattern if used in conjunction with a timerange[/-][+][Bug]: Calendar.search returns recurrences that do not match search pattern if used in conjunction with a timerange[/+]on May 20, 2025
changed the title [-][Bug]: Calendar.search returns recurrences that do not match search pattern if used in conjunction with a timerange[/-][+][Bug]: Calendar::search returns recurrences that do not match search pattern if used in conjunction with a timerange[/+]on May 20, 2025
Activity
fix(sidebar): mutual events showing incorrect events
[-][Bug]: CalDAV::search returns recurrences that do not match search pattern if used in conjunction with a timerange[/-][+][Bug]: Calendar.search returns recurrences that do not match search pattern if used in conjunction with a timerange[/+][-][Bug]: Calendar.search returns recurrences that do not match search pattern if used in conjunction with a timerange[/-][+][Bug]: Calendar::search returns recurrences that do not match search pattern if used in conjunction with a timerange[/+]fix(sidebar): mutual events showing incorrect events
fix(sidebar): mutual events showing incorrect events