Missing OwnerChange.pm

Is this a failure in rt or do I have OwnerChange.pm in the wrong place?

irv1-core# find /opt/rt2 -name “OwnerChange.pm”
/opt/rt2/lib/RT/Action/OwnerChange.pm

Making a symlink “fixed” it.

irv1-core# /opt/rt2/bin/rt --id=1196-1197 --status=dead
Can’t locate RT/Condition/OwnerChange.pm in @INC (@INC contains:
/opt/rt2/etc /opt/rt2/lib /usr/local/lib/perl5/5.6.0/sun4-solaris
/usr/local/lib/perl5/5.6.0 /usr/local/lib/perl5/site_perl/5.6.0/sun4-solaris
/usr/local/lib/perl5/site_perl/5.6.0 /usr/local/lib/perl5/site_perl .) at
(eval 49) line 3.
Require of RT::Condition::OwnerChange failed.
Can’t locate RT/Condition/OwnerChange.pm in @INC (@INC contains:
/opt/rt2/etc /opt/rt2/lib /usr/local/lib/perl5/5.6.0/sun4-solaris
/usr/local/lib/perl5/5.6.0 /usr/local/lib/perl5/site_perl/5.6.0/sun4-solaris
/usr/local/lib/perl5/site_perl/5.6.0 /usr/local/lib/perl5/site_perl .) at
(eval 49) line 3.

matthew zeier - “In mathematics you don’t understand things. You just
get used to them.” - Johann von Neumann

Is this a failure in rt or do I have OwnerChange.pm in the wrong place?

The latter :wink:

irv1-core# find /opt/rt2 -name “OwnerChange.pm”
/opt/rt2/lib/RT/Action/OwnerChange.pm

Making a symlink “fixed” it.

irv1-core# /opt/rt2/bin/rt --id=1196-1197 --status=dead
Can’t locate RT/Condition/OwnerChange.pm in @INC (@INC contains:

OwnerChange.pm is a ScripCondition, so it should live in
/opt/rt2/lib/RT/Condition/ . Refer to the ‘package’ line in the file, and
replace the ‘::’ with '/'s to build the patch from the RT lib directory.
(the perlmod man page is a good starting reference to :: magics)

                         Bruce Campbell                            RIPE
               Systems/Network Engineer                             NCC
             www.ripe.net - PGP562C8B1B                      Operations