Bug 193166 - Message Templates not working after an upgrade from KDE 3.5.x
Summary: Message Templates not working after an upgrade from KDE 3.5.x
Status: RESOLVED INTENTIONAL
Alias: None
Product: kontact
Classification: Applications
Component: general (show other bugs)
Version: 1.4.2
Platform: unspecified Linux
: NOR normal
Target Milestone: ---
Assignee: kdepim bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-05-18 23:24 UTC by Hrishikesh Mehendale (हृषीकेश मेहेंदळे)
Modified: 2013-06-18 07:29 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Hrishikesh Mehendale (हृषीकेश मेहेंदळे) 2009-05-18 23:24:41 UTC
Version:           1.4.2 (using 4.2.2 (KDE 4.2.2), Kubuntu packages)
Compiler:          cc
OS:                Linux (x86_64) release 2.6.28-11-generic

I upgraded from KDE 3.5.x (Ubuntu 7.10), and my email templates no longer work as configured.

I tried configuring the templates via the following:
1. Standard templates (under Settings -> KMail -> Composer -> Standard Templates)
2. Identity specific template (Settings -> KMail -> Identities -> Modify -> Templates)

My configured template for both Reply and Reply All is:
----- begin template -----
%CURSOR
Cheers,
~Hrishi

It was %ODATE %OTIMELONG that the wise %OFROMNAME thus wrote:
%QUOTE
----- end template -----

However, all replies start with the default "On <date> <time> you wrote" (for reply) or "On <date> <time> <Sender> wrote:" for reply all.
Comment 1 Hrishikesh Mehendale (हृषीकेश मेहेंदळे) 2009-05-19 18:18:37 UTC
Strangely enough, after saving the new templates and restarting Kmail, the correct templates are being picked up.

So it seems that
(a) If I upgrade from KDE 3.5.x -> KDE 4.2 the templates don't work till you modify and save them (subject to "c" below).
(b) Saving them will not apply them immediately.
(c) Save the templates and restart Kmail, and the templates will work.
Comment 2 Hrishikesh Mehendale (हृषीकेश मेहेंदळे) 2009-05-19 18:34:50 UTC
After further digging (templates were being picked up only for some folders, which made me look), it seems that an upgrade caused the "Use Custom Templates" flag to be set PER-folder (I'm using D-IMAP with Exchange) using the default templates. (I had never manually set this).
Comment 3 Laurent Montel 2013-06-18 07:29:07 UTC
Can't test it.
I close it (very old version)