6.0.0-RC7
6/27/26
  • Error
    Ticket 5723 was not found.

[#2699] Search Does Not Work
Summary Search Does Not Work
Queue IMP
Queue Version 4.0.4-RC2
Type Bug
State Not A Bug
Priority 2. Medium
Owners slusarz (at) horde (dot) org
Requester ajitdixit (at) shreya (dot) co (dot) in
Created 9/28/05 (7577 days ago)
Due
Updated 9/28/05 (7577 days ago)
Assigned 9/28/05 (7577 days ago)
Resolved 9/28/05 (7577 days ago)
Github Issue Link
Github Pull Request
Milestone
Patch No

History
337 ajitdixit (at) shreya (dot) co (dot) in Comment #8 Reply to this comment
Nothing has changed in imp/lib/Search between RC1 and RC2 so this is
not an imp issue.  The search problem you are indicating was an error
in Horde's IMAP_Search and can be solved by upgrading to Horde 3.0.5.
YOU ARE CORRECT

THE PROBLEM IS SOLVED
156 Michael Slusarz Comment #7 Reply to this comment
Nothing has changed in imp/lib/Search between RC1 and RC2 so this is 
not an imp issue.  The search problem you are indicating was an error 
in Horde's IMAP_Search and can be solved by upgrading to Horde 3.0.5.
226 ajitdixit (at) shreya (dot) co (dot) in Comment #6 Reply to this comment

[Show Quoted Text - 16 lines]
  /* Prepare the search query. */

         if (!empty($ob)) {

             $old_query = unserialize($imp['search']['query']);

             $query = &new IMAP_Search_Query();

             $query->imapAnd(array($ob, $old_query));

         } else {

             $query = unserialize($imp['search']['query']);

         }
I have multiple imp versions running Simulteneously and I had picked
wrong line in Log . I regret

But the reporting is correct
196 ajitdixit (at) shreya (dot) co (dot) in Comment #5 Reply to this comment
Duplicate of Bug 1367. (and line 585 is a comment in RC2 so you are
not running RC2 as you indicate).
The Problem Is As Under :



In Search Menu If You Select Match Any Query  The Search Works

If You Select Match  All  Quiries then the Search returns empty Set



The problem is coming from lib/Search.php



I have copied the lib/Search.php of  4.0.4-RC1 In 4.0.4-RC2 and now 
Match All Quiries work



I feel the problem is in Line No 23 To 29 Of  lib/Search.php in 
version  4.0.4-RC2



I have multiple imp versions running Simulteneously and I had picked 
wrong line in Log . I regret



But the reporting is correct
164 Michael Slusarz Comment #4
State ⇒ Not A Bug
Reply to this comment
Duplicate of Bug 1367. (and line 585 is a comment in RC2 so you are 
not running RC2 as you indicate).


182 Jan Schneider Assigned to Michael Slusarz
State ⇒ Assigned
 
392 ajitdixit (at) shreya (dot) co (dot) in Comment #3 Reply to this comment
Do you want us to guess, or will you tell us the exact error message?
The message from php log is as under :

PHP Notice:  Undefined offset:  0 in 
/var/www/html/horde/imp/lib/IMP.php on line 585

For any search Horde gives following message

No messages matched your search.

Presently I am using 4.0.4-RC-1 in which search works OK.




111 Jan Schneider Comment #2
State ⇒ Feedback
Priority ⇒ 2. Medium
Reply to this comment
Do you want us to guess, or will you tell us the exact error message?
4010 ajitdixit (at) shreya (dot) co (dot) in Comment #1
Priority ⇒ 3. High
Type ⇒ Bug
Summary ⇒ Search Does Not Work
Queue ⇒ IMP
State ⇒ Unconfirmed
Reply to this comment
Search Does not Return Any row  in php-5.0.5 Version. PHP gives notice 
of incorrect index

Saved Queries