Another rt-2-1-69 question/woes

hi guys,

i see a lot of error-messages in my apache-logs & rt.log , always the same
error.
(everytime i access the history)

[Tue Feb 18 17:56:53 2003] [warning]:
Use of uninitialized value in length at
/usr/local/lib/perl5/site_perl/5.8.0/Text/Quoted.pm line 230.
(/opt/apps/rt3/lib/RT.pm:220)
<<

Qupoted.pm, line 230:
$firstfrom = length($line->{raw}) - length($line->{text});

Any ideas ?

cheers,
geri
…still rt3 newbie

If you intend to be playing with RT 2.1.x point releases, you should
probably be subscribed to rt-devel, where you’ll see announcements of
each point release as it hits. RT 2.1.74 has smoothed over a large
number of issues since 2.1.69 was released several weeks ago.

-jOn Tue, Feb 18, 2003 at 07:09:35PM +0100, Geri F. wrote:

hi guys,

i see a lot of error-messages in my apache-logs & rt.log , always the same
error.
(everytime i access the history)

[Tue Feb 18 17:56:53 2003] [warning]:
Use of uninitialized value in length at
/usr/local/lib/perl5/site_perl/5.8.0/Text/Quoted.pm line 230.
(/opt/apps/rt3/lib/RT.pm:220)
<<

Qupoted.pm, line 230:
$firstfrom = length($line->{raw}) - length($line->{text});

Any ideas ?

cheers,
geri
…still rt3 newbie


rt-users mailing list
rt-users@lists.fsck.com
http://lists.fsck.com/mailman/listinfo/rt-users

Have you read the FAQ? The RT FAQ Manager lives at http://fsck.com/rtfm

Request Tracker... So much more than a help desk — Best Practical Solutions – Trouble Ticketing. Free.

i see a lot of error-messages in my apache-logs & rt.log , always the
same error. (everytime i access the history)

This is a warning, not an error; you can safely ignore it. Perl will
treat the undefined variable 0, which looks like the Right Thing To Do
in this case.

Qupoted.pm, line 230:
$firstfrom = length($line->{raw}) - length($line->{text});

If it really bugs you, change that line to:

$firstfrom = length(defined $line->{raw}  ? $line->{raw} : 0) -
             length(defined $line->{text} ? $line->{text} : 0);

(darren)

Going to church does not make a person religious, nor does going to
school make a person educated, any more than going to a garage makes
a person a car.