RTFM 2.1.21 error

I’ve installed the developer’s release of RTFM-2.1.21 onto RT-3.4.2, and
for the most part it seems to be working every bit as well as 2.0.4 was.

Except…

When trying to add an RTFM article to a ticket reply, I enter a keyword
into the “Search for RTFM articles matching” blank, and when I click the
"Go" button I get the following error:

error: Can’t locate object method “LimitToCustomFieldValue” via
package “RT::FM::ArticleCollection” at
/usr/local/rt3/share/html/Callbacks/RTFM/Ticket/Update.html/BeforeMessag
eBox line 55.
context:

51: my $articles_content =
52: RT::FM::ArticleCollection->new( $session{‘CurrentUser’} );
53: my $articles_basics = RT::FM::ArticleCollection->new(
$session{‘CurrentUser’} );
54: if ( $ARGS{‘RTFM_Content’} ) {
55: $articles_content->LimitToCustomFieldValue( VALUE =>
$ARGS{‘RTFM_Content’},
56: OPERATOR => ‘LIKE’ );
57:
58: $articles_basics->Limit( SUBCLAUSE => ‘all’,
59: FIELD => ‘Name’,

code stack:
/usr/local/rt3/share/html/Callbacks/RTFM/Ticket/Update.html/BeforeMessag
eBox:55
/usr/local/rt3/share/html/Elements/Callback:70
/usr/local/rt3/share/html/Ticket/Update.html:117
/usr/local/rt3/share/html/autohandler:215

That callback appears to be the only place in my RTFM-2.1.21 where the
string “LimitToCustomFieldValue” appears. Is this one of the pieces
that’s still being reworked, or am I missing something in my
installation?

Mark Roedel
Web Programmer / Analyst
LeTourneau University

At Friday 6/10/2005 03:39 PM, Roedel, Mark wrote:

I’ve installed the developer’s release of RTFM-2.1.21 onto RT-3.4.2, and
for the most part it seems to be working every bit as well as 2.0.4 was.

Except…

When trying to add an RTFM article to a ticket reply, I enter a keyword
into the “Search for RTFM articles matching” blank, and when I click the
"Go" button I get the following error:

error: Can’t locate object method “LimitToCustomFieldValue” via
package “RT::FM::ArticleCollection” at
/usr/local/rt3/share/html/Callbacks/RTFM/Ticket/Update.html/BeforeMessag
eBox line 55.

I’m getting the same error with the same versions of RT & FM.

Steve

At Friday 6/10/2005 03:39 PM, Roedel, Mark wrote:

I’ve installed the developer’s release of RTFM-2.1.21 onto RT-3.4.2, and
for the most part it seems to be working every bit as well as 2.0.4 was.

Except…

When trying to add an RTFM article to a ticket reply, I enter a keyword
into the “Search for RTFM articles matching” blank, and when I click the
"Go" button I get the following error:

error: Can’t locate object method “LimitToCustomFieldValue” via
package “RT::FM::ArticleCollection” at
/usr/local/rt3/share/html/Callbacks/RTFM/Ticket/Update.html/BeforeMessag
eBox line 55.

I’m getting the same error with the same versions of RT & FM.

It looks like this is because my “fix” for the report of this file
missing in 2.1.20 was a bit too hasty.

Jesse

Hi all,
Can anyone tell me the program in RT,doing the insertion and update for
the Queues table in the database. Any suggestions are welcome.

Regards,
Ahalya Nathan

Hi all,
Can anyone tell me the program in RT,doing the insertion and update
for the Queues table in the database. Any suggestions are welcome.

Follow the inheritance chain all the way up. You’ll get to the DBIx
module (not part of RT) but required. If you are just looking for a
data base handle, I think you can do this with RT::Record IIRC. I
think it has a dbh() method that gives you the underlying DBI
database handle.

HTH,

Jan

Regards,
Ahalya Nathan


http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users

Be sure to check out the RT Wiki at http://wiki.bestpractical.com

Jan Algermissen, Consultant & Programmer
http://jalgermissen.com
Tugboat Consulting, 'Applying Web technology to enterprise IT’
http://www.tugboat.de