Bug 138811 - Remove duplicates deletes emails which are different but have same subject [dataloss]
Summary: Remove duplicates deletes emails which are different but have same subject [d...
Status: RESOLVED UNMAINTAINED
Alias: None
Product: kmail
Classification: Unmaintained
Component: general (show other bugs)
Version: 1.9.5
Platform: unspecified Linux
: NOR grave
Target Milestone: ---
Assignee: kdepim bugs
URL:
Keywords:
: 146230 (view as bug list)
Depends on:
Blocks:
 
Reported: 2006-12-14 17:35 UTC by Cyron
Modified: 2015-04-12 09:49 UTC (History)
2 users (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 Cyron 2006-12-14 17:35:09 UTC
Version:           1.9.5 (using KDE 3.5.5, Kubuntu (edgy) 4:3.5.5-0ubuntu3)
Compiler:          Target: i486-linux-gnu
OS:                Linux (i686) release 2.6.17-10-generic

After a crash cause another bug (already reported) in one folder all mails was twice listed. If i select those mails one of them contains the mail, the second one is empty, with no information.

I thought the remove duplicates function will test which mail is ok and delete the second. But it doesnt! The function only tested the headline and delete one of them. Nearly all of my mails are deleted!

The function should:
-Load the mails which are duplicated and test the mails if them contains data
-(Re)move the duplicated mails only to the recycle bin

Hope this bug is resolved in the near future, this must not happen to another user.
Comment 1 Cyron 2007-02-06 01:00:03 UTC
It's hard to reproduce, cause the data loss will only occur if there were a problems with inconsistency of the mail files. If not, this function will work as expected.

But I think it's very important that this function will check the consistency of the mails with it is going to delete permanently.
Comment 2 Thomas McGuire 2007-06-07 18:25:31 UTC
*** Bug 146230 has been marked as a duplicate of this bug. ***
Comment 3 Michael Pyne 2008-05-28 03:41:54 UTC
I think the button that you want is "Recreate Index" in the context menu for a folder (or similar option), which should remove the empty duplicate messages.

Renaming the summary to make the data loss more apparent.
Comment 4 Jonathan Kolberg 2011-05-08 13:01:47 UTC
Seems like this is still happening in KDEPIM 4.6 beta5
Comment 5 Laurent Montel 2015-04-12 09:49:31 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.