6.0.0-beta1
8/14/25

[#4751] Explicitely put 'CLASS: PUBLIC' in VEVENT to avoid Outlook error
Summary Explicitely put 'CLASS: PUBLIC' in VEVENT to avoid Outlook error
Queue Kronolith
Queue Version HEAD
Type Enhancement
State Resolved
Priority 1. Low
Owners
Requester steven.deboeck (at) excentis (dot) com
Created 12/07/2006 (6825 days ago)
Due
Updated 12/07/2006 (6825 days ago)
Assigned
Resolved 12/07/2006 (6825 days ago)
Milestone
Patch No

History
12/07/2006 06:13:06 PM Chuck Hagenbuch Comment #2
State ⇒ Resolved
Reply to this comment
Looks fine to me - committed, thanks.
12/07/2006 02:59:36 PM steven (dot) deboeck (at) excentis (dot) com Comment #1
State ⇒ New
Priority ⇒ 1. Low
Type ⇒ Enhancement
Summary ⇒ Explicitely put 'CLASS: PUBLIC' in VEVENT to avoid Outlook error
Queue ⇒ Kronolith
New Attachment: kronolith_lib_driver.patch Download
Reply to this comment
Hi all,





I'm testing the synchronisation of Kronolith with Outlook2000 + 
Funambol Outlook Plug-in 3.0.15. One of the little problems I ran into 
was the following:

1) Create a private event in Outlook.

2) Sync the calendar with Kronolith.

3) Remove the private flag in Kronolith.

4) Sync again.

Result: event in Outlook still has private flag.



I looked into the syncml logs and saw that Outlook always puts a CLASS 
property in a VEVENT (either set to PUBLIC or PRIVATE), while 
Kronolith only puts a CLASS property in a VEVENT if the value is 
PRIVATE.

I'm pretty sure Kronolith's behaviour is correct, since the iCal spec 
(rfc2445) clearly states that the default value for the CLASS property 
is PUBLIC. However, Outlook or the Funambol client don't change the 
value if it's not present, so I changed kronolith/lib/Driver.php to 
always put a CLASS property in a VEVENT.



I've attached the patch, it's just two extra lines. I'd understand if 
this isn't incorporated in the code, since Kronolith does nothing 
wrong, but I'd appreciate it if it could be added. Always adding the 
CLASS property isn't wrong either and it makes the synchronisation 
between Outlook and Kronolith work a little better.





Best regards,



Steven



P.S. Since this is my first contribution, let me know if I goofed up 
the patch file.

Saved Queries