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 686024 - Accepted meeting request sent as tentative
Accepted meeting request sent as tentative
Status: RESOLVED FIXED
Product: evolution-ews
Classification: Other
Component: Calendar
3.6.x
Other Linux
: Normal normal
: ---
Assigned To: Evolution EWS maintainer(s)
Evolution EWS maintainer(s)
Depends on:
Blocks:
 
 
Reported: 2012-10-12 12:47 UTC by Reid Thompson
Modified: 2013-02-18 17:18 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
Shows that clicking Accept on meeting request exists as Tentative in Exchange (19.59 KB, image/png)
2012-10-12 12:47 UTC, Reid Thompson
  Details
ews patch (1.63 KB, patch)
2012-10-22 12:38 UTC, Milan Crha
committed Details | Review
ews patch ][ (1.59 KB, patch)
2013-02-18 12:40 UTC, Milan Crha
committed Details | Review

Description Reid Thompson 2012-10-12 12:47:10 UTC
Created attachment 226319 [details]
Shows that clicking Accept on meeting request exists as Tentative in Exchange

EVO EWS  accepting calendar request marks time in exchange as tentative, rather than busy. This seems to result in meeting organizers getting 'tentative' as the response from an acceptance.
Comment 1 Milan Crha 2012-10-22 12:05:41 UTC
Thanks for a bug report. I can reproduce it too, thus confirming.
Comment 2 Milan Crha 2012-10-22 12:38:11 UTC
Created attachment 226988 [details] [review]
ews patch

for evolution-ews;

The problem was that the EWS calendar backend didn't find attendee in the meeting, because it had not set user's email address. The Tentative response is used as a fallback, when everything else fails, thus also for cases when no attendee for this account had been found. Reading email address from settings fixes the issue here.
Comment 3 Milan Crha 2012-10-22 12:40:46 UTC
Created commit 8731bfc in ews master (3.7.2+)
Created commit e97adcd in ews gnome-3-6 (3.6.2+)
Comment 4 Sylvain Lavoie 2013-01-11 04:45:38 UTC
(In reply to comment #3)
> Created commit 8731bfc in ews master (3.7.2+)
> Created commit e97adcd in ews gnome-3-6 (3.6.2+)

Hello,

I'm also having this issue with Evolution 3.2.3.  Was there any plan to back port this fix to earlier Evolution versions?

Thanks
Sylvain
Comment 5 Matthew Barnes 2013-01-11 05:11:14 UTC
(In reply to comment #4)
> I'm also having this issue with Evolution 3.2.3.  Was there any plan to back
> port this fix to earlier Evolution versions?

No.
Comment 6 deepak.dasgupta 2013-02-08 12:57:03 UTC
(In reply to comment #3)
> Created commit 8731bfc in ews master (3.7.2+)
> Created commit e97adcd in ews gnome-3-6 (3.6.2+)

Hi,

How to install this patch on 3.6.3 evolution ? is there some rpm available with this patch ?

Thanks /Deepak
Comment 7 Milan Crha 2013-02-08 14:04:17 UTC
hi, the fix came into evolution-ews 3.6.2, thus you have it in 3.6.3, supposing you talk about evolution-ews, not evolution (check the package version, please). If it doesn't work, then there is either more things to be fixed, though it works for me as expected. Just in case, did you restart evolution-calendar-factory (it's tricky, whole machine restart is better) after you updated evolution-ews?
Comment 8 deepak.dasgupta 2013-02-08 14:10:00 UTC
Hi,

Thanks for response. Yes I restarted the whole Notebook as well but still I see that the calendar response goes back as tentative. 
My package manager (for evolution-ews) in opensuse shows 3.6.3-1.2. 

Please note that I have 64 bits machine.

Let me know if further information is needed.

Thanks /Deepak
Comment 9 Milan Crha 2013-02-08 15:11:20 UTC
Hmm, it should basically work. Could you try this, please:
a) close evolution
b) run on console:
   $ EWS_DEBUG=2 /usr/libexec/evolution-calendar-factory -w &>log.txt
c) run evolution
d) reply to a (test) meeting request in other than Tentative status
e) close evolution
f) the log.txt file should contain something like "AcceptItem", "DeclineItem"
   or "TentativelyAcceptItem" string (without quotes). The evolution-ews
   doesn't know any other values, and if there is used a different value,
   then it responses like a tentative was chosen.
