Bug 275745 - "KMail Folders: Cannot add email to folder trash because there is no email content"
Summary: "KMail Folders: Cannot add email to folder trash because there is no email co...
Status: RESOLVED UNMAINTAINED
Alias: None
Product: kmail2
Classification: Applications
Component: commands and actions (show other bugs)
Version: 2.1.0
Platform: Gentoo Packages Linux
: NOR normal
Target Milestone: ---
Assignee: kdepim bugs
URL:
Keywords:
: 275779 (view as bug list)
Depends on:
Blocks:
 
Reported: 2011-06-15 18:16 UTC by Matt Whitlock
Modified: 2017-01-07 22:13 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Matt Whitlock 2011-06-15 18:16:06 UTC
Version:           2.1.0 (using KDE 4.6.3) 
OS:                Linux

Every time I trash a message from my IMAP inbox (whose trash folder is set to the local "KMail Folders/trash" folder), a notification appears that says, "KMail Folders: Cannot add email to folder trash because there is no email content".  However, when I look in that trash folder, the message I trashed is there.  Even if I quit KMail and restart it, the trashed message is still in the trash, so the error notification seems to be wrong.

Reproducible: Always

Steps to Reproduce:
I don't know what preconditions lead up to this scenario, but it happens every time I trash a message from my inbox, which is on an IMAP server.  It also happens if I drag a message from my IMAP inbox to my local trash and choose "Move" (which should theoretically be the same action as selecting the message and clicking the "Move to Trash" button on the toolbar).

Actual Results:  
Error notification appears in popup near system tray that says "KMail Folders: Cannot add email to folder trash because there is no email content".

Expected Results:  
If the "Move to Trash" operation is a success, there should be no error notification displayed.
Comment 1 Matt Whitlock 2011-06-15 18:23:04 UTC
This error notification also appears whenever I send an email, except the folder named in the notification message is "outbox" instead of "trash".  And yet, despite the supposed error, the "outbox" folder shows 1 unread message briefly, and then none, and the message is successfully sent.
Comment 2 Laurent Montel 2012-07-08 17:25:30 UTC
Still valid ?
Comment 3 Laurent Montel 2012-07-08 17:25:39 UTC
*** Bug 275779 has been marked as a duplicate of this bug. ***
Comment 4 Denis Kurz 2016-09-24 17:52:04 UTC
This bug has only been reported for versions before 4.14, which have been unsupported for at least two years now. Can anyone tell if this bug still present?

If noone confirms this bug for a Framework-based version of kmail2 (version 5.0 or later, as part of KDE Applications 15.12 or later), it gets closed in about three months.
Comment 5 Denis Kurz 2017-01-07 22:13:37 UTC
Just as announced in my last comment, I close this bug. If you encounter it again in a recent version (at least 5.0 aka 15.08), please open a new one unless it already exists. Thank you for all your input.