Bug 265833 - new kmail component does not recognize outlook appointments
Summary: new kmail component does not recognize outlook appointments
Status: RESOLVED DOWNSTREAM
Alias: None
Product: kmail2
Classification: Applications
Component: general (show other bugs)
Version: 2.0.89
Platform: Gentoo Packages Linux
: NOR normal
Target Milestone: ---
Assignee: kdepim bugs
URL:
Keywords:
: 270290 271812 (view as bug list)
Depends on:
Blocks:
 
Reported: 2011-02-08 19:40 UTC by Ian Hubbertz
Modified: 2011-06-17 21:29 UTC (History)
5 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments
row source of invitation send from outlook (5.46 KB, message/rfc822)
2011-02-23 02:24 UTC, jlj.babydragon
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Ian Hubbertz 2011-02-08 19:40:59 UTC
Version:           4.6 beta4 (using KDE 4.6.0) 
OS:                Linux

I sent an outlook appointment invitation to my private email. kontact/Kmail2 shows the message as full text only, but does not allow to add the appointment to my calendar.

Reproducible: Always
Comment 1 Christophe Marin 2011-02-08 22:58:34 UTC
Can you attach a mail with such invitation ? Thanks.
Comment 2 jlj.babydragon 2011-02-23 02:24:42 UTC
Created attachment 57455 [details]
row source of invitation send from outlook

mail2 shows the message as full text only
Comment 3 jlj.babydragon 2011-02-25 05:10:02 UTC
I have the same problem.
Comment 4 jlj.babydragon 2011-03-27 10:15:00 UTC
I just upgrade kdepim to 4.5.94.1, kmail still show invitation as plain text. I could not accept all invitations nor add them to calendar.
Comment 5 jlj.babydragon 2011-04-22 03:44:15 UTC
Update to kdepim4.5.95(kmail 2.0.95), this problem still exist.
Comment 6 Florian Evers 2011-04-26 23:35:40 UTC
*** Bug 271812 has been marked as a duplicate of this bug. ***
Comment 7 Sergio Martins 2011-04-26 23:39:48 UTC
A few fixes fromo komo3 branch were merged on the weekend.

It's working now for me.
Comment 8 jlj.babydragon 2011-04-27 13:03:37 UTC
(In reply to comment #7)
> A few fixes fromo komo3 branch were merged on the weekend.
> 
> It's working now for me.

You mean the fixes were merged into master branch?  I just update kdepim to gentoo kdepim-4.6.9999 (clone from git://anongit.kde.org/kdepim, the master branch), this problem still occur.
Comment 9 Florian Evers 2011-05-11 23:19:52 UTC
I can confirm that this bug is still _not_ fixed in the 4.6.9999 branch fetched with git. Perhaps a 4.6 branch was forked, and the bugfix was only introduced to the new development branch (4.7?)?

If my assumption is correct... would it be possible to backport the aforementioned patches? Else, this would indicate that the bug is related to something different.

Thanks,
Florian
Comment 10 Tobias Koenig 2011-06-04 14:30:20 UTC
Hej,

this bug is fixed in current master branch.
When opening the attached email, the buttons for accepting/rejecting the invitation are shown correctly.

Ciao,
Tobias
Comment 11 jlj.babydragon 2011-06-07 06:44:21 UTC
I updated kdepim to master branch, this problem still occur. I have tried to receive invitations which send from outlook or google calendar, kmail still show invitation as plain text. 
(In reply to comment #10)
> Hej,
> 
> this bug is fixed in current master branch.
> When opening the attached email, the buttons for accepting/rejecting the
> invitation are shown correctly.
> 
> Ciao,
> Tobias
Comment 12 Sergio Martins 2011-06-07 16:38:39 UTC
(In reply to comment #11)
> I updated kdepim to master branch, this problem still occur. I have tried to
> receive invitations which send from outlook or google calendar, kmail still
> show invitation as plain text. 

Can you send me one invitation from outlook, to my e-mail ?
Comment 13 meyerm 2011-06-17 00:13:10 UTC
At least KMail 2.1.0 (from KDEPIM 4.6.0/gentoo packages) is not able to handle invitations/calendar events anymore.

@Sergio: Did you already get the requested invitation?
Comment 14 Sergio Martins 2011-06-17 00:24:05 UTC
(In reply to comment #13)
> At least KMail 2.1.0 (from KDEPIM 4.6.0/gentoo packages) is not able to handle
> invitations/calendar events anymore.
> 
> @Sergio: Did you already get the requested invitation?

I got it, and it worked fine.

Would be great if someone with C++ skills debugged this issue, since none of the developers can reproduce this.

kdepim/plugins/messageviewer/bodypartformatter/text_calendar.cpp is a good starting point.
Comment 15 Florian Evers 2011-06-17 09:16:19 UTC
I confirm this as well, the newest KDEPIM 4.6.0 build within gentoo is not able to display appointments. I created a new test user, just added the IMAP connector to my mail server, and opened my test invitation. I only see the raw text.

Florian
Comment 16 Sergio Martins 2011-06-17 10:38:23 UTC
Everyone using gentoo ?
Comment 17 Florian Evers 2011-06-17 14:13:29 UTC
It's likely a Gentoo bug. I unpacked the whole tarball, und found the aforementioned file text_calendar.cpp. Unfortunately, this file seems not to be extracted by any of Gentoo's KDEPIM ebuilds. At least I unpacked the follwing packages (with "ebuild $PATH_TO_EBUILD unpack") and tried to locate the file:

wesley kde-base # ls -al
insgesamt 0
drwxrwxr-x 11 portage portage 368 17. Jun 14:06 .
drwxrwxr-x  3 portage portage  72 17. Jun 14:06 ..
drwxrwxr-x  6 portage portage 280 17. Jun 14:03 kabcclient-4.6.0
drwxrwxr-x  6 portage portage 280 17. Jun 14:06 kaddressbook-4.6.0
drwxrwxr-x  6 portage portage 280 17. Jun 14:04 kalarm-4.6.0
drwxrwxr-x  6 portage portage 280 17. Jun 13:58 kdepim-common-libs-4.6.0
drwxrwxr-x  6 portage portage 280 17. Jun 13:57 kdepim-kresources-4.6.0
drwxrwxr-x  6 portage portage 280 17. Jun 13:59 kdepimlibs-4.6.4
drwxrwxr-x  6 portage portage 280 17. Jun 14:00 kdepim-runtime-4.6.0
drwxrwxr-x  6 portage portage 280 17. Jun 13:50 kmail-4.6.0
drwxrwxr-x  6 portage portage 280 17. Jun 14:05 korganizer-4.6.0
wesley kde-base # find -type f -iname "text_cal*"
wesley kde-base #

Nothing. Either I missed the correct package, or it is simply not extracted and thus not compiled. I'm going to open a gentoo bugreport... wait for the link.

Florian
Comment 18 Florian Evers 2011-06-17 14:26:44 UTC
Okay, lets wait for a response! :-)
http://bugs.gentoo.org/show_bug.cgi?id=372039

Regards,
Florian
Comment 19 Sergio Martins 2011-06-17 15:31:01 UTC
*** Bug 270290 has been marked as a duplicate of this bug. ***
Comment 20 Florian Evers 2011-06-17 21:08:13 UTC
Hi,

This problem is really a gentoo bug, but a fix for the responsible ebuild is already available, and the move to the main portage tree hopefully just a matter of days or hours! :-D

Can be closed now :-)

Regards,
Florian