Rt-3-0-10 warning

Just a warning, looks like rt-3.0.10 doesn’t work with the current
release of RTIR due to the tweaks in attachment handling.

Regard
John
JANET-CERT

John Green wrote:

Just a warning, looks like rt-3.0.10 doesn’t work with the current
release of RTIR due to the tweaks in attachment handling.

To answer my own email.
It may just be a simple case of adding

my $attachments = $m->comp(‘/Ticket/Elements/FindAttachments’, Ticket =>
$Ticket);
my $attachment_content =
$m->comp(‘/Ticket/Elements/LoadTextAttachments’, Ticket => $Ticket);

at the end of the of the two Display.html’s in RTIR and adding
$attachment to

<& /Ticket/Elements/ShowAttachments, Ticket => $Ticket, Attachments =>
$attachments &>

It seems to work, but ymmw. 3.0.10 seems much faster at displaying long
ticket displays, but other more subtle stuff might be broken too.

John
JANET-CERT

At 11:40 AM +0100 3/29/04, John Green wrote:

Just a warning, looks like rt-3.0.10 doesn’t work with the current
release of RTIR due to the tweaks in attachment handling.

Regard
John
JANET-CERT


RTIR mailing list
RTIR@lists.bestpractical.com
The rtir Archives

Thanks for the warning.

Are there plans to update RTIR to be compatibel with the new tree: RT
version 3.1.X and above ?

Any timeframe for a fix on current 3.0.10 issues ?

TIA
Brussels University
Pleinlaan 2
Computer Center VUB/ULB (VUBnet)
Ing. Robert Jansen
B-1050 Brussels
Belgium (Europe)

email: rjansen@vub.ac.be
Tel: +32-2-650.36.94
Secr: +32-2-650.37.38
Fax: +32-2-650.37.40

Are there plans to update RTIR to be compatibel with the new tree: RT
version 3.1.X and above ?

I’ll let Jesse address this in greater detail when he returns (he’s
been out of town).

Any timeframe for a fix on current 3.0.10 issues ?

I’ve enclosed a patch for RTIR, which should take care of this
problem.

We apologize for these issues. These fixes will be included in the
next version of RTIR, which should be released within the next day or
so.

Thanks,
Linda

Index: html/RTIR/Incident/Display.html
— html/RTIR/Incident/Display.html (revision 634)
+++ html/RTIR/Incident/Display.html (working copy)
@@ -185,7 +185,8 @@
<& /RTIR/Elements/ShowDates, Ticket => $Ticket &>
<& /Elements/TitleBoxEnd &>

  • <& /Ticket/Elements/ShowAttachments, Ticket => $Ticket &>
    
  • <& /Ticket/Elements/ShowAttachments, Ticket => $Ticket, 
    
  •    Attachments => $attachments &>
    
    <& /Ticket/Elements/ShowRequestor, Ticket => $Ticket, DisplayPath => "/RTIR/Display.html" &>
    

@@ -372,6 +373,7 @@
loc(“WARNING: Incident [_1] has no children.”, $Ticket->Id));
}

+my $attachments = $m->comp(’/Ticket/Elements/FindAttachments’, Ticket => $Ticket);

</%INIT>

Index: html/RTIR/Display.html
— html/RTIR/Display.html (revision 634)
+++ html/RTIR/Display.html (working copy)
@@ -156,7 +156,8 @@

- <& /Ticket/Elements/ShowAttachments, Ticket => $Ticket &> + <& /Ticket/Elements/ShowAttachments, Ticket => $Ticket, + Attachments => $attachments &> <& /Ticket/Elements/ShowRequestor, Ticket => $Ticket, DisplayPath => '/RTIR/Display.html' &> @@ -278,6 +279,8 @@ $TimeWorked = $Ticket->TimeWorked."/".$Ticket->TimeLeft; }

+my $attachments = $m->comp(’/Ticket/Elements/FindAttachments’, Ticket => $Ticket);
</%INIT>

<%ARGS>