[Tickets #8475] Re: Skipping login tasks not working as expected

bugs at horde.org bugs at horde.org
Wed Aug 19 21:22:42 UTC 2009


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

Ticket URL: http://bugs.horde.org/ticket/8475
------------------------------------------------------------------------------
  Ticket             | 8475
  Updated By         | Jan Schneider <jan at horde.org>
  Summary            | Skipping login tasks not working as expected
  Queue              | Horde Framework Packages
  Version            | Git master
  Type               | Bug
  State              | Feedback
  Priority           | 2. Medium
  Milestone          |
  Patch              |
  Owners             | Jan Schneider, Michael Slusarz
------------------------------------------------------------------------------


Jan Schneider <jan at horde.org> (2009-08-19 17:22) wrote:

> I'm not sure how imp_imap->ob is not set in the garbage collection  
> class.  To reach there, we have to successfully finish IMP  
> authentication which by definition requires the Horde_Imap_Client  
> object to be loaded into the session.  Might be useful to do a  
> print_r on the imp_imap->ob object in IMP_Imap_Tree to see what it  
> is set to.

It doesn't happen always, now it happens in the tree block. If it  
happens once, it happens even after reloading. ->ob is null in those  
cases. Here is an updated backtrace:

( ! ) Fatal error: Call to a member function getNamespaces() on a  
non-object in /home/jan/horde-hatchery/imp/lib/Imap.php on line 325
Call Stack
#	Time	Memory	Function	Location
1	0,0134	129576	{main}( )	../sidebar.php:0
2	1,4395	5554256	Horde_Block->buildTree( class Horde_Tree_javascript {  
public $_source_name = 'n_horde_menu'; public $_options_name =  
'o_horde_menu'; public $_target_name = 't_horde_menu'; public  
$_instance = 'horde_menu'; public $_header = array (); public $_nodes  
= array ('horde' => array ('label' => 'Horde', 'expanded' => FALSE,  
'url' => '/headhorde/index.php', 'icon' =>  
'/headhorde/themes/graphics/horde.png', 'icondir' => ''), 'imp' =>  
array ('label' => 'Webmail', 'expanded' => FALSE, 'url' =>  
'/headhorde/imp/', 'icon' => '/headhorde/imp/themes/graphics/imp.png',  
'icondir' => '', 'children' => array (...)), 'ingo' => array ('label'  
=> 'Filter', 'expanded' => FALSE, 'url' => '/headhorde/ingo/', 'icon'  
=> '/headhorde/ingo/themes/graphics/ingo.png', 'icondir' => ''), 'sam'  
=> array ('label' => 'Spam', 'expanded' => FALSE, 'url' =>  
'/headhorde/sam/', 'icon' => '/headhorde/sam/themes/graphics/sam.png',  
'icondir' => ''), 'forwards' => array ('label' => 'Weiterleitung',  
'expanded' => FALSE, 'url' => '/headhorde/forwards/', 'icon' =>  
'/headhorde/forwards/themes/graphics/forwards.png', 'icondir' => ''),  
'vacation' => array ('label' => 'Abwesenheit', 'expanded' => FALSE,  
'url' => '/headhorde/vacation/', 'icon' =>  
'/headhorde/vacation/themes/graphics/vacation.png', 'icondir' => ''),  
'impcompose' => array ('label' => 'Neue Nachricht', 'expanded' =>  
FALSE, 'icon' => 'compose.png', 'icondir' =>  
'/headhorde/imp/themes/graphics', 'url' =>  
'javascript:Horde.popup(\'%2F%2A-secure-%7B%22url%22%3A%22%5C%2Fheadhorde%5C%2Fimp%5C%2Fcompose.php%22%7D%2A%2F\');', 'target' => 'horde_menu'), 'impsearch' => array ('label' => 'Suche', 'expanded' => FALSE, 'icon' => 'search.png', 'icondir' => '/headhorde/imp/themes/graphics', 'url' => '/headhorde/imp/search.php')); public $_root_nodes = array (0 => 'horde', 1 => 'imp'); public $_extra_cols_left = 0; public $_extra_cols_right = 0; public $_options = array ('lines' => TRUE, 'target' => 'horde_main'); public $_sortCriteria = NULL; public $_usesession = TRUE; public $_static = FALSE; public $_header_name = 'h_horde_menu' }, 0, 'imp'  
)	../sidebar.php:233
3	1,6015	6121924	Horde_Block_imp_tree_folders->_buildTree( class  
Horde_Tree_javascript { public $_source_name = 'n_horde_menu'; public  
$_options_name = 'o_horde_menu'; public $_target_name =  
't_horde_menu'; public $_instance = 'horde_menu'; public $_header =  
array (); public $_nodes = array ('horde' => array ('label' =>  
'Horde', 'expanded' => FALSE, 'url' => '/headhorde/index.php', 'icon'  
=> '/headhorde/themes/graphics/horde.png', 'icondir' => ''), 'imp' =>  
array ('label' => 'Webmail', 'expanded' => FALSE, 'url' =>  
'/headhorde/imp/', 'icon' => '/headhorde/imp/themes/graphics/imp.png',  
'icondir' => '', 'children' => array (...)), 'ingo' => array ('label'  
=> 'Filter', 'expanded' => FALSE, 'url' => '/headhorde/ingo/', 'icon'  
=> '/headhorde/ingo/themes/graphics/ingo.png', 'icondir' => ''), 'sam'  
=> array ('label' => 'Spam', 'expanded' => FALSE, 'url' =>  
'/headhorde/sam/', 'icon' => '/headhorde/sam/themes/graphics/sam.png',  
'icondir' => ''), 'forwards' => array ('label' => 'Weiterleitung',  
'expanded' => FALSE, 'url' => '/headhorde/forwards/', 'icon' =>  
'/headhorde/forwards/themes/graphics/forwards.png', 'icondir' => ''),  
'vacation' => array ('label' => 'Abwesenheit', 'expanded' => FALSE,  
'url' => '/headhorde/vacation/', 'icon' =>  
'/headhorde/vacation/themes/graphics/vacation.png', 'icondir' => ''),  
'impcompose' => array ('label' => 'Neue Nachricht', 'expanded' =>  
FALSE, 'icon' => 'compose.png', 'icondir' =>  
'/headhorde/imp/themes/graphics', 'url' =>  
'javascript:Horde.popup(\'%2F%2A-secure-%7B%22url%22%3A%22%5C%2Fheadhorde%5C%2Fimp%5C%2Fcompose.php%22%7D%2A%2F\');', 'target' => 'horde_menu'), 'impsearch' => array ('label' => 'Suche', 'expanded' => FALSE, 'icon' => 'search.png', 'icondir' => '/headhorde/imp/themes/graphics', 'url' => '/headhorde/imp/search.php')); public $_root_nodes = array (0 => 'horde', 1 => 'imp'); public $_extra_cols_left = 0; public $_extra_cols_right = 0; public $_options = array ('lines' => TRUE, 'target' => 'horde_main'); public $_sortCriteria = NULL; public $_usesession = TRUE; public $_static = FALSE; public $_header_name = 'h_horde_menu' }, 0, 'imp'  
)	../Block.php:198
4	1,7509	7846868	IMP_Imap_Tree::singleton( )	../tree_folders.php:57
5	1,7518	7848260	IMP_Imap_Tree->__construct( )	../Tree.php:220
6	1,7518	7848260	IMP_Imap->getNamespaceList( )	../Tree.php:233






More information about the bugs mailing list