Bug 295893 - Data loss on moving mails from one IMAP folder to another within same IMAP account
Summary: Data loss on moving mails from one IMAP folder to another within same IMAP ac...
Status: RESOLVED UNMAINTAINED
Alias: None
Product: kmail2
Classification: Applications
Component: commands and actions (show other bugs)
Version: 4.8
Platform: openSUSE Linux
: NOR critical
Target Milestone: ---
Assignee: kdepim bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-03-13 04:52 UTC by Claus Wilke
Modified: 2017-01-07 22:35 UTC (History)
1 user (show)

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 Claus Wilke 2012-03-13 04:52:46 UTC
User-Agent:       Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/534.34 (KHTML, like Gecko) konqueror/4.8.0 Safari/534.34
Build Identifier: 

So, after using KMail2 for about 3 months, I've finally been bitten by a data loss bug. I tried to move a moderate number of mails (~40) from one folder to another within the same IMAP account. KMail2 seemed to have copied them correctly, but then didn't display anything when I tried to click on some of the mails in the new folder. (Instead, I just saw the green image that shows up while KMail is connecting to an IMAP account.) After a while of nothing happening, I stopped and restared akonadi. The result was that the mails had disappeared from the original folder but never arrived in the new folder.

This is rather annoying. These were important mails, actually. Why are mails being deleted in the original location when they haven't safely arrived in the new location yet?

Reproducible: Didn't try

Steps to Reproduce:
1. Move mails from one folder to another.
2. Kmail hangs.
3. Stop akonadi.
Actual Results:  
Data loss.

Expected Results:  
Mails arrive safely in new location.
Comment 1 András Manţia 2012-09-29 20:14:34 UTC
Sorry for the late answer about it. We fixed some cases when mail loss could happen. If you still know, can you tell if the account was "offline" when you moved? Did the mails completely disappear or "just" their body disappeared?
Comment 2 Claus Wilke 2012-10-01 06:06:23 UTC
I think what happened is that the network connection got interrupted while the messages were being moved. The messages disappeared from the source folder and they never arrived in the target folder, i.e., they were completely lost.
Comment 3 Denis Kurz 2016-09-24 17:57:01 UTC
This bug has only been reported for versions before 4.14, which have been unsupported for at least two years now. Can anyone tell if this bug still present?

If noone confirms this bug for a Framework-based version of kmail2 (version 5.0 or later, as part of KDE Applications 15.12 or later), it gets closed in about three months.
Comment 4 Denis Kurz 2017-01-07 22:35:41 UTC
Just as announced in my last comment, I close this bug. If you encounter it again in a recent version (at least 5.0 aka 15.08), please open a new one unless it already exists. Thank you for all your input.