Problems with custom reports tool


#1

Hi,

we recently upgraded our RT 3.6.5 to 3.8.0 . The upgrade worked like a
charm, everything is ok. We do have, some custom perl script who, on a
daily basis, reads the tickets who have some specific CF values, and
generate html reports. Since we upgraded the RT to 3.8.0 our script
stopped working and it gives the following error:

[Thu Jul 17 08:26:39 2008] [crit]: RT::CustomField::Queue Unimplemented
in RT::Tickets. (/opt/rt3/lib//RT/Tickets_Overlay.pm line 2466)
(/opt/rt3/lib//RT.pm:375)
RT::CustomField::Queue Unimplemented in RT::Tickets.
(/opt/rt3/lib//RT/Tickets_Overlay.pm line 2466)

I tried to track down the error, and the line that generates that error
looks like this:

my $q = “”;
-> if ( $CF->Queue ) {
my $qo = new RT::Queue( $self->CurrentUser );
$qo->Load( $CF->Queue );
$q = $qo->Name;
}

Searching further, I found that the Queue method is not implemented in
RT::CustomField class . The sub in our tool that calls the code above is:

$tickets = RT::Tickets->new(RT::SystemUser());
$tickets->LimitCustomField(
CUSTOMFIELD => ‘Linie’,
OPERATOR => ‘LIKE’,
VALUE => $search_criteria,
);

Does anyone have any idea about a workaround for this issue ?

Thanks,

inf. Manuel SUBREDU
Lead Services

Email: manuel.subredu inovativ-consult ro
Website: http://www.inovativ-consult.ro
Phone/Fax: +40 332 456436
+40 728 950408