[kmail2] [Bug 362958] After update KMail not interpreting Invite Emails

2016-07-22 Thread Volker Christian via KDE Bugzilla
https://bugs.kde.org/show_bug.cgi?id=362958

--- Comment #33 from Volker Christian  ---
(In reply to Fabian Vogt from comment #32)
> Created attachment 100243 [details]
> Test mail with invitation
> 
> Here is a multipart/alternative mail that fails to display properly.

The patch in comment 24 handles this mail correctly.

-- 
You are receiving this mail because:
You are the assignee for the bug.
___
Kdepim-bugs mailing list
Kdepim-bugs@kde.org
https://mail.kde.org/mailman/listinfo/kdepim-bugs


[kmail2] [Bug 362958] After update KMail not interpreting Invite Emails

2016-07-22 Thread Volker Christian via KDE Bugzilla
https://bugs.kde.org/show_bug.cgi?id=362958

--- Comment #31 from Volker Christian  ---
(In reply to Sandro Knauß from comment #29)
> @craig: I cant reproduce this problem with korganizer (5.2.2) as sender of
> the mail.
> I see correctly the invitation inside kmail.
> Keep in mind, that you need kdepim-addons installed for displaying the
> invitations. 
> So please upload a wrongly displayed email, so that I am able to reproduce
> the issue.
> 
> Content-Type: multipart/mixed; boundary="nextPart1"
> MIME-Version: 1.0
> 
>  --nextPart1
> Content-Type: text/plain; charset="utf-8"
> Content-Transfer-Encoding: quoted-printable
> Content-Disposition: inline
> 
> Some text describing the calendar
> 
> --nextPart1
> Content-Type: text/calendar; charset="utf-8"; method="request";
> name="cal.ics"
> Content-Disposition: attachment
> Content-Transfer-Encoding: quoted-printable
> 
> BEGIN:VCALENDAR
> [...]
> END:VCALENDAR
> 
> --nextPart1--

That you can not reproduce the problem is due do that fact that the
content-type of this mail is multipart/mixed which is handled correctly in
messagelib. The content-type which is not handled correctly is
multipart/alternative.

-- 
You are receiving this mail because:
You are the assignee for the bug.
___
Kdepim-bugs mailing list
Kdepim-bugs@kde.org
https://mail.kde.org/mailman/listinfo/kdepim-bugs


[kmail2] [Bug 362958] After update KMail not interpreting Invite Emails

2016-07-16 Thread Volker Christian via KDE Bugzilla
https://bugs.kde.org/show_bug.cgi?id=362958

--- Comment #25 from Volker Christian  ---
(In reply to Fabian Vogt from comment #23)
> I investigated a bit more:
> When the mail contains only the text/calendar node, it's shown as expected.
> The issue is that in a multipart/alternative handling, it only cares about
> text/plain and text/html.
> If one of those is present, it's displayed and everything else is ignored.
> I have no idea how a proper fix looks like, for now I changed the "break;"
> in messageviewer/src/viewer/objecttreeparser.cpp:352 to a "continue;", to
> always display all mail nodes, including text/calendar. This works well for
> me as I'm mostly working with plaintext mails and calendar invitations
> anyway.

I found a more proper fix directly in the multipart/alternative handling. This
is sure not the philosopher's stone. Nevertheless, it works for me also for
html-mails. The patch is in comment 24. Be aware, that the patch is not well
formated - it is only for testing.

-- 
You are receiving this mail because:
You are the assignee for the bug.
___
Kdepim-bugs mailing list
Kdepim-bugs@kde.org
https://mail.kde.org/mailman/listinfo/kdepim-bugs


[kmail2] [Bug 362958] After update KMail not interpreting Invite Emails

2016-07-16 Thread Volker Christian via KDE Bugzilla
https://bugs.kde.org/show_bug.cgi?id=362958

--- Comment #24 from Volker Christian  ---
Created attachment 100130
  --> https://bugs.kde.org/attachment.cgi?id=100130&action=edit
Fix Multipart Handling

-- 
You are receiving this mail because:
You are the assignee for the bug.
___
Kdepim-bugs mailing list
Kdepim-bugs@kde.org
https://mail.kde.org/mailman/listinfo/kdepim-bugs


[kmail2] [Bug 362958] After update KMail not interpreting Invite Emails

2016-06-23 Thread Volker Christian via KDE Bugzilla
https://bugs.kde.org/show_bug.cgi?id=362958

Volker Christian  changed:

   What|Removed |Added

 CC||volker.christian@fh-hagenbe
   ||rg.at

--- Comment #19 from Volker Christian  ---
Any news about this bug! It is a showstopper for me using kdepim 16.04 as I
need this feature urgently!

-- 
You are receiving this mail because:
You are the assignee for the bug.
___
Kdepim-bugs mailing list
Kdepim-bugs@kde.org
https://mail.kde.org/mailman/listinfo/kdepim-bugs