<div dir="ltr">Hi All -<div><br></div><div>I'm having issues in my test environment running RT 4.4.</div><div><br></div><div>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.</div><div><br></div><div>The error says "<span style="color:rgb(0,0,0);font-family:arial,helvetica,sans-serif;font-size:13px;line-height:16.003px">An internal RT error has occurred. Your administrator can find more details in RT's log files.". In the RT logs I'm seeing:</span></div><div><span style="color:rgb(0,0,0);font-family:arial,helvetica,sans-serif;font-size:13px;line-height:16.003px"><br></span></div><div><span style="background-color:rgb(255,255,0)">[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.</span><span style="color:rgb(0,0,0);font-family:arial,helvetica,sans-serif;font-size:13px;line-height:16.003px"><br></span></div><div><font color="#000000" face="arial, helvetica, sans-serif"><span style="line-height:16.003px"><br></span></font></div><div><font color="#000000" face="arial, helvetica, sans-serif"><span style="line-height:16.003px">And here is line 1371 in Ticket.pm:</span></font></div><div><font color="#000000" face="arial, helvetica, sans-serif"><span style="line-height:16.003px"><br></span></font></div><div><div><span style="background-color:rgb(255,255,0)">1366 sub _DurationAsString {</span></div><div><span style="background-color:rgb(255,255,0)">1367 my $self = shift;</span></div><div><span style="background-color:rgb(255,255,0)">1368 my $value = shift;</span></div><div><span style="background-color:rgb(255,255,0)">1369 return "" unless $value;</span></div><div><span style="background-color:rgb(255,255,0)">1370 if ($value < 60) {</span></div><div><span style="background-color:rgb(255,255,0)">1371 return $_[0]->loc("[quant,_1,minute,minutes]", $value);</span></div><div><span style="background-color:rgb(255,255,0)">1372 } else {</span></div><div><span style="background-color:rgb(255,255,0)">1373 my $h = sprintf("%.2f", $value / 60 );</span></div><div><span style="background-color:rgb(255,255,0)">1374 return $_[0]->loc("[quant,_1,hour,hours] ([quant,_2,minute,minutes])", $h, $value);</span></div><div><span style="background-color:rgb(255,255,0)">1375 }</span></div><div><span style="background-color:rgb(255,255,0)">1376 }</span></div><div><div class="gmail_signature"><div dir="ltr"><div><div dir="ltr"><div><br></div><div>Ideas?</div><div><br></div><div>Max</div><div>--<br>Max McGrath <a href="https://www.linkedin.com/pub/max-mcgrath/1b/3a6/a21" target="_blank"><img src="https://static.licdn.com/scds/common/u/img/webpromo/btn_profile_greytxt_80x15.png"></a><br>Network Administrator<br>Carthage College<br>262-552-5512<br><a href="mailto:mmcgrath@carthage.edu" target="_blank">mmcgrath@carthage.edu</a></div></div></div></div></div></div>
</div></div>