<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=us-ascii">
<meta name="Generator" content="Microsoft Exchange Server">
<!-- converted from rtf -->
<style><!-- .EmailQuote { margin-left: 1pt; padding-left: 4pt; border-left: #800000 2px solid; } --></style>
</head>
<body>
<font face="Arial, sans-serif" size="2">
<div>Greetings,</div>
<div> </div>
<div>I just installed RT V3.8.2 with RTIR V2.4.1 this week. I found what I believe is a bug in RTIR that manifests itself when the WebPath of RT is not at the document root of the web server. It's triggered when one is trying to create a new Article for an
Incident or an Incident Report. The HREF for the Article "new" link has the "next" parameter hardcoded as "/RTIR/Display.html?id=$id" when it should include the configured WebPath. Therefore when clicking "Create" after entering the new Article, one receives
a 404 error "The requested URL /RTIR/Display.html was not found on this server"</div>
<div> </div>
<div>Below is the fix I installed. I am new this week to RT and Mason (thank goodness I recognized Perl <smile>), so I freely admit that I might be missing something and there may be a better way to fix this problem. If so I apologize. I would appreciate some
feedback.</div>
<div> </div>
<div>Deb</div>
<div>-----------------------------------------------------</div>
<div> </div>
<div>diff -r local/plugins/RT-IR/html/RTIR/Display.html local/plugins/RT-IR/html/RTIR-orig/Display.html</div>
<div>158c158</div>
<div>< % my $qs = $m->comp("/Elements/QueryString", "RefersTo-new" => "t:$id", next => RT->Config->Get('WebPath')."/RTIR/Display.html?id=$id");</div>
<div>---</div>
<div>> % my $qs = $m->comp("/Elements/QueryString", "RefersTo-new" => "t:$id", next => "/RTIR/Display.html?id=$id");</div>
<div>diff -r local/plugins/RT-IR/html/RTIR/Incident/Display.html local/plugins/RT-IR/html/RTIR-orig/Incident/Display.html</div>
<div>172c172</div>
<div>< % my $qs = $m->comp("/Elements/QueryString", "RefersTo-new" => "t:$id", next => RT->Config->Get('WebPath')."/RTIR/Display.html?id=$id");</div>
<div>---</div>
<div>> % my $qs = $m->comp("/Elements/QueryString", "RefersTo-new" => "t:$id", next => "/RTIR/Display.html?id=$id");</div>
<div> </div>
</font>
</body>
</html>