[rt-users] RT 4.4 Errors

Max McGrath mmcgrath at carthage.edu
Mon Nov 23 15:59:03 EST 2015


Hi All -

I'm having issues in my test environment running RT 4.4.

In the Queue List, when I click a queue name that existed in 4.2 -- I get
an error -- when I click a queue that was created under RT 4.4 it works
fine.

The error says "An internal RT error has occurred. Your administrator can
find more details in RT's log files.".  In the RT logs I'm seeing:

[12001] [Mon Nov 23 17:04:12 2015] [error]: Can't call method "loc" on an
undefined value at /opt/rt4/sbin/../lib/RT/Ticket.pm line 1371.

And here is line 1371 in Ticket.pm:

1366 sub _DurationAsString {
1367     my $self = shift;
1368     my $value = shift;
1369     return "" unless $value;
1370     if ($value < 60) {
1371         return $_[0]->loc("[quant,_1,minute,minutes]", $value);
1372     } else {
1373         my $h = sprintf("%.2f", $value / 60 );
1374         return $_[0]->loc("[quant,_1,hour,hours]
([quant,_2,minute,minutes])", $h, $value);
1375     }
1376 }

Ideas?

Max
--
Max McGrath  <https://www.linkedin.com/pub/max-mcgrath/1b/3a6/a21>
Network Administrator
Carthage College
262-552-5512
mmcgrath at carthage.edu
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.bestpractical.com/pipermail/rt-users/attachments/20151123/32f8ff4c/attachment.htm>


More information about the rt-users mailing list