Bug 385526

Summary: recent changes broke multipart display
Product: [Applications] kmail2 Reporter: Martin Koller <martin>
Component: generalAssignee: kdepim bugs <kdepim-bugs>
Status: RESOLVED FIXED    
Severity: normal    
Priority: NOR    
Version First Reported In: Git (master)   
Target Milestone: ---   
Platform: Other   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:
Attachments: test mail not showing html

Description Martin Koller 2017-10-09 17:51:44 UTC
Created attachment 108253 [details]
test mail not showing html

I just updated to git master (previous version was from about 2-3 weeks ago).
Now multipart/alternative mails no longer show the HTML content.
In fact no body is shown at all and kmail says in the side-bar label "No HTML Message"

Example mail attached.
Comment 1 Volker Krause 2017-10-13 18:35:02 UTC
Git commit a6350d00764f7016924a796455fa8c68d044aecb by Volker Krause.
Committed on 13/10/2017 at 18:34.
Pushed by vkrause into branch 'master'.

Only generate a message part for the type we can handle

This is combination of the changes in 8f4bb67988 and 33bbdbb33. This is
needed as we can end up here for sub-types of multipart/mixed, which we
don't want to handle at all.

M  +3    -1    plugins/messageviewer/bodypartformatter/gnupgwks/gnupgwksformatter.cpp

https://commits.kde.org/kdepim-addons/a6350d00764f7016924a796455fa8c68d044aecb