[Akonadi] [Bug 339449] Events older than a few months are not fetched from CalDAV server

Stefan Huber shuber at sthu.org
Sat Sep 27 12:36:48 BST 2014


https://bugs.kde.org/show_bug.cgi?id=339449

--- Comment #1 from Stefan Huber <shuber at sthu.org> ---
After digging into the code I found the hard coded value of 3 months here:

kdepim-runtime-4.14.1/resources/dav/protocols/caldavprotocol.cpp:31:
CaldavProtocol::CaldavProtocol()
{
  // Only fetch items for the last 3 months
  QString startTime = QDateTime::currentDateTimeUtc().addMonths( -3 ).toString(
"yyyyMMddTHHMMss" );


As a very dirty hack, one can set the local time back, e.g., several years,
force akonadi to resync (e.g., by restarting akonadi), and restore the time
after the sync. However, be prepared to receive alarm messages with all alarms
listed and ringing since then. I think there should be a better way to tell
akonadi to fetch all items from a caldav resource.

-- 
You are receiving this mail because:
You are the assignee for the bug.



More information about the Kdepim-bugs mailing list