[Rt-devel] re: 3.6.0pre error

Scott T. Hildreth shildret at scotth.emsphone.com
Thu Mar 23 09:53:37 EST 2006



 
> error:  	Can't call method "Content" on an undefined value at 
> /site/rt-3.6.0pre/share/html/Elements/MyRT line 76.
> 

  I had the same problem, first login as root.  I could go to the other 
pages, but RT-AT-A-Glance was giving the above error.  I did figure it
out, I just can't remember what I did to fix it.  We use ExternalAuth
here so maybe I just turned that on and all the users were working fine.
I'll try to rack my brain some more,  see if I recall what I did to fix
it.   Getting older now, probably should start writing things
down.... :-).

>   context:
> ...
> 72:
> 73:  	unless (exists $session{'my_rt_portlets'}) {
> 74:  	my ($d_portlets) = 
> RT::System->new($session{'CurrentUser'})->Attributes->Named('HomepageSettings');
> 75:  	my $user = $session{'CurrentUser'}->UserObj;
> 76:  	$session{'my_rt_portlets'} = $user->Preferences('HomepageSettings', 
> $d_portlets->Content);
> 77:  	}
> 78:
> 79:  	my $portlets = $session{'my_rt_portlets'};
> 80:
> ...
> 
> code stack:  	/site/rt-3.6.0pre/share/html/Elements/MyRT:76
> /site/rt-3.6.0pre/share/html/index.html:79
> /site/rt-3.6.0pre/share/html/autohandler:247
> raw error
> 
-- 
Scott T. Hildreth <shildret at scotth.emsphone.com>


More information about the Rt-devel mailing list