[Tickets #3449] NEW: More than one entry returned while obtaining Free/Busy URL

bugs@bugs.horde.org bugs at bugs.horde.org
Fri Feb 10 04:17:47 PST 2006


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

Ticket URL: http://bugs.horde.org/ticket/?id=3449
-----------------------------------------------------------------------
 Ticket             | 3449
 Created By         | flgomes at fazenda.sp.gov.br
 Summary            | More than one entry returned while obtaining Free/Busy URL
 Queue              | Kronolith
 Version            | 2.0.6
 State              | Unconfirmed
 Priority           | 1. Low
 Type               | Bug
 Owners             | 
+New Attachment     | Patch.tar.gz
-----------------------------------------------------------------------


flgomes at fazenda.sp.gov.br (2006-02-10 04:17) wrote:

While trying to obtain Free/Busy URLs, Kronolith searchs the backends using
the default Turba configuration wich makes it use the 'LIKE' operand (mail =
*email at domain.foo*, for LDAP). Doing that, the results returned may be more
than one entry, causing Kronolith to discard all of them. The correct
behavior should search for exact matches (mail = email at domain.foo), which
would return only one entry if found.
I attached one patch with changes in Turba's (2.0.5) lib/api.php and
lib/Driver.php and 
Kronolith's (2.0.6) lib/Kronolith.php that enforces strict search for the
'email' field.
That patch was only tested using LDAP backend and it should be checked for
more experienced Horde programmers to ensure if it is not breaking any
compatibility.




More information about the bugs mailing list