<div dir="ltr">I've updated the Wiki to fix some or all of the problems on that page. It seems to be working for me.</div><div class="gmail_extra"><br><br><div class="gmail_quote">On Fri, Mar 15, 2013 at 3:56 PM, Raymond Corbett <span dir="ltr"><<a href="mailto:Raymond.Corbett@arcproductions.com" target="_blank">Raymond.Corbett@arcproductions.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div lang="EN-US" link="blue" vlink="purple">
<div>
<p class="MsoNormal"><span style="color:#1f497d">The link to the wiki is:<u></u><u></u></span></p>
<p class="MsoNormal"><span style="color:#1f497d"><u></u> <u></u></span></p>
<p class="MsoNormal"><span style="color:#1f497d"><a href="http://requesttracker.wikia.com/wiki/QuickTicket#Add_custom_fields_to_portlet" target="_blank">http://requesttracker.wikia.com/wiki/QuickTicket#Add_custom_fields_to_portlet</a><u></u><u></u></span></p>
<p class="MsoNormal"><span style="color:#1f497d"><u></u> <u></u></span></p>
<div>
<div style="border:none;border-top:solid #b5c4df 1.0pt;padding:3.0pt 0in 0in 0in">
<p class="MsoNormal"><b><span style="font-size:10.0pt;font-family:"Tahoma","sans-serif"">From:</span></b><span style="font-size:10.0pt;font-family:"Tahoma","sans-serif""> <a href="mailto:rt-users-bounces@lists.bestpractical.com" target="_blank">rt-users-bounces@lists.bestpractical.com</a> [mailto:<a href="mailto:rt-users-bounces@lists.bestpractical.com" target="_blank">rt-users-bounces@lists.bestpractical.com</a>]
<b>On Behalf Of </b>Raymond Corbett<br>
<b>Sent:</b> Friday, March 15, 2013 3:01 PM<br>
<b>To:</b> <a href="mailto:rt-users@lists.bestpractical.com" target="_blank">rt-users@lists.bestpractical.com</a><br>
<b>Subject:</b> [rt-users] Code error following <a href="http://requesttracker.wikia.com/wiki/QuickTicket" target="_blank">http://requesttracker.wikia.com/wiki/QuickTicket</a><u></u><u></u></span></p>
</div>
</div><div><div class="h5">
<p class="MsoNormal"><u></u> <u></u></p>
<p class="MsoNormal">Found this link to help me put custom fields into the QuickCreate portlet.
<u></u><u></u></p>
<p class="MsoNormal"><u></u> <u></u></p>
<p class="MsoNormal">Followed all along well. <u></u><u></u></p>
<p class="MsoNormal"><u></u> <u></u></p>
<p class="MsoNormal">Get the following error on compile. Anyone have any idea what I might be doing wrong.
<u></u><u></u></p>
<p class="MsoNormal"><u></u> <u></u></p>
<p class="MsoNormal">Line in question line 86 which reads <span style="font-size:10.0pt;font-family:"Courier New";color:red">
var defaultQueue = '<% $defaultQueue %>';<u></u><u></u></span></p>
<p class="MsoNormal"><u></u> <u></u></p>
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:"Courier New"">});<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:"Courier New""> var defaultQueue = '<% $defaultQueue %>';<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:"Courier New""> if(defaultQueue == "") {<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:"Courier New""> defaultQueue = jQuery('#quick-ticket').find('.select-queue[name=Queue]').children().first().text();<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:"Courier New""> }<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:"Courier New""> updateCustomFields(defaultQueue);<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:"Courier New""><u></u> <u></u></span></p>
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:"Courier New""> });<u></u><u></u></span></p>
<p class="MsoNormal"><u></u> <u></u></p>
<p class="MsoNormal"><u></u> <u></u></p>
<p class="MsoNormal">Error log is:<u></u><u></u></p>
<p class="MsoNormal"><u></u> <u></u></p>
<p class="MsoNormal">torrepo:/opt/rt4/var # [Fri Mar 15 18:11:56 2013] [error]: Error during compilation of<u></u><u></u></p>
<p class="MsoNormal">/n/software/linux/servers/rt4/local/html/Elements/QuickTicket:<u></u><u></u></p>
<p class="MsoNormal">Global symbol "$defaultQueue" requires explicit package name at<u></u><u></u></p>
<p class="MsoNormal">/n/software/linux/servers/rt4/local/html/Elements/QuickTicket line 86.<u></u><u></u></p>
<p class="MsoNormal"><u></u> <u></u></p>
<p class="MsoNormal">Stack:<u></u><u></u></p>
<p class="MsoNormal"> [/usr/lib/perl5/site_perl/5.10.0/HTML/Mason/Interp.pm:450]<u></u><u></u></p>
<p class="MsoNormal"> [/usr/lib/perl5/site_perl/5.10.0/HTML/Mason/Request.pm:1127]<u></u><u></u></p>
<p class="MsoNormal"> [/usr/lib/perl5/site_perl/5.10.0/HTML/Mason/Request.pm:1060]<u></u><u></u></p>
<p class="MsoNormal"> [/usr/lib/perl5/site_perl/5.10.0/HTML/Mason/Request.pm:1239]<u></u><u></u></p>
<p class="MsoNormal"> [/n/software/linux/servers/rt4/share/html/Elements/MyRT:95]<u></u><u></u></p>
<p class="MsoNormal"> [/n/software/linux/servers/rt4/local/html/index.html:78]<u></u><u></u></p>
<p class="MsoNormal"> [/opt/rt4/sbin/../lib/RT/Interface/Web.pm:634]<u></u><u></u></p>
<p class="MsoNormal"> [/opt/rt4/sbin/../lib/RT/Interface/Web.pm:335]<u></u><u></u></p>
<p class="MsoNormal"> [/n/software/linux/servers/rt4/share/html/autohandler:53] (/opt/rt4/sbin/../lib/RT/Interface/Web/Handler.pm:208)<u></u><u></u></p>
<p class="MsoNormal"><u></u> <u></u></p>
<p class="MsoNormal"><u></u> <u></u></p>
<table border="0" cellspacing="8" cellpadding="0" align="left" width="100%" style="width:100.0%">
<tbody>
<tr>
<td width="6%" style="width:6.0%;padding:0in 0in 0in 0in">
<p class="MsoNormal">
<a href="http://www.arcproductions.com/" target="_blank"><span style="font-size:12.0pt;font-family:"Times New Roman","serif";text-decoration:none"><img border="0" width="150" height="99" src="cid:image001.gif@01CE2195.972AA080" alt="ARC"></span></a><span style="font-size:12.0pt;font-family:"Times New Roman","serif""><u></u><u></u></span></p>
</td>
<td width="94%" style="width:94.0%;padding:0in 0in 0in 0in">
<p class="MsoNormal" style="margin-bottom:12.0pt">
<b><span style="font-size:7.5pt;font-family:"Arial","sans-serif"">Ray Corbett Technology Projects Manager</span></b><b><span style="font-size:7.5pt;font-family:"Arial","sans-serif";color:#333333"><br>
<br>
p:</span></b><b><span style="font-size:12.0pt;font-family:"Times New Roman","serif"">
</span></b><b><span style="font-size:7.5pt;font-family:"Arial","sans-serif";color:#333333"><a href="tel:416.682.5200%20x5232" value="+14166825200" target="_blank">416.682.5200 x5232</a> | f: <a href="tel:416.682.5209" value="+14166825209" target="_blank">416.682.5209</a><br>
Arc Productions Ltd. | 230 Richmond Street East | Toronto, ON M5A 1P4<br>
<a href="http://www.arcproductions.com" target="_blank"><span style="color:#1a794d;text-decoration:none">www.arcproductions.com</span></a></span></b><span style="font-size:7.5pt;font-family:"Arial","sans-serif";color:#333333">
</span><span style="font-size:12.0pt;font-family:"Times New Roman","serif""><u></u><u></u></span></p>
</td>
</tr>
</tbody>
</table>
<p class="MsoNormal"><span style="font-size:12.0pt;font-family:"Times New Roman","serif""> <u></u><u></u></span></p>
<p class="MsoNormal"><u></u> <u></u></p>
</div></div></div>
</div>
<br><br>
<br>
--<br>
RT training in Amsterdam, March 20-21: <a href="http://bestpractical.com/services/training.html" target="_blank">http://bestpractical.com/services/training.html</a><br>
<br>
Help improve RT by taking our user survey: <a href="https://www.surveymonkey.com/s/N23JW9T" target="_blank">https://www.surveymonkey.com/s/N23JW9T</a><br></blockquote></div><br><br clear="all"><div><br></div>-- <br><a href="http://www.linkedin.com/in/paultomblin">http://www.linkedin.com/in/paultomblin</a><br>
<a href="http://careers.stackoverflow.com/ptomblin">http://careers.stackoverflow.com/ptomblin</a><br>
</div>