[Bug 155910] New: mail folder management: old contents blocks changes (major; potential data loss)
Maciej Pilichowski
bluedzins at wp.pl
Wed Jan 16 13:17:23 GMT 2008
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
http://bugs.kde.org/show_bug.cgi?id=155910
Summary: mail folder management: old contents blocks changes
(major; potential data loss)
Product: kmail
Version: unspecified
Platform: SuSE RPMs
OS/Version: Linux
Status: UNCONFIRMED
Severity: normal
Priority: NOR
Component: general
AssignedTo: kdepim-bugs kde org
ReportedBy: bluedzins wp pl
Version: (using KDE 3.5.8)
Installed from: SuSE RPMs
This bug is serious however if user won't panic it is possible to recover from KMail error.
Let's say we have A folder with B, C, D subfolder. We work for a while, KMail stores some data, like indices for those subfolders. Then we delete D.
Some time later we create _A folder with B and C, we move all from B and from C (to B and C in _A). Delete A, rename _A to A.
KMail restart and... B and C are gone. What happened? There was some date about D not deleted from A (on the disk) so A was deleted from KMail but not from disk. Since it was not deleted, rename _A -> A was possible but without B and C (they left in _A structure).
So there are several bugs here:
* KMail keeps some leftovers from deleted subfolders
* KMail does not check if rename is possible
* KMail does not warn about problems with rename
* KMail does not check the integrity of the data (on start at least)
Workaround:
* do not panic
* quit KMail
* find A directory in KMail (on disk)
* delete it
* rename _A directory (containing B and C) to A
* run KMail -- you should be able to see correct A folder with B and C subfolders
More information about the Kdepim-bugs
mailing list