[rt-users] wiki article adding custom fields to quick ticket

Raymond Corbett Raymond.Corbett at arcproductions.com
Mon Mar 18 09:22:23 EDT 2013

Has anyone used this doc with RT 4.0.10   This is holding us up for approval to put RT onto the floor.

We have followed it closely but seem to have a compile problem with rt4/local/html/Elements/QuickTicket   which is a update to QuickCreate

The code section:
        var defaultQueue = '<% $defaultQueue %>';
        if(defaultQueue == "") {
            defaultQueue = jQuery('#quick-ticket').find('.select-queue[name=Queue]').children().first().text();


Returns a compile error:

torrepo:/opt/rt4/var # [Fri Mar 15 18:11:56 2013] [error]: Error during compilation of
Global symbol "$defaultQueue" requires explicit package name at
/n/software/linux/servers/rt4/local/html/Elements/QuickTicket line 86.

It seems to be having a problem with the variable $defaultQueue

Does this have to be defined explicitly in RT_SiteConfig.pm  or somewhere else?
Or perhaps when the document says "and add some JavaScript to load the custom fields and display them"   I am putting it in the wrong place"


Ray Corbett  Technology Projects Manager

p: 416.682.5200 x5232  | f: 416.682.5209
Arc Productions Ltd. | 230 Richmond Street East | Toronto, ON M5A 1P4

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.bestpractical.com/pipermail/rt-users/attachments/20130318/68cb5061/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image001.gif
Type: image/gif
Size: 4654 bytes
Desc: image001.gif
URL: <http://lists.bestpractical.com/pipermail/rt-users/attachments/20130318/68cb5061/attachment.gif>

More information about the rt-users mailing list