[Tickets #6638] Support for multiple results retrieving FB info

bugs at horde.org bugs at horde.org
Tue Apr 22 16:09:30 UTC 2008


DO NOT REPLY TO THIS MESSAGE. THIS EMAIL ADDRESS IS NOT MONITORED.

Ticket URL: http://bugs.horde.org/ticket/6638
-----------------------------------------------------------------------
 Ticket             | 6638
 Created By         | almarin at um.es
 Summary            | Support for multiple results retrieving FB info
 Queue              | Kronolith
 Version            | HEAD
 Type               | Enhancement
 State              | New
 Priority           | 1. Low
 Milestone          |
 Patch              |
 Owners             |
+New Attachment     | FreeBusy.php.patch
-----------------------------------------------------------------------


almarin at um.es (2008-04-22 12:09) wrote:

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 behaviour




More information about the bugs mailing list