Bug 414839 - Folder expiration not automatic
Summary: Folder expiration not automatic
Status: RESOLVED FIXED
Alias: None
Product: kmail2
Classification: Applications
Component: folders (show other bugs)
Version: 5.12.3
Platform: Other Linux
: NOR normal
Target Milestone: ---
Assignee: kdepim bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2019-12-04 22:14 UTC by Thiago Macieira
Modified: 2019-12-08 14:31 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed In: 5.13.0
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Thiago Macieira 2019-12-04 22:14:51 UTC
SUMMARY
I have two folders set to expire all emails in 30 days. There are emails in the folder older than that, the expiration is not happening automatically as it used to.

If I got to the Folder Properties dialog and click "Save Settings and Expire Now", then KMail does expire.

STEPS TO REPRODUCE
1. Move some old emails to a folder
2. Set an expiry timeline shorter than the age of those emails
  (note: I'm using Move expired messages to folder option)
3. Wait 24 hours

OBSERVED RESULT
Emails are still in the folder.

EXPECTED RESULT
Emails got expired.

SOFTWARE/OS VERSIONS
Linux/KDE Plasma: openSUSE Tumbleweed 20191128
KDE Plasma Version: 5.17.3
KDE Frameworks Version: 5.64.0
Qt Version: 5.13.1
Akonadi: 5.12.3

ADDITIONAL INFORMATION
Comment 1 Laurent Montel 2019-12-05 15:57:04 UTC
I will investigate soon
Comment 2 Laurent Montel 2019-12-06 07:51:00 UTC
Git commit 50c4c271080a144fd645892081c0f623aee2e6b2 by Laurent Montel.
Committed on 06/12/2019 at 07:50.
Pushed by mlaurent into branch 'release/19.12'.

Fix Bug 414839 - Folder expiration not automatic

FIXED-IN: 5.13.0

M  +3    -3    src/folder/foldercollectionmonitor.cpp

https://commits.kde.org/mailcommon/50c4c271080a144fd645892081c0f623aee2e6b2