Bug 402803 - Bulk importing mail into sent-mail folder makes most sent messages unreadable
Summary: Bulk importing mail into sent-mail folder makes most sent messages unreadable
Status: REPORTED
Alias: None
Product: kmail2
Classification: Applications
Component: general (show other bugs)
Version: unspecified
Platform: Arch Linux Linux
: NOR normal
Target Milestone: ---
Assignee: kdepim bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2019-01-02 22:11 UTC by Blase Johnson
Modified: 2019-01-02 22:11 UTC (History)
0 users

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Blase Johnson 2019-01-02 22:11:50 UTC
SUMMARY

I was trying to bulk import about 500 messages into the "sent-mail" folder. For all but about the earliest one-fifth of messages in this folder, having a message selected produces an empty HTML message preview, double clicking the message makes a message transfer dialog box appear (which hangs), and an error message is displayed at the bottom of the window (but is cut-off):

Unable to fetch item from backend (collection -1): Unable to retrieve item from resource: [LRCONFLICT] Resource akonadi_maildir_resource_0 tries to modify item <some number> () (in collection 15) with dirty payload, ab...

If I attempt to drag any of these messages into another folder, the following error message is displayed in a dialog box:

Unable to retrieve item from resource: [LRCONFLICT] Resource akonadi_maildir_resource_0 tries to modify item <some number> () (in collection 15) with dirty payload, aborting STORE.

I have both tried to import these messages using the Thunderbird/Mozilla import filter and from an MBOX file. In either case the results are the same.

STEPS TO REPRODUCE
1. Import a large number of messages into the "sent-mail" folder.
2. Attempt to preview/open all messages.
3. Some messages cannot be opened and produce the above error messages.

OBSERVED RESULT

Some messages in the "sent-mail" folder cannot be viewed, opened, or moved, and error messages are displayed in attempts to do so.

EXPECTED RESULT

All messages in the "sent-mail" folder can be viewed, opened, or moved without errors.

SOFTWARE/OS VERSIONS

Operating System: Arch Linux 
KDE Plasma Version: 5.14.4
Qt Version: 5.12.0
KDE Frameworks Version: 5.53.0
Kernel Version: 4.20.0-arch1-1-ARCH