RT 4.4.0rc1 issues

To test the 4.4 upgrade, I removed all of my local customizations and tried setting the homepage back to a very basic setup. Whenever I use ‘My Tickets’ on the homepage, the page stops loading and displays:
An internal RT error has occurred. Your administrator can find more details in RT’s log files.

In the logs, I see:

[39520] [Thu Nov 5 19:40:23 2015] [error]: Can’t call method “loc” on an undefined value at /usr/local/rt4/sbin/…/lib/RT/Ticket.pm line 1374.

Stack:

[/usr/local/rt4/sbin/…/lib/RT/Ticket.pm:1374]

[/usr/local/rt4/sbin/…/lib/RT/Ticket.pm:1386]

[/usr/local/rt4/share/html/Elements/RT__Ticket/ColumnMap:185]

[/usr/local/rt4/share/html/Elements/CollectionAsTable/Row:130]

[/usr/local/rt4/share/html/Elements/CollectionList:152]

[/usr/local/rt4/share/html/Elements/ShowSearch:54]

[/usr/local/rt4/share/html/Widgets/TitleBox:56]

[/usr/local/rt4/share/html/Elements/ShowSearch:55]

[/usr/local/rt4/share/html/Elements/MyRT:99]

[/usr/local/rt4/share/html/index.html:78]

[/usr/local/rt4/sbin/…/lib/RT/Interface/Web.pm:696]

[/usr/local/rt4/sbin/…/lib/RT/Interface/Web.pm:375]

[/usr/local/rt4/share/html/autohandler:53] (/usr/local/rt4/sbin/…/lib/RT/Interface/Web/Handler.pm:208)

Anyone else seeing this sort of behavior?

Hi Andrew,

To test the 4.4 upgrade, I removed all of my local customizations and tried setting the
homepage back to a very basic setup.

Thank you. :slight_smile:

[39520] [Thu Nov 5 19:40:23 2015] [error]: Can’t call method “loc” on an undefined value
at /usr/local/rt4/sbin/…/lib/RT/Ticket.pm line 1374.

This looks like a very clear cut mis-merge.

sub DurationAsString {
my $self = shift;
my $value = shift;
return “” unless $value;
if ($value < 60) {
return $
[0]->loc("[quant,1,minute,minutes]", $value);
} else {
my $h = sprintf("%.2f", $value / 60 );
return $
[0]->loc("[quant,_1,hour,hours] ([quant,_2,minute,minutes])", $h, $value);
}
}

We’ll get this fixed up for rc2. I’ve made a ticket for tracking it: https://issues.bestpractical.com/Ticket/Display.html?id=31453

In the mean time, if you remove “Time Worked” from “My Tickets” (click the Edit button at the top right, then remove TimeWorked from the Show Columns) it should get you back up to speed.

Thanks for your report!
Shawn