https://bugs.kde.org/show_bug.cgi?id=427800
Bug ID: 427800 Summary: Handler exception when handling command FetchItems on connection Archive Mail Kernel ETM Product: Akonadi Version: 5.15.2 Platform: Other OS: FreeBSD Status: REPORTED Severity: normal Priority: NOR Component: server Assignee: kdepim-b...@kde.org Reporter: vend...@gmail.com Target Milestone: --- SUMMARY When deleting emails from Kmail2, sometimes a few seconds after deleting the email it shows back up in the message list. When trying to select the message again I see the following error in Kmail "Item query returned empty result set". Running akonadi in the forground with `akonadictl start` I see the following in the STDOUT/STDERR <code> org.kde.pim.akonadiserver: Handler exception when handling command FetchItems on connection Archive Mail Kernel ETM (0x803849960) : Item query returned empty result set org.kde.pim.akonadiserver: Handler exception when handling command FetchItems on connection MailFilter Kernel ETM (0x803849880) : Item query returned empty result set org.kde.pim.akonadiserver: Handler exception when handling command FetchItems on connection KMail Kernel ETM (0x803848000) : Item query returned empty result set "Item query returned empty result set" "Item query returned empty result set" org.kde.pim.akonadiserver: Handler exception when handling command FetchItems on connection Archive Mail Kernel ETM (0x803849960) : Item query returned empty result set org.kde.pim.akonadiserver: Handler exception when handling command FetchItems on connection MailFilter Kernel ETM (0x803849880) : Item query returned empty result set org.kde.pim.akonadiserver: Handler exception when handling command FetchItems on connection KMail Kernel ETM (0x803848000) : Item query returned empty result set </code> STEPS TO REPRODUCE 1. Configure Kmail to connect to a mail server via IMAP (e.g. Gmail imap) 2. Delete emails from inbox, until one shows back up in the message list 3. Try to open the deleted email OBSERVED RESULT The deleted email shows up in the messages list as if it was read but not deleted. When trying to select the message an error is thrown. EXPECTED RESULT Deleted emails should stay deleted and should not show back up in the message list. SOFTWARE/OS VERSIONS Linux/KDE Plasma: 12.1-RELEASE-p10 (available in About System) KDE Plasma Version: 20.08.2 KDE Frameworks Version: 5.74.0 Qt Version: 5.15.0 ADDITIONAL INFORMATION -- You are receiving this mail because: You are watching all bug changes.