RT 4.4 Errors

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@carthage.edu

Hi Max,

[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.

Can you upgrade to 4.4.0 rc2? That includes a fix for this bug.

Max

Thanks!
Shawn

Shawn -

It looks like I can get into my Queues now. But a new issue has come up.
When I login, it takes me to https://10.2.1.45/rt/NoAuth/Login.html and has
the error message:

An internal RT error has occurred. Your administrator can find more details
in RT’s log files.

But I can refresh the page and it will then log me in successfully to RT (
https://10.2.1.45/rt/).

I don’t see any real errors in rt.log. I see a bunch of stuff referencing
ExternalAuth. Not sure how much info you want from my rt.log.

Max

Max McGrath https://www.linkedin.com/pub/max-mcgrath/1b/3a6/a21
Network Administrator
Carthage College
262-552-5512
mmcgrath@carthage.eduOn Mon, Nov 23, 2015 at 3:00 PM, Shawn Moore shawn@bestpractical.com wrote:

Hi Max,

On 2015年11月23日 at 15:59:38, Max McGrath (mmcgrath@carthage.edu) wrote:

[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.

Can you upgrade to 4.4.0 rc2? That includes a fix for this bug.

Max

Thanks!
Shawn