Skip Menu |

This queue is for tickets about the RT-Extension-WatchedQueues CPAN distribution.

Report information
The Basics
Id: 45254
Status: resolved
Worked: 5 min
Priority: 0/
Queue: RT-Extension-WatchedQueues

People
Owner: ELACOUR [...] cpan.org
Requestors: larrys [...] fullcompass.com
Cc:
AdminCc:

Bug Information
Severity: Unimportant
Broken in: (no value)
Fixed in: (no value)



Subject: Bug, or installed release incompadibility with request-tracker3.6
Date: Thu, 23 Apr 2009 11:55:36 -0500
To: bug-RT-Extension-WatchedQueues [...] rt.cpan.org
From: Larry Starr <larrys [...] fullcompass.com>
I have reinstalled this package a couple of times and still See the following errors when attempting to access "Users" "Watched Queues" with "request-tracker3.6" on ubuntu 8.04. Thank you: System error error: Can't locate object method "Config" via package "RT" at /usr/share/request-tracker3.6/html/Admin/Users/WatchedQueues.html line 68, <DATA> line 1662. context: ... 64: <h2><&|/l&>Queues the user is Cc watcher</&></h2> 65: <ul> 66: % while ( my $QueueObj = $QueuesObj->Next ) { 67: % if ( $QueueObj->IsCc($UserObj->PrincipalId) ) { 68: <li><a href="<%RT::WebPath%>/Admin/Queues/People.html?id=<% $QueueObj->Id %>"><% $QueueObj->Name %></a></li> 69: % } 70: % } 71: </ul> 72: ... code stack: /usr/share/request-tracker3.6/html/Admin/Users/WatchedQueues.html:68 /usr/share/request-tracker3.6/html/Admin/autohandler:49 /usr/share/request-tracker3.6/html/autohandler:291 -- Larry G. Starr - larrys@fullcompass.com or starrl@globaldialog.com Software Engineer: Full Compass Systems LTD. Phone: 608-831-7330 x 1347 FAX: 608-831-6330 =================================================================== There are only three sports: bullfighting, mountaineering and motor racing, all the rest are merely games! - Ernest Hemmingway
Le Jeu. Avr. 23 12:56:09 2009, larrys@fullcompass.com a écrit : Show quoted text
> I have reinstalled this package a couple of times and still See the > following > errors when attempting to access "Users" "Watched Queues" > with "request-tracker3.6" on ubuntu 8.04. > >
I'm sorry, but this extension was build for RT 3.8.x, thought, you should be able to make it working for 3.6.x by applying the attached patch (not tested).
diff --git a/html/Admin/Users/WatchedQueues.html b/html/Admin/Users/WatchedQueues.html index 1e5576f..eac99c3 100644 --- a/html/Admin/Users/WatchedQueues.html +++ b/html/Admin/Users/WatchedQueues.html @@ -56,7 +56,7 @@ <ul> % while ( my $QueueObj = $QueuesObj->Next ) { % if ( $QueueObj->IsAdminCc($UserObj->PrincipalId) ) { -<li><a href="<%RT->Config->Get('WebPath')%>/Admin/Queues/People.html?id=<% $QueueObj->Id %>"><% $QueueObj->Name %></a></li> +<li><a href="<%$RT::WebPath%>/Admin/Queues/People.html?id=<% $QueueObj->Id %>"><% $QueueObj->Name %></a></li> % } % } </ul> @@ -65,7 +65,7 @@ <ul> % while ( my $QueueObj = $QueuesObj->Next ) { % if ( $QueueObj->IsCc($UserObj->PrincipalId) ) { -<li><a href="<%RT->Config->Get('WebPath')%>/Admin/Queues/People.html?id=<% $QueueObj->Id %>"><% $QueueObj->Name %></a></li> +<li><a href="<%$RT::WebPath%>/Admin/Queues/People.html?id=<% $QueueObj->Id %>"><% $QueueObj->Name %></a></li> % } % } </ul>
Subject: Re: [rt.cpan.org #45254] Bug, or installed release incompadibility with request-tracker3.6
Date: Mon, 27 Apr 2009 12:26:03 -0500
To: bug-RT-Extension-WatchedQueues [...] rt.cpan.org
From: Larry Starr <larrys [...] fullcompass.com>
I still see the same error reported on request-tracker3.6. I appreciate the patch, but don't want to take up a lot of your time trying to back port to an earlier release. This is NOT a showstopper, just and inconvinience, I assume there is a reference to "Config" somewhere beneath the covers. Thank you for trying. error: Can't locate object method "Config" via package "RT" at /usr/share/request-tracker3.6/html/Admin/Users/WatchedQueues.html line 68, <DATA> line 1662. context: ... 64: <h2><&|/l&>Queues the user is Cc watcher</&></h2> 65: <ul> 66: % while ( my $QueueObj = $QueuesObj->Next ) { 67: % if ( $QueueObj->IsCc($UserObj->PrincipalId) ) { 68: <li><a href="<%$RT::WebPath%>/Admin/Queues/People.html?id=<% $QueueObj->Id %>"><% $QueueObj->Name %></a></li> 69: % } 70: % } 71: </ul> 72: ... code stack: /usr/share/request-tracker3.6/html/Admin/Users/WatchedQueues.html:68 /usr/share/request-tracker3.6/html/Admin/autohandler:49 /usr/share/request-tracker3.6/html/autohandler:291 raw error On Monday 27 April 2009, Emmanuel Lacour via RT wrote: Show quoted text
> <URL: https://rt.cpan.org/Ticket/Display.html?id=45254 > > > Le Jeu. Avr. 23 12:56:09 2009, larrys@fullcompass.com a C)critB :
> > I have reinstalled this package a couple of times and still See the > > following > > errors when attempting to access "Users" "Watched Queues" > > with "request-tracker3.6" on ubuntu 8.04.
> > I'm sorry, but this extension was build for RT 3.8.x, thought, you > should be able to make it working for 3.6.x by applying the attached > patch (not tested).
-- Larry G. Starr - larrys@fullcompass.com or starrl@globaldialog.com Software Engineer: Full Compass Systems LTD. Phone: 608-831-7330 x 1347 FAX: 608-831-6330 =================================================================== There are only three sports: bullfighting, mountaineering and motor racing, all the rest are merely games! - Ernest Hemmingway
Subject: Re: [rt.cpan.org #45254] Bug, or installed release incompadibility with request-tracker3.6
Date: Tue, 28 Apr 2009 09:28:28 +0200
To: "larrys [...] fullcompass.com via RT" <bug-RT-Extension-WatchedQueues [...] rt.cpan.org>
From: Emmanuel Lacour <elacour [...] home-dn.net>
On Mon, Apr 27, 2009 at 01:26:28PM -0400, larrys@fullcompass.com via RT wrote: Show quoted text
> Queue: RT-Extension-WatchedQueues > Ticket <URL: https://rt.cpan.org/Ticket/Display.html?id=45254 > > > I still see the same error reported on request-tracker3.6. > > I appreciate the patch, but don't want to take up a lot of your time trying to > back port to an earlier release. > > This is NOT a showstopper, just and inconvinience, I assume there is a > reference to "Config" somewhere beneath the covers. > > Thank you for trying. > > error: Can't locate object method "Config" via package "RT" > at /usr/share/request-tracker3.6/html/Admin/Users/WatchedQueues.html line 68, > <DATA> line 1662. > context: > ... > 64: <h2><&|/l&>Queues the user is Cc watcher</&></h2> > 65: <ul> > 66: % while ( my $QueueObj = $QueuesObj->Next ) { > 67: % if ( $QueueObj->IsCc($UserObj->PrincipalId) ) { > 68: <li><a href="<%$RT::WebPath%>/Admin/Queues/People.html?id=<% > $QueueObj->Id %>"><% $QueueObj->Name %></a></li> > 69: % } > 70: % } > 71: </ul> > 72: > ...
Seems you didn't clear the mason cache which should be located under /var/...