6.0.0-beta1
7/17/25

[#6638] Support for multiple results retrieving FB info
Summary Support for multiple results retrieving FB info
Queue Kronolith
Queue Version HEAD
Type Enhancement
State Resolved
Priority 1. Low
Owners chuck (at) horde (dot) org
Requester almarin (at) um (dot) es
Created 04/22/2008 (6295 days ago)
Due
Updated 04/24/2008 (6293 days ago)
Assigned
Resolved 04/24/2008 (6293 days ago)
Milestone
Patch No

History
04/24/2008 01:55:28 AM Chuck Hagenbuch Comment #2
Assigned to Chuck Hagenbuch
State ⇒ Resolved
Reply to this comment
Looks good - tweaked very slightly and committed. It'll be in the next 
Kronolith 2.2 RC. Thanks!
04/22/2008 04:09:29 PM almarin (at) um (dot) es Comment #1
Priority ⇒ 1. Low
New Attachment: FreeBusy.php.patch Download
Patch ⇒ No
Milestone ⇒
Queue ⇒ Kronolith
Summary ⇒ Support for multiple results retrieving FB info
Type ⇒ Enhancement
State ⇒ New
Reply to this comment
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

Saved Queries