6.0.0-beta1
▾
Tasks
New Task
Search
Photos
Wiki
▾
Tickets
New Ticket
Search
dev.horde.org
Toggle Alerts Log
Help
10/18/25
H
istory
A
ttachments
C
omment
W
atch
Download
Comment on [#11207] Favourites driver matches all email address searches
*
Your Email Address
*
Spam protection
Enter the letters below:
.__ .__.. ..___. . [__)[__]|\ |[__ |_/ | | || \|[___| \
Comment
> There is nothing wrong with the preferences. And I have verified > multiple times that nothing has changed in IMP 5 relating to the > image viewing code. > > On my system, however, something appears broken with the Turba > getField API call. It matches ALL entries in the favourites table, > even if those emails do not match the search query (the matches are > not even close). The query being run is this: > > Array > ( > [AND] => Array > ( > [0] => Array > ( > [field] => email > [op] => = > [test] => foo@example.com > ) > ) > ) > > Two problems with this query: > 1) The code in the Favourites driver does not handle the '=' op, only > the LIKE op. > 2) Any AND query that doesn't match will be considered as "found" and > will be returned. (That's why the absence of the '=' op constititues > matching). > > Thus any email address, if querying the favourites addressbook, will > ALWAYS be considered matched AFAICT. No idea if this is your issue > and, if so, why it suddenly started when upgrading only IMP.
Attachment
Watch this ticket
N
ew Ticket
M
y Tickets
S
earch
Q
uery Builder
R
eports
Saved Queries
Open Bugs
Bugs waiting for Feedback
Open Bugs in Releases
Open Enhancements
Enhancements waiting for Feedback
Bugs with Patches
Enhancements with Patches
Release Showstoppers
Stalled Tickets
New Tickets
Horde 5 Showstoppers