Bug: Updating a ticket redirects outside RTIR

The ‘Reply’ link in the history window of a ticket points outside RTIR.
This results in losing the RTIR’s view of an incident after reply and,
more importantly, breaking response time tracking.

The problem was observed in rtir 1.0.5 running on rt 3.0.10 and 3.0.11.

It can be fixed this way:

  1. Copy /Ticket/Elements/ShowHistory to /RTIR/Elements/ShowHistory and edit:

Change the following line:
$UpdatePath => $RT::WebPath."/Ticket/Update.html"
into:
$UpdatePath => $RT::WebPath."/RTIR/Update.html"

and this one:
$m->comp( ‘ShowTransaction’,
into:
$m->comp( ‘/Ticket/Elements/ShowTransaction’,

  1. Then, edit /RTIR/Display.html:

Change:
<& /Ticket/Elements/ShowHistory ,
into:
<& /RTIR/Elements/ShowHistory ,

Hope it helps.

Regards,
Przemek
"Delenda est Carthago" /Cato Maior/ .d~^v
Przemyslaw Jaroszewski 8 E R T
CERT Polska, http://www.cert.pl/ `b.a’POLSKA|
przemek@cert.pl; tel.+48 22 5231377; fax.: +48 22 5231399