Subject: | error when try to become user who has super priv |
Date: | Thu, 15 Oct 2009 10:53:23 -0700 |
To: | bug-RTx-BecomeUser [...] rt.cpan.org |
From: | Allen Lee <allen [...] crystalfontz.com> |
BecomeUser works fine for all users except 2 who are in a special
group called "rtadmin" which has no rights except "SuperUser" in the
"Global" "Group Rights" context.
For these 2 users, I get this error when trying to become them:
"Can't call method "Next" on an undefined value at
/usr/local/share/request-tracker3.8/plugins/RTx-BecomeUser/html/Admin/Tools/BecomeUser.html
line 86."
----
$RTx::BecomeUser::VERSION = "1.10_1";
RT 3.8.4 by Ubuntu package
perl -v: v5.10.0 (ubuntu package)
uname -a: Linux web0 2.6.28-13-server #45-Ubuntu SMP Tue Jun 30
22:56:18 UTC 2009 x86_64 GNU/Linux
Perl v5.10.0 under linux
Apache2::Access v2.000004;
Apache2::Connection v2.000004;
Apache2::Const v2.000004;
Apache2::Filter v2.000004;
Apache2::Log v2.000004;
Apache2::Module v2.000004;
Apache2::RequestIO v2.000004;
Apache2::RequestRec v2.000004;
Apache2::RequestUtil v2.000004;
Apache2::Response v2.000004;
Apache2::ServerRec v2.000004;
Apache2::ServerUtil v2.000004;
Apache2::Status v4.00;
Apache2::SubRequest v2.000004;
Apache2::URI v2.000004;
Apache2::Util v2.000004;
Apache::DBI v1.07;
Apache::Session v1.87;
Apache::Session::Generate::MD5 v2.11;
Apache::Session::Lock::MySQL v1.01;
Apache::Session::MySQL v1.01;
Apache::Session::Serialize::Storable v1.01;
Apache::Session::Store::DBI v1.02;
Apache::Session::Store::MySQL v1.04;
APR v0.009000;
APR::Brigade v0.009000;
APR::Bucket v0.009000;
APR::Const v0.009000;
APR::Date v0.009000;
APR::Pool v0.009000;
APR::Table v0.009000;
APR::URI v0.009000;
APR::Util v0.009000;
AutoLoader v5.63;
base v2.13;
bytes v1.03;
Cache::Simple::TimedExpiry v0.27;
Carp v1.08;
CGI v3.29;
CGI::Cookie v1.28;
CGI::Util v1.5_01;
Class::Accessor v0.31;
Class::Accessor::Fast v0.31;
Class::Container v0.12;
Class::Data::Inheritable v0.08;
Class::Inspector v1.24;
Class::ISA v0.33;
Class::ReturnValue v0.55;
Clone v0.31;
constant v1.13;
Cwd v3.29;
Data::Dumper v2.121_14;
Date::Format v2.22;
Date::Parse v2.27;
DateTime v0.49;
DateTime::Locale v0.42;
DateTime::TimeZone v0.91;
DateTime::TimeZone::Floating v0.01;
DateTime::TimeZone::Local v0.01;
DateTime::TimeZone::OffsetOnly v0.02;
DateTime::TimeZone::UTC v0.01;
DBD::mysql v4.008;
DBI v1.607;
DBIx::SearchBuilder v1.55;
DBIx::SearchBuilder::Union v0;
DBIx::SearchBuilder::Unique v0.01;
Devel::StackTrace v1.20;
Devel::StackTraceFrame v1.20;
Digest::base v1.00;
Digest::MD5 v2.36_01;
DynaLoader v1.08;
Email::Address v1.889;
Encode v2.23;
Encode::Alias v2.07;
Encode::Config v2.04;
Encode::Encoding v2.05;
Errno v1.1;
Exception::Class v1.29;
Exception::Class::Base v1.20;
Exporter v5.62;
Exporter::Heavy v5.62;
Fcntl v1.06;
File::Basename v2.76;
File::Glob v1.06;
File::Path v2.04;
File::ShareDir v1.00;
File::Spec v3.29;
File::Spec::Unix v3.29;
File::Temp v0.18;
FileHandle v2.01;
GD v2.39;
GD::Image v2.27;
GraphViz v2.03;
HTML::Element v3.23;
HTML::Entities v3.57;
HTML::Formatter v2.04;
HTML::FormatText v2.04;
HTML::Mason v1.39;
HTML::Mason::ApacheHandler v1.69;
HTML::Mason::Exception v1.1;
HTML::Mason::Exception::Abort v1.1;
HTML::Mason::Exception::Compilation v1.1;
HTML::Mason::Exception::Compilation::IncompatibleCompiler v1.1;
HTML::Mason::Exception::Compiler v1.1;
HTML::Mason::Exception::Decline v1.1;
HTML::Mason::Exception::Params v1.1;
HTML::Mason::Exception::Syntax v1.1;
HTML::Mason::Exception::System v1.1;
HTML::Mason::Exception::TopLevelNotFound v1.1;
HTML::Mason::Exception::VirtualMethod v1.1;
HTML::Mason::Exceptions v1.43;
HTML::Parser v3.59;
HTML::Scrubber v0.08;
HTML::Tagset v3.20;
HTML::TreeBuilder v3.23;
I18N::LangTags v0.35;
integer v1.00;
IO v1.23_01;
IO::File v1.14;
IO::Handle v1.27;
IO::InnerFile v2.110;
IO::Lines v2.110;
IO::ScalarArray v2.110;
IO::Seekable v1.1;
IO::WrapTie v2.110;
IPC::Open2 v1.02;
IPC::Open3 v1.02;
IPC::Run v0.80;
List::MoreUtils v0.22;
List::Util v1.19;
Locale::Maketext v1.12;
Locale::Maketext::Fuzzy v0.10;
Locale::Maketext::Lexicon v0.77;
Locale::Maketext::Lexicon::Gettext v0.17;
Log::Dispatch v2.22;
Log::Dispatch::Base v1.09;
Log::Dispatch::File v1.22;
Log::Dispatch::Output v1.26;
Log::Dispatch::Screen v1.17;
Log::Dispatch::Syslog v1.18;
Mail::Address v2.04;
Mail::Field v2.04;
Mail::Field::AddrList v2.04;
Mail::Field::Date v2.04;
Mail::Field::Generic v2.04;
Mail::Header v2.04;
Mail::Internet v2.04;
Mail::Mailer v2.04;
Mail::Util v2.04;
MIME::Base64 v3.07_01;
MIME::Body v5.427;
MIME::Decoder v5.427;
MIME::Entity v5.427;
MIME::Field::ContDisp v5.427;
MIME::Field::ConTraEnc v5.427;
MIME::Field::ContType v5.427;
MIME::Field::ParamVal v5.427;
MIME::Head v5.427;
MIME::Parser v5.427;
MIME::QuotedPrint v3.07;
MIME::Tools v5.427;
MIME::Words v5.427;
mod_perl v2.000004;
mod_perl2 v2.000004;
ModPerl::Const v2.000004;
Module::Versions::Report v1.06;
overload v1.06;
Params::Util v0.38;
Params::Validate v0.91;
POSIX v1.13;
re v0.08;
Regexp::Common v2.122;
Regexp::Common::delimited v2.106;
RT v3.8.4;
RT::Extension::ForkTicket v0.20;
RT::Interface::Email v2;
RT::Interface::Web::Request v0.30;
RTx::BecomeUser v1.10_1;
RTx::EmailCompletion v0.06;
RTx::S3Invoker v0.14;
RTx::Tags v0.25;
Scalar::Util v1.19;
SelectSaver v1.01;
Socket v1.80;
Storable v2.18;
strict v1.04;
Symbol v1.06;
Sys::Syslog v0.22;
Text::Template v1.45;
Text::Wrapper v1.02;
Tie::Hash v1.02;
Time::HiRes v1.9711;
Time::JulianDay v2003.1125;
Time::Local v1.18;
Time::ParseDate v2006.0814;
Time::Timezone v2006.0814;
Time::Zone v2.22;
UNIVERSAL v1.04;
UNIVERSAL::require v0.13;
URI v1.37;
URI::Escape v3.29;
utf8 v1.07;
vars v1.01;
warnings v1.06;
warnings::register v1.01;
XSLoader v0.08;
Allen Lee
Crystalfontz America, Incorporated
12412 East Saltese Avenue
Spokane Valley, WA 99216-0357
Twitter @Crystalfontz allen@crystalfontz.com http://www.crystalfontz.com
voice (509) 892-1200 fax (509) 892-1203 US toll-free (888) 206-9720