Bug 291601

Summary: KMail deletes folder properties and identities custom folders if server unavailable
Product: [Applications] kmail2 Reporter: Tom Chiverton <bugs.kde.org>
Component: foldersAssignee: kdepim bugs <kdepim-bugs>
Status: RESOLVED UNMAINTAINED    
Severity: major CC: Martin
Priority: NOR    
Version First Reported In: 1.99.0   
Target Milestone: ---   
Platform: Ubuntu   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Tom Chiverton 2012-01-15 18:29:32 UTC
Version:           1.99.0 (using KDE 4.7.4) 
OS:                Linux

My IMAP server was recently unavailable. As part of trouble shooting this I changed a few settings in the server's properties with in KMail, such as PLAIN vs CRAM-MD5 and port number.
At some point, KMail decided, by way of a dialogue box 'there was a problem accessing this resource' and removed the server and folders from KMail.
I closed KMail and fixed the server issues, then went into system settings, personal info, located the server and pressed 'modify' to put the settings back to their original values.
I started KMail, the hard drive went nuts, and various Kmail/Nepomuk process came top of 'top' (load average of 8).

I noticed my 'local subscriptions' were missing. I also confirmed my per-folder sort and identity settings had been removed.
My identities default 'sent' folders are also all now invalid, when I select them in the KMail settings I am told, and I have to reset them all to the places I want on the remote server. 

Reproducible: Didn't try

Steps to Reproduce:
See above


Expected Results:  
As long as the Akondi resource isn't removed, neither should the settings in Kmail. 
If the Akondi resource is removed, and a new one created with the same basic structure, KMail should try to preserve the old settings on the new server (optionally).

OS: Linux (i686) release 3.1.0-0301rc9-generic
Compiler: gcc
Comment 1 Martin Steigerwald 2015-09-08 19:50:50 UTC
Tom, thank you for your report. It is about a version of KDEPIM that still used Nepomuk. It is no longer maintained. If it still happens with a recent version of KDEPIM please feel free to reopen. Thanks, Martin