Bug 157097

Summary: Indexing creates messages with weird dates
Product: [Unmaintained] kmail Reporter: András Manţia <amantia>
Component: indexAssignee: kdepim bugs <kdepim-bugs>
Status: RESOLVED UNMAINTAINED    
Severity: normal CC: bugs.kde.org, dariopnc, kdebugs, tony
Priority: NOR Keywords: triaged
Version: SVN trunk (KDE 4)   
Target Milestone: ---   
Platform: Compiled Sources   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description András Manţia 2008-02-01 19:52:27 UTC
Version:            (using Devel)
Installed from:    Compiled sources

In trunk, since some days (a week or so), if you remove the .index* files (unfortunately this is needed from time to time), the folder for which the index was recreated will contain several messages having the date set to 2106-02-07 08:28. Always this date and as far as I saw it happens always for the same messages. If you click on such a message, the date changes back to the correct one (but the message remains at the end of the list if the folder was sorted after Date). 
You have to switch to another folder and back to correct the sort order.
Comment 1 Yannick Roehlly 2008-08-13 10:42:19 UTC
Same problem here with KMail 1.10.0 on KDE 4.1.0 (Debian Sid).

Note that is may not be a KMail bug. I've had this problem also on Akregator articles dates (but in KMail I still see the problem in my inbox).

Googling around made me thing that its a bug related to an overflow on an epoch time.

Yannick
Comment 2 Dario Panico 2008-10-25 10:07:22 UTC
I can confirm this bug in kubuntu 8.10 packages, KMail 1.10.1

This bug is very very annoying because you can't find your new emails easily (obviously without using the filter).

A similar bug in akregator has been fixed: http://bugs.kde.org/show_bug.cgi?id=166721
Comment 3 Dario Panico 2008-12-18 18:15:14 UTC
bug still present in kde 4.2 beta 2 (kde 4.1.85) kubuntu packages (it seemed to be solved in kde 4.1)
Comment 4 Christophe Marin 2009-08-17 17:22:41 UTC
*** Bug 180267 has been marked as a duplicate of this bug. ***
Comment 5 Christian Janoff 2009-10-30 14:23:27 UTC
Still present in KMail 1.12.2 / KDE 4.3.2.
Comment 6 Björn Ruberg 2010-03-13 14:14:35 UTC
*** Bug 223628 has been marked as a duplicate of this bug. ***
Comment 7 Laurent Montel 2015-04-12 10:16:17 UTC
Thank you for taking the time to file a bug report.

KMail2 was released in 2011, and the entire code base went through significant changes. We are currently in the process of porting to Qt5 and KF5. It is unlikely that these bugs are still valid in KMail2.

We welcome you to try out KMail 2 with the KDE 4.14 release and give your feedback.