[Gpe-list] [Bug 3] New: Event export crashes on exporting recurrences
bugzilla-daemon at linuxtogo.org
bugzilla-daemon at linuxtogo.org
Fri Nov 24 17:37:26 CET 2006
http://bugs.linuxtogo.org/show_bug.cgi?id=3
Summary: Event export crashes on exporting recurrences
Product: gpe-calendar
Version: 0.73rc2
Platform: PC
OS/Version: Linux
Status: NEW
Severity: normal
Priority: P2
Component: default
AssignedTo: gpe-list at linuxtogo.org
ReportedBy: g+gpe at cobb.uk.net
Estimated Hours: 0.0
When exporting events to ics, gpe-calendar inserts rubbish for the BYDAY
qualifier in the RRULE of recurring events. Occasionally it even crashes.
The bug is in export_event_as_vevent and I have fixed it in my copy of that
function in gpesyncd.
The fix is:
--- gpe-calendar/export-vcal.c 2006-11-20 21:26:40.000000000 +0000
+++ gpesyncd/src/export-vcal.c 2006-11-23 00:07:00.000000000 +0000
@@ -216,13 +214,13 @@
int i;
GSList *l;
for (l = byday, i = 0; l; l = l->next, i ++)
- s[i] = byday->data;
+ s[i] = l->data;
s[i] = NULL;
char *units = g_strjoinv (",", s);
g_object_set (recurrence, "unit", RECURRENCE_UNIT_DAY, NULL);
- g_object_set (recurrence, "units", s, NULL);
+ g_object_set (recurrence, "units", units, NULL);
event_recurrence_byday_free (byday);
g_free (units);
}
Graham
--
Configure bugmail: http://bugs.linuxtogo.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
More information about the Gpe-list
mailing list