Bug 165968

Summary: Duplicate Custom Template entry, crash when deleting.
Product: [Applications] kmail Reporter: Shem Valentine <kdebugs>
Component: generalAssignee: kdepim bugs <kdepim-bugs>
Status: RESOLVED FIXED    
Severity: crash    
Priority: NOR    
Version: 1.9.52   
Target Milestone: ---   
Platform: unspecified   
OS: Other   
Latest Commit: Version Fixed In:

Description Shem Valentine 2008-07-07 20:48:40 UTC
Version:           1.9.52 (using KDE 4.0.83)
Installed from:    Unlisted Binary Package
OS:                Other

When adding a Custom Template in the main Composing dialog, after applying and reopening the section, the Template will be listed twice.  If you then edit either of the two duplicate templates, after and apply and reopen you will then have 4 duplicate templates.

Deleting any of the duplicates or editing the Template Type, will result in a crash.
Comment 1 Christophe Marin 2008-07-08 16:40:05 UTC
Please read the following page and provide a backtrace for this crash : http://techbase.kde.org/Development/Tutorials/Debugging/How_to_create_useful_crash_reports
Comment 2 Thomas McGuire 2008-07-08 19:08:18 UTC
SVN commit 829569 by tmcguire:

Don't call load() twice (it is already called by the KCM logic, when the KCM
is shown).

This prevents custom templates appearing twice.

BUG:165968


 M  +0 -8      configuredialog.cpp  


WebSVN link: http://websvn.kde.org/?view=rev&revision=829569