[rt-users] Having problems with ReplyToResolved Condition and ForkIntoNewTicket Action

Dave Wells dave.wells at foreshore.net
Mon Mar 27 03:29:01 EST 2006


> Hi,
> 
> I am trying to implement the Custom Condition:
> http://wiki.bestpractical.com/index.cgi?ReplyToResolved and the Custom
> Action: http://wiki.bestpractical.com/index.cgi?ForkIntoNewTicket
> 
> However I am getting the following error:
> 
> [Fri Mar 17 14:18:43 2006] [error]: Scrip IsApplicable 177 died. -
> Require of RT::Condition::ReplyToResolvedTicket failed.
> Can't locate RT/Condition/ReplyToResolvedTicket_Vendor.pm in @INC
> (@INC contains: /usr/local/rt3/local/lib /usr/local/rt3/lib
> /usr/local/lib/perl5/5.8.7/i686-linux /usr/local/lib/perl5/5.8.7
> /usr/local/lib/perl5/site_perl/5.8.7/i686-linux
> /usr/local/lib/perl5/site_perl/5.8.7 /usr/local/lib/perl5/site_perl .
> /usr/local/apache/ /usr/local/apache/lib/perl) at (eval 306) line 3.
> 
> Stack:
>   [(eval 306):3]
>   [/usr/local/rt3/lib/RT/Scrip_Overlay.pm:433]
>   [/usr/local/rt3/lib/RT/Scrips_Overlay.pm:229]
>   [/usr/local/rt3/lib/RT/Transaction_Overlay.pm:162]
>   [/usr/local/rt3/lib/RT/Record.pm:1431]
>   [/usr/local/rt3/lib/RT/Ticket_Overlay.pm:720]
>   [/usr/local/rt3/lib/RT/Interface/Email.pm:751]
>   [/usr/local/rt3/share/html/REST/1.0/NoAuth/mail-gateway:58]
> Compilation failed in require at (eval 302) line 3.
> 
> Stack:
>   [(eval 302):3]
>   [/usr/local/rt3/lib/RT/Scrip_Overlay.pm:433]
>   [/usr/local/rt3/lib/RT/Scrips_Overlay.pm:229]
>   [/usr/local/rt3/lib/RT/Transaction_Overlay.pm:162]
>   [/usr/local/rt3/lib/RT/Record.pm:1431]
>   [/usr/local/rt3/lib/RT/Ticket_Overlay.pm:720]
>   [/usr/local/rt3/lib/RT/Interface/Email.pm:751]
>   [/usr/local/rt3/share/html/REST/1.0/NoAuth/mail-gateway:58]
> 
> 
> Stack:
>   [/usr/local/rt3/lib/RT/ScripCondition_Overlay.pm:179]
>   [/usr/local/rt3/lib/RT/Scrip_Overlay.pm:433]
>   [/usr/local/rt3/lib/RT/Scrips_Overlay.pm:229]
>   [/usr/local/rt3/lib/RT/Transaction_Overlay.pm:162]
>   [/usr/local/rt3/lib/RT/Record.pm:1431]
>   [/usr/local/rt3/lib/RT/Ticket_Overlay.pm:720]
>   [/usr/local/rt3/lib/RT/Interface/Email.pm:751]
>   [/usr/local/rt3/share/html/REST/1.0/NoAuth/mail-gateway:58]
>  (/usr/local/rt3/lib/RT/Scrip_Overlay.pm:447)
> 
> Now I have tried to uncomment the last 4 lines of the
> ReplyToResolved.pm where it calls the
> RT/Condition/ReplyToResolvedTicket_Vendor.pm  and
> RT/Condition/ReplyToResolvedTicket_local.pm  now I know these are used
> for vendor and local overrides but not sure what to do to fix this.
> 
> Also when I uncomment the 4 lines above it gets passed the die error
> however the following error occurs:
> 
> [Fri Mar 17 14:11:05 2006] [error]: Scrip IsApplicable 177 died. -
> Can't locate object method "new" via package
> "RT::Condition::ReplyToResolvedTicket" at
> /usr/local/rt3/lib/RT/ScripCondition_Overlay.pm line 181.
> 
> Stack:
>   [/usr/local/rt3/lib/RT/ScripCondition_Overlay.pm:181]
>   [/usr/local/rt3/lib/RT/Scrip_Overlay.pm:433]
>   [/usr/local/rt3/lib/RT/Scrips_Overlay.pm:229]
>   [/usr/local/rt3/lib/RT/Transaction_Overlay.pm:162]
>   [/usr/local/rt3/lib/RT/Record.pm:1431]
>   [/usr/local/rt3/lib/RT/Ticket_Overlay.pm:3490]
>   [/usr/local/rt3/lib/RT/Ticket_Overlay.pm:3221]
>   [/usr/local/rt3/lib/RT/Record.pm:921]
>   [/usr/local/rt3/lib/RT/Interface/Web.pm:966]
>   [/usr/local/rt3/lib/RT/Interface/Web.pm:1080]
>   [/usr/local/rt3/share/html/Ticket/Modify.html:70]
>   [/usr/local/rt3/share/html/autohandler:215]
>  (/usr/local/rt3/lib/RT/Scrip_Overlay.pm:447)
> 
> I have copied the following files into the local directory but this
> does not seem to make any difference:
> 
> $cp $RT/lib/RT/base.pm $RT/local/lib/RT 
> $cp $RT/lib/RT/Condition/Generic.pm $RT/local/lib/RT/Condition 
> Any help would be greatly appreciated.
> 
> Regards
> 
Dax

______________________________________________________________________
This email has been scanned by the MessageLabs Email Security System.
For more information please visit http://www.messagelabs.com/email 
______________________________________________________________________
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.bestpractical.com/pipermail/rt-users/attachments/20060327/9660a3cc/attachment.htm>


More information about the rt-users mailing list