[rt-users] RT 3.4.2 create ticket, possibly custom field error

Dan O'Neill rt at northpb.com
Fri Jun 17 13:56:09 EDT 2005


Recently I transitioned (not upgraded) from RT 3.0.10 to RT 3.4.2.  When 
I say transitioned, we performed a fresh install of RT 3.4.2 on a new 
server, dumped the database on the old and followed the update 
procedures as documented for the database, schema and ACL's.

All is generally working much better than 3.0.10, except for the 
handling of custom fields in some portions of the application.

My specific example today is this scenario:

  Create a new ticket in a queue that has custom fields and the
    ticket will be created, but a nasty error generated.

  Create a new ticket in a queue with no custom fields and
    everything works great.

OS: Fedora Core 3
Perl 5.8.5
Searchbuilder 1.27
Full config at http://northpb.com/public/rt-config.txt

Here is the error message that is generated and it's repeatable.

System error
error: Can't call method "Id" on an undefined value at
/mp3/tools/rt/lib/RT/Interface/Web.pm line 1118.
context:
...
1112:
1113: # Build up a list of objects that we want to work with
1114: my %custom_fields_to_mod;
1115: foreach my $arg ( keys %$ARGSRef ) {
1116: if ( $arg =~ /^Object-([\w:]+)-(\d*)-CustomField-(\d+)-/ ) {
1117: # For each of those objects, find out what custom fields we want
to work with.
1118: $custom_fields_to_mod{$1}{$2 || $args{'Object'}->Id}{$3} = 1;
1119: }
1120: }
...
code stack: /mp3/tools/rt/lib/RT/Interface/Web.pm:1116
/mp3/tools/rt/lib/RT/Interface/Web.pm:1105
/mp3/tools/rt/local/html/Callbacks/CustomFields/Ticket/Display.html/BeforeDisplay:3
/mp3/tools/rt/share/html/Elements/Callback:70
/mp3/tools/rt/share/html/Ticket/Display.html:149
/mp3/tools/rt/share/html/Ticket/Create.html:289
/mp3/tools/rt/share/html/autohandler:215


The full error text can be found at
   http://northpb.com/public/rt-create-error-8116.txt

I would certainly appreciate any help you can provide.

dano



More information about the rt-users mailing list