[rt-users] Problem with Callback / NewTicketsAlert

Kevin Falcone falcone at bestpractical.com
Fri Apr 25 13:56:40 EDT 2014


On Fri, Apr 25, 2014 at 05:08:58PM +0200, Patrick G. Stoesser wrote:
> I have a problem with callbacks, especially NewTicketsAlert.

It appears your problem is with the code in NewTicketsAlert, not with
callbacks in general.

> Global symbol "$ticket" requires explicit package name at 
> /usr/local/share/request-tracker4/html/Callbacks/NewTicketsAlert/Elements/MyRT/BeforeTable 
> line 7.

My assumption is that you copied and pasted, leaving blank spaces at
the beginning of the line which makes it invalid mason code.

You can't have

  % my $ticket

you have to write

% my $ticket

-kevin
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 235 bytes
Desc: not available
URL: <http://lists.bestpractical.com/pipermail/rt-users/attachments/20140425/99372eea/attachment.sig>


More information about the rt-users mailing list