[rt-users] Communicate a message to web UI from inside Scrip?
Jeff Blaine
jblaine at kickflop.net
Thu Jan 6 22:16:55 EST 2011
Pulling my hair out here. Why is this callback not being
tickled? I see nothing in my logs.
RT 3.8.7
Mason cache cleared and server restarted a million times.
The call to the callback in Ticket/Display.html is:
$m->callback(
CallbackName => 'BeforeDisplay',
TicketObj => \$TicketObj,
Tickets => \$Tickets,
Actions => \@Actions,
ARGSRef => \%ARGS,
);
And my setup is:
[root at rtdev1 Display.html]# pwd
/rt/local/html/Callbacks/MyCallbacks/Ticket/Display.html
[root at rtdev1 Display.html]# ls -l BeforeDisplay
-rw-r--r-- 1 rt root 689 Jan 6 22:06 BeforeDisplay
[root at rtdev1 Display.html]# cat BeforeDisplay
<%INIT>
$RT::Logger->info("In Callback/Display.html/BeforeDisplay\n");
return 1;
</%INIT>
<%ARGS>
$Actions => []
</%ARGS>
More information about the rt-users
mailing list