Bug 285089 - KMail can't display some mails stored in Maildir ("Given item identifier is empty")
Summary: KMail can't display some mails stored in Maildir ("Given item identifier is e...
Status: RESOLVED WORKSFORME
Alias: None
Product: Akonadi
Classification: Frameworks and Libraries
Component: Maildir Resource (show other bugs)
Version: 1.6.0
Platform: Ubuntu Linux
: NOR normal
Target Milestone: ---
Assignee: kdepim bugs
URL:
Keywords: triaged
Depends on:
Blocks:
 
Reported: 2011-10-27 12:18 UTC by Malte S. Stretz
Modified: 2018-10-27 02:24 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments
ls -ltr in ~/.kde/share/apps/kmail/mail/trash/new (86.99 KB, text/plain)
2011-10-27 12:18 UTC, Malte S. Stretz
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Malte S. Stretz 2011-10-27 12:18:45 UTC
Created attachment 64939 [details]
ls -ltr in ~/.kde/share/apps/kmail/mail/trash/new

+++ This bug was initially created as a clone of Bug #272920 +++

See bug 272920 for the background story.  Short version:  In version 2.0.95 KMail somehow put some mails which were supposed to be stored in my IMAP Trash folder in the local folders ("KMail Folders") trash folder.  But I couldn't see them.

Over the time I accumulated quite some mails in that trash folder, nowdays it shows 73 unread mails but when I select it, I can't see anything, the folder spinner doesn't stop spinning.  Today I noticed the popup "Kmail Folders: Given item identifier is empty" for the first time.

I'll attach the full output of ls -ltr in the trash folder, but here's an excerpt:

mss@TreeHouse:~/.kde/share/apps/kmail/mail/trash/new$ ls -ltr
total 25004
-rw-r--r-- 1 mss mss    2053 2011-05-10 09:27 {d7d6a236-930f-48bf-b903-4bdf2236a522}
-rw-r--r-- 1 mss mss   14580 2011-05-10 09:27 {f018b095-2de2-4e5f-9d11-35de68fb3fe4}
[1043 lines snipped]
-rw-r--r-- 1 mss mss    1249 2011-10-24 11:20 {2be37c9d-c785-49dd-8a66-6a786c301c8e}
-rw-r--r-- 1 mss mss    6172 2011-10-24 12:35 {48181632-f49d-4506-894c-3a6a56206fa1}
-rw-r--r-- 1 mss mss    9838 2011-10-27 11:46 1319708816.R383.TreeHouse
Comment 1 Malte S. Stretz 2011-10-27 12:19:35 UTC
Hit submit too fast, I wanted to add:  The last mail with the "proper" Maildir name was added by KMail 4.7.2.
Comment 2 András Manţia 2012-02-11 11:41:36 UTC
Is this reproducible with recent KMail (4.7.2+, preferabbly 4.8). I mean, do you see the bug if you have a clean trash and move IMAP mails to that trash with the new KMail?
Comment 3 Malte S. Stretz 2012-02-11 14:01:59 UTC
My Trash folder in the local folders is still broken in 4.8.0, I get a "Unknown error. (Unable to fetch item from backend)" dialog and the "Given Item Identifier is empty" popup.

I could clean up that trash folder but shouldn't KMail be able to cope with the stuff in there?  Once I rm'd the folder we won't have a testcase anymore...
Comment 4 András Manţia 2012-02-11 15:58:32 UTC
No, don't clean the trash, or rather, try the following: copy the trash folder (outside of KMail) to another folder in the same directory. Eg. you had Mail/trash, copy it as Mail/trash2. Can you open the mails now from trash2?
Comment 5 András Manţia 2012-02-11 20:48:07 UTC
I just noticed two things:
- is your resource really maildir? Check with akonadiconsole, Agents tab, click on the account and see in Details the Type.
- there was a commit today to git: 
https://projects.kde.org/projects/kde/kdepim-runtime/repository/revisions/c5fa16ce5af42cdfafb48dd2b6baa0b3f7c404a1

The description of the problem that it fixes sounds similar.
Comment 6 András Manţia 2012-10-13 22:57:14 UTC
Can you still see the problem in 4.9.2?
Comment 7 Malte S. Stretz 2012-10-16 20:03:53 UTC
Sorry, I don't have this folder around anymore.
Comment 8 Andrew Crouthamel 2018-09-23 02:19:21 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 set the bug status 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 9 Andrew Crouthamel 2018-10-27 02:24:55 UTC
Dear Bug Submitter,

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!