Summary: | Offline usage of dav resource fails | ||
---|---|---|---|
Product: | [Frameworks and Libraries] Akonadi | Reporter: | Christoph Kaulich <kaulich> |
Component: | DAV Resource | Assignee: | kdepim bugs <kdepim-bugs> |
Status: | RESOLVED FIXED | ||
Severity: | major | CC: | greg, ingo, kaulich |
Priority: | NOR | ||
Version: | unspecified | ||
Target Milestone: | --- | ||
Platform: | Fedora RPMs | ||
OS: | Linux | ||
Latest Commit: | Version Fixed In: | ||
Sentry Crash Report: |
Description
Christoph Kaulich
2011-02-21 09:44:08 UTC
Additional info: The connectivity is managed by the network manager, so KDE should be aware of the network status. Hi Christoph, For the resource crash, I think this was fixed by a recent commit in master, can you confirm please? For the offline mode capabilities I'll check what, if any, can be done at the resource level. Cheers, Grégory Hi Gregory,
where do I get the master with the fixes?
From kde-pim mailing list where I was asking about offline usage, I got the following answer from Thomas McGuire:
*************
Hi,
On Wednesday 16 February 2011 12:33:03 Christoph Kaulich wrote:
> I have just tried to setup akonadi (KDEPIM 4.6 beta4 ) for offline use. I
> switched the folder properties for tasks and calender so keeping content
> locally for a week. So if I start my laptop offline, I can see all my
> calendar data.
>
> Is there a way to write back data, which I added while being offline? I am
> using the dav resource on a groupdav calendar.
Write back should happen automatically when you are online again. Maybe you
need to manually sync the calendar folder, that action is probably in the
right-click menu.
If that doesn't work, I suspect a bug in the dav resource, please file a bug
report then.
*************
So I think the offline/online switch should be respected in the resources.
Christoph
Hi Christophe, > where do I get the master with the fixes? This is the Git repository that you can browse at http://quickgit.kde.org/kdepim-runtime.git. Then I realized too late that you were using Fedora-provided RPMs. I don't know what is their packaging policy, but you'll have to wait for an update on their side or recompile the resource yourself. > From kde-pim mailing list where I was asking about offline usage, I got the > following answer from Thomas McGuire: Yup, I saw this but I haven't answered as I thought this was managed by Akonadi and not by the resources. I'll look into this and update this report once I have some grasp of how to do this. Cheers, Grégory just for curiosity, do you have a timeframe for that? I will try to recompile the resource, when i have some time an report back about the crashes. > just for curiosity, do you have a timeframe for that?
I've coded a first test, and now it's testing time here. Once I'm satisfied
with the result I'll push to Git and CC this report.
Cheers,
Grégory
Git commit 4856b33bd0b4e6e2a6e3aa77512e4a34f01d2e81 by Gregory Oestreicher. Committed on 21/02/2011 at 22:22. Pushed by goestreicher into branch 'master'. Add support for online / offline mode. CCBUG: 266793 M +11 -1 resources/dav/resource/davgroupwareresource.cpp M +1 -0 resources/dav/resource/davgroupwareresource.h http://commits.kde.org/kdepim-runtime/4856b33bd0b4e6e2a6e3aa77512e4a34f01d2e81 Hi Gregory, thanks for that quick work. I just compiled the new resource and it seems to work if I toggle the resource manually in the akonadi console. Then the collections are synced and everything works fine. Do you know i there is any possibility to connect the resource to the network manger, so it goes to offline state automatically when there is no network connection? Many thanks again, Christoph Hi, I forgot to CC: this report, but the network dependency was added on March 24th. Cheers, Grégory |