Share

Free Association (libical)

Tracker: Bugs

5 do not return rdates which are out of range - ID: 2882255
Last Update: Comment added ( shuckleman )

icalcomponent_foreach_recurrence returns all RDATES, but it should only
return those that are within the specified time span.

Fix is easy:
--- icalcomponent.c 2009-01-08 18:50:22.000000000 +0200
+++ icalcomponent.c.new 2009-10-18 15:41:32.000000000 +0300
@@ -1097,6 +1097,7 @@

if (!icalproperty_recurrence_is_excluded(comp, &dtstart,
&rdate_period.time)) {
/** call callback action **/
+ if (icaltime_span_overlaps(&recurspan, &limit_span))
(*callback) (comp, &recurspan, callback_data);
}
comp->property_iterator = property_iterator;

This is fixed in Orage (Xfce calendar) as explained.


shuckle ( shuckleman ) - 2009-10-20 10:04

5

Closed

Duplicate

Nobody/Anonymous

recur

None

Public


Comment ( 1 )

Date: 2009-11-20 07:21
Sender: shuckleman

seems liek I filed a duplicate. sorry. closing.


Attached File ( 1 )

Filename Description Download
patch1.txt patch for BUG Download

Changes ( 5 )

Field Old Value Date By
status_id Open 2009-11-20 07:21 shuckleman
resolution_id None 2009-11-20 07:21 shuckleman
allow_comments 1 2009-11-20 07:21 shuckleman
close_date - 2009-11-20 07:21 shuckleman
File Added 347399: patch1.txt 2009-10-20 10:04 shuckleman