Bug 252974 - Mail loss due to race condition when renaming a folder while syncing with disconnected IMAP
Summary: Mail loss due to race condition when renaming a folder while syncing with dis...
Status: RESOLVED UNMAINTAINED
Alias: None
Product: kmail
Classification: Applications
Component: IMAP (show other bugs)
Version: 1.13.5
Platform: Fedora RPMs Linux
: NOR major
Target Milestone: ---
Assignee: kdepim bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-10-01 23:47 UTC by Christoph Wickert
Modified: 2015-04-12 10:19 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Christoph Wickert 2010-10-01 23:47:47 UTC
Version:           1.13.5 (using KDE 4.4.5) 
OS:                Linux

Renaming a folder of disconnected IMAP while it is syncing may result in loss of email.

Reproducible: Always

Steps to Reproduce:
1. Have a big Inbox with subfolders
2. Have some folders in a subfolder
3. Rename this folder while syncing
4. Popup appears and tells me that the (old) folder not available or writable and ask whether I want to move the messages to another folder or not.
5. Select "Move to another folder".
6. Select the 'new' (renamed) folder as target.

Actual Results:  
7. When syncing has finished, the new/renamed folder is no longer in the tree view because it is not subscribed.
8. Serverside subscriptions -> subscribe to the renamed folder again
9. Folder is back in the tree view, but empty.

Expected Results:  
7. Folder should be in the tree view
8. Folder should be subscribed all the time
9. Messages should be in place.
Comment 1 Christoph Wickert 2010-10-01 23:49:05 UTC
(In reply to comment #0)
> 2. Have some folders in a subfolder

Of course that should read "Have some *mails* in a subfolder.
Comment 2 Christoph Wickert 2010-10-01 23:50:55 UTC
See also: bug 234160, this is what I describe in step 8.
Comment 3 Christoph Wickert 2010-10-02 10:45:01 UTC
See also: bug 253000, a filter on the renamed folder broke.
Comment 4 Laurent Montel 2015-04-12 10:19:17 UTC
Thank you for taking the time to file a bug report.

KMail2 was released in 2011, and the entire code base went through significant changes. We are currently in the process of porting to Qt5 and KF5. It is unlikely that these bugs are still valid in KMail2.

We welcome you to try out KMail 2 with the KDE 4.14 release and give your feedback.