[rt-users] CommandbyMail - CustomFields - Can't get $queue->TicketCustomFields;
anthony acquanita
acqantreader at gmail.com
Thu Jul 22 17:07:33 EDT 2010
So i've done some debug in TakeAction.pm and it seems that
custom_fields is empty because I never see the ACTIONCF2 log
any leads at to debugging $queue->TicketCustomFields; ?
# Canonicalize custom fields
my $custom_fields = $queue->TicketCustomFields;
$RT::Logger->info( "ACTIONCF1-> @{[ %{$queue} ]} " );
while ( my $cf = $custom_fields->Next ) {
$RT::Logger->info( "ACTIONCF2-> @{[ %{$cf} ]} " );
my %tmp = _ParseAdditiveCommand( \%cmds, 0, "CustomField{".
$cf->Name ."}" );
next unless keys %tmp;
$create_args{ 'CustomField-' . $cf->id } = [
_CompileAdditiveForCreate(%tmp) ];
$RT::Logger->info( "ACTIONCREATED_ARGS-> " );
}
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.bestpractical.com/pipermail/rt-users/attachments/20100722/b93283fd/attachment.htm>
More information about the rt-users
mailing list