[rt-users] Problem with creating ticket
Todd Chapman
todd at chaka.net
Tue Mar 15 08:38:50 EST 2005
On Tue, Mar 15, 2005 at 03:42:32PM +0300, Krasavin Andrey wrote:
> Hi!
>
> I try create new ticket but get next problem:
>
> System error
> error: Can't call method "Id" on an undefined value at
> /usr/lib/rt/RT/Interface/Web.pm line 1105.
> context:
> ...
> 1099:
> 1100: # Build up a list of objects that we want to work with
> 1101: my %custom_fields_to_mod;
> 1102: foreach my $arg ( keys %$ARGSRef ) {
> 1103: if ( $arg =~ /^Object-([\w:]+)-(\d*)-CustomField-(\d+)-/
> ) {
> 1104: # For each of those objects, find out what custom fields
> we want to work with.
> 1105: $custom_fields_to_mod{$1}{$2 || $args{'Object'}->Id}{$3}
> = 1;
> 1106: }
> 1107: }
> ...
> code stack: /usr/lib/rt/RT/Interface/Web.pm:1103
> /usr/lib/rt/RT/Interface/Web.pm:1092
> /var/www/html/rt/local/html/Callbacks/CustomFields/Ticket/Display.html/BeforeDisplay:3
> /var/www/html/rt/Elements/Callback:70
> /var/www/html/rt/Ticket/Display.html:149
> /var/www/html/rt/Ticket/Create.html:289
> /var/www/html/rt/autohandler:215
>
> Can anybody help?
>
Did you modify Web.pm? 1105 has some syntax errors. What version of RT?
More information about the rt-users
mailing list