[rt-users] RT 3.8.2 > 3.8.8
Chance Newkirk
chance.newkirk at gmail.com
Mon Aug 9 11:27:14 EDT 2010
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 ) {
<tr class="<%$i%2 ? 'evenline' : 'oddline'%>"><td><a
href="<%RT->Config->Get('WebPath')%>/Ticket/Display.html?id=<%$ticket->id%>"><%$reminder->Subject%></a><br
/>
<blockquote>
#<%$ticket->id%>: <%$ticket->Subject%><br />
@@ -62,6 +63,7 @@
</blockquote>
</td>
</tr>
+% }
% }}
</table>
</&>
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,
-Chance
On Wed, Aug 4, 2010 at 8:05 AM, Jim Tambling
<Jim.Tambling at 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
>
More information about the rt-users
mailing list