After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 615384 - Use contact's free/busy URL only when not empty
Use contact's free/busy URL only when not empty
Status: RESOLVED FIXED
Product: evolution
Classification: Applications
Component: Calendar
2.28.x (obsolete)
Other Linux
: Normal trivial
: ---
Assigned To: evolution-calendar-maintainers
Evolution QA team
Depends on:
Blocks:
 
 
Reported: 2010-04-10 19:05 UTC by noel
Modified: 2010-04-27 12:08 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
Patch (477 bytes, patch)
2010-04-10 19:05 UTC, noel
committed Details | Review

Description noel 2010-04-10 19:05:59 UTC
Created attachment 158383 [details] [review]
Patch

Hello,

a forwarded bug with patch from the Debian bug tracking system:
http://bugs.debian.org/524882

--8<--
From: Holger Mickler <holger.mickler@web.de>
To: Debian Bug Tracking System <submit@bugs.debian.org>
Subject: evolution: Global template does not get used for fetching free/busy
 information
Date: Mon, 20 Apr 2009 16:40:21 +0200

[Message part 1 (text/plain, inline)]

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
--8<--
Comment 1 Milan Crha 2010-04-27 12:00:18 UTC
Thanks for a bug report and a patch. It looks good. I'll commit to master and stable.
Comment 2 Milan Crha 2010-04-27 12:08:04 UTC
Created commit 7c84255 in evo master (2.31.1+)
Created commit ec2008c in evo gnome-2-30 (2.30.2+)
Comment 3 Milan Crha 2010-04-27 12:08:53 UTC
Comment on attachment 158383 [details] [review]
Patch

The is not exactly the patch committed, I changed it slightly, but the idea is the same.