Bug 378228 - KMail hangs when trying to open a MS Outlook calendar (invitation) message
Summary: KMail hangs when trying to open a MS Outlook calendar (invitation) message
Status: REPORTED
Alias: None
Product: kmail2
Classification: Applications
Component: message list (show other bugs)
Version: 5.4.3
Platform: openSUSE Linux
: NOR normal
Target Milestone: ---
Assignee: kdepim bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-03-29 06:44 UTC by René Krell
Modified: 2022-11-03 18:42 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description René Krell 2017-03-29 06:44:43 UTC
Linkage info:
- KDE Frameworks 5.31.0
- Qt 5.7.1 (built against 5.7.1)

If I receive a calendar message (invitation) from MS Outlook via KMail/Akonadi the message window starts showing "retrieving folder contents" and hangs up infinitely.

After that, even on changing to other messages in the message list the message window does not recover from that.

To recover, I have to restart KMail and Akonadi (akonadictl restart), but if the first message to show after restarting KDE is the same calendar message again, the whole problem reappears of course.
Comment 1 René Krell 2017-03-29 06:47:55 UTC
Special headers of the affected message look like this:
---
...
X-MS-Exchange-Organization-AuthAs: Internal
X-MS-Exchange-Organization-AuthMechanism: 04
X-MS-Exchange-Organization-AuthSource: mail.a.company.com
X-MS-Has-Attach:
X-MS-Exchange-Organization-SCL: -1
X-MS-TNEF-Correlator:
acceptlanguage: de-DE
Content-Type: multipart/alternative;
	boundary="_002_F263790328C47E4C80994544E26F19C2017786B9AB73mail_"
MIME-Version: 1.0

 
--_002_F263790328C47E4C80994544E26F19C2017786B9AB73mail_
Content-Type: text/html; charset="utf-8"
Content-Transfer-Encoding: base64
...
---
Comment 2 Laurent Montel 2017-03-29 06:52:55 UTC
I need a test case please
Comment 3 René Krell 2017-03-29 08:46:19 UTC
I cannot attach these mails publically, because they are confidential.
But I might choose one to forward to your mail address if you promise not to make them public, ok?
Comment 4 René Krell 2017-03-29 08:58:25 UTC
It also depends what do you expect as testcase.
Is it enough to forward you a mail causing this problem, and how (inline, as attachment). Or should I save this mail (which format *.eml, *.txt)?
What is the best way for you?
Comment 5 René Krell 2017-03-29 09:04:09 UTC
Just for the record, as a hint:

Thunderbird 45.8.0 does show this kind of messages (TNEF) without any trouble - in header there appears: "This message contains an invitation to an event." with the Decline | Tentative | Accept buttons.

Which probably means this seems not to be an authorization or other integration problem.
Comment 6 Laurent Montel 2017-03-29 12:05:18 UTC
eml format is a good idea :)
Thanks
Comment 7 Laurent Montel 2017-03-29 12:44:37 UTC
Thanks I tested it.
David fixed a bug in 5.5.0
We can open this eml file and see invitation without problem now.
So I think that in new version it will work.

I will delete your testcase
Comment 8 René Krell 2017-03-29 12:45:53 UTC
(In reply to Laurent Montel from comment #7)
> Thanks I tested it.
> David fixed a bug in 5.5.0
> We can open this eml file and see invitation without problem now.
> So I think that in new version it will work.
> 
> I will delete your testcase

Great, thank you.

Do you have any reference to the fix (some Git commit or another issue)?
Comment 9 Laurent Montel 2017-03-29 13:25:06 UTC
akonadi-calendar:
commit 12711617070bae66679d107e270c7fb5a676c154
Comment 10 René Krell 2017-03-29 14:19:02 UTC
(In reply to Laurent Montel from comment #9)
> akonadi-calendar:
> commit 12711617070bae66679d107e270c7fb5a676c154

Aha, ok, finally found it:
https://github.com/KDE/akonadi-calendar/commit/12711617070bae66679d107e270c7fb5a676c154

Thank you.
Comment 11 Justin Zobel 2022-11-03 01:39:55 UTC
Thank you for reporting this issue in KDE software. As it has been a while since this issue was reported, can we please ask you to see if you can reproduce the issue with a recent software version?

If you can reproduce the issue, please change the status to "REPORTED" when replying. Thank you!
Comment 12 René Krell 2022-11-03 18:42:46 UTC
(In reply to Justin Zobel from comment #11)
> Thank you for reporting this issue in KDE software. As it has been a while
> since this issue was reported, can we please ask you to see if you can
> reproduce the issue with a recent software version?
> 
> If you can reproduce the issue, please change the status to "REPORTED" when
> replying. Thank you!

Sorry, I can't tell you any longer, haven't used KDE for a very long time and don't have an instance for testing the fix the next time.

The issue has been probably fixed by the commit mentioned above.

You may close this if you want.