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

Max McGrath mmcgrath at carthage.edu
Tue Jul 30 10:25:11 EDT 2013


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?

--
Max McGrath
Network Administrator
Carthage College
262-552-5512
mmcgrath at carthage.edu


On Tue, Jul 30, 2013 at 9:13 AM, Max McGrath <mmcgrath at carthage.edu> wrote:

> Hi All -
>
> Just upgraded my test instance of RT from 4.0.6 to 4.0.16.  The upgrade
> process goes smoothly with no errors.  But afterwards when I attempt to
> create a ticket the web page displays the *Basics* form, and nothing
> else, except an error:  "An internal RT error has ocurred.  Your
> administrator can find more details in RT's log files.".
>
> So...I went and checked rt.log and saw this anytime I try to create a
> ticket via the web:
>
> [Tue Jul 30 14:10:06 2013] [error]: Can't locate object method "Name" via
> package "QueueObj" (perhaps you forgot to load "QueueObj"?) at
> /opt/rt4/local/html/Ticket/Create.html line 119.
>
> Stack:
>   [/opt/rt4/local/html/Ticket/Create.html:119]
>   [/opt/rt4/share/html/Widgets/TitleBox:56]
>   [/opt/rt4/local/html/Ticket/Create.html:195]
>   [/opt/rt4/share/html/Ticket/autohandler:66]
>   [/opt/rt4/sbin/../lib/RT/Interface/Web.pm:635]
>   [/opt/rt4/sbin/../lib/RT/Interface/Web.pm:335]
>   [/opt/rt4/share/html/autohandler:53]
> (/opt/rt4/sbin/../lib/RT/Interface/Web/Handler.pm:208)
>
>
> I don't know what to make of any of that.  Any help is appreciated!
>
> Max
> --
> Max McGrath
> Network Administrator
> Carthage College
> 262-552-5512
> mmcgrath at carthage.edu
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.bestpractical.com/pipermail/rt-users/attachments/20130730/125b7b4a/attachment.htm>


More information about the rt-users mailing list