[Rtir] Error when clicking 'Forward' from within a ticket.

Kevin Falcone falcone at bestpractical.com
Mon Jun 11 16:39:04 EDT 2012


On Fri, Jun 08, 2012 at 04:00:12PM -0700, Steve Mayer wrote:
> Kevin,
> 
>   Thanks for the response.  I'd actually tried that before sending out the message to the list, but I got this error:
> 
> RT: Error during compilation of /opt/rt4/local/plugins/RT-IR/html/RTIR/Forward.html:#012Bareword "Bcc" not allowed while "strict subs" in use at /opt/rt4/local/plugins/RT-IR/html/RTIR/Forward.html line 17.
> 
>   After looking at this error apparently, line 17 needs to change from:
> 
>   % foreach my $field (To Cc Bcc) {
> 
>    to
> 
>   % foreach my $field ("To, "Cc", "Bcc") {
> 
> This allowed things to start working.

That'll probably hit 2.9-trunk as 

% foreach my $field qw((To Cc Bcc)) {

later today when I have a chance to push it up.
Thanks for the catch.

-kevin

> 
> On Jun 8, 2012, at 3:49 PM, Kevin Falcone wrote:
> 
> > On Fri, Jun 08, 2012 at 11:46:52AM -0700, Steve Mayer wrote:
> >> All,
> >> 
> >>  I'm just getting started with implementing RT-IR and have run across an issue I'm not sure how to resolve.
> >> 
> >>  When I attempt to forward a history entry from a ticket, the forwarding is failing with the error:
> >> 
> >> 'An internal RT error has occurred. Your administrator can find more details in RT's log files.'
> >> 
> >>  Looking in the logs, what I'm seeing is the following perl related error:
> >> 
> >> RT: Error during compilation of /opt/rt4/local/plugins/RT-IR/html/RTIR/Forward.html#012Global symbol "$Ticket" requires explicit package name at /opt/rt4/local/plugins/RT-IR/html/RTIR/Forward.html line 52.
> >> 
> >> Anyone have any clues?
> >> 
> >> I'm using RT 4.0.6 and RTIR 3.0.0rc1
> > 
> > Thanks for the report, it looks like a misnamed variable when porting
> > in patches from rt's trunk.  It should be fixed by:
> > https://github.com/bestpractical/rtir/commit/b51b77f68729228e5f6667850f1b32123884eda3
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 195 bytes
Desc: not available
URL: <http://lists.bestpractical.com/pipermail/rtir/attachments/20120611/74fb749c/attachment.pgp>


More information about the Rtir mailing list