"Use of uninitialized value"

Hi everyone,

I’m currently running RT 3.8.8 with Perl 5.10 at my server.

I’ve created some specific Custom fields at a Queue and I’m having the
following problem when any user (besides root) try to insert some value at
the CF (upload images):

*Feb 28 13:41:24 serverXX RT: Use of uninitialized value $cf_type in pattern
match (m//) at /opt/rt3/bin/…/lib/RT/Interface/Web.pm line 1648.
(/opt/rt3/bin/…/lib/RT/Interface/Web.pm:1648) *

I have already checked the permissions and it seems fine…

At the web.pm file the $cf_value is created as follows:

Line# Code

1619 sub ProcessObjectCustomFieldUpdates {
1620 my %args = @
;
1621 my $cf = $args{‘CustomField’};
1622 my $cf_type = $cf->Type;

I would like to check if someone had this same problem…

Regards!

Tiago

You’re reporting on RTIR mailing list. Is it related to RTIR? RTIR 2.6
has better code to deal with additional custom fields.

Usually "Use of uninitialized value " are harmless, just an indication
of a possible problem. Does it actually result in an error or
misbehaviour?On Mon, Feb 28, 2011 at 7:06 PM, Tiago Caldas tiagobcaldas@gmail.com wrote:

Hi everyone,

I’m currently running RT 3.8.8 with Perl 5.10 at my server.

I’ve created some specific Custom fields at a Queue and I’m having the
following problem when any user (besides root) try to insert some value at
the CF (upload images):

Feb 28 13:41:24 serverXX RT: Use of uninitialized value $cf_type in pattern
match (m//) at /opt/rt3/bin/…/lib/RT/Interface/Web.pm line 1648.
(/opt/rt3/bin/…/lib/RT/Interface/Web.pm:1648)

I have already checked the permissions and it seems fine…

At the web.pm file the $cf_value is created as follows:

Line# Code

1619 sub ProcessObjectCustomFieldUpdates {
1620 my %args = @
;
1621 my $cf = $args{‘CustomField’};
1622 my $cf_type = $cf->Type;

I would like to check if someone had this same problem…

Regards!

Tiago


Rtir mailing list
Rtir@lists.bestpractical.com
The rtir Archives

Best regards, Ruslan.