No, it's a draft of a real fix. You should apply it, clean mason
cache, restart server and test for a week to prove that it fixes
issue.
This error is well known, but we still don't know how to reproduce it,
so from time to time I make a new patch to fix it, this time I'm
pretty sure the patch works.
On 3/29/07, Philip Kime <[EMAIL PROTECTED]> wrote:
This patch is in SVN?
PK
-----Original Message-----
From: Ruslan Zakirov [mailto:[EMAIL PROTECTED]
Sent: Wednesday, March 28, 2007 1:06 PM
To: Philip Kime
Cc: [email protected]
Subject: Re: [rt-users] Random error when clicking on "Home"
add the following line in the begining of <%init> block in
html/authandler:
{ my $tmp = RT::Attribute->new( $RT::SystemUser ) }
On 3/28/07, Philip Kime <[EMAIL PROTECTED]> wrote:
>
>
> We see this on occasion, known issue?
>
>
>
>
> When clicking 'home' from the nav bar:
>
>
>
>
> error:
>
> RT::Attribute::Name Unimplemented in RT::Attributes.
(/usr/local/rt/lib/RT/Attributes_Overlay.pm line 80)
>
>
> context:
>
>
> ...
>
>
>
>
> 492:
>
> else {
>
>
> 493:
>
> my ( $package, $filename, $line );
>
>
> 494:
>
> ( $package, $filename, $line ) = caller;
>
>
> 495:
>
>
>
>
> 496:
>
> die "$AUTOLOAD Unimplemented in $package. ($filename line
$line) \n";
>
>
> 497:
>
> }
>
>
> 498:
>
>
>
>
> 499:
>
> }
>
>
> 500:
>
>
>
>
> ...
>
>
>
>
>
>
> code stack:
>
> /opt/ActivePerl-5.8/lib/site_perl/5.8.8/DBIx/SearchBuilder/Record.pm:4
> 96 /usr/local/rt/lib/RT/Attributes_Overlay.pm:80
> /usr/local/rt/lib/RT/Attributes_Overlay.pm:72
> /usr/local/rt/lib/RT/Attributes_Overlay.pm:87
> /usr/local/rt/lib/RT/Attributes_Overlay.pm:118
> /usr/local/rt/share/html/Elements/ShowSearch:83
> /usr/local/rt/share/html/Elements/MyRT:97
> /usr/local/rt/share/html/index.html:79
> /usr/local/rt/share/html/autohandler:308
>
> raw error
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
> RT::Attribute::Name Unimplemented in RT::Attributes.
> (/usr/local/rt/lib/RT/Attributes_Overlay.pm line 80)
>
>
> Trace begun at
> /opt/ActivePerl-5.8/lib/site_perl/5.8.8/HTML/Mason/Exceptions.pm line
> 129 HTML::Mason::Exceptions::rethrow_exception('RT::Attribute::Name
> Unimplemented in RT::Attributes.
> (/usr/local/rt/lib/RT/Attributes_Overlay.pm line 80) ^J') called at
> /opt/ActivePerl-5.8/lib/site_perl/5.8.8/DBIx/SearchBuilder/Record.pm
> line 496
> DBIx::SearchBuilder::Record::AUTOLOAD('RT::Attribute=HASH(0xa2a3d0d4)'
> ) called at /usr/local/rt/lib/RT/Attributes_Overlay.pm line 80
> RT::Attributes::_BuildAccessTable('RT::Attributes=HASH(0xa426cafc)')
> called at /usr/local/rt/lib/RT/Attributes_Overlay.pm line 72
> RT::Attributes::_DoSearch('RT::Attributes=HASH(0xa426cafc)') called at
> /usr/local/rt/lib/RT/Attributes_Overlay.pm line 87
> RT::Attributes::_AttrHash('RT::Attributes=HASH(0xa426cafc)') called at
> /usr/local/rt/lib/RT/Attributes_Overlay.pm line 118
> RT::Attributes::Named('RT::Attributes=HASH(0xa426cafc)', 'Search - My
> Tickets') called at /usr/local/rt/share/html/Elements/ShowSearch line
> 83 HTML::Mason::Commands::__ANON__('Name', 'My Tickets', 'Override',
> 'HASH(0xa2892b08)') called at
> /opt/ActivePerl-5.8/lib/site_perl/5.8.8/HTML/Mason/Component.pm line
> 135
> HTML::Mason::Component::run('HTML::Mason::Component::FileBased=HASH(0x
> 109bdb6c)', 'Name', 'My Tickets', 'Override', 'HASH(0xa2892b08)')
> called at
> /opt/ActivePerl-5.8/lib/site_perl/5.8.8/HTML/Mason/Request.pm line
> 1246 eval {...} at
> /opt/ActivePerl-5.8/lib/site_perl/5.8.8/HTML/Mason/Request.pm line
> 1245 HTML::Mason::Request::comp(undef, undef, 'Name', 'My Tickets',
> 'Override', 'HASH(0xa2892b08)') called at
> /usr/local/rt/share/html/Elements/MyRT line 97
> HTML::Mason::Commands::__ANON__('HASH(0xa399a874)') called at
> /usr/local/rt/share/html/Elements/MyRT line 51
> HTML::Mason::Commands::__ANON__ at
> /opt/ActivePerl-5.8/lib/site_perl/5.8.8/HTML/Mason/Component.pm line
> 135
> HTML::Mason::Component::run('HTML::Mason::Component::FileBased=HASH(0x
> c3dbad4)') called at
> /opt/ActivePerl-5.8/lib/site_perl/5.8.8/HTML/Mason/Request.pm line
> 1251 eval {...} at
> /opt/ActivePerl-5.8/lib/site_perl/5.8.8/HTML/Mason/Request.pm line
> 1245 HTML::Mason::Request::comp(undef, undef) called at
> /usr/local/rt/share/html/index.html line 79
> HTML::Mason::Commands::__ANON__ at
> /opt/ActivePerl-5.8/lib/site_perl/5.8.8/HTML/Mason/Component.pm line
> 135
> HTML::Mason::Component::run('HTML::Mason::Component::FileBased=HASH(0x
> 871d458)') called at
> /opt/ActivePerl-5.8/lib/site_perl/5.8.8/HTML/Mason/Request.pm line
> 1251 eval {...} at
> /opt/ActivePerl-5.8/lib/site_perl/5.8.8/HTML/Mason/Request.pm line
> 1245 HTML::Mason::Request::comp(undef, undef, undef) called at
> /usr/local/rt/share/html/autohandler line 308
> HTML::Mason::Commands::__ANON__ at
> /opt/ActivePerl-5.8/lib/site_perl/5.8.8/HTML/Mason/Component.pm line
> 135
> HTML::Mason::Component::run('HTML::Mason::Component::FileBased=HASH(0x
> b552dd4)') called at
> /opt/ActivePerl-5.8/lib/site_perl/5.8.8/HTML/Mason/Request.pm line
> 1246 eval {...} at
> /opt/ActivePerl-5.8/lib/site_perl/5.8.8/HTML/Mason/Request.pm line
> 1245 HTML::Mason::Request::comp(undef, undef, undef) called at
> /opt/ActivePerl-5.8/lib/site_perl/5.8.8/HTML/Mason/Request.pm line 459
> eval {...} at
> /opt/ActivePerl-5.8/lib/site_perl/5.8.8/HTML/Mason/Request.pm line 459
> eval {...} at
> /opt/ActivePerl-5.8/lib/site_perl/5.8.8/HTML/Mason/Request.pm line 411
> HTML::Mason::Request::exec('HTML::Mason::Request::ApacheHandler=HASH(0
> xa322c234)') called at
> /opt/ActivePerl-5.8/lib/site_perl/5.8.8/HTML/Mason/ApacheHandler.pm
> line 168
> HTML::Mason::Request::ApacheHandler::exec('HTML::Mason::Request::Apach
> eHandler=HASH(0xa322c234)') called at
> /opt/ActivePerl-5.8/lib/site_perl/5.8.8/HTML/Mason/ApacheHandler.pm
> line 826
> HTML::Mason::ApacheHandler::handle_request('HTML::Mason::ApacheHandler
> =HASH(0xb748670)', 'Apache2::RequestRec=SCALAR(0xa3ccc624)') called at
> /usr/local/rt/bin/webmux.pl line 123 eval {...} at
> /usr/local/rt/bin/webmux.pl line 123
> RT::Mason::handler('Apache2::RequestRec=SCALAR(0xa3ccc624)') called at
> -e line 0 eval {...} at -e line 0
>
>
>
> _______________________________________________
> http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users
>
> Community help: http://wiki.bestpractical.com Commercial support:
> [EMAIL PROTECTED]
>
>
> Discover RT's hidden secrets with RT Essentials from O'Reilly Media.
> Buy a copy at http://rtbook.bestpractical.com
>
--
Best regards, Ruslan.
--
Best regards, Ruslan.
_______________________________________________
http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users
Community help: http://wiki.bestpractical.com
Commercial support: [EMAIL PROTECTED]
Discover RT's hidden secrets with RT Essentials from O'Reilly Media.
Buy a copy at http://rtbook.bestpractical.com