Bug 231388

Summary: Can't create new appointments on Exchange 2003 server with Evolution
Product: [openSUSE] openSUSE 10.2 Reporter: David Walker <David>
Component: EvolutionAssignee: Forgotten User ex4EZfzxBL <forgotten_ex4EZfzxBL>
Status: RESOLVED FIXED QA Contact: A Nagappan <anagappan>
Severity: Blocker    
Priority: P5 - None CC: aj
Version: Final   
Target Milestone: ---   
Hardware: i686   
OS: Other   
Whiteboard:
Found By: Other Services Priority:
Business Priority: Blocker: ---
Marketing QA Status: --- IT Deployment: ---
Attachments: Message received by an invited meeting participant
E2K_DEBUG output
E2K_DEBUG output from evolution-exchange

Description David Walker 2007-01-02 22:36:19 UTC
I am not able to create appointments or meetings in my Exchange calendar from Evolution (2.8.2), either with the New Appointment/Meeting menu options or by dragging over a selected time in the GUI display.  I am able, though, to accept meeting proposals from others.  Here are the Evolution-related packages I have installed:

  evolution-exchange-2.8.2-4
  libopensync-plugin-evolution2-0.20-9
  evolution-2.8.2-4
  evolution-pilot-2.8.2-4
  evolution-sharp-0.12.0-5
  evolution-data-server-1.8.2-5
  beagle-evolution-0.2.12-28

Here are a couple of other unusual things I've noticed:

1.  When I invite someone else to a meeting, the message he received didn't contain a calendar attachment.  I've attached Test.txt, containing the message he received.

2.  While trying to understand what was going on here, I was often unable to access my calendar at all until I exited from Evolution, typed "evolution --force-shutdown", restarted Evolution, and re-entered my Exchange password.  (When this was happening, I wouldn't receive an error message, but the Exchange calendar would be unchecked in the GUI.  Clicking on the empty check box would prompt me for a password, a check would appear in the box for a second, then it would uncheck itself.)
Comment 1 David Walker 2007-01-02 22:39:12 UTC
Created attachment 111336 [details]
Message received by an invited meeting participant
Comment 2 Forgotten User ex4EZfzxBL 2007-02-01 10:05:18 UTC
Please try out the following, 
a) Remove the exchange account from preferences and ensure that the calendars
are removed (by observing the source list in calendar view).
a) Shutdown evolution
$evolution-2.6 --force-shutdown
b) Remove the cache, 
$rm -rf ~/.evolution/exchange
c) Restart evolution and create the exchange account.

If the problem persists, please get us the E2K_DEBUG traces of the
evolution-exchange process and also mention the name of the calendar's which
are failing to load.

As one of the patches had the fix for encoding of the uri's, it requires a deletion of the account and removal of cache inorder to recreate the calendar's. 
Comment 3 David Walker 2007-02-03 00:48:44 UTC
Created attachment 117232 [details]
E2K_DEBUG output
Comment 4 David Walker 2007-02-03 00:55:47 UTC
Removing the Exchange account and delete the cache didn't seem to work, so here's
the E2K_DEBUG output.  The calendar I'm having trouble with is "UCOP Exchange / Calendar".  Note that the calendar does load; I just can't create a new appointment in it.  A new appointment appears at first, but it never shows up on the Exchange server, and no longer appears the next time I run Evolution.

I hope I created the debug output the right way, by the way.  I used:

  E2K_DEBUG=4 evolution

to get it.
Comment 5 Forgotten User ex4EZfzxBL 2007-02-08 12:18:40 UTC
Please provide the traces of evolution-exchange process. Start evolution-exchange in a separate terminal,
$E2k_DEBUG=4 /opt/gnome/lib/evolution/2.8/evolution-exchange-storage/
and run evolution. 
Comment 6 David Walker 2007-02-13 21:03:46 UTC
Created attachment 118967 [details]
E2K_DEBUG output from evolution-exchange

Here's the debug trace you requested.  I had to compress it, as the original was too large to upload to Bugzilla.
Comment 7 Forgotten User ex4EZfzxBL 2007-02-20 12:56:04 UTC
I have been trying to reproduce the bug. But still no luck on it. The calendars get loaded just fine. I have looked into the traces, I do not see the calendar named "UCOP Exchange Calendar" in the traces attached. How many calendar's do you have in your account ? Are you able to view the calendar through OWA ? 
Comment 8 David Walker 2007-02-21 21:32:34 UTC
Just to be clear, the calendar does load; I just can't create a new appointment or meeting in it.  I can even change information for an existing appointment, and accepting meeting invitations works, too.

The name of the calendar within Exchange's hierarchy is "Calendar," and "UCOP Exchange" is what I called our Exchange server when I defined it in Evolution.

In addition to "UCOP Exchange / Calendar," I also have "On This Computer / Personal" and "Contacts / Birthdays & Anniversaries," although neither is selected in the side bar.  I am able to view the calendar in OWA, as well as create appointments through OWA.

Out of curiosity, do I need access to any part of our Windows infrastructure other than OWA for this to work?  I have never been able, for example, to access the Global Address List.  Our Windows people have never "added my computer to AD," as they put it, making me wonder if I don't have access to some required service.  I've never pressed the issue with them, but I'm willing to if it would solve my problem.
Comment 9 Forgotten User ex4EZfzxBL 2007-02-22 08:45:31 UTC
Thank you for the information provided. I have almost nailed down the issue. What is the default timezone set (Edit->Preferences->Calendar and Tasks->TIme zone ?
Comment 10 David Walker 2007-02-23 20:27:35 UTC
Good news.  The time zone is "America/Los_Angeles," and the "Adjust for daylight saving time" box is checked.
Comment 11 Forgotten User ex4EZfzxBL 2007-03-06 11:24:52 UTC
The fix for this is available at https://bugzilla.novell.com/show_bug.cgi?id=251573#c1. I will get this committed to opensuse-10.2 branch.
Comment 12 David Walker 2007-03-06 17:57:59 UTC
Thanks!  I'll look forward to the update.
Comment 13 Srinivasa Ragavan 2007-03-06 18:07:36 UTC
Chen, does this mean that we have push the timezone fix to 10.2 ? 
Comment 14 Forgotten User ex4EZfzxBL 2007-03-07 05:18:21 UTC
(In reply to comment #13)
> Chen, does this mean that we have push the timezone fix to 10.2 ? 
> 
Yes.
Comment 15 Srinivasa Ragavan 2007-03-07 13:18:16 UTC
We need a swamp Id to push this timezone updates to 10.2. https://bugzilla.novell.com/show_bug.cgi?id=251573 has the patch. 
Comment 16 Anja Stock 2007-03-08 16:25:35 UTC
It is the same SWAMPID: 8679 - thank you :-)
Comment 17 Forgotten User ex4EZfzxBL 2007-03-15 19:34:54 UTC
The patch has been submitted to opensuse-10.1, 10.2, sled-10 and sled-10 sp1.
Comment 18 David Walker 2007-03-23 16:36:34 UTC
I just installed the evolution updates that were distributed for openSUSE 10.2 yesterday, but I still can't create new appointments.  After the upgrade, I killed off all of the evolution processes and did "rm -rf .evolution/exchange".  Is there anything else I should do?  Or am I being too impatient, and this is not yet the update I need?

Here are the evolution packages I have installed now:

  evolution-2.8.2-5
  evolution-webcal-2.8.0-26
  evolution-webcal-debuginfo-2.8.0-26
  evolution-data-server-1.8.2-7
  evolution-pilot-2.8.2-5
  evolution-exchange-2.8.2-5
  evolution-sharp-0.12.0-5

Also, by the way, my calendar displays appointments an hour earlier than it should, although this started before the upgrade.
Comment 19 David Walker 2007-03-30 00:27:45 UTC
I just noticed that this bug's status has been changed to resolved, but I'm still having the problem.  Did anyone see my previous post?
Comment 20 Forgotten User ex4EZfzxBL 2007-03-30 10:58:56 UTC
Do you have the following ChangeLog information in the evolution-data-server rpm 
Please run 
$ rpm -q --changelog evolution-data-server |less

ChangeLog information is,
* Thu Mar 08 2007 - pchenthill@novell.com
bnc-251573-timezone-update.diff: Updates the timezone information.
Comment 21 David Walker 2007-03-30 17:32:06 UTC
No, I don't.  My changelog starts with:

  > rpm -q --changelog evolution-data-server |less
  * Fri Feb 09 2007 - sragavan@novell.com
  - SWAMP-ID: 8673
    bnc-222479-keyring-fallback.diff: Fallback to file based password store if
    key ring is not available.

  * Tue Nov 21 2006 - sbrabec@suse.cz
  ...

Do I have the wrong package version installed?
Comment 22 Forgotten User ex4EZfzxBL 2007-03-31 09:39:31 UTC
No. I verified that the updated package with the fix has not been released yet. It  will be released soon. I will updated you once its released.
Comment 23 Forgotten User ex4EZfzxBL 2007-05-04 05:16:03 UTC
The patch update for this has been released for OpenSuse-10.2. You can get it from here, http://www.novell.com/linux/download/updates/102_i386.html.