[Evolution] Bug#401814: evolution-data-server: Unable to delete calendar entries from CalDAV server

Andrew Ruthven andrew at etc.gen.nz
Wed Dec 6 04:12:06 CET 2006


Package: evolution-data-server
Version: 1.6.3-2
Severity: important
Tags: patch

Hi,

evolution-data-server has a bug where it sends a If-None-Match header
when attempting to delete an entry from a CalDAV server.  This should
be If-Match.

This bug has been fixed by a one-line patch which is included in the 2.9.3
release of Evolution.

I've attached the patch to this bug report. As it makes Evolution somewhat
unusable with a CalDAV server, it would be great if this could make etch.

Please see bugzilla for further details:
  http://bugzilla.gnome.org/show_bug.cgi?id=349573

Cheers!

-- System Information:
Debian Release: 4.0
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: i386 (i686)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.19-cyclops
Locale: LANG=en_NZ, LC_CTYPE=en_NZ (charmap=ISO-8859-1)

Versions of packages evolution-data-server depends on:
ii  evolutio 1.6.3-2                         architecture independent files for
ii  libavahi 0.6.15-2                        Avahi client library
ii  libavahi 0.6.15-2                        Avahi common library
ii  libavahi 0.6.15-2                        Avahi glib integration library
ii  libbonob 2.14.0-3                        Bonobo CORBA interfaces library
ii  libc6    2.3.6.ds1-8                     GNU C Library: Shared libraries
ii  libcamel 1.6.3-2                         The Evolution MIME message handlin
ii  libcomer 1.39+1.40-WIP-2006.11.14+dfsg-1 common error description library
ii  libdb4.4 4.4.20-8                        Berkeley v4.4 Database Libraries [
ii  libdbus- 1.0.1-2                         simple interprocess messaging syst
ii  libebook 1.6.3-2                         Client library for evolution addre
ii  libecal1 1.6.3-2                         Client library for evolution calen
ii  libedata 1.6.3-2                         Backend library for evolution addr
ii  libedata 1.6.3-2                         Backend library for evolution cale
ii  libedata 1.6.3-2                         Utility library for evolution data
ii  libegrou 1.6.3-2                         Client library for accessing group
ii  libgconf 2.16.0-3                        GNOME configuration database syste
ii  libgcryp 1.2.3-2                         LGPL Crypto library - runtime libr
ii  libglib2 2.12.4-2                        The GLib library of C routines
ii  libgnome 2.16.0-2                        The GNOME 2 library - runtime file
ii  libgnome 2.14.2-3                        GNOME virtual file-system (runtime
ii  libgnutl 1.4.4-3                         the GNU TLS library - runtime libr
ii  libgpg-e 1.4-2                           library for common error values an
ii  libkrb53 1.4.4-4                         MIT Kerberos runtime libraries
ii  libldap2 2.1.30-13.2                     OpenLDAP libraries
ii  libnspr4 1.8.0.8-1                       NetScape Portable Runtime Library
ii  libnss3- 1.8.0.8-1                       Network Security Service libraries
ii  liborbit 1:2.14.3-0.1                    libraries for ORBit2 - a CORBA ORB
ii  libpopt0 1.10-3                          lib for parsing cmdline parameters
ii  libsoup2 2.2.98-1                        an HTTP library implementation in 
ii  libtasn1 0.3.6-2                         Manage ASN.1 structures (runtime)
ii  libxml2  2.6.27.dfsg-1                   GNOME XML library
ii  zlib1g   1:1.2.3-13                      compression library - runtime

evolution-data-server recommends no packages.

-- no debconf information
-------------- next part --------------
Index: calendar/backends/caldav/e-cal-backend-caldav.c
===================================================================
RCS file: /cvs/gnome/evolution-data-server/calendar/backends/caldav/e-cal-backend-caldav.c,v
retrieving revision 1.9
retrieving revision 1.10
diff -u -r1.9 -r1.10
--- calendar/backends/caldav/e-cal-backend-caldav.c	24 Jul 2006 13:09:12 -0000	1.9
+++ calendar/backends/caldav/e-cal-backend-caldav.c	27 Nov 2006 02:32:51 -0000	1.10
@@ -1040,7 +1040,7 @@
 
 	if (object->etag != NULL) {
 		soup_message_add_header (message->request_headers, 
-					"If-None-Match", object->etag);
+					"If-Match", object->etag);
 	}
 	
 	d(setup_debug (message);)
Index: ChangeLog
===================================================================
RCS file: /cvs/gnome/evolution-data-server/ChangeLog,v
retrieving revision 1.430
retrieving revision 1.431
diff -u -r1.430 -r1.431
--- ChangeLog	19 Nov 2006 23:37:37 -0000	1.430
+++ ChangeLog	27 Nov 2006 02:32:51 -0000	1.431
@@ -1,3 +1,12 @@
+2006-11-27  Andrew Ruthven  <andrew at etc.gen.nz>
+
+	Fixes bug #349573
+
+	* calendar/backends/caldav/e-cal-backend-caldav.c
+        (caldav_server_delete_object):
+	Make sure that deleting CalDAV entries is RFC2068 compliant by
+	changing If-None-Match to If-Match.
+
 2006-11-19  Matthew Barnes  <mbarnes at redhat.com>
 
 	Fixes bug #353924


More information about the Pkg-evolution-maintainers mailing list