[Tickets #11578] Re: Empty UID search
bugs at horde.org
bugs at horde.org
Thu Oct 25 23:25:36 UTC 2012
DO NOT REPLY TO THIS MESSAGE. THIS EMAIL ADDRESS IS NOT MONITORED.
Ticket URL: http://bugs.horde.org/ticket/11578
------------------------------------------------------------------------------
Ticket | 11578
Updated By | Michael Slusarz <slusarz at horde.org>
Summary | Empty UID search
Queue | IMP
Version | Git master
Type | Bug
-State | Assigned
+State | Feedback
Priority | 1. Low
Milestone |
Patch |
Owners | Michael Slusarz
------------------------------------------------------------------------------
Michael Slusarz <slusarz at horde.org> (2012-10-25 17:25) wrote:
The only thing I *think* this could be is the new CONDSTORE sync code
that searches for deleted messages to remove from the cache.
Specifically, this search query:
$squery = new Horde_Imap_Client_Search_Query();
$squery->ids($this->getIdsOb($uids_ob->range_string));
But $uids_ob is created from $uids, and this is not done unless $uids
is non-empty. $uids is grabbed from the cache.
$uids_ob->range_string would return an empty string if $uids is a
non-string, but that is impossible since the cache->get() call can
ONLY return an array.
The only other thing I can think of is that your Horde_Imap_Client_Ids
has not been updated in PHP/cache/autoload/etc., so range_string
doesn't exist and is therefore returning an empty string.
More information about the bugs
mailing list