[rt-users] RT 3.8.2 > 3.8.8
Kevin Falcone
falcone at bestpractical.com
Mon Aug 9 11:33:42 EDT 2010
On Mon, Aug 09, 2010 at 09:27:14AM -0600, Chance Newkirk wrote:
> 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
>
> --- /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
> >
>
> Discover RT's hidden secrets with RT Essentials from O'Reilly Media.
> Buy a copy at http://rtbook.bestpractical.com
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 195 bytes
Desc: not available
URL: <http://lists.bestpractical.com/pipermail/rt-users/attachments/20100809/a4507f77/attachment.sig>
More information about the rt-users
mailing list