6.0.0-alpha12
6/8/25

[#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 09/28/2005 (7193 days ago)
Due
Updated 09/28/2005 (7193 days ago)
Assigned 09/28/2005 (7193 days ago)
Resolved 09/28/2005 (7193 days ago)
Github Issue Link
Github Pull Request
Milestone
Patch No

History
09/28/2005 07:38:33 PM 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
09/28/2005 06:57:15 PM 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.
09/28/2005 06:45:22 PM 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
09/28/2005 06:38:19 PM 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
09/28/2005 04:00:16 PM 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).


09/28/2005 02:18:18 PM Jan Schneider Assigned to Michael Slusarz
State ⇒ Assigned
 
09/28/2005 02:03:39 PM 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.




09/28/2005 11:06:01 AM 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?
09/28/2005 10:46:40 AM 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