[rt-users] RT3: Search bug

Rehan van der Merwe rehan at nha.co.za
Mon Mar 31 09:36:54 EST 2003


I did "perl -MCPAN -e "install DBIx::SearchBuilder":
<output>
...
...
Going to read /root/.cpan/sources/modules/03modlist.data.gz
Going to write /root/.cpan/Metadata
DBIx::SearchBuilder is up to date.
</output>

My mirror must be out of date (v0.79).  I did a manual download of 0.80,
but I still get the same error.

Rehan

On Mon, 2003-03-31 at 16:20, Jesse Vincent wrote:
> ER. This has been covered before. your DBIx::SearchBuilder is out of
> date.
> 
> 
> On Mon, Mar 31, 2003 at 01:07:28PM +0200, Rehan van der Merwe wrote:
> > Hi Everyone,
> > 
> > I get the following error page when trying to do a search in RT3:
> > 
> > <snip
> > http://webrt.nha.co.za/Search/Listing.html?Bookmark=FrT%253B%25402%257C%25250%257C%25241%257C1&CompileRestriction=1&OwnerOp=%3D&ValueOfOwner=26&RequestorOp=LIKE&ValueOfRequestor=&SubjectOp=LIKE&ValueOfSubject=&QueueOp=%3D&ValueOfQueue=&PriorityOp=%3C&ValueOfPriority=&DateType=Created&DateOp=%3C&ValueOfDate=&AttachmentField=Content&AttachmentFieldOp=LIKE&ValueOfAttachmentField=&StatusOp=%3D&ValueOfStatus=&RowsPerPage=50&TicketsSortBy=id&TicketsSortOrder=ASC&RefreshSearchInterval=-1&Action=Search>
> > 
> >                               System error
> > 
> > error: 
> > Can't locate object method
> > "CountAll" via package "RT::Tickets"
> > (perhaps you forgot to load
> > "RT::Tickets"?) at
> > /opt/rt3/lib/RT/Tickets_Overlay.pm
> > line 1697.
> > context: 
> > ... 
> > 
> > 277: 
> > }
> > 278: 
> > 
> > 279: 
> > # All errors
> > returned from this
> > routine will be in
> > exception form.
> > 280: 
> > local
> > $SIG{'__DIE__'} =
> > sub {
> > 281: 
> > rethrow_exception(
> > $_[0] );
> > 282: 
> > };
> > 283: 
> > 
> > 284: 
> > #
> > 285: 
> > # $m is a
> > dynamically scoped
> > global containing
> > this
> > ... 
> > 
> > code stack: 
> > /usr/lib/perl5/site_perl/5.6.1/HTML/Mason/Request.pm:281
> > /opt/rt3/lib/RT/Tickets_Overlay.pm:1697
> > /opt/rt3/share/html/Search/Listing.html:104
> > /opt/rt3/share/html/autohandler:145
> > 
> > 
> > 
> > raw error
> > 
> > Can't locate object method "CountAll" via package "RT::Tickets" (perhaps you forgot to load "RT::Tickets"?) at /opt/rt3/lib/RT/Tickets_Overlay.pm line 1697.
> > 
> > 
> > Trace begun at /usr/lib/perl5/site_perl/5.6.1/HTML/Mason/Exceptions.pm line 123
> > HTML::Mason::Exceptions::rethrow_exception('Can\'t locate object method "CountAll" via package "RT::Tickets" (perhaps you forgot to load "RT::Tickets"?) at /opt/rt3/lib/RT/Tickets_Overlay.pm line 1697.^J') called at /usr/lib/perl5/site_perl/5.6.1/HTML/Mason/Request.pm line 281
> > HTML::Mason::Request::__ANON__('Can\'t locate object method "CountAll" via package "RT::Tickets" (perhaps you forgot to load "RT::Tickets"?) at /opt/rt3/lib/RT/Tickets_Overlay.pm line 1697.^J') called at /opt/rt3/lib/RT/Tickets_Overlay.pm line 1697
> > RT::Tickets::CountAll('RT::Tickets=HASH(0x9161f84)') called at /opt/rt3/share/html/Search/Listing.html line 104
> > HTML::Mason::Commands::__ANON__('ValueOfAttachmentField', '', 'CompileRestriction', 1, 'RowsPerPage', 50, 'StatusOp', '=', 'ValueOfPriority', '', 'OwnerOp', '=', 'ValueOfRequestor', 'rehan at nha.co.za', 'SubjectOp', 'LIKE', 'AttachmentFieldOp', 'LIKE', 'ValueOfQueue', '', 'Bookmark', 'FrT%3B%402%7C%250%7C%241%7C4', 'RefreshSearchInterval', -1, 'ValueOfStatus', '', 'ValueOfSubject', '', 'ValueOfDate', '', 'ValueOfOwner', '', 'DateType', 'Created', 'QueueOp', '=', 'RequestorOp', 'LIKE', 'PriorityOp', '<', 'TicketsSortBy', 'id', 'DateOp', '<', 'AttachmentField', 'Content', 'TicketsSortOrder', 'ASC', 'Action', 'Search') called at /usr/lib/perl5/site_perl/5.6.1/HTML/Mason/Component.pm line 133
> > HTML::Mason::Component::run('HTML::Mason::Component::FileBased=HASH(0x9160638)', 'ValueOfAttachmentField', '', 'CompileRestriction', 1, 'RowsPerPage', 50, 'StatusOp', '=', 'ValueOfPriority', '', 'OwnerOp', '=', 'ValueOfRequestor', 'rehan at nha.co.za', 'SubjectOp', 'LIKE', 'AttachmentFieldOp', 'LIKE', 'ValueOfQueue', '', 'Bookmark', 'FrT%3B%402%7C%250%7C%241%7C4', 'RefreshSearchInterval', -1, 'ValueOfStatus', '', 'ValueOfSubject', '', 'ValueOfDate', '', 'ValueOfOwner', '', 'DateType', 'Created', 'QueueOp', '=', 'RequestorOp', 'LIKE', 'PriorityOp', '<', 'TicketsSortBy', 'id', 'DateOp', '<', 'AttachmentField', 'Content', 'TicketsSortOrder', 'ASC', 'Action', 'Search') called at /usr/lib/perl5/site_perl/5.6.1/HTML/Mason/Request.pm line 1045
> > eval {...}('HTML::Mason::Component::FileBased=HASH(0x9160638)', 'ValueOfAttachmentField', '', 'CompileRestriction', 1, 'RowsPerPage', 50, 'StatusOp', '=', 'ValueOfPriority', '', 'OwnerOp', '=', 'ValueOfRequestor', 'rehan at nha.co.za', 'SubjectOp', 'LIKE', 'AttachmentFieldOp', 'LIKE', 'ValueOfQueue', '', 'Bookmark', 'FrT%3B%402%7C%250%7C%241%7C4', 'RefreshSearchInterval', -1, 'ValueOfStatus', '', 'ValueOfSubject', '', 'ValueOfDate', '', 'ValueOfOwner', '', 'DateType', 'Created', 'QueueOp', '=', 'RequestorOp', 'LIKE', 'PriorityOp', '<', 'TicketsSortBy', 'id', 'DateOp', '<', 'AttachmentField', 'Content', 'TicketsSortOrder', 'ASC', 'Action', 'Search') called at /usr/lib/perl5/site_perl/5.6.1/HTML/Mason/Request.pm line 1039
> > HTML::Mason::Request::comp('HTML::Mason::Request::ApacheHandler=HASH(0x90a2f30)', 'HTML::Mason::Component::FileBased=HASH(0x9160638)', 'ValueOfAttachmentField', '', 'CompileRestriction', 1, 'RowsPerPage', 50, 'StatusOp', '=', 'ValueOfPriority', '', 'OwnerOp', '=', 'ValueOfRequestor', 'rehan at nha.co.za', 'SubjectOp', 'LIKE', 'AttachmentFieldOp', 'LIKE', 'ValueOfQueue', '', 'Bookmark', 'FrT%3B%402%7C%250%7C%241%7C4', 'RefreshSearchInterval', -1, 'ValueOfStatus', '', 'ValueOfSubject', '', 'ValueOfDate', '', 'ValueOfOwner', '', 'DateType', 'Created', 'QueueOp', '=', 'RequestorOp', 'LIKE', 'PriorityOp', '<', 'TicketsSortBy', 'id', 'DateOp', '<', 'AttachmentField', 'Content', 'TicketsSortOrder', 'ASC', 'Action', 'Search') called at /usr/lib/perl5/site_perl/5.6.1/HTML/Mason/Request.pm line 735
> > HTML::Mason::Request::call_next('HTML::Mason::Request::ApacheHandler=HASH(0x90a2f30)') called at /opt/rt3/share/html/autohandler line 145
> > HTML::Mason::Commands::__ANON__('ValueOfAttachmentField', '', 'CompileRestriction', 1, 'RowsPerPage', 50, 'StatusOp', '=', 'ValueOfPriority', '', 'OwnerOp', '=', 'ValueOfRequestor', 'rehan at nha.co.za', 'SubjectOp', 'LIKE', 'AttachmentFieldOp', 'LIKE', 'ValueOfQueue', '', 'Bookmark', 'FrT%3B%402%7C%250%7C%241%7C4', 'RefreshSearchInterval', -1, 'ValueOfStatus', '', 'ValueOfSubject', '', 'ValueOfDate', '', 'ValueOfOwner', '', 'DateType', 'Created', 'QueueOp', '=', 'RequestorOp', 'LIKE', 'PriorityOp', '<', 'TicketsSortBy', 'id', 'DateOp', '<', 'AttachmentField', 'Content', 'TicketsSortOrder', 'ASC', 'Action', 'Search') called at /usr/lib/perl5/site_perl/5.6.1/HTML/Mason/Component.pm line 133
> > HTML::Mason::Component::run('HTML::Mason::Component::FileBased=HASH(0x86d9008)', 'ValueOfAttachmentField', '', 'CompileRestriction', 1, 'RowsPerPage', 50, 'StatusOp', '=', 'ValueOfPriority', '', 'OwnerOp', '=', 'ValueOfRequestor', 'rehan at nha.co.za', 'SubjectOp', 'LIKE', 'AttachmentFieldOp', 'LIKE', 'ValueOfQueue', '', 'Bookmark', 'FrT%3B%402%7C%250%7C%241%7C4', 'RefreshSearchInterval', -1, 'ValueOfStatus', '', 'ValueOfSubject', '', 'ValueOfDate', '', 'ValueOfOwner', '', 'DateType', 'Created', 'QueueOp', '=', 'RequestorOp', 'LIKE', 'PriorityOp', '<', 'TicketsSortBy', 'id', 'DateOp', '<', 'AttachmentField', 'Content', 'TicketsSortOrder', 'ASC', 'Action', 'Search') called at /usr/lib/perl5/site_perl/5.6.1/HTML/Mason/Request.pm line 1040
> > eval {...}('HTML::Mason::Component::FileBased=HASH(0x86d9008)', 'ValueOfAttachmentField', '', 'CompileRestriction', 1, 'RowsPerPage', 50, 'StatusOp', '=', 'ValueOfPriority', '', 'OwnerOp', '=', 'ValueOfRequestor', 'rehan at nha.co.za', 'SubjectOp', 'LIKE', 'AttachmentFieldOp', 'LIKE', 'ValueOfQueue', '', 'Bookmark', 'FrT%3B%402%7C%250%7C%241%7C4', 'RefreshSearchInterval', -1, 'ValueOfStatus', '', 'ValueOfSubject', '', 'ValueOfDate', '', 'ValueOfOwner', '', 'DateType', 'Created', 'QueueOp', '=', 'RequestorOp', 'LIKE', 'PriorityOp', '<', 'TicketsSortBy', 'id', 'DateOp', '<', 'AttachmentField', 'Content', 'TicketsSortOrder', 'ASC', 'Action', 'Search') called at /usr/lib/perl5/site_perl/5.6.1/HTML/Mason/Request.pm line 1039
> > HTML::Mason::Request::comp('HTML::Mason::Request::ApacheHandler=HASH(0x90a2f30)', 'HASH(0x90a3188)', 'HTML::Mason::Component::FileBased=HASH(0x86d9008)', 'ValueOfAttachmentField', '', 'CompileRestriction', 1, 'RowsPerPage', 50, 'StatusOp', '=', 'ValueOfPriority', '', 'OwnerOp', '=', 'ValueOfRequestor', 'rehan at nha.co.za', 'SubjectOp', 'LIKE', 'AttachmentFieldOp', 'LIKE', 'ValueOfQueue', '', 'Bookmark', 'FrT%3B%402%7C%250%7C%241%7C4', 'RefreshSearchInterval', -1, 'ValueOfStatus', '', 'ValueOfSubject', '', 'ValueOfDate', '', 'ValueOfOwner', '', 'DateType', 'Created', 'QueueOp', '=', 'RequestorOp', 'LIKE', 'PriorityOp', '<', 'TicketsSortBy', 'id', 'DateOp', '<', 'AttachmentField', 'Content', 'TicketsSortOrder', 'ASC', 'Action', 'Search') called at /usr/lib/perl5/site_perl/5.6.1/HTML/Mason/Request.pm line 336
> > eval {...}('HTML::Mason::Request::ApacheHandler=HASH(0x90a2f30)', 'HASH(0x90a3188)', 'HTML::Mason::Component::FileBased=HASH(0x86d9008)', 'ValueOfAttachmentField', '', 'CompileRestriction', 1, 'RowsPerPage', 50, 'StatusOp', '=', 'ValueOfPriority', '', 'OwnerOp', '=', 'ValueOfRequestor', 'rehan at nha.co.za', 'SubjectOp', 'LIKE', 'AttachmentFieldOp', 'LIKE', 'ValueOfQueue', '', 'Bookmark', 'FrT%3B%402%7C%250%7C%241%7C4', 'RefreshSearchInterval', -1, 'ValueOfStatus', '', 'ValueOfSubject', '', 'ValueOfDate', '', 'ValueOfOwner', '', 'DateType', 'Created', 'QueueOp', '=', 'RequestorOp', 'LIKE', 'PriorityOp', '<', 'TicketsSortBy', 'id', 'DateOp', '<', 'AttachmentField', 'Content', 'TicketsSortOrder', 'ASC', 'Action', 'Search') called at /usr/lib/perl5/site_perl/5.6.1/HTML/Mason/Request.pm line 336
> > eval {...}('HTML::Mason::Request::ApacheHandler=HASH(0x90a2f30)', 'HASH(0x90a3188)', 'HTML::Mason::Component::FileBased=HASH(0x86d9008)', 'ValueOfAttachmentField', '', 'CompileRestriction', 1, 'RowsPerPage', 50, 'StatusOp', '=', 'ValueOfPriority', '', 'OwnerOp', '=', 'ValueOfRequestor', 'rehan at nha.co.za', 'SubjectOp', 'LIKE', 'AttachmentFieldOp', 'LIKE', 'ValueOfQueue', '', 'Bookmark', 'FrT%3B%402%7C%250%7C%241%7C4', 'RefreshSearchInterval', -1, 'ValueOfStatus', '', 'ValueOfSubject', '', 'ValueOfDate', '', 'ValueOfOwner', '', 'DateType', 'Created', 'QueueOp', '=', 'RequestorOp', 'LIKE', 'PriorityOp', '<', 'TicketsSortBy', 'id', 'DateOp', '<', 'AttachmentField', 'Content', 'TicketsSortOrder', 'ASC', 'Action', 'Search') called at /usr/lib/perl5/site_perl/5.6.1/HTML/Mason/Request.pm line 296
> > HTML::Mason::Request::exec('HTML::Mason::Request::ApacheHandler=HASH(0x90a2f30)') called at /usr/lib/perl5/site_perl/5.6.1/HTML/Mason/ApacheHandler.pm line 134
> > eval {...}('HTML::Mason::Request::ApacheHandler=HASH(0x90a2f30)') called at /usr/lib/perl5/site_perl/5.6.1/HTML/Mason/ApacheHandler.pm line 134
> > HTML::Mason::Request::ApacheHandler::exec('HTML::Mason::Request::ApacheHandler=HASH(0x90a2f30)') called at /usr/lib/perl5/site_perl/5.6.1/HTML/Mason/ApacheHandler.pm line 783
> > HTML::Mason::ApacheHandler::handle_request('HTML::Mason::ApacheHandler=HASH(0x8a59688)', 'Apache=SCALAR(0x8784444)') called at /opt/rt3/bin/webmux.pl line 119
> > RT::Mason::handler('Apache=SCALAR(0x8784444)') called at /dev/null line 0
> > eval {...}('Apache=SCALAR(0x8784444)') called at /dev/null line 0
> > 
> > 
> > </snip http://webrt.nha.co.za/Search/Listing.html?Bookmark=FrT%253B%25402%257C%25250%257C%25241%257C1&CompileRestriction=1&OwnerOp=%3D&ValueOfOwner=26&RequestorOp=LIKE&ValueOfRequestor=&SubjectOp=LIKE&ValueOfSubject=&QueueOp=%3D&ValueOfQueue=&PriorityOp=%3C&ValueOfPriority=&DateType=Created&DateOp=%3C&ValueOfDate=&AttachmentField=Content&AttachmentFieldOp=LIKE&ValueOfAttachmentField=&StatusOp=%3D&ValueOfStatus=&RowsPerPage=50&TicketsSortBy=id&TicketsSortOrder=ASC&RefreshSearchInterval=-1&Action=Search>
> > 
> > 
> > Is this a bug or misconfiguration?  Everything else seems to working just fine for me ...
> > 
> > Regards,
> > Rehan van der Merwe
> > NHA
> > _______________________________________________
> > rt-users mailing list
> > rt-users at lists.fsck.com
> > http://lists.fsck.com/mailman/listinfo/rt-users
> > 
> > Have you read the FAQ? The RT FAQ Manager lives at http://fsck.com/rtfm



More information about the rt-users mailing list