[kronolith] Múltiple results finding freebusy urls not supported

Alfonso Marí­n Marí­n almarin at um.es
Tue Apr 22 11:33:25 UTC 2008


Hello list:

I have configured in turba two different sources (one in BD and other is 
LDAP), and sometimes, an user with a freebusyurl could be in both of 
them with a duplicate freebusyurl entry.

In that cases, kronolith gives me an error (freebusy info not found). It 
happens because kronolith uses turba's api method 'getField'. This 
method, if parameter $multiple=true not defined, returns an PEAR_Error: 
More than 1 entry found.

So... I wonder... Should be desirable that, at least, the first result 
was returned instead an PEAR_Error?

To give a pointer, I attach a simple patch to support this behavior

Kind Regards
Alfonso

-------------- next part --------------
A non-text attachment was scrubbed...
Name: FreeBusy.php.patch
Type: text/x-patch
Size: 824 bytes
Desc: not available
Url : http://lists.horde.org/archives/kronolith/attachments/20080422/c0c25e9d/attachment.bin 


More information about the kronolith mailing list