[kronolith] Problems with Free/Busy URL

Michael J Rubinsky mrubinsk at horde.org
Sat Nov 16 21:09:17 UTC 2013


Quoting Jens Grüntjes <jens.gruentjes at ebira.de>:

> Zitat von Michael J Rubinsky <mrubinsk at horde.org>:
>
>> Quoting Jens Grüntjes <jens.gruentjes at ebira.de>:
>>
>>> Hello folks,
>>>
>>> I'm a bit confused about the free/busy URLs in Kronolith. I'm  
>>> using the latest PEAR packages of Horde Groupware 5.1.3 along with  
>>> Kronolith 4.1.4.
>>>
>>> When I enter an event in Kronolith and I want to invite a  
>>> colleague to this event the following happens:
>>>
>>> The timeline of the whole day consists of nothing but black  
>>> diagonal lines for me and my colleague.
>>>
>>> I see a yellow "popup" in the browser saying "Die Frei/Gebucht-URL  
>>> für user.xxxx at xxxx.xx konnte nicht gelesen werden." (English: The  
>>> free/busy url for user.xxxx at xxxx.xx cannot be retrieved.)
>>>
>>> According to this the logfile says:
>>> 2013-11-15T22:29:22+01:00 DEBUG: HORDE [kronolith] Die  
>>> Frei/Gebucht-URL für xxxxx.yyyy at yyyy.zz konnte nicht gelesen  
>>> werden. [pid 22637 on line 27 of  
>>> "/usr/share/php/Horde/Core/Notification/Handler/Decorator/Hordelog.php"]
>>>
>>> The same message appears for my own user which is automagically  
>>> added as attendee.
>>>
>>> I have marked the entry for myself in a shared address book as my  
>>> own entry. Also I have added the Free/Busy URL for me and my  
>>> colleague in Turba.
>>>
>>> If I enter the address of my Free/Busy URL in the browser I can  
>>> download a file that looks like this:
>>>
>>> BEGIN:VCALENDAR
>>> VERSION:2.0
>>> PRODID:-//The Horde Project//Kronolith H5 (4.1.4)//EN
>>> METHOD:PUBLISH
>>> BEGIN:VFREEBUSY
>>> ORGANIZER;CN="Jens ZZZZZ":mailto:xxxx.yyyy at xxxx.yy
>>> DTSTAMP:20131115T202200Z
>>> DTSTART:20131114T230000Z
>>> DTEND:20131214T230000Z
>>> URL:https://xxxx.xxxxx.xxx/horde/kronolith/fb.php?u=xxxx
>>> FREEBUSY:20131118T170000Z/20131118T183000Z
>>> FREEBUSY:20131121T070000Z/20131121T090000Z
>>> FREEBUSY:20131125T183000Z/20131125T223000Z
>>> FREEBUSY:20131126T100000Z/20131126T133000Z
>>> END:VFREEBUSY
>>> END:VCALENDAR
>>>
>>> The same for my colleague:
>>> BEGIN:VCALENDAR
>>> VERSION:2.0
>>> PRODID:-//The Horde Project//Kronolith H5 (4.1.4)//EN
>>> METHOD:PUBLISH
>>> BEGIN:VFREEBUSY
>>> ORGANIZER;CN=Michael XXXXX:mailto:xxxxx.yyyy at xxx.yy
>>> DTSTAMP:20131115T212445Z
>>> DTSTART:20131114T230000Z
>>> DTEND:20131214T230000Z
>>> URL:https://xxxxx.yyy.zz/horde/kronolith/fb.php?u=zzzzz
>>> FREEBUSY:20131115T093000Z/20131115T112900Z
>>> FREEBUSY:20131116T080000Z/20131116T090000Z
>>> FREEBUSY:20131116T093000Z/20131116T103000Z
>>> FREEBUSY:20131116T140000Z/20131116T150000Z
>>> END:VFREEBUSY
>>> END:VCALENDAR
>>>
>>>
>>> Could it be that Kronolith searches for the complete address  
>>> "xxxx.yyyy at xxxx.yyyy" instead of using only the username?
>>
>> Kronolith search Turba (or more accurately,the contacts/ api) for  
>> the contact entry using the full email address. Kronolith uses the  
>> freebusy url from the contact found by the contacts/ api to request  
>> the freebusy information.
>
> This is what I expected. But I entered the freebusy url for my  
> colleague in the form  
> https://our.server.der/horde/kronolith/bf.php?u=mycollegue in Turba.  
> In the log files it looks as if Kronolith tries it with  
> https://our.server.der/horde/kronolith/bf.php?u=mycollegue.fullname@our.domain
> Maybe I'm blind but I don't see what I'm doing wrong.

Not sure then. Kronolith uses the results returned from the contacts/  
api as-is. You can trace this yourself in Kronolith_Freebusy::getUrl().

If you are an admin on the horde system, you can try putting this in  
the phpshell (admin->phpshell) be sure to select the "Calendar" scope  
in the drop down.

var_dump(Kronolith_FreeBusy::getUrl('mycollegue.fullname at our.domain'));

This will show you exactly what Turba is returning.

This will show you the rest



-- 
mike

The Horde Project (www.horde.org)
mrubinsk at horde.org
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 5849 bytes
Desc: S/MIME Signature
URL: <http://lists.horde.org/archives/kronolith/attachments/20131116/b0c0aaff/attachment.bin>


More information about the kronolith mailing list