[Kolab-devel] kolab-freebusy / CN in fb-vcal files

Mike Gabriel m.gabriel at das-netzwerkteam.de
Fri Feb 22 00:12:00 CET 2008


hi gunnar, hi kolab-developers,

i looked into the freebusy code a bit closer still. it looks like the only way  
to retrieve a CN that belongs to $access->owner is to query HordePrefs or 
Kolab-LDAP from within the freebusy scripts.

the below message was already posted on kolab-users...

mike 

----------  Weitergeleitete Nachricht  ----------

Betreff: Re: freebusy with kolab debian packages
Datum: Mittwoch 20 Februar 2008
Von: Mike Gabriel <m.gabriel at das-netzwerkteam.de>
An: Gunnar Wrobel <wrobel at pardus.de>

hi gunnar,

Quoting Gunnar Wrobel <wrobel at pardus.de>:

>> in my lib/Horde/iCalendar/vfreebusy.php (horde-3.2-rc1)
>> Horde_iCalendar_vfreebusy::getName() does not return a valid friendly
>> name for the ORGANIZER. this probably is mainly due to a missing CN
>> param for the ORGANIZER in my freebusy cache files generated by the
>> kolab-2.2 freebusy engine (i backported fb scripts from kolab-2.2 to
>> kolab-2.1).
>>
>> is it intended that the ORGANIZER's CN is missing in the vcal files?
>
> No, if remember it correctly the entry is mandatory. I would have to
> check again but maybe you have a hint why this is missing in the cache
> files?

here is an example of a fb-vcal file/header generated by your  
php-script (i have removed most of the FREEBUSY fields...):

EGIN:VCALENDAR
VERSION:2.0
PRODID:-//proko2//freebusy 1.0//EN
METHOD:PUBLISH
BEGIN:VFREEBUSY
ORGANIZER:MAILTO:m.gabriel at das-netzwerkteam.de
DTSTAMP:20080220T102236Z
URL:http://mail.das-netzwerkteam.de/freebusy/m.gabriel@das-n
  etzwerkteam.de.vfb
DTSTART:20080219T000000Z
DTEND:20080420T000000Z
FREEBUSY:20080219T070000Z/20080219T080000Z
...
FREEBUSY:20080418T160000Z/20080418T200000Z
END:VFREEBUSY
END:VCALENDAR

however, ORGANIZER:CN is probably not set as there is no setAttribute  
call in any of you FB-php-files setting a CN metadata attribute. would  
be nice to have a CN, though.


> P.S.: Thanks for reading and correcting the code!
>

no problem!!!

mike

----------------------------------------------------------------
This message was sent using IMP, the Internet Messaging Program.

_______________________________________________
Kolab-users mailing list
Kolab-users at kolab.org
https://kolab.org/mailman/listinfo/kolab-users

-------------------------------------------------------

-- 

+++ das-netzwerkteam.de +++

mike gabriel, hamburger chaussee 240, 24113 kiel
fon: +49 431 64-74-196
fax: +49 431 64-74-276
voip/voicemail: +49 431 643 643 6
mail: m.gabriel at das-netzwerkteam.de
www: http://das-netzwerkteam.de
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part.
URL: <http://lists.kolab.org/pipermail/devel/attachments/20080222/e94f3e4c/attachment.sig>


More information about the devel mailing list