[Tickets #9213] Re: Left pane menu crash when no folder on imap server

bugs at horde.org bugs at horde.org
Thu Sep 9 18:52:18 UTC 2010


DO NOT REPLY TO THIS MESSAGE. THIS EMAIL ADDRESS IS NOT MONITORED.

Ticket URL: http://bugs.horde.org/ticket/9213
------------------------------------------------------------------------------
  Ticket             | 9213
  Updated By         | luc.germain at usherbrooke.ca
  Summary            | Left pane menu crash when no folder on imap server
  Queue              | IMP
  Version            | 4.3.7
  Type               | Bug
  State              | Feedback
  Priority           | 1. Low
  Milestone          |
  Patch              |
  Owners             |
------------------------------------------------------------------------------


luc.germain at usherbrooke.ca (2010-09-09 14:52) wrote:

> I can't reproduce this.

Here are "print_r" of some arrays that might help you. These are  
obtained when I have no folders (other than INBOX).

- print_r of the result of "$this->_runCommand('NAMESPACE');" from  
imp/lib/IMAP/Client.php

IMAP_CLIENT readNamespaces: stdClass Object
(
     [response] => OK
     [message] => NAMESPACE NIL NIL (("Shared/" "/"))
     [type] => 1
)

- print_r of "$this->_namespaces" in function init() from  
imp/lib/IMAP/Tree.php

(
     [Shared/] => Array
         (
             [name] => Shared/
             [delimiter] => /
             [type] => shared
             [hidden] =>
         )
)

=> note that there is no "[type] => personal" section in the array

- print_r of "$this->_tree" just before leaving init() in  
imp/lib/IMAP/Tree.php

(
     [%] => Array
         (
             [a] => 64
             [v] => %
         )
)

=> note: there is no [INBOX] element...

- print_r of $tree_ob just before   foreach($tree_ob[0], ...

(
     [0] => Array
         (
             [0] => Array
                 (
                     [display] =>
                     [peek] =>
                 )

         )

     [1] => Array
         (
         )

     [2] => Array
         (
             [0] =>
         )

)

=> no [value]...


Hope this help.






More information about the bugs mailing list