[Tickets #7050] Re: httpd segfaults with sidebar.php
bugs at horde.org
bugs at horde.org
Wed Jul 9 23:18:36 UTC 2008
DO NOT REPLY TO THIS MESSAGE. THIS EMAIL ADDRESS IS NOT MONITORED.
Ticket URL: http://bugs.horde.org/ticket/7050
------------------------------------------------------------------------------
Ticket | 7050
Updated By | Michael Slusarz <slusarz at horde.org>
Summary | httpd segfaults with sidebar.php
Queue | IMP
Version | HEAD
Type | Bug
State | Assigned
Priority | 2. Medium
Milestone |
Patch |
-Owners | Michael Slusarz
+Owners |
------------------------------------------------------------------------------
Michael Slusarz <slusarz at horde.org> (2008-07-09 19:18) wrote:
> Michael, looks like you did the commit in question
> (http://cvs.horde.org/diff.php/imp/lib/Block/tree_folders.php?r1=1.69&r2=1.70) - do you remember what this
> was
> for?
Well... besides the fact that without that code *no* mailboxes show
up, it's kind of just a little bit important.
I don't see anything wrong with that code. We want to show mailboxes
in the bottom level of the namespace (when $val['level'] is empty)
directly under the 'imp' entry (which is what $parent should be).
However, we can't directly use "$parent . $val['parent']" as the
parent ID in this case because $val['parent'] is equal to
IMPTREE_BASE_ELT -- which is '%'. The parent entry "imp%" does not
exist, obviously, so none of these folders (nor any of its children)
will ever show up.
IMPTREE_BASE_ELT used to be equal to \01 I belive which would allowed
this code to work before 6/07. For various reasons, using \01 to
stand for the base was not a good idea, so thus the need to catch the
space 'base level' case.
More information about the bugs
mailing list