Summary: | [PATCH] Flag "completed" in tasks not synched with groupdav server | ||
---|---|---|---|
Product: | [Frameworks and Libraries] Akonadi | Reporter: | Roland Wolters <bugs> |
Component: | DAV Resource | Assignee: | kdepim bugs <kdepim-bugs> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | greg, smartins, winter |
Priority: | NOR | ||
Version: | 4.1 | ||
Target Milestone: | --- | ||
Platform: | Ubuntu | ||
OS: | Unspecified | ||
Latest Commit: | Version Fixed In: | ||
Sentry Crash Report: | |||
Attachments: |
Example of a vcard example delieverd by the server.
Patch to add/remove COMPLETED flag depending on the completion percentage value. |
Description
Roland Wolters
2008-09-30 14:41:52 UTC
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 ? Hi, 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%. Cheers, Grégory 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 BUG: 171905 REVIEW: 102121 M +8 -0 kcalcore/icalformat_p.cpp http://commits.kde.org/kdepimlibs/1a0c7f205aa2f05233ffc5c4d1ea54c03d9a2741 |