Rtir Digest, Vol 61, Issue 3

Hi there, Ruslan!

In this server I’m running only RT 3.8.8. I didn’t Install the IR module
yet.

Sorry about misplacing the message.

The error is causing an misbehaviour: When I upload the image, it gives me
two messages in sequence:

Upload xxx.jpg added
xxx.jpg is not an value for Upload anymore
I can’t understand why this behavior won’t happen while logged in as root.

Best Regards!2011/2/28 rtir-request@lists.bestpractical.com

Send Rtir mailing list submissions to
rtir@lists.bestpractical.com

To subscribe or unsubscribe via the World Wide Web, visit
http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rtir
or, via email, send a message with subject or body ‘help’ to
rtir-request@lists.bestpractical.com

You can reach the person managing the list at
rtir-owner@lists.bestpractical.com

When replying, please edit your Subject line so it is more specific
than “Re: Contents of Rtir digest…”

Today’s Topics:

  1. “Use of uninitialized value” (Tiago Caldas)
  2. Re: “Use of uninitialized value” (Ruslan Zakirov)

---------- Mensagem encaminhada ----------
From: Tiago Caldas tiagobcaldas@gmail.com
To: rtir@lists.bestpractical.com
Date: Mon, 28 Feb 2011 11:06:48 -0300
Subject: [Rtir] "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

---------- Mensagem encaminhada ----------
From: Ruslan Zakirov ruz@bestpractical.com
To: Tiago Caldas tiagobcaldas@gmail.com
Date: Mon, 28 Feb 2011 21:43:49 +0500
Subject: Re: [Rtir] "Use of uninitialized value"
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
http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rtir


Best regards, Ruslan.


Rtir mailing list
Rtir@lists.bestpractical.com
http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rtir