[Calendarserver-maintainers] Bug#489188: Events more than 356 days from creation are ignored

Peter Mogensen apm at one.com
Thu Jul 3 20:28:48 UTC 2008


Package: calendarserver
Version: 1.2.dfsg-2
Severity: important

I've noticed that DCS (1.2) will not return an event instance more than
356 days from the creation of the event in a calendar-query.

It seems to be related to Trac ticket #207 (except that it affects
non-recurring events too)
http://trac.calendarserver.org/ticket/207

I've found that these events are not put into the TIMESPAN index, which
means that they are not returned by a search using the index.

Searches seems to not use the index when there's a time-range element in
the filter, but the exception detecting this is only thrown from the
filter expression generator for prop-filters, ... which again means that
if you don't have a prop-filter in your query, you'll get a search using
the index, which will ignore these 356+ days events.

The solution seems to be in the roadmap for DCS 1.3, however I would
regard this as a major flaw for 1.2 users.

Depending on the exact scenario there's different small patches which
would make these events appear. The simple solution would be to disable
indexed queries, but that would be a major performance hit for busy
servers.

Peter





More information about the Calendarserver-maintainers mailing list