[evolution-patches] Fix for the bug #64685 [calendar]



Hi,
    Curently when an attendee tries to accept the meeting more than once, the error message displayed is "Unknown error" which is blocked by the bug #63513. Now, have changed this unknown error message to "Permission Denied" which makes more sense, since the attendee should not accept the meeting more than once and so the permission is denied.

thanks, chenthill.
Index: ChangeLog
===================================================================
RCS file: /cvs/gnome/evolution-data-server/calendar/ChangeLog,v
retrieving revision 1.326
diff -u -p -r1.326 ChangeLog
--- ChangeLog	5 Sep 2004 13:04:19 -0000	1.326
+++ ChangeLog	6 Sep 2004 05:46:25 -0000
@@ -1,3 +1,12 @@
+2004-09-06  Chenthill Palanisamy <pchenthill novell com>
+
+	Fixes #64685
+	* backends/groupwise/e-cal-backends-groupwise.c
+	(receive_object): Send the error message as 
+	Permission Denied when the attendee tries to accept the 
+	appointment more than once since we get the error message as
+	bad parameter from the server.
+
 2004-09-05  Chenthill Palanisamy <pchenthill novell com>
 	
 	* libecal/e-cal-utils.h:
Index: backends/groupwise/e-cal-backend-groupwise.c
===================================================================
RCS file: /cvs/gnome/evolution-data-server/calendar/backends/groupwise/e-cal-backend-groupwise.c,v
retrieving revision 1.91
diff -u -p -r1.91 e-cal-backend-groupwise.c
--- backends/groupwise/e-cal-backend-groupwise.c	5 Sep 2004 13:04:19 -0000	1.91
+++ backends/groupwise/e-cal-backend-groupwise.c	6 Sep 2004 05:46:25 -0000
@@ -1355,6 +1355,8 @@ receive_object (ECalBackendGroupwise *cb
 
 	if (status == E_GW_CONNECTION_STATUS_INVALID_OBJECT)
 		return  GNOME_Evolution_Calendar_InvalidObject;
+	else if (status == E_GW_CONNECTION_STATUS_BAD_PARAMETER)
+		return GNOME_Evolution_Calendar_PermissionDenied;
 	return GNOME_Evolution_Calendar_OtherError;
 }
 


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]