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

S. Burmeister sven.burmeister at gmx.net
Mon Dec 12 12:08:11 GMT 2011


https://bugs.kde.org/show_bug.cgi?id=288792

           Summary: data loss: kmail2 must not use existing [Folder-xy]
                    settings on random new folders
           Product: kmail2
           Version: unspecified
          Platform: openSUSE RPMs
        OS/Version: Linux
            Status: UNCONFIRMED
          Severity: major
          Priority: NOR
         Component: general
        AssignedTo: kdepim-bugs at kde.org
        ReportedBy: sven.burmeister at gmx.net


Version:           unspecified (using KDE 4.7.2) 
OS:                Linux

If this is more of an akonadi issue please re-assign.

If one removes a resource kmail2rc keeps its [Folder-xy] settings including
expiration settings. If one adds a new resource kmail2 will re-use those
settings for the new folders.

This means that some folder of the new resource is expired although the user
never set any expiration for it and hence loses data.

Kmail keeping old settings or to be more precise, not using unique-IDs for
folders does also result in filters filtering to wrong folders instead of
having no destination because the destination folder was removed and the new
one just happens to get the same number when a new resource was added.

Reproducible: Didn't try

Steps to Reproduce:
Have lots of folders in different resources.
Check kmail2rc and its [Folder-xy] settings
Remove a resource via systemsettings > personal information while kmail2 is not
running
Add another resource with different but the same number of folders


Actual Results:  
Open kmail2 and see that it happily applies the settings for the old folders to
the new resource.

Expected Results:  
Never ever use folder settings on a folder they do not belong to.
Use unique IDs or something else to guarantee that this does not happen

-- 
Configure bugmail: https://bugs.kde.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.



More information about the Kdepim-bugs mailing list