Bug 314239 - mail body not displayed but on disk
Summary: mail body not displayed but on disk
Status: RESOLVED UNMAINTAINED
Alias: None
Product: kmail2
Classification: Applications
Component: general (show other bugs)
Version: 4.10.3
Platform: openSUSE Linux
: NOR normal
Target Milestone: ---
Assignee: kdepim bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-02-01 09:00 UTC by Martin Koller
Modified: 2017-01-07 22:22 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In:


Attachments
mail which shows only header (4.17 KB, application/octet-stream)
2013-02-01 09:02 UTC, Martin Koller
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Martin Koller 2013-02-01 09:00:06 UTC
I have only POP accounts. I'm subscribed to the cmake mailing list and have a filter defined which moves all the mails from this ML in a separate folder.
I have also imported all my old mails from kmail1 to kmail2 (new setup without kmail migration) with KDE 4.10 RC something - I did not use kmail2 before.
The mail I'm referring to here is from tuesday this week, so this is not a mail I have received with kmail1 but is a very new one received with kmail2.

The mail file I found for this mail is on disk:
/home/koller/Mail/.z_div. privat.directory/cmake/new/1359479266.R7.linux-d4d3.site

The file contains the complete message. I attach the file also here.

But kmail2 does not show the body of the message. All I see is the information in the message list: subject, sender, date is correctly displayed, but clicking on the mail 

updating the folder does not help either.
Moving the mail to a different folder (from within kmail2) does not help either.

It seems akonadi has some problem here.


Reproducible: Always
Comment 1 Martin Koller 2013-02-01 09:02:42 UTC
Created attachment 76856 [details]
mail which shows only header
Comment 2 Martin Koller 2013-05-12 13:23:21 UTC
Additional Information: when I click the mail in the message list, kmail2 prints out the error message a few times:
AkonadiAgentServer(25846)/libakonadi Akonadi::ResourceBase::itemRetrieved: Item does not provide part "RFC822"
Comment 3 Martin Koller 2013-05-12 14:04:31 UTC
Analyzing further a mail from kde-core-devel mailing list:
The file on disk is named 1366115976.R739.linux-d4d3.site
Looking into the akonadi database:
select * from pimitemtable where remoteid="1366115976.R739.linux-d4d3.site";
+--------+-----+---------------------------------+----------------+--------------+------------+---------------------+---------------------+-------+-------+
| id     | rev | remoteId                        | remoteRevision | collectionId | mimeTypeId | datetime            | atime               | dirty | size  |
+--------+-----+---------------------------------+----------------+--------------+------------+---------------------+---------------------+-------+-------+
| 137931 |   1 | 1366115976.R739.linux-d4d3.site | NULL           |          226 |          2 | 2013-04-16 12:39:37 | 2013-05-12 15:26:04 |     0 | 20527 |
+--------+-----+---------------------------------+----------------+--------------+------------+---------------------+---------------------+-------+-------+
1 row in set (0.07 sec)

mysql> select * from pimitemtable where remoteid="1366115976.R739.linux-d4d3.site";
+--------+-----+---------------------------------+----------------+--------------+------------+---------------------+---------------------+-------+-------+
| id     | rev | remoteId                        | remoteRevision | collectionId | mimeTypeId | datetime            | atime               | dirty | size  |
+--------+-----+---------------------------------+----------------+--------------+------------+---------------------+---------------------+-------+-------+
| 137931 |   1 | 1366115976.R739.linux-d4d3.site | NULL           |          226 |          2 | 2013-04-16 12:39:37 | 2013-05-12 15:26:04 |     0 | 20527 |
+--------+-----+---------------------------------+----------------+--------------+------------+---------------------+---------------------+-------+-------+
1 row in set (0.06 sec)

mysql> select * from parttable where pimItemId=137931;
+--------+-----------+--------------+----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+----------+---------+----------+
| id     | pimItemId | name         | data                                                                                                                                                                                                                                                     | datasize | version | external |
+--------+-----------+--------------+----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+----------+---------+----------+
| 325129 |    137931 | PLD:ENVELOPE | ("Tue, 16 Apr 2013 14:06:19 +0200" "Results of the freedesktop summit" (("David Faure" NIL "faure" "kde.org")) ((NIL NIL "kde-core-devel-bounces" "kde.org")) NIL ((NIL NIL "kde-core-devel" "kde.org")) NIL NIL NIL "<1394549.VkPtykuPsj@asterix>" NIL) |      248 |       1 |        0 |
| 325128 |    137931 | PLD:HEAD     | NULL                                                                                                                                                                                                                                                     |        0 |       1 |        0 |
| 325130 |    137931 | PLD:RFC822   | NULL                                                                                                                                                                                                                                                     |        0 |       1 |        0 |
+--------+-----------+--------------+----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+----------+---------+----------+
3 rows in set (0.00 sec)

So what I see is that "PLD:HEAD" and "PLD:RFC822" is NULL in akonadi but not on disk ...
Comment 4 Denis Kurz 2016-09-24 17:51:55 UTC
This bug has only been reported for versions before 4.14, which have been unsupported for at least two years now. Can anyone tell if this bug still present?

If noone confirms this bug for a Framework-based version of kmail2 (version 5.0 or later, as part of KDE Applications 15.12 or later), it gets closed in about three months.
Comment 5 Denis Kurz 2017-01-07 22:22:47 UTC
Just as announced in my last comment, I close this bug. If you encounter it again in a recent version (at least 5.0 aka 15.08), please open a new one unless it already exists. Thank you for all your input.