Using the following code in html file:
<& /Ticket/Elements/EditCustomFields, %ARGS, QueueObj => $QueueObj, InTable => 1 &>
<& /Ticket/Elements/EditTransactionCustomFields, %ARGS, QueueObj => $QueueObj, InTable => 1 &>
<%INIT>
my $Queue = $ARGS{Queue};
my $QueueObj = RT::Queue->new($session{‘CurrentUser’});
$QueueObj->Load($Queue) || Abort(loc(“Queue could not be loaded.”));
</%INIT>
System is returning that the message that the " Queue could not be loaded"
So it is executing that line.
Is there a problem with the code here. Anyone?
File live in /local/html
Thanks
Add $RT::Logger->debug(“Queue argument value is $Queue”); line right
after my $Queue = ...
.On Thu, Mar 28, 2013 at 7:11 PM, Raymond Corbett Raymond.Corbett@arcproductions.com wrote:
Using the following code in html file:
<& /Ticket/Elements/EditCustomFields, %ARGS, QueueObj => $QueueObj, InTable
=> 1 &>
<& /Ticket/Elements/EditTransactionCustomFields, %ARGS, QueueObj =>
$QueueObj, InTable => 1 &>
<%INIT>
my $Queue = $ARGS{Queue};
my $QueueObj = RT::Queue->new($session{‘CurrentUser’});
$QueueObj->Load($Queue) || Abort(loc(“Queue could not be loaded.”));
</%INIT>
System is returning that the message that the “ Queue could not be loaded”
So it is executing that line.
Is there a problem with the code here. Anyone?
File live in /local/html
Thanks
Best regards, Ruslan.