[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Fwd: [Kde-pim] Data loss: kmail2 must not use existing [Folder-xy] settings on random new folders



Hi Debian Qt/KDE team!

Please make sure that when you package KMail 2 the fix for

Bug 288792 - data loss: kmail2 must not use existing [Folder-xy] settings 
on random new folders

https://bugs.kde.org/288792

http://lists.kde.org/?l=kde-pim&m=132368796708381&w=2

is included.

Officially the fix is included in 4.8.

Many thanks,
Martin

----------  Weitergeleitete Nachricht  ----------

Subject: [Kde-pim] Data loss: kmail2 must not use existing [Folder-xy] 
settings on random new folders
Date: Montag, 12. Dezember 2011
From: Sven Burmeister <sven.burmeister@gmx.net>
To: KDE PIM <kde-pim@kde.org>

Hello everyone!

What just happened to me.

I removed a kmail-folders resource pointing to ~/Mail and added a maildir-
resource pointing to ~/Mail.

I did this via systemsettings i.e. kmail was closed.

When I restarted kmail and refreshed the folders I suddenly saw that kmail 
had 
deleted ~6000 mails off my sent folder which was part of that new resource.

I had not set any expiration settings for tha folder, neither when it was 
accessed via the kmail-folders resource nor the maildir resource.

Having a look at kmail2rc I see that it contains lots of [Folder-xy] 
including 
expiration settings.

So my guess and this happens with filters as well, is that kmail just 
assigns 
a new number to the new folders of the new resource and keeps the settings 
if 
that number already existed.

This must never ever happen!

The easiest that comes to my mind is giving each resource a unique-id and 
using that as part of the folder's settings guaranteeing that settings for 
folder a will never be applied to folder b.

This is KDE 4.7.2 plus some patches on openSUSE 12.1.

Sven
_______________________________________________
KDE PIM mailing list kde-pim@kde.org
https://mail.kde.org/mailman/listinfo/kde-pim
KDE PIM home page at http://pim.kde.org/

-------------------------------------------------------

-- 
Martin 'Helios' Steigerwald - http://www.Lichtvoll.de
GPG: 03B0 0D6C 0040 0710 4AFA  B82F 991B EAAC A599 84C7


Reply to: