Rt 3.8.2 > 3.8.8

I have upgraded from 3.8.2. to 3.8.8 without a hitch, apart from seeing
the following line at the bottom of my home page:

“Can’t call method “id” on an undefined value at
/opt/rt3/share/html/Elements/MyReminders line 58.”

And there is no logo. If I remove “MyReminders” from the RT at a glance
page, the linbe disappears and the logo returns. Adding MyReminders back
to the RT at a glance page returns the error and takes away the logo.

Any ideas?

Regards, Jim

Hi Jim,

I am honestly not certain what the root cause of this is, but here is
a quick and dirty trick for displaying the non-broken reminders and
skipping the ones where TicketObj can’t be retrieved:

— /opt/rt3/share/html/Elements/MyReminders 2010-08-09 08:21:30.000000000 -0700
+++ /opt/rt3/local/html/Elements/MyReminders 2010-08-09 08:24:38.000000000 -0700
@@ -55,6 +55,7 @@
% $i++;
% if ($reminder->RefersTo->First) {
% my $ticket= $reminder->RefersTo->First->TargetObj;
+% if ( $ticket ) {

<%$reminder->Subject%>
#<%$ticket->id%>: <%$ticket->Subject%>
@@ -62,6 +63,7 @@
+% } % }}

I recommend copying your MyReminders element to your local tree and
applying the above patch to see if this might be an acceptable
workaround for you.

HTH,

-ChanceOn Wed, Aug 4, 2010 at 8:05 AM, Jim Tambling Jim.Tambling@datatote.co.uk wrote:

I have upgraded from 3.8.2. to 3.8.8 without a hitch, apart from seeing the
following line at the bottom of my home page:

“Can’t call method “id” on an undefined value at
/opt/rt3/share/html/Elements/MyReminders line 58.”

And there is no logo. If I remove “MyReminders” from the RT at a glance
page, the linbe disappears and the logo returns. Adding MyReminders back to
the RT at a glance page returns the error and takes away the logo.

Any ideas?

Regards, Jim

Discover RT’s hidden secrets with RT Essentials from O’Reilly Media.
Buy a copy at http://rtbook.bestpractical.com

I am honestly not certain what the root cause of this is, but here is

Usually this means you changed your $Organization config variable

a quick and dirty trick for displaying the non-broken reminders and
skipping the ones where TicketObj can’t be retrieved:

This looks similar to 4313c4b943e7b6c365ee46bcf9d353e91f1bd1a4 which
has been applied to 3.8-trunk

I am facing the same problem…any solution for this.

I have upgraded from 3.8.2. to 3.8.8 without a hitch, apart from seeing
the
following line at the bottom of my home page:

“Can’t call method “id” on an undefined value at
/opt/rt3/share/html/Elements/MyReminders line 58.”

And there is no logo. If I remove “MyReminders” from the RT at a
glance
page, the linbe disappears and the logo returns. Adding MyReminders back
to
the RT at a glance page returns the error and takes away the logo.

Any ideas?

Regards, Jim

Rana Tanveer
+923224247373