That was indeed the issue. Thanks.
> -----Original Message----- > From: rt-users-boun...@lists.bestpractical.com [mailto:rt-users- > boun...@lists.bestpractical.com] On Behalf Of Kevin Falcone > Sent: Thursday, August 29, 2013 12:35 PM > To: rt-users@lists.bestpractical.com > Subject: Re: [rt-users] Can't load UntouchedInHours module > > On Thu, Aug 29, 2013 at 05:39:33PM +0000, Elliott, Kevin C (DOR) wrote: > > > > [Thu Aug 29 17:32:17 2013] [critical]: Failed to load module > > RT::Condition::UntouchedInHours. () at /usr/bin/rt-crontool line 307. > > (/usr/share/request-tracker4/lib/RT.pm:351) > > Failed to load module RT::Condition::UntouchedInHours. () at /usr/bin/rt- > crontool line 307. > > > > root@DorJnuASD-RT:~/Bin# cat /usr/share/request- > tracker4/lib/RT/Condition/UntouchedInHours.pm > > > > package RT::Condition::UntouchedInHours; require > > RT::Condition::Generic; > > > > use RT::Date; > > > > > > @ISA = qw(RT::Condition::Generic); > > At the very least, this line is wrong: > http://bestpractical.com/docs/rt/latest/UPGRADING-4.0.html#Removals- > and-updates > > You want to inherit from RT::Condition. > > -kevin > > > use strict; > > use vars qw/@ISA/; > > > > sub IsApplicable { > > my $self = shift; > > > > if ((time()-$self->TicketObj->LastUpdatedObj->Unix)/3600 >= > $self->Argument) { > > return 1; > > } > > else { > > return 0; > > } > > > > } > > > > # The following could be omitted. They're there to allow overrides > > from Vendor and Local # but as this isn't a core module, they're just > > there for completeness :) eval "require > > RT::Condition::UntouchedInHours_Vendor"; > > die $@ if ($@ && $@ !~ qr{^Can't locate > > RT/Condition/UntouchedInHours_Vendor.pm}); > > eval "require RT::Condition::UntouchedInHours_Local"; > > die $@ if ($@ && $@ !~ qr{^Can't locate > > RT/Condition/UntouchedInHours_Local.pm}); > > > > 1;