Calender events of dates older a a few (3?) months are not fetched from the CalDAV server. However, a caldavzap (a javascript calender viewer) on the server shows them, so they exist. It seams as if there is no way to fetch all events and I got no response at the IRC channels #kde and #akonadi. Reproducible: Always Expected Results: I would suggest that either akonadi should fetch all resources or it gives the user the option to fetch all events, in case this is intended to be a performance feature. I am running kde-4.14.1 and akonadi-server-1.13.0 on Gentoo. The CalDAV server is davical-1.1.1-1 on Debian wheezy.
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.
I agree and propose there should be a "fast sync" of a folder/resource (F5) and a "complete sync" in the context menu.
(In reply to Stefan Huber from comment #0) > I would suggest that either akonadi should fetch all resources or it gives > the user the option to fetch all events, in case this is intended to be a > performance feature. This was added to prevent the resource from bringing down servers when big calendars were requested. I made the choice to use 3 months as it seemed a good compromise, knowing that it wouldn't suit everybody. Now a configurable dialog to fetch older events was not added because we can't introduce new translatable strings in the UI in a maintenance release. I'm working to add this in the configuration dialog in the master branch. Cheers, Grégory
*** Bug 339579 has been marked as a duplicate of this bug. ***
thanks for the update and your work! I am looking forward to the next release
I do have the same problem with my calendar. After reverting akonadi_davgroupware_ressource to the 4.14.0 version my calendar is working as expected again. This change needs be reverted, user need to see older entries as they do on their mobile devices, for example.
is there any news on this? Any ETA when the configuration dialog is released?
*** Bug 350381 has been marked as a duplicate of this bug. ***
*** Bug 340599 has been marked as a duplicate of this bug. ***
Git commit fcdbb576d8313519e3638a343ecfaa37bf913d29 by Grégory Oestreicher. Committed on 17/08/2015 at 21:11. Pushed by goestreicher into branch 'master'. Make the sync range configurable This adds a UI to select whether or not the user wants to limit the sync range to lower the load on the server, and its value. M +13 -0 resources/dav/resource/configdialog.cpp M +1 -0 resources/dav/resource/configdialog.h M +72 -3 resources/dav/resource/configdialog.ui M +7 -3 resources/dav/resource/davgroupwareresource.cpp M +12 -0 resources/dav/resource/davgroupwareresource.kcfg M +16 -0 resources/dav/resource/settings.cpp M +1 -0 resources/dav/resource/settings.h http://commits.kde.org/kdepim-runtime/fcdbb576d8313519e3638a343ecfaa37bf913d29
Thanks a lot!
*** Bug 352091 has been marked as a duplicate of this bug. ***