summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHarish Krishnaswamy <kharish@novell.com>2006-04-22 05:11:51 +0000
committerHarish Krishnaswamy <kharish@src.gnome.org>2006-04-22 05:11:51 +0000
commit2c8b955fafea052c358dd12e6786952afd14f58e (patch)
tree84c41ca7427a296de6e661fca04b14658326e97a
parent0238a373dd1debc6f2dfd028692b73a1b9577a5a (diff)
downloadevolution-data-server-2c8b955fafea052c358dd12e6786952afd14f58e.tar.gz
Send item_id with recurence key while delegating multiple instances. Fixes
2006-04-22 Harish Krishnaswamy <kharish@novell.com> * backends/groupwise/e-cal-backend-groupwise.c: (e_cal_backend_groupwise_modify_object): Send item_id with recurence key while delegating multiple instances. Fixes #165714 (bugzilla.novell.com)
-rw-r--r--calendar/ChangeLog7
-rw-r--r--calendar/backends/groupwise/e-cal-backend-groupwise.c8
2 files changed, 10 insertions, 5 deletions
diff --git a/calendar/ChangeLog b/calendar/ChangeLog
index 82ed4ab1c..5f271b799 100644
--- a/calendar/ChangeLog
+++ b/calendar/ChangeLog
@@ -1,3 +1,10 @@
+2006-04-22 Harish Krishnaswamy <kharish@novell.com>
+
+ * backends/groupwise/e-cal-backend-groupwise.c:
+ (e_cal_backend_groupwise_modify_object): Send item_id
+ with recurence key while delegating multiple instances.
+ Fixes #165714 (bugzilla.novell.com)
+
2006-04-10 Tor Lillqvist <tml@novell.com>
* libecal/e-cal-time-util.c: #define gmtime_r on Win32.
diff --git a/calendar/backends/groupwise/e-cal-backend-groupwise.c b/calendar/backends/groupwise/e-cal-backend-groupwise.c
index 0e556a46b..7415ab055 100644
--- a/calendar/backends/groupwise/e-cal-backend-groupwise.c
+++ b/calendar/backends/groupwise/e-cal-backend-groupwise.c
@@ -1852,12 +1852,11 @@ e_cal_backend_groupwise_modify_object (ECalBackendSync *backend, EDataCal *cal,
in_offline (cbgw);
return GNOME_Evolution_Calendar_RepositoryOffline;
}
-
+
/* check the component for validity */
icalcomp = icalparser_parse_string (calobj);
if (!icalcomp)
return GNOME_Evolution_Calendar_InvalidObject;
-
comp = e_cal_component_new ();
e_cal_component_set_icalcomponent (comp, icalcomp);
e_cal_component_get_uid (comp, &uid);
@@ -1882,9 +1881,8 @@ e_cal_backend_groupwise_modify_object (ECalBackendSync *backend, EDataCal *cal,
if (mod == CALOBJ_MOD_ALL && e_cal_component_is_instance (comp)) {
recur_key = uid;
- } else {
- id = e_gw_item_get_id (item);
- }
+ }
+ id = e_gw_item_get_id (item);
status = e_gw_connection_delegate_request (priv->cnc, item, id, NULL, NULL, recur_key);