Except for this:
[62873] [Thu Oct 10 03:30:02 2013] [info]: Repeating ticket 1 (/opt/rt4/sbin/rt-repeat-ticket:38) [62873] [Thu Oct 10 03:30:02 2013] [critical]: Can't locate object method "IsInactive" via package "default" (perhaps you forgot to load "default"?) at /opt/rt4/local/plugins/RT-Extension-RepeatTicket/lib/RT/Extension/RepeatTicket.pm line 467. (/opt/rt4/lib/RT.pm:391) Can't locate object method "IsInactive" via package "default" (perhaps you forgot to load "default"?) at /opt/rt4/local/plugins/RT-Extension-RepeatTicket/lib/RT/Extension/RepeatTicket.pm line 467.
Any ideas on a quick hack to fix? Can I just change IsInactive to is_inactive? Or perhaps remove the ! and change to IsActive.
THe code in question is:
sub GetActiveTickets {
my $content = shift;
my $tickets_ref = $content->{tickets} || [];
@$tickets_ref = grep {
my $t = RT::Ticket->new( RT->SystemUser );
$t->Load($_);
!$t->QueueObj->Lifecycle->IsInactive( $t->Status );
} @$tickets_ref;
return $tickets_ref;
}
--
Jaye Mathisen, Lil Pantry
P:541-476-0152
F:541-476-0152
<<attachment: mrcpu.vcf>>
