Bug 331389 - Filtering old mails into folder while expiry is processing results in errors
Summary: Filtering old mails into folder while expiry is processing results in errors
Status: RESOLVED UNMAINTAINED
Alias: None
Product: kmail2
Classification: Applications
Component: general (show other bugs)
Version: 4.12.2
Platform: unspecified Linux
: NOR minor
Target Milestone: ---
Assignee: kdepim bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-02-21 18:11 UTC by Paul Eggleton
Modified: 2017-01-07 21:43 UTC (History)
0 users

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 Paul Eggleton 2014-02-21 18:11:39 UTC
If you filter some mails manually, the filters result in mails being moved into folders with expiry rules set up,  the messages are older than the expiry date for the folder, and the expiry processes while the filter is still in the process of moving the messages, you will get some notifications in the detailed progress area reporting "Failed to copy item, it has no message payload. Remote id: xxxxx". 

Reproducible: Sometimes

Steps to Reproduce:
Possibly not easy to reproduce, but here goes:

1. Set up a filter rule that filters messages into a folder
2. Set the expiry on that folder so that some messages matching the filter would be expired if they were in the folder
3. Select the messages, right-click and Apply All filters
4. Open the "detailed progress" area in the bottom right
[expiry for the folder needs to be processing at the same time, not sure how to trigger this but it happens periodically]
Actual Results:  
You may see "Failed to copy item, it has no message payload. Remote id: xxxxx" in the notification in the detailed progress area. No other ill effects observed though.

Expected Results:  
It seems to me that if one part of KMail knows that the expiry is happening then the filter moving ought to be able to handle when the "collision" occurs without reporting any errors (or not try to move the messages anymore?).

This is with folders and messages on an IMAP resource with disconnected mode enabled.
Comment 1 Denis Kurz 2016-09-24 17:54:43 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 2 Denis Kurz 2017-01-07 21:43:01 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.