[rt-users] Error when creating ticket after 4.0.6 --> 4.0.16 upgrade
Max McGrath
mmcgrath at carthage.edu
Tue Jul 30 15:09:21 EDT 2013
Thanks Thomas. Works now that I added $. That's what I get for not being
a programmer. And yes...I must never had cleared the Mason cache.
Thanks again!
Max
--
Max McGrath
Network Administrator
Carthage College
262-552-5512
mmcgrath at carthage.edu
On Tue, Jul 30, 2013 at 1:32 PM, Thomas Sibley <trs at bestpractical.com>wrote:
> On 07/30/2013 07:25 AM, Max McGrath wrote:
> > Dug into the code...looks like I put some custom code in Create.html:
> >
> > 119 % if (QueueObj ->Name eq 'Desk Tasks') {
> > 120 <& /Elements/EmailInput, Name => 'Requestors', Size => undef,
> > Default => $ARGS{Requestors} || $session{CurrentUser}->EmailAddress &>
> > 121 % } else {
> > 122 <& /Elements/EmailInput, Name => 'Requestors', Size => undef,
> > Default => $ARGS{Requestors} &>
> > 123 %}
> > 124 % $m->callback( CallbackName => 'AfterRequestors', QueueObj =>
> > $QueueObj, ARGSRef => \%ARGS );
> >
> >
> > Is there something wrong in line 119 that won't work in 4.0.16?
>
> 119 won't have compiled on any RT version. It's a Perl syntax error
> (bareword QueueObj instead of the variable $QueueObj that you really want).
>
> Perhaps you never cleared your Mason cache previously so the
> customization never ran until you upgraded.
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.bestpractical.com/pipermail/rt-users/attachments/20130730/1664ad8a/attachment.htm>
More information about the rt-users
mailing list