Bug 364243 - Moving several mails from IMAP inbox to local maildir creates entries with RemoteID NULL
Summary: Moving several mails from IMAP inbox to local maildir creates entries with Re...
Status: RESOLVED WORKSFORME
Alias: None
Product: Akonadi
Classification: Frameworks and Libraries
Component: server (show other bugs)
Version: 5.2.0
Platform: Kubuntu Linux
: NOR critical
Target Milestone: ---
Assignee: kdepim bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-06-12 15:03 UTC by Christoph Pospiech
Modified: 2022-11-20 05:12 UTC (History)
1 user (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 Christoph Pospiech 2016-06-12 15:03:35 UTC
Moving several mails from IMAP inbox to local maildir by selecting and moving with the mouse is not properly executed. Only one mail arrives as ASCII file in the target folder. The other mails get a remoteID value NULL in the pimitemtable, and no file can be found, neither in cash nor in the target folder. When looking at the mails in Kmail, they appear to be there. Neither 'akonadictl fsck' nor 'akonadictl vacuum' clears this situation (both commands run to completion). I have not found a way to recover (or find ?) those mails.

Reproducible: Always

Steps to Reproduce:
1. In akonadi, SELECT * FROM `pimitemtable` WHERE `remoteId` IS NULL;
    Take note of the number of these entries.
2. In some IMAP inbox in Kmail , select some mails by mouse click (more than one).
3. Move them into some other folder by mouse left click and hold, moving them with the
    mouse and dropping them into the target folder.
4. In akonadi, re-check via SELECT * FROM `pimitemtable` WHERE `remoteId` IS NULL;

Actual Results:  
The number of NULL entries increases by n-1, where n is the number of moved mails.
Only one of the moved mails actually arrives in the target folder.
work around: moving only one mail at a time works fine.

Expected Results:  
All mails should be moved and no NULL entries created.

I will mark this as critical, as I already lost some mails. As soon as there is a work around how to recover mails with NULL entries, the severity may be reduced.
Comment 1 Daniel Vrátil 2016-06-18 10:37:22 UTC
Looks like a duplicate of bug 339181 which should be fixed in KDE Applications 16.04.1. Could you please check your version and test against latest 16.04 release?
Comment 2 Justin Zobel 2022-10-21 23:59:58 UTC
Thank you for reporting this bug in KDE software. As it has been a while since this issue was reported, can we please ask you to see if you can reproduce the issue with a recent software version?

If you can reproduce the issue, please change the status to "CONFIRMED" when replying. Thank you!
Comment 3 Bug Janitor Service 2022-11-05 05:08:37 UTC
Dear Bug Submitter,

This bug has been in NEEDSINFO status with no change for at least
15 days. Please provide the requested information as soon as
possible and set the bug status as REPORTED. Due to regular bug
tracker maintenance, if the bug is still in NEEDSINFO status with
no change in 30 days the bug will be closed as RESOLVED > WORKSFORME
due to lack of needed information.

For more information about our bug triaging procedures please read the
wiki located here:
https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging

If you have already provided the requested information, please
mark the bug as REPORTED so that the KDE team knows that the bug is
ready to be confirmed.

Thank you for helping us make KDE software even better for everyone!
Comment 4 Bug Janitor Service 2022-11-20 05:12:54 UTC
This bug has been in NEEDSINFO status with no change for at least
30 days. The bug is now closed as RESOLVED > WORKSFORME
due to lack of needed information.

For more information about our bug triaging procedures please read the
wiki located here:
https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging

Thank you for helping us make KDE software even better for everyone!