[rt-users] Code error following http://requesttracker.wikia.com/wiki/QuickTicket

Paul Tomblin ptomblin at xcski.com
Sun Mar 31 20:33:03 EDT 2013


I've updated the Wiki to fix some or all of the problems on that page.  It
seems to be working for me.


On Fri, Mar 15, 2013 at 3:56 PM, Raymond Corbett <
Raymond.Corbett at arcproductions.com> wrote:

>  The link to the wiki is:****
>
> ** **
>
>
> http://requesttracker.wikia.com/wiki/QuickTicket#Add_custom_fields_to_portlet
> ****
>
> ** **
>
> *From:* rt-users-bounces at lists.bestpractical.com [mailto:
> rt-users-bounces at lists.bestpractical.com] *On Behalf Of *Raymond Corbett
> *Sent:* Friday, March 15, 2013 3:01 PM
> *To:* rt-users at lists.bestpractical.com
> *Subject:* [rt-users] Code error following
> http://requesttracker.wikia.com/wiki/QuickTicket****
>
> ** **
>
> Found this link to help me put custom fields into the QuickCreate portlet.
> ****
>
> ** **
>
> Followed all along well.  ****
>
> ** **
>
> Get the following error on compile.     Anyone have any idea what I might
> be doing wrong. ****
>
> ** **
>
> Line in question  line  86  which  reads   var defaultQueue = '<%
> $defaultQueue %>';****
>
> ** **
>
> });****
>
>         var defaultQueue = '<% $defaultQueue %>';****
>
>         if(defaultQueue == "") {****
>
>             defaultQueue =
> jQuery('#quick-ticket').find('.select-queue[name=Queue]').children().first().text();
> ****
>
>         }****
>
>         updateCustomFields(defaultQueue);****
>
> ** **
>
>      });****
>
> ** **
>
> ** **
>
> Error log is:****
>
> ** **
>
> torrepo:/opt/rt4/var # [Fri Mar 15 18:11:56 2013] [error]: Error during
> compilation of****
>
> /n/software/linux/servers/rt4/local/html/Elements/QuickTicket:****
>
> Global symbol "$defaultQueue" requires explicit package name at****
>
> /n/software/linux/servers/rt4/local/html/Elements/QuickTicket line 86.****
>
> ** **
>
> Stack:****
>
>   [/usr/lib/perl5/site_perl/5.10.0/HTML/Mason/Interp.pm:450]****
>
>   [/usr/lib/perl5/site_perl/5.10.0/HTML/Mason/Request.pm:1127]****
>
>   [/usr/lib/perl5/site_perl/5.10.0/HTML/Mason/Request.pm:1060]****
>
>   [/usr/lib/perl5/site_perl/5.10.0/HTML/Mason/Request.pm:1239]****
>
>   [/n/software/linux/servers/rt4/share/html/Elements/MyRT:95]****
>
>   [/n/software/linux/servers/rt4/local/html/index.html:78]****
>
>   [/opt/rt4/sbin/../lib/RT/Interface/Web.pm:634]****
>
>   [/opt/rt4/sbin/../lib/RT/Interface/Web.pm:335]****
>
>   [/n/software/linux/servers/rt4/share/html/autohandler:53]
> (/opt/rt4/sbin/../lib/RT/Interface/Web/Handler.pm:208)****
>
> ** **
>
> ** **
>
> [image: ARC] <http://www.arcproductions.com/>****
>
> *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
> www.arcproductions.com* ****
>
>  ****
>
> ** **
>
>
>
> --
> RT training in Amsterdam, March 20-21:
> http://bestpractical.com/services/training.html
>
> Help improve RT by taking our user survey:
> https://www.surveymonkey.com/s/N23JW9T
>



-- 
http://www.linkedin.com/in/paultomblin
http://careers.stackoverflow.com/ptomblin
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.bestpractical.com/pipermail/rt-users/attachments/20130331/e981146b/attachment.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image001.gif
Type: image/gif
Size: 4654 bytes
Desc: not available
URL: <http://lists.bestpractical.com/pipermail/rt-users/attachments/20130331/e981146b/attachment.gif>


More information about the rt-users mailing list