[rt-users] Error when creating ticket after 4.0.6 --> 4.0.16 upgrade

Thomas Sibley trs at bestpractical.com
Tue Jul 30 14:32:48 EDT 2013


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.




More information about the rt-users mailing list