[Bug 216806] KCal does not properly submit STATUS Information to Akonadi
hyper_ch
bugs.kde.org at sjau.ch
Tue Jan 12 13:54:55 GMT 2010
https://bugs.kde.org/show_bug.cgi?id=216806
--- Comment #1 from hyper_ch <bugs kde org sjau ch> 2010-01-12 14:54:52 ---
With a little help I dug further into the problem. First I verified RFC 2445
and found this here:
RFC 2445, p. 88:
Dawson & Stenerson Standards Track [Page 88]
RFC 2445 iCalendar November 1998
statvalue =/ "NEEDS-ACTION" ;Indicates to-do needs action.
/ "COMPLETED" ;Indicates to-do completed.
/ "IN-PROCESS" ;Indicates to-do in process of
/ "CANCELLED" ;Indicates to-do was cancelled.
;Status values for "VTODO".
statvalue =/ "DRAFT" ;Indicates journal is draft.
/ "FINAL" ;Indicates journal is final.
/ "CANCELLED" ;Indicates journal is removed.
;Status values for "VJOURNAL".
Example: The following is an example of this property for a "VEVENT"
calendar component:
STATUS:TENTATIVE
The following is an example of this property for a "VTODO" calendar
component:
STATUS:NEEDS-ACTION
The following is an example of this property for a "VJOURNAL"
calendar component:
STATUS:DRAFT
So, that seems that a STATUS field is required in the ical files.
-----------------
Then I checked the horde entries. I copied one below and replaced email and
subject:
BEGIN:VTODO
UID:libkcal-2078158521.175
ORGANIZER:MAILTO:my at email.com
SUMMARY:just some boring text
PRIORITY:2
DUE:20091120T120000Z
STATUS:COMPLETED
COMPLETED:20100112T125449Z
CATEGORIES:MISCELLANEOUS
CREATED:20091110T085606Z
LAST-MODIFIED:20091123T172054Z
END:VTODO
That looks RFC compliant to me with regard to the completion of a task.
----------
Next I check how korganizer / kcal handle that.
First I created a new calendar in korganizer (-> Setting it as ical (local
file)). Then I went into the todo list, created an entry and marked it as
completed. The output is below:
BEGIN:VCALENDAR
PRODID:-//K Desktop Environment//NONSGML libkcal 4.3//EN
VERSION:2.0
BEGIN:VTODO
DTSTAMP:20100112T124208Z
ORGANIZER;CN="you wish":MAILTO:some email address
CREATED:20100112T124202Z
UID:libkcal-1626628246.613
SEQUENCE:1
LAST-MODIFIED:20100112T124208Z
SUMMARY:asdfasdfasdfasdfasdfasdfasdfasfdasf
PRIORITY:5
DUE;VALUE=DATE:20100119
COMPLETED:20100112T124208Z
PERCENT-COMPLETE:100
END:VTODO
END:VCALENDAR
Then I also created a new akonadi resource, selected "ICal Calendar file
(locally)" and created again a new entry in the todo list and marked it as
completed.
BEGIN:VCALENDAR
PRODID:-//K Desktop Environment//NONSGML libkcal 4.3//EN
VERSION:2.0
BEGIN:VTODO
DTSTAMP:20100112T125120Z
ORGANIZER;CN="you wish":MAILTO:some email address
CREATED:20100112T124843Z
UID:libkcal-793896051.397
SEQUENCE:1
LAST-MODIFIED:20100112T125120Z
SUMMARY:cal_test3.ical
PRIORITY:5
DUE;VALUE=DATE:20100119
COMPLETED:20100112T125120Z
PERCENT-COMPLETE:100
END:VTODO
END:VCALENDAR
Both entries created in Kontact do not have the STATUS field in them which
seems to be the cause for all the problems.
--
Configure bugmail: https://bugs.kde.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
More information about the Kdepim-bugs
mailing list