Bug 374925 - Moving Mails from an IMAP folder to a local folder does not copy files to respective directories on the hard disk
Summary: Moving Mails from an IMAP folder to a local folder does not copy files to res...
Status: RESOLVED WORKSFORME
Alias: None
Product: Akonadi
Classification: Frameworks and Libraries
Component: Maildir Resource (show other bugs)
Version: 5.4.0
Platform: Chakra Linux
: NOR critical
Target Milestone: ---
Assignee: kdepim bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-01-11 19:02 UTC by Knut Hildebrandt
Modified: 2019-02-04 11:36 UTC (History)
3 users (show)

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 Knut Hildebrandt 2017-01-11 19:02:07 UTC
This bug seemed to have been fixed awhile ago but reappeared after a recent update. For me everything worked fine after Bug 339181 had been marked "RESOLVED FIXED".


Bug description:
When I move more than one mail from an IMAP account to a local folder only one of the mail bodies is copied to the respective directory under "~/.local/share/.local-mail.directory/" on the hard disk even though in Kmail all mails are shown in the local folder.

Steps to reproduce:
Move more than one mail at a time from an IMAP account to a local folder. Check the respective directory under  "~/.local/share/.local-mail.directory/" an see how many of the mail bodies are copied there.

Workaround:
If the mails are not moved but copied all mail bodies appear in the directory on the hard disk.

Versions used:
KMail 5.4.0
akonadi 16.12.0


As I wrote in Bug 339181 I see this bug related to a couple of other bugs and thus would propose that someone with knowledge of the code base should sort out which of these bugs should be closed or marked as duplicates. These are the bugs I see related to this bug:

Bug 339181: moving mails from cached imap to local folder leaves mails without RID

Bug 344242: Mails that are copied do not appear on my harddrive

Bug 341192: Moving messages does not synchronize to disk

Bug 360834: no mechanism to reattempt to store items without rid (just in db) into the resource

Bug 338238: copied or moved mails are often not processed correctly (POP3)


Thanks for looking into the matter.

Knut
Comment 1 Martin Steigerwald 2017-01-12 09:05:26 UTC
Thank you, Knut.
Comment 2 Knut Hildebrandt 2017-01-12 19:13:56 UTC
What I forgot to mention, since the last update Akonadi seems to be very unstable. Sometimes it takes ages to show the contents of folders, both imap and local. Furthermore Akonadi sometimes fails to synchronise imap folders, particularly when changes were made while the machine was offline.

Maybe some old buggy code slipped into the last update and is the reason for the recent problems. If these problems prevail after the next update, I'll search the bug lists again and post in the respective bug reports.
Comment 3 Knut Hildebrandt 2017-01-24 17:57:30 UTC
Yesterday 16.12.1 came in and the problem seems to be solved. I'll have an eye on the matter and post again if it returns.

Any idea, what was the reason and how it was solved?

Knut
Comment 4 Rigo Wenning 2019-02-02 12:52:41 UTC
Doesn't someone want to close this bug after 2 years