[request-tracker-maintainers] Bug#442398: RT has non-functional link in user front page
carbonated beverage
ramune at net-ronin.org
Sat Sep 15 19:05:31 UTC 2007
Package: request-tracker3.6
Version: 3.6.1-4
The /etc/request-tracker3.6/initialdata file has the following toward the
bottom of the file, in the "Predefined searches" section:
@Attributes = (
{ Name => 'Search - My Tickets',
Description => '[_1] highest priority tickets I own', # loc
Content =>
{ Format => "'<a href=\"__WebPath__/Ticket/Display.html?id=__id__\">__id__</a>/TITLE:#', '<a href=\"$RT::WebPath/Ticket/Display.html?id=__id__\">__Subject__</a>/TITLE:Subject', Priority, QueueName, Extende
dStatus",
Query => " Owner = '__CurrentUser__' AND ( Status = 'new' OR Status = 'open')",
OrderBy => 'Priority',
Order => 'DESC' },
},
The "$RT::WebPath" should be "__WebPath__". Due to that bug, the list of
tickets users get when they log in has a broken URL for the ticket subjects
of the form:
http://ticket/Display.html?id=1
instead of:
http://rt.example.com/Ticket/Display.html?id=1
Also noted on the rt-users mailing list:
http://lists.bestpractical.com/pipermail/rt-users/2007-March/044798.html
Changing the $RT::WebPath to __WebPath__ and running:
rt-setup-database --action insert --datafile /path/to/fixed/file
made it work for me, though I don't know if that was the "correct" fix.
System is Debian/etch on x86_64 with the volatile archives.
-- DN
Daniel
More information about the pkg-request-tracker-maintainers
mailing list