[Bilhetes #3449] More than one entry returned while obtaining Free/Busy URL

bugs@bugs.horde.org bugs at bugs.horde.org
Tue Feb 21 03:58:02 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
 Updated By         | flgomes at fazenda.sp.gov.br
 Summary            | More than one entry returned while obtaining Free/Busy URL
 Queue              | Kronolith
 Version            | HEAD
 State              | Feedback
 Priority           | 1. Low
 Type               | Bug
 Owners             | 
+New Attachment     | new_kronolith_turba_2.patch
-----------------------------------------------------------------------


flgomes at fazenda.sp.gov.br (2006-02-21 03:58) wrote:

> Was the change to makeSearch() intended? I left it out because it 
> breaks any other search and committed the rest. Let me know if 
> everything works fine now.
Yes, it was intended because I'm sendind $strict['email'], not
$strict['mail']. As far as I could understand that hash key should not be
mapped/translated. I fear it won't work if that key get translated. Unless I
send 'mail' instead of 'email' in api.php:1207 wich will only work with ldap
since the others backends have different key mapping.
To solve that I can translate that key before send it to makeSearch():
$strict_fields[$this->map[$strict_field]] = true;
Then, that key will be translated again in makeSearch(). I attached a new
version of the patch with that change.
What do you suggest?




More information about the bugs mailing list