Bug 398783 - Error message when sending emails, likely linked to failure to add "replied" tag
Summary: Error message when sending emails, likely linked to failure to add "replied" tag
Status: REPORTED
Alias: None
Product: Akonadi
Classification: Frameworks and Libraries
Component: IMAP resource (show other bugs)
Version: 5.9.1
Platform: Other Linux
: NOR normal
Target Milestone: ---
Assignee: kdepim bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2018-09-18 08:48 UTC by flyos
Modified: 2023-07-11 11:10 UTC (History)
3 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments
Screenshot Identity -> Extras (153.89 KB, image/png)
2021-11-03 10:21 UTC, Gerhard Lehnhoff
Details

Note You need to log in before you can comment on or make changes to this bug.
Description flyos 2018-09-18 08:48:30 UTC
In Kmail 5.9.1 (KDE Applications 18.08.1, Akonadi 5.9.1, KF5 5.50, Qt 5.11.1), I often have the following error message when sending emails:

Impossible d'enregistrer le résultat dans l'élément. [LLCONFLICT] Resource akonadi_imap_resource_4 tries to modify item 51741 () (in collection 42) with revision 1; the item was modified elsewhere and has revision 2, aborting STORE. 

(First sentence translates to "Impossible to save the results to the element")

This error results in the email being sent correctly, being correctly saved to the "Sent" folder, but the tag "Replied To" (or whatever it's called in English) not being set to the email I replied to.

This doesn't happen to every email, but I fail to find ways to reproduce it. It seems to happen especially (exclusively?) when the email I reply to is the first of a thread, but doesn't happen to emails "deeper" in a thread, if that makes sense.
Comment 1 Lyon Lemmens 2021-02-22 16:33:53 UTC
Since a couple of days, I have the same issue using akonadi version 5.15.1 (20.08.1).
For me it doesn't matter if the mail is deeper in the mail chain or not.

I suspect it started when I tried to move a mail to a new folder when it was still being processed by the mail filters. Mail filtering is very slow for some reason, even on outgoing mail. The mail I sent was delivered to the Sent Mail folder. I moved it to a different folder and immediately got an error message. At that point I saw that the mail filters were still running.

Since then I get the message every single time I send a mail. The mail will end up being sent, it gets placed in the Sent Mail folder, filtering will happen and at the end the error message pops up, while the mail will be left in an 'unread' state. Normally Sent mails will end up in a 'read' state, so I suspect it's that state change that is failing.

Please let me know if I can help debugging the issue further
Comment 2 Gerhard Lehnhoff 2021-11-03 10:09:03 UTC
Same Problem:

Das Ergebnis kann nicht im Objekt gespeichert werden. [LLCONFLICT] Resource akonadi_imap_resource_4 tries to modify item 49260 (3) (in collection 298) with revision 1; the item was modified elsewhere and has revision 2, aborting STORE. 

Whenever I send an email, this message turns up. In the send-folder is my message sent; however, marked as not read. I wonder whether this was like that before.
Comment 3 Gerhard Lehnhoff 2021-11-03 10:11:52 UTC
Not sure, whether this helps:

{
    "ancestorsAttributes": [
    ],
    "ancestorsDepth": 2,
    "collections": {
        "type": "UID",
        "value": "298"
    },
    "depth": 0,
    "displayPref": false,
    "enabled": false,
    "fetchStats": true,
    "indexPref": false,
    "mimeTypes": [
    ],
    "resource": "akonadi_imap_resource_4",
    "response": false,
    "syncPref": true,
    "tag": 21180,
    "type": "FetchCollections"
}
Comment 4 Gerhard Lehnhoff 2021-11-03 10:21:12 UTC
Created attachment 143164 [details]
Screenshot Identity -> Extras

When I disable "Ordner für gesendete Nachrichten" in "Identities -> Extras" (I hope these are the correct translations, see attached screenshot) the error does not show up.
Comment 5 Erik Boritsch 2023-07-11 11:10:08 UTC
Confirming the issue with KDE Frameworks Version 5.107.0, Qt Version 5.15.10 akonadictl 5.23.2 (23.04.2). 

Disabling the "Sent" folder makes the message disappear, but the sent messages are not in "Sent" folder then.