"Tickets" search function fails

To those of you who are Perl geeks, which I am not, this may be a dumb question,
but I’m trying to figure out why I have the following error in RT 3.4.4:

error: Can’t locate object method “new” via package
“RT::Interface::Web::QueryBuilder::Tree” at
/home/local/rt-3.4.4/share/html/Search/Build.html line 509.
context:

505:
506: my $depth = 1;
507:
508: # make a tree root
509: $$tree = RT::Interface::Web::QueryBuilder::Tree->new;
510: my $root = RT::Interface::Web::QueryBuilder::Tree->new( ‘AND’, $$tree );
511: my $lastnode = $root;
512: my $parentnode = $root;
513:

code stack: /home/local/rt-3.4.4/share/html/Search/Build.html:509
/home/local/rt-3.4.4/share/html/Search/Build.html:260
/home/local/rt-3.4.4/share/html/autohandler:215

I looked at the Tree.pm module, and there indeed isn’t any “sub new {…}”
declaration. So the proximate cause of the error seems obvious. What I can’t
figure out is why the calling method is attempting to call a method that
doesn’t exist. This causes the main screen of the ticket search function to
abort, so I know this has to be working for others. Ergo, I’ve done something
wrong in my config, which prevents the “new” method from being inherited from
somewhere else that it should.

Google searches on various keywords from the error string haven’t helped. If
I recall, Perl inherits “up” the directory tree. The level above has a module
called Handler.pm that does have a “new” method. The Tree.pm file is alone in
the QueryBuilder tree.

The rest of RT seems to be working flawlessly. I haven’t patched any source
code with local changes, nor do I have any custom scrips. I’m an experienced
programmer, but a Perl novice, and that combination makes me ignorant of Perl
but also smart enough to know that I’m ignorant of Perl, and therefore not
to touch things I don’t understand. {GRIN}

Any Perl wiz care to give me a hint where to look for the cuase of this?
Do I have an include path problem, and if so, where do I change that setting
for Perl?

Thanks for any suggestions.

Scott

Scott Courtney | “I don’t mind Microsoft making money. I mind them
scott@4th.com | having a bad operating system.” – Linus Torvalds
http://4th.com/ | (“The Rebel Code,” NY Times, 21 February 1999)
| PGP Public Key at http://4th.com/keys/scott.pubkey

To those of you who are Perl geeks, which I am not, this may be a dumb question,
but I’m trying to figure out why I have the following error in RT 3.4.4:

error: Can’t locate object method “new” via package
“RT::Interface::Web::QueryBuilder::Tree” at
/home/local/rt-3.4.4/share/html/Search/Build.html line 509.

Update:

The Wiki reported that a similar (but not identical) problem could be solved
by reinstalling DBIx::SearchBuilder. The Wiki article indicated that the other
problem happened after Perl was upgraded. Since that condition also applies to
my situation, I decided to try this. It didn’t help, unfortunately; the error
is unchanged.

Scott

Scott Courtney | “I don’t mind Microsoft making money. I mind them
scott@4th.com | having a bad operating system.” – Linus Torvalds
http://4th.com/ | (“The Rebel Code,” NY Times, 21 February 1999)
| PGP Public Key at http://4th.com/keys/scott.pubkey

To those of you who are Perl geeks, which I am not, this may be a dumb question,
but I’m trying to figure out why I have the following error in RT 3.4.4:

error: Can’t locate object method “new” via package
“RT::Interface::Web::QueryBuilder::Tree” at
/home/local/rt-3.4.4/share/html/Search/Build.html line 509.

I’ve solved this problem, thanks in part to a “shotgun” suggestion from Alex
Moura. Alex’s suggestion didn’t fix the problem, but trying it led me to an
error message that in turn led me to the answer.

I documented the solution, with a couple of reference URLs, on the Wiki
at this page: Request Tracker Wiki. If
I did something wrong there, someone in authority please feel free to correct
me on it.

Alex, thanks for the emailed suggestions. You pointed me in the right
direction, even if you didn’t directly have the exact solution! :slight_smile:

Scott

Scott Courtney | “I don’t mind Microsoft making money. I mind them
scott@4th.com | having a bad operating system.” – Linus Torvalds
http://4th.com/ | (“The Rebel Code,” NY Times, 21 February 1999)
| PGP Public Key at http://4th.com/keys/scott.pubkey