Version: (using KDE 4.1.1)
Installed from: Ubuntu Packages
I have set up a Citadel groupware server and access it via groupdav from within Kontact (3.5.9 on Debian as well as 4.1.1 on Kubuntu). Exchanging, modifying and deleting addresses, calendar data and tasks works.
In my test setup I wanted to flag tasks as "completed" and tried to synch this flag. This didn't work neither from Kontact to Citadel nor from Citadel to Kontact.
How to reproduce:
Create a task within Citadel/Kontact. Sync it. Afterwards, flag that Task in Citadel/Kontact as "completed", and sync again. Check that the "completed" flag was not synced.
The task should be flagged "completed" on the sync aim as well afterwards.
Created attachment 27620 [details]
Example of a vcard example delieverd by the server.
The attachment shows the vcard delivered by the groupdav server. Note that the "completed" flag is clearly set, but that the VERSION is set to 2.0 while KMail exports data with the version 1.0.
Created attachment 28627 [details]
Patch to add/remove COMPLETED flag depending on the completion percentage value.
The problem is that Kontact does not save the COMPLETED flga, but saves the percentage value - 100% equals completed in this case.
The attached patch fixes this and adds/removes the COMPLETED flag whether the status is at 100% or not.
The patch is written against KDE 3.5, but hopefully it can be use for the KDE 4.x development as well.
Thanks for Marco Nelles from credativ GmbH for this patch.
Can you still reproduce in KDE4 ?
Please use http://git.reviewboard.kde.org to submit patches.
Gregory, can you see if this patch makes sense, or if your resource has the same problem ?
Yes, the issue is still present with 4.6.1, tested with the dav resource. As such this patch (after adapting it for KCalCore) should make sense, though I'm not sure why the status is removed when the percentage is not 100%.
Git commit 1a0c7f205aa2f05233ffc5c4d1ea54c03d9a2741 by Gregory Oestreicher.
Committed on 30/07/2011 at 22:07.
Pushed by goestreicher into branch 'master'.
Correctly set the completed flag for todo
M +8 -0 kcalcore/icalformat_p.cpp