[Evolution] Bug#524882: evolution: Global template does not get used for fetching free/busy information

Holger Mickler holger.mickler at web.de
Mon Apr 20 14:40:21 UTC 2009


Package: evolution
Version: 2.22.3.1-1
Severity: important
Tags: patch


I am using a webdav resource to store free/busy information of many users.
Under Preferences|Calendar and Tasks|Free/Busy I have set the URI using the %u
placeholder. All contact's Free/Busy URL's are empty. When I want to schedule
a meeting using free/busy information, Evolution tells me on the command line
that the supplied URI was invalid.
I have set this severity to important because it is not efficient to set the
free/busy URL for every single contact - which works btw.

Fortunately, I could hunt down the bug - Evolution would always set the free/
busy URL to the one from the contact even if this one is empty.

The patch adds a check against "" for the user's free/busy URL at the time the
free/busy info is asked for. This opens the way for the global template to be
used which was impossible before.

Regards,
  Holger


-- System Information:
Debian Release: 5.0.1
  APT prefers proposed-updates
  APT policy: (500, 'proposed-updates'), (500, 'stable')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.26-2-amd64 (SMP w/2 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8) (ignored: LC_ALL set to en_US.utf8)
Shell: /bin/sh linked to /bin/bash

Versions of packages evolution depends on:
ii  dbus                   1.2.1-5           simple interprocess messaging syst
ii  evolution-common       2.22.3.1-1        architecture independent files for
ii  evolution-data-server  2.22.3-1.1        evolution database backend server
ii  gconf2                 2.22.0-1          GNOME configuration database syste
ii  gnome-icon-theme       2.22.0-1          GNOME Desktop icon theme
ii  gtkhtml3.14            3.18.3-1          HTML rendering/editing library - b
ii  libart-2.0-2           2.3.20-2          Library of functions for 2D graphi
ii  libatk1.0-0            1.22.0-1          The ATK accessibility toolkit
ii  libbluetooth2          3.36-1            Library to use the BlueZ Linux Blu
ii  libbonobo2-0           2.22.0-1          Bonobo CORBA interfaces library
ii  libbonoboui2-0         2.22.0-1          The Bonobo UI library
ii  libc6                  2.7-18            GNU C Library: Shared libraries
ii  libcairo2              1.6.4-7           The Cairo 2D vector graphics libra
ii  libcamel1.2-11         2.22.3-1.1        The Evolution MIME message handlin
ii  libdbus-1-3            1.2.1-5           simple interprocess messaging syst
ii  libdbus-glib-1-2       0.76-1            simple interprocess messaging syst
ii  libebook1.2-9          2.22.3-1.1        Client library for evolution addre
ii  libecal1.2-7           2.22.3-1.1        Client library for evolution calen
ii  libedataserver1.2-9    2.22.3-1.1        Utility library for evolution data
ii  libedataserverui1.2-8  2.22.3-1.1        GUI utility library for evolution 
ii  libegroupwise1.2-13    2.22.3-1.1        Client library for accessing group
ii  libexchange-storage1.2 2.22.3-1.1        Client library for accessing Excha
ii  libfontconfig1         2.6.0-3           generic font configuration library
ii  libfreetype6           2.3.7-2           FreeType 2 font engine, shared lib
ii  libgconf2-4            2.22.0-1          GNOME configuration database syste
ii  libglade2-0            1:2.6.2-1         library to load .glade files at ru
ii  libglib2.0-0           2.16.6-1+lenny1   The GLib library of C routines
ii  libgnome-pilot2        2.0.15-2.4        Support libraries for gnome-pilot
ii  libgnome2-0            2.20.1.1-1        The GNOME 2 library - runtime file
ii  libgnomecanvas2-0      2.20.1.1-1        A powerful object-oriented display
ii  libgnomeui-0           2.20.1.1-2        The GNOME 2 libraries (User Interf
ii  libgnomevfs2-0         1:2.22.0-5        GNOME Virtual File System (runtime
ii  libgtk2.0-0            2.12.12-1~lenny1  The GTK+ graphical user interface 
ii  libgtkhtml3.14-19      3.18.3-1          HTML rendering/editing library - r
ii  libhal1                0.5.11-8          Hardware Abstraction Layer - share
ii  libice6                2:1.0.4-1         X11 Inter-Client Exchange library
ii  libldap-2.4-2          2.4.11-1          OpenLDAP libraries
ii  libnm-glib0            0.6.6-3           network management framework (GLib
ii  libnotify1 [libnotify1 0.4.4-3           sends desktop notifications to a n
ii  libnspr4-0d            4.7.1-4           NetScape Portable Runtime Library
ii  libnss3-1d             3.12.0-5          Network Security Service libraries
ii  liborbit2              1:2.14.13-0.1     libraries for ORBit2 - a CORBA ORB
ii  libpango1.0-0          1.20.5-3          Layout and rendering of internatio
ii  libpisock9             0.12.3-5          library for communicating with a P
ii  libpisync1             0.12.3-5          synchronization library for PalmOS
ii  libpng12-0             1.2.27-2+lenny2   PNG library - runtime
ii  libpopt0               1.14-4            lib for parsing cmdline parameters
ii  libsm6                 2:1.0.3-2         X11 Session Management library
ii  libsoup2.4-1           2.4.1-2           an HTTP library implementation in 
ii  libusb-0.1-4           2:0.1.12-13       userspace USB programming library
ii  libx11-6               2:1.1.5-2         X11 client-side library
ii  libxcursor1            1:1.1.9-1         X cursor management library
ii  libxext6               2:1.0.4-1         X11 miscellaneous extension librar
ii  libxfixes3             1:4.0.3-2         X11 miscellaneous 'fixes' extensio
ii  libxi6                 2:1.1.4-1         X11 Input extension library
ii  libxinerama1           2:1.0.3-2         X11 Xinerama extension library
ii  libxml2                2.6.32.dfsg-5     GNOME XML library
ii  libxrandr2             2:1.2.3-1         X11 RandR extension library
ii  libxrender1            1:0.9.4-2         X Rendering Extension client libra
ii  zlib1g                 1:1.2.3.3.dfsg-12 compression library - runtime

Versions of packages evolution recommends:
pn  bogofilter | spamassassin    <none>      (no description available)
pn  evolution-plugins            <none>      (no description available)
ii  evolution-webcal             2.21.92-1   webcal: URL handler for GNOME and 
ii  gnome-desktop-data           2.22.3-2    Common files for GNOME 2 desktop a
pn  gnome-pilot-conduits         <none>      (no description available)
ii  yelp                         2.22.1-8+b1 Help browser for GNOME 2

Versions of packages evolution suggests:
pn  bug-buddy                     <none>     (no description available)
pn  evolution-dbg                 <none>     (no description available)
pn  evolution-exchange            <none>     (no description available)
pn  evolution-plugins-experimenta <none>     (no description available)
pn  gnome-spell                   <none>     (no description available)
ii  gnupg                         1.4.9-3    GNU privacy guard - a free PGP rep
pn  network-manager               <none>     (no description available)

-- no debconf information
-------------- next part --------------
--- calendar/gui/e-meeting-store.c-orig	2009-04-20 16:00:27.249149378 +0200
+++ calendar/gui/e-meeting-store.c	2009-04-20 15:59:39.554148338 +0200
@@ -1175,7 +1175,7 @@
 	default_fb_uri = g_strdup (fbd->fb_uri);
 	fburi = g_strdup (e_meeting_attendee_get_fburi (attendee));
 
-	if (fburi) {
+	if (fburi && !g_str_equal (fburi, "")) {
 		priv->num_queries++;
 		gnome_vfs_async_open (&handle, fburi, GNOME_VFS_OPEN_READ,
 				      GNOME_VFS_PRIORITY_DEFAULT, start_async_read,


More information about the Pkg-evolution-maintainers mailing list