Comment 10 deepak.dasgupta 2013-02-08 20:35:48 UTC
Hi,

I see that if I set the calendar as 'personal' on local , this works OK and
goes as Accepted. But If I set the calendar as the outlook, this goes as
Tentative.
In log file I could not find these terms as seems the data is encoded in
the soap xml.

Is it something to do with the version of the outlook server ?

/Deepak
Comment 11 Milan Crha 2013-02-11 10:09:02 UTC
I hope not, I also use https to connect to my exchange server, and I see there the XML data properly.  Would you mind to send me the log you captured, please? Only name the bug number/link in the message Subject, thus I'll not overlook it in my junk folder.
Comment 12 deepak.dasgupta 2013-02-14 21:07:16 UTC
Hi,

Sent log file to your email address. Thanks for checking.

Best Regds,

/Deepak
Comment 13 Milan Crha 2013-02-15 10:30:52 UTC
Thanks for the log, I got to it only today (other work was more important for the Monday release). I see in the log that the response was sent as tentative. I see I wrote wrong version in comment #3, it's part of evolution-ews-3.6.1 already, it wasn't introduced in 3.6.2+ (3.6.3 actually, as 3.6.2 was skipped).

I'd say, from the fix, that your ews calendar doesn't have set email address properly for some reason. Finding the correct .source file in ~/.cache/evolution/sources or ~/.config/evolution/sources is pretty bad, then I'd suggest if you could try to remove the EWS account, close evolution, then best also restart the machine, and then add a new EWS account to evolution, which should have the email address properly set.

Another option is, that the meeting invitation doesn't contain your email address, the one you have set in EWS account's Properties. I'd check this first, before you remove your current EWS cache.
Comment 14 deepak.dasgupta 2013-02-15 12:14:36 UTC
Hi,

Thanks for the input. I looked bit more into the sources files and could see that the email configured is deepak.dasgupta@companyname.com and when I saw the invitation the mail came as deepak.dasgupta@Companyname.com (note the capital C)

Not sure if this was the case or not but I updated the settings accordingly and now i tested one and it went OK it seems !

Thanks and nice weekend !

/Deepak 


PS : I have another problem with evolution that the compose window is not formatting messages in webKit and spoils the format but thats different are I believe ...
Comment 15 Milan Crha 2013-02-18 12:40:21 UTC
Created attachment 236584 [details] [review]
ews patch ][

for evolution-ews;

Be more forgiving with the invitation response status pairing with user's account. It does two things:
a) checks email address case insensitively
b) if even that fails, and there is only one attendee (the invitation
   responses usually have only one attendee), then pick that one's response.
Comment 16 Milan Crha 2013-02-18 12:45:38 UTC
(In reply to comment #14)
> PS : I have another problem with evolution that the compose window is not
> formatting messages in webKit and spoils the format but thats different are I
> believe ...

Evolution doesn't use webkit for message composer, yet (see bug #540362), and you are right, better not fill this bug report with more issues.

---------------------------------------------------------------------------

Created commit 3c932e9 in ews master (3.7.91+)
Created commit c48d513 in ews gnome-3-6 (3.6.4+)
Comment 17 deepak.dasgupta 2013-02-18 14:33:04 UTC
Thanks for the fix. Will it be available in opensuse 12.2 via update ?

BR, /Deepak
Comment 18 deepak.dasgupta 2013-02-18 14:38:57 UTC
Hi,

I think this is the right place to log the issue. When I accept the invitation, the invitation does not get removed from inbox, although the check box is there to delete invitation.

Is there something I missed in my settings ?

Thanks /Deepak
Comment 19 Milan Crha 2013-02-18 17:18:44 UTC
(In reply to comment #17)
> Thanks for the fix. Will it be available in opensuse 12.2 via update ?

I do not know, it depends on those who update packages in opensuse.

(In reply to comment #18)
> I think this is the right place to log the issue. When I accept the invitation,
> the invitation does not get removed from inbox, although the check box is there
> to delete invitation.

Well, this is about "Accept meeting as tentative", not about "doesn't delete message after response automatically". Anyway, where 'there'? Edit->Preferences->Calendar and Tasks->Meeting invitations->Delete message after acting?