[rt-users] Bug with DBIx::SearchBuilder 1.38
Jérôme Fenal
jfenal at gmail.com
Fri Jan 13 10:35:21 EST 2006
Hi list,
on the way to upgrade from RT 3.4.4 to RT 3.4.5, I was looking at prerequisites.
Having DBIx::SearchBuilder 1.35, I still upgraded it to 1.38, before
all other modules or RT.
On the Search/Build.html page, I then had this error instead of the
"Saved searches" block:
error: RT::Attribute::Name Unimplemented in RT::Attributes.
(/opt/rt3/lib/RT/Attributes_Overlay.pm line 81)
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: /usr/lib/perl5/site_perl/5.8.7/DBIx/SearchBuilder/Record.pm:496
/opt/rt3/lib/RT/Attributes_Overlay.pm:81
/opt/rt3/lib/RT/Attributes_Overlay.pm:73
/opt/rt3/lib/RT/Attributes_Overlay.pm:88
/opt/rt3/lib/RT/Attributes_Overlay.pm:119
/opt/rt3/share/html/Search/Elements/SelectSearchesForObjects:58
/opt/rt3/share/html/Search/Elements/EditSearches:75
/opt/rt3/share/html/Search/Build.html:99
/opt/rt3/share/html/autohandler:215
raw error
After upgrading to RT 3.4.5, still the same error.
After downgrading to DBIx::SearchBuilder, everything came back to normal.
My configuration (RT Mandriva 2006.0 with Apache2) :
Loaded perl modules
Perl v5.8.7 under linux
Apache2::Const v2.000001;
Apache2::Log v2.000001;
Apache2::Module v2.000001;
Apache2::RequestIO v2.000001;
Apache2::RequestRec v2.000001;
Apache2::RequestUtil v2.000001;
Apache2::Response v2.000001;
Apache2::ServerUtil v2.000001;
Apache2::Status v3.00;
Apache::DBI v0.98;
Apache::Session v1.80;
Apache::Session::Generate::MD5 v2.1;
Apache::Session::Lock::MySQL v1.00;
Apache::Session::MySQL v1.01;
Apache::Session::Serialize::Storable v1.00;
Apache::Session::Store::DBI v1.02;
Apache::Session::Store::MySQL v1.04;
APR v0.009000;
APR::Pool v0.009000;
APR::Table v0.009000;
AutoLoader v5.60;
base v2.07;
Benchmark v1.07;
bytes v1.02;
Cache::Simple::TimedExpiry v0.23;
capitalization v0.03;
Carp v1.04;
CGI v3.15;
CGI::Cookie v1.26;
CGI::Util v1.5;
Class::Container v0.12;
Class::Data::Inheritable v0.04;
Class::ReturnValue v0.53;
Clone v0.18;
constant v1.05;
Cwd v3.05;
Data::Dumper v2.121_04;
Date::Format v2.22;
Date::Parse v2.27;
DBD::mysql v3.0002;
DBI v1.48;
DBIx::SearchBuilder v1.36;
DBIx::SearchBuilder::Union v0;
DBIx::SearchBuilder::Unique v0.01;
Devel::StackTrace v1.12;
Devel::StackTraceFrame v0.6;
Devel::Symdump v2.03;
Digest::base v1.00;
Digest::MD5 v2.33;
DynaLoader v1.05;
Encode v2.10;
Encode::Alias v2.03;
Encode::Config v2.00;
Encode::Encoding v2.02;
Errno v1.0901;
Exception::Class v1.22;
Exception::Class::Base v1.2;
Exporter v5.58;
Exporter::Heavy v5.58;
Fcntl v1.05;
File::Basename v2.73;
File::Glob v1.04;
File::Path v1.06;
File::Spec v3.05;
File::Spec::Unix v1.5;
File::Temp v0.16;
FileHandle v2.01;
HTML::Entities v1.29;
HTML::Mason v1.3101;
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.45;
HTML::Scrubber v0.08;
I18N::LangTags v0.35;
integer v1.00;
IO v1.21;
IO::File v1.11;
IO::Handle v1.24;
IO::InnerFile v2.110;
IO::Lines v2.110;
IO::Scalar v2.110;
IO::ScalarArray v2.110;
IO::Seekable v1.09;
IO::Wrap v2.110;
IO::WrapTie v2.110;
IPC::Open2 v1.01;
IPC::Open3 v1.0106;
lib v0.5565;
List::Util v1.14;
locale v1.00;
Locale::Maketext v1.09;
Locale::Maketext::Fuzzy v0.02;
Locale::Maketext::Lexicon v0.53;
Locale::Maketext::Lexicon::Gettext v0.14;
Log::Dispatch v2.11;
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 v1.67;
Mail::Field v1.67;
Mail::Field::AddrList v1.67;
Mail::Field::Date v1.67;
Mail::Header v1.67;
Mail::Internet v1.67;
MIME::Base64 v3.05;
MIME::Body v5.418;
MIME::Decoder v5.418;
MIME::Entity v5.418;
MIME::Field::ContDisp v5.418;
MIME::Field::ConTraEnc v5.418;
MIME::Field::ContType v5.418;
MIME::Field::ParamVal v5.418;
MIME::Head v5.418;
MIME::Parser v5.418;
MIME::QuotedPrint v3.03;
MIME::Tools v5.418;
MIME::Words v5.418;
mod_perl v2.000001;
mod_perl2 v2.000001;
ModPerl::Const v2.000001;
Module::Versions::Report v1.02;
overload v1.03;
Params::Validate v0.78;
POSIX v1.08;
re v0.04;
Regexp::Common v2.120;
Regexp::Common::_support v2.101;
Regexp::Common::balanced v2.101;
Regexp::Common::CC v2.100;
Regexp::Common::comment v2.116;
Regexp::Common::delimited v2.104;
Regexp::Common::lingua v2.105;
Regexp::Common::list v2.103;
Regexp::Common::net v2.105;
Regexp::Common::number v2.108;
Regexp::Common::profanity v2.104;
Regexp::Common::SEN v2.102;
Regexp::Common::URI v2.108;
Regexp::Common::URI::fax v2.100;
Regexp::Common::URI::file v2.100;
Regexp::Common::URI::ftp v2.101;
Regexp::Common::URI::gopher v2.100;
Regexp::Common::URI::http v2.101;
Regexp::Common::URI::news v2.100;
Regexp::Common::URI::pop v2.100;
Regexp::Common::URI::prospero v2.100;
Regexp::Common::URI::RFC1035 v2.100;
Regexp::Common::URI::RFC1738 v2.104;
Regexp::Common::URI::RFC1808 v2.100;
Regexp::Common::URI::RFC2384 v2.102;
Regexp::Common::URI::RFC2396 v2.100;
Regexp::Common::URI::RFC2806 v2.100;
Regexp::Common::URI::tel v2.100;
Regexp::Common::URI::telnet v2.100;
Regexp::Common::URI::tv v2.100;
Regexp::Common::URI::wais v2.100;
Regexp::Common::whitespace v2.103;
Regexp::Common::zip v2.112;
RT v3.4.5;
RT::Interface::Email v1.02;
Scalar::Util v1.14;
SelectSaver v1.01;
Socket v1.77;
Storable v2.13;
strict v1.03;
Symbol v1.06;
Sys::Hostname v1.11;
Sys::Syslog v0.06;
Text::Autoformat v1.13;
Text::Quoted v1.8;
Text::Reform v1.11;
Text::Tabs v98.112801;
Text::Template v1.44;
Text::Wrapper v1.000;
Time::HiRes v1.66;
Time::JulianDay v2003.1125;
Time::Local v1.11;
Time::ParseDate v2003.1126;
Time::Timezone v2003.0211;
Time::Zone v2.22;
utf8 v1.05;
vars v1.01;
warnings v1.03;
warnings::register v1.00;
XSLoader v0.02;
RT Variables
RT::AmbiguousDayInPast 1
RT::BasePath /opt/rt3
RT::BinPath /opt/rt3/bin
RT::CORE_CONFIG_FILE /opt/rt3/etc/RT_Config.pm
RT::CanonicalizeEmailAddressMatch subdomain.example.com$
RT::CanonicalizeEmailAddressReplace example.com
RT::CommentAddress support-comment
RT::CorrespondAddress support
RT::DatabaseHost localhost
RT::DatabaseName rt3
RT::DatabasePassword Password not printed
RT::DatabaseRTHost localhost
RT::DatabaseType mysql
RT::DatabaseUser rt_user
RT::DateDayBeforeMonth 1
RT::DefaultSearchResultFormat '<B><A
HREF="/rt/Ticket/Display.html?id=__id__">__id__</a></B>/TITLE:#',
'<B><A HREF="/rt/Ticket/Display.html?id=__id__">__Subject__</a></B>/TITLE:Subject',
Status, QueueName, OwnerName, Priority, '__NEWLINE__', '',
'<small>__Requestors__</small>', '<small>__CreatedRelative__</small>',
'<small>__ToldRelative__</small>',
'<small>__LastUpdatedRelative__</small>',
'<small>__TimeLeft__</small>'
RT::EmailOutputEncoding utf-8
RT::EtcPath /opt/rt3/etc
RT::FriendlyFromLineFormat "%s via RT" <%s>
RT::FriendlyToLineFormat "%s of ca-silca.fr Ticket #%s":;
RT::LinkTransactionsRun1Scrip 1
RT::LocalEtcPath /opt/rt3/local/etc
RT::LocalLexiconPath /opt/rt3/local/po
RT::LocalPath /opt/rt3/local
RT::LogDir /opt/rt3/var/log
RT::LogToFile info
RT::LogToFileNamed rt.log
RT::LogToScreen error
RT::LogToSyslog info
RT::LogoURL /rt/NoAuth/images/rt.jpg
RT::LoopsToRTOwner 1
RT::MailCommand sendmailpipe
RT::MasonComponentRoot /opt/rt3/share/html
RT::MasonDataDir /opt/rt3/var/mason_data
RT::MasonLocalComponentRoot /opt/rt3/local/html
RT::MasonSessionDir /opt/rt3/var/session_data
RT::MaxAttachmentSize 10000000
RT::MaxInlineBody 13456
RT::MessageBoxWidth 72
RT::MessageBoxWrap HARD
RT::MinimumPasswordLength 5
RT::MyRequestsLength 999
RT::MyTicketsLength 999
RT::Organization ca-silca.fr
RT::OwnerEmail root
RT::ParseNewMessageForTicketCcs 1
RT::RTAddressRegexp ^rt\@example.com$
RT::RecordOutgoingEmail 1
RT::RedistributeAutoGeneratedMessages 1
RT::SITE_CONFIG_FILE /opt/rt3/etc/RT_SiteConfig.pm
RT::SendmailArguments -oi -t
RT::SendmailBounceArguments -f "<>"
RT::SendmailPath /usr/sbin/sendmail
RT::Timezone Europe/Paris
RT::UseFriendlyFromLine 1
RT::VERSION 3.4.5
RT::VarPath /opt/rt3/var
RT::WebBaseURL http://support.ca-sa.credit-agricole.fr
RT::WebFlushDbCacheEveryRequest 1
RT::WebImagesURL /rt/NoAuth/images/
RT::WebPath /rt
RT::WebURL http://support.ca-sa.credit-agricole.fr/rt/
RT::rtname ca-silca.fr
Perl configuration
Summary of my perl5 (revision 5 version 8 subversion 7) configuration:
Platform:
osname=linux, osvers=2.6.12-8mdksmp, archname=i386-linux
uname='linux n3.mandriva.com 2.6.12-8mdksmp #1 smp tue jul 26
15:09:51 cest 2005 i686 intel(r) xeon(tm) cpu 2.80ghz unknown gnulinux
'
config_args='-des -Dinc_version_list=5.8.6 5.8.6/i386-linux 5.8.5
5.8.4 5.8.3 5.8.2 5.8.1 5.8.0 5.6.1 5.6.0 -Darchname=i386-linux
-Dcc=gcc -Doptimize=-O2 -fomit-frame-pointer -pipe -march=i586
-mtune=pentiumpro -Dprefix=/usr -Dvendorprefix=/usr -Dsiteprefix=/usr
-Dsitebin=/usr/local/bin -Dsiteman1dir=/usr/local/share/man/man1
-Dsiteman3dir=/usr/local/share/man/man3 -Dman3ext=3pm -Dcf_by=Mandriva
-Dmyhostname=localhost -Dperladmin=root at localhost
-Dcf_email=root at localhost -Dd_dosuid -Ud_csh -Duseshrplib
-Accflags=-DPERL_DISABLE_PMC'
hint=recommended, useposix=true, d_sigaction=define
usethreads=undef use5005threads=undef useithreads=undef
usemultiplicity=undef
useperlio=define d_sfio=undef uselargefiles=define usesocks=undef
use64bitint=undef use64bitall=undef uselongdouble=undef
usemymalloc=n, bincompat5005=undef
Compiler:
cc='gcc', ccflags ='-DPERL_DISABLE_PMC -fno-strict-aliasing -pipe
-I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64
-I/usr/include/gdbm',
optimize='-O2 -fomit-frame-pointer -pipe -march=i586 -mtune=pentiumpro ',
cppflags='-DPERL_DISABLE_PMC -fno-strict-aliasing -pipe
-I/usr/local/include -I/usr/include/gdbm'
ccversion='', gccversion='4.0.1 (4.0.1-2mdk for Mandriva Linux
release 2006.0)', gccosandvers=''
intsize=4, longsize=4, ptrsize=4, doublesize=8, byteorder=1234
d_longlong=define, longlongsize=8, d_longdbl=define, longdblsize=12
ivtype='long', ivsize=4, nvtype='double', nvsize=8, Off_t='off_t',
lseeksize=8
alignbytes=4, prototype=define
Linker and Libraries:
ld='gcc', ldflags =' -L/usr/local/lib'
libpth=/usr/local/lib /lib /usr/lib
libs=-lnsl -lndbm -lgdbm -ldl -lm -lcrypt -lutil -lc
perllibs=-lnsl -ldl -lm -lcrypt -lutil -lc
libc=/lib/libc-2.3.5.so, so=so, useshrplib=true, libperl=libperl.so
gnulibc_version='2.3.5'
Dynamic Linking:
dlsrc=dl_dlopen.xs, dlext=so, d_dlsymun=undef, ccdlflags='-Wl,-E
-Wl,-rpath,/usr/lib/perl5/5.8.7/i386-linux/CORE'
cccdlflags='-fPIC', lddlflags='-shared -L/usr/local/lib'
Regards,
J.
--
Jérôme Fenal - jfenal AT gmail.com - http://fenal.org/
Paris.pm - http://paris.mongueurs.net/
More information about the rt-users
mailing list