Bug 310318 - Wrong transport mode picked when reply to an invitation
Summary: Wrong transport mode picked when reply to an invitation
Status: RESOLVED FIXED
Alias: None
Product: kmail2
Classification: Applications
Component: commands and actions (show other bugs)
Version: 4.9.3
Platform: openSUSE Linux
: NOR normal
Target Milestone: ---
Assignee: kdepim bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-11-19 10:29 UTC by Axel Braun
Modified: 2012-11-22 08:06 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In: 4.9.4


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Axel Braun 2012-11-19 10:29:41 UTC
I have various personas on various Email accounts. Lets say Persona A with transport mode (Versandweg) A is the default.
Persona B has a transport mode B. When I receive an invitation (calendar function) on this Email account, and I just hit accept, it picks the right persona for this reply, but takes the default transport mode

Reproducible: Always

Steps to Reproduce:
1. answer an invitation on a non-default mail account (non-defalut persona)
2. 
3.
Actual Results:  
reply is not sent - it is stuck in the outbox due to wrong transport mode

Expected Results:  
Transport mode that belongs to the respective persona is picked for the answer
Comment 1 Laurent Montel 2012-11-20 12:53:44 UTC
'answer an invitation on a non-default mail account (non-defalut persona)' ?
I looked code and it uses address to find correct identity. So perhaps you need to add more infos to reproduce this bug.
Comment 2 Axel Braun 2012-11-20 14:37:12 UTC
OK, I try to explain more verbose:
A is the default persona, using the mailaccount A@mail.com, and the transport mode A (which is the default as well)
B is another persona, using the mailaccount B@mail.com, and the transport mode B (which is defined in the persona)
Both accounts are IMAP with separate folders. The default settings for the inbox of B@mail.com is 'use persona B'
B receives an invitation from external, probably from an exchange account. B accepts the invitation, KMail sends an acknowledgment to the invitor.
Result: Mail is stuck in outbox. When opening, you find that the mail is from Persona B with the transport mode A.
If this does not explain...sent me a PM to set-up a test scenario
Comment 3 Laurent Montel 2012-11-21 14:57:06 UTC
Is it possible to send me in private your email identity config, smtp config and a test example of invitation ?
I need to understand why it doesn't work because in code I can't see bug.
Thanks
Comment 4 Axel Braun 2012-11-21 15:27:07 UTC
Yep. will prepare a case with some screenshots and send it to your @kde-address
Comment 5 Laurent Montel 2012-11-21 21:01:08 UTC
Ok will wait it :)
Comment 6 Laurent Montel 2012-11-22 08:06:52 UTC
Git commit 4e0145d6233e312898d60beca20d79025c91dbab by Montel Laurent.
Committed on 22/11/2012 at 09:05.
Pushed by mlaurent into branch 'KDE/4.9'.

Fix Bug 310318 Wrong transport mode picked when reply to an invitation

and Bud 302344 kmail sends invitation confirmation using wrong smtp
transport

FIXED-IN: 4.9.4
Related: bug 302344

Thanks 	Julian Golderer and "Dr. Axel Braun" to help me to debug it.

(was a error between transport name and transport id)

M  +8    -12   plugins/messageviewer/bodypartformatter/text_calendar.cpp

http://commits.kde.org/kdepim/4e0145d6233e312898d60beca20d79025c91dbab