Bug 307016

Summary: No wastebin for Local Folders resource means delete is permanent
Product: [Applications] kontact Reporter: both1970
Component: mailAssignee: kdepim bugs <kdepim-bugs>
Status: RESOLVED FIXED    
Severity: critical    
Priority: NOR    
Version: 4.9.1   
Target Milestone: ---   
Platform: Slackware   
OS: Linux   
Latest Commit: Version Fixed In: 4.10.2

Description both1970 2012-09-19 06:42:33 UTC
It is not possible to specify a Wastebin/Trash folder when using the "Local Maildir Folder" resource. This means that deleting an email causes it to be permanently deleted without warning. If the mail is not in fact deleted, it is not clear where the message is placed after deletion.

I believe that the same situation exists when using the "KMail Mail Folder" resource.

Reproducible: Always
Comment 1 David Faure 2013-03-02 21:18:36 UTC
Git commit 60b1b80f5749b08d63d34b9049a80c9433aaa799 by David Faure.
Committed on 02/03/2013 at 22:18.
Pushed by dfaure into branch 'KDE/4.10'.

The overuse of the [ ] operator on QHashes, lead to storing invalid collections.
Related: bug 285532, bug 303117
FIXED-IN: 4.10.2
REVIEW: 109208

M  +7    -23   akonadi/specialcollections.cpp

http://commits.kde.org/kdepimlibs/60b1b80f5749b08d63d34b9049a80c9433aaa799