6.0.0-beta1
7/4/25

[#10632] Missing folder names in "Search Results" tooltip display and Recent Searches select box
Summary Missing folder names in "Search Results" tooltip display and Recent Searches select box
Queue IMP
Queue Version 5.0.13
Type Bug
State Resolved
Priority 1. Low
Owners slusarz (at) horde (dot) org
Requester jmDS (at) hampshire (dot) edu
Created 10/11/2011 (5015 days ago)
Due
Updated 10/11/2011 (5015 days ago)
Assigned 10/11/2011 (5015 days ago)
Resolved 10/11/2011 (5015 days ago)
Github Issue Link
Github Pull Request
Milestone
Patch No

History
10/11/2011 05:30:29 PM Michael Slusarz Comment #4
Assigned to Michael Slusarz
State ⇒ Resolved
Reply to this comment
Nope - this was a bug.  The subfolders property of IMP_Mailbox was 
returning a list of mailbox names, not mailbox objects.
10/11/2011 05:29:53 PM Git Commit Comment #3 Reply to this comment
Changes have been made in Git for this ticket:

Bug #10632: subfolders should return list of objects

  1 files changed, 3 insertions(+), 3 deletions(-)
http://git.horde.org/horde-git/-/commit/6003a275a62148c8e281e191ea2b96197f0aaa7a
10/11/2011 05:01:34 PM Jan Schneider Comment #2
State ⇒ Feedback
Reply to this comment
Cannot reproduce in Git, probably fixed for next release.
10/11/2011 03:29:12 PM jmDS (at) hampshire (dot) edu Comment #1
Priority ⇒ 1. Low
Type ⇒ Bug
Summary ⇒ Missing folder names in "Search Results" tooltip display and Recent Searches select box
Queue ⇒ IMP
Milestone ⇒
Patch ⇒ No
State ⇒ Unconfirmed
Reply to this comment
On the results page of a search, you can mouse over the text 'Search 
Results' to see the search query used. The part of the text that 
should contain the folder(s) the search was performed on is just '[]', 
however.

In the error log, I see:

PHP ERROR: Trying to get property of non-object [pid 28976 on line 264 
of "/var/www/horde/imp/lib/Search/Query.php"]

Line 264 in /var/www/horde/imp/lib/Search/Query.php is:

$mbox_display[] = $val->display;

but $val is a string, not an object, and the line should be:

$mbox_display[] = $val;

This also shows up in the "Recent Searches" select box, which has '[]' 
instead of the relevant search folder(s) being displayed.

Saved Queries