[rt-users] error trying to edit Keyword Selections on Queue

Jesse Vincent jesse at bestpractical.com
Sun Nov 4 16:53:26 EST 2001


You don't want to be running the head of the CVS branch unless you really 
really know what your doing.  And you probably don't want to be discussing
unreleased code on rt-users.  This is probably best reserved for rt-devel.

	-j

On Wed, Oct 31, 2001 at 06:46:55PM -0500, tmokros at neo.rr.com wrote:
> I receive the following error when trying to edit Keyword Selections on a 
> Queue.  (I also received the same error when trying to edit Keyword 
> Selections on Global).
> Running on linux 2.4.13-ac2
> 
> perl-5.6.0-17
> apache-1.3.22-1
> mysql-3.23.43-1
> mod_perl-1.24_01-3
> 
> using current CVS version of RT2 (as of 6:30pm EST 10/31/01)
> 
> error in file:    /usr/local/rt2/lib/RT/Keyword.pm   
> line 180:  Can't call method "Id" on an undefined value
> context:  
> ... 
> 176:  # is the the one we wanted.
> 177:  #we shouldn't need to explicitly load it like this. but we do 
> *sigh*.
> 178:  # once we get data caching, it won't matter so much.
> 179: 
> 180:  $self->Load($tempkey->Id);
> 181: 
> 182:  return (1, 'Keyword loaded');
> 183:  }
> 184: 
> ... 
> component stack:   /Admin/Elements/SelectKeywordSelect [standard]
> /Admin/Queues/Keywords.html [standard]
> /autohandler [standard]
> code stack:   /usr/local/rt2/lib/RT/Keyword.pm:230
> /usr/local/rt2/lib/RT/KeywordSelect.pm:285
> /usr/local/rt2/WebRT/data/obj/STANDARD/Admin/Elements/SelectKeywordSelect:35
> /usr/local/rt2/WebRT/data/obj/STANDARD/Admin/Queues/Keywords.html:138
> /usr/lib/perl5/site_perl/5.6.0/HTML/Mason/Request.pm:316
> /usr/local/rt2/WebRT/data/obj/STANDARD/autohandler:69
> /usr/lib/perl5/site_perl/5.6.0/HTML/Mason/Request.pm:159
> 
> 
> raw error:  
> 
> error while executing /Admin/Elements/SelectKeywordSelect [standard]:
> Can't call method "Id" on an undefined value at 
> /usr/local/rt2/lib/RT/Keyword.pm line 180, line 71.
> HTML::Mason::Interp::__ANON__() called at /usr/local/rt2/lib/RT/Keyword.pm 
> line 180
> RT::Keyword::LoadByPath() called at /usr/local/rt2/lib/RT/Keyword.pm line 
> 230
> RT::Keyword::Load() called at /usr/local/rt2/lib/RT/KeywordSelect.pm line 
> 285
> RT::KeywordSelect::KeywordObj() called at 
> /usr/local/rt2/WebRT/data/obj/STANDARD/Admin/Elements/SelectKeywordSelect 
> line 35
> HTML::Mason::Commands::__ANON__() called at 
> /usr/lib/perl5/site_perl/5.6.0/HTML/Mason/Component.pm line 131
> HTML::Mason::Component::run() called at 
> /usr/lib/perl5/site_perl/5.6.0/HTML/Mason/Request.pm line 653
> require 0 called at /usr/lib/perl5/site_perl/5.6.0/HTML/Mason/Request.pm 
> line 653
> HTML::Mason::Request::comp() called at 
> /usr/local/rt2/WebRT/data/obj/STANDARD/Admin/Queues/Keywords.html line 138
> HTML::Mason::Commands::__ANON__() called at 
> /usr/lib/perl5/site_perl/5.6.0/HTML/Mason/Component.pm line 131
> HTML::Mason::Component::run() called at 
> /usr/lib/perl5/site_perl/5.6.0/HTML/Mason/Request.pm line 653
> require 0 called at /usr/lib/perl5/site_perl/5.6.0/HTML/Mason/Request.pm 
> line 653
> HTML::Mason::Request::comp() called at 
> /usr/lib/perl5/site_perl/5.6.0/HTML/Mason/Request.pm line 316
> HTML::Mason::Request::call_next() called at 
> /usr/local/rt2/WebRT/data/obj/STANDARD/autohandler line 69
> HTML::Mason::Commands::__ANON__() called at 
> /usr/lib/perl5/site_perl/5.6.0/HTML/Mason/Component.pm line 131
> HTML::Mason::Component::run() called at 
> /usr/lib/perl5/site_perl/5.6.0/HTML/Mason/Request.pm line 653
> require 0 called at /usr/lib/perl5/site_perl/5.6.0/HTML/Mason/Request.pm 
> line 653
> HTML::Mason::Request::comp() called at 
> /usr/lib/perl5/site_perl/5.6.0/HTML/Mason/Request.pm line 159
> require 0 called at /usr/lib/perl5/site_perl/5.6.0/HTML/Mason/Request.pm 
> line 159
> HTML::Mason::Request::exec() called at 
> /usr/lib/perl5/site_perl/5.6.0/HTML/Mason/ApacheHandler.pm line 914
> HTML::Mason::ApacheHandler::handle_request_1() called at 
> /usr/lib/perl5/site_perl/5.6.0/HTML/Mason/ApacheHandler.pm line 560
> require 0 called at 
> /usr/lib/perl5/site_perl/5.6.0/HTML/Mason/ApacheHandler.pm line 560
> HTML::Mason::ApacheHandler::handle_request() called at 
> /usr/local/rt2/bin/webmux.pl line 165
> RT::Mason::handler() called at /dev/null line 0
> require 0 called at /dev/null line 0
> 
> -- 
> Todd Mokros
> tmokros at neo.rr.com
> 
> 
> 
> _______________________________________________
> rt-users mailing list
> rt-users at lists.fsck.com
> http://lists.fsck.com/mailman/listinfo/rt-users
> 

-- 
http://www.bestpractical.com/products/rt  -- Trouble Ticketing. Free.




More information about the rt-users mailing list