[rt-users] which template is this in error log?
I can't tell which Template has the perl code that threw an error in my logfile. Does "[template:12]" below refer to the template with a database id of #12, like http://rt/Admin/Global/Template.html?Queue=0&Template=12 Do I have to hunt through all my templates looking at line 12? Where do the lines in templates start? The first line including mail headers? Or the first line of perl code? Here is the log, how do I tell which template has the error? ::: [Tue Nov 1 05:49:08 2011] [error]: Template parsing error: Can't call method "Id" on an undefined value at template line 12. Stack: [template:12] [/usr/share/request-tracker4/lib/RT/Template.pm:454] [/usr/share/request-tracker4/lib/RT/Template.pm:410] [/usr/share/request-tracker4/lib/RT/Template.pm:339] [/usr/share/request-tracker4/lib/RT/Template.pm:319] [/usr/share/request-tracker4/lib/RT/Action/SendEmail.pm:154] [/usr/share/request-tracker4/lib/RT/Action/Autoreply.pm:66] [/usr/share/request-tracker4/lib/RT/ScripAction.pm:226] [/usr/share/request-tracker4/lib/RT/Scrip.pm:448] [/usr/share/request-tracker4/lib/RT/Scrips.pm:234] [/usr/share/request-tracker4/lib/RT/Transaction.pm:179] [/usr/share/request-tracker4/lib/RT/Record.pm:1447] [/usr/share/request-tracker4/lib/RT/Ticket.pm:669] [/usr/share/request-tracker4/lib/RT/Interface/Email.pm:1496] [/usr/share/request-tracker4/html/REST/1.0/NoAuth/mail-gateway:61] (/usr/share/request-tracker4/lib/RT/Template.pm:449) RT Training Sessions (http://bestpractical.com/services/training.html) * Barcelona, Spain November 28 & 29, 2011
[rt-users] CantLocateObject
Hi, I have a new installation of RT 3.8 (debian 6, installed with apt). I installed the AT extension and its working fine. However when I now go to Global>Group Rights or Global>User Rights I get the following: Can't locate object method "new" via package "RT::Class" (perhaps you forgot to load "RT::Class"?) at /usr/local/share/request-tracker3.8/plugins/RTx-AssetTracker/lib/RT/System_Vendor.pm line 12. Also the links to AT Scrips, AT Templates, AT Group Rights and AT User Rights have a double rt in the url, like this: http://myserver/rt/rt/AssetTracker/Admin/Global/GroupRights.html All help appreciated, Jim RT Training Sessions (http://bestpractical.com/services/training.html) * Barcelona, Spain November 28 & 29, 2011
Re: [rt-users] RSS Feed - listing newest instead of oldest?
On Mon, Oct 31, 2011 at 06:43:21PM +, Joseph Spenner wrote: > Kevin Falcone bestpractical.com> writes: > > On Wed, Oct 26, 2011 at 10:21:42AM -0700, Joseph Spenner wrote: > > >When using the RSS feed option to view a queue, is it possible to > configure the results such > > >that the entry listed under each ticket is the most recent entry rather > than the first entry > > >in the ticket? > > > > You'll need to make a local overlay of Search/Elements/ResultsRSSView > > and change the line that returns the content of the create > > transaction. > > > Is there any documentation explaining how to do this? I took a few > stabs/guesses at it, but all I did was prevent RT/apache from restarting. The customizing RT wiki page is probably your best bet: http://requesttracker.wikia.com/wiki/Customizing Your example earlier of switching from First to Last is unlikely to be right, since your Last transaction could be an owner change or a Priority change, not necessarily a comment/correspondence. > I'm surprised more people aren't interested in this as the default behavior, > since it seems to me it would make more sense to look at what is "new" rather > than what was originally posted in a message. I think there may be a ticket open about it, but it's not been a high priority. If a patch came in, it's certainly something we'd look at. It's also something that would be really easy to change as an extension which we could use to see what people want out of that feed. I'd also be interested in patches to make the calendar feeds more flexible. -kevin pgpFJlujY5vo1.pgp Description: PGP signature RT Training Sessions (http://bestpractical.com/services/training.html) * Barcelona, Spain November 28 & 29, 2011
Re: [rt-users] Private Groups in RT v4.0.x or equivalent?
Thanks for all the responses but I'm stuck with "stealing". Please ignore, under "actions" I've found the option "steal". Thanks. David. RT Training Sessions (http://bestpractical.com/services/training.html) * Barcelona, Spain November 28 & 29, 2011
Re: [rt-users] Private Groups in RT v4.0.x or equivalent?
Users within the group can steal it from the virtual group user as normal, or they can have a workflow where it stays owned by that virtual user and they only need to steal it upon closure. Thanks for all the responses but I'm stuck with "stealing". I've gone "configure queues", "group rights", selected the group and under "rights for staff" have enabled "steal ticket". But when I log in as a user in that group and try to take ownership of a ticket owned by the virtual user I get "you can only take tickets that are unowned". I've also tried granting "steal ticket" under global user rights but I get the same message. Even as an admin user with with "do anything and everything" enabled when I try and reassign the ticket I get "You can only reassign tickets that you own or that are unowned" ?? Any assistance will be greatly appreciated (before I loose all my hair). Using RT 4.0.2 Thanks. David. RT Training Sessions (http://bestpractical.com/services/training.html) * Barcelona, Spain November 28 & 29, 2011
Re: [rt-users] RSS Feed - listing newest instead of oldest?
Kevin Falcone bestpractical.com> writes: > > On Wed, Oct 26, 2011 at 10:21:42AM -0700, Joseph Spenner wrote: > >When using the RSS feed option to view a queue, is it possible to configure the results such > >that the entry listed under each ticket is the most recent entry rather than the first entry > >in the ticket? > > You'll need to make a local overlay of Search/Elements/ResultsRSSView > and change the line that returns the content of the create > transaction. > > -kevin > > Kevin: Is there any documentation explaining how to do this? I took a few stabs/guesses at it, but all I did was prevent RT/apache from restarting. I'm surprised more people aren't interested in this as the default behavior, since it seems to me it would make more sense to look at what is "new" rather than what was originally posted in a message. Thanks! RT Training Sessions (http://bestpractical.com/services/training.html) * Barcelona, Spain November 28 & 29, 2011
Re: [rt-users] search/dashboard of ticket with childern
On Mon, Oct 31, 2011 at 02:04:36PM -0400, Darin Perusich wrote: > > > On Mon, Oct 31, 2011 at 12:01:04PM -0400, Darin Perusich wrote: > > > I want to create a query for a dashboard where I'm searching on a > > > ticket and any children ticket underneath it. Think project > > management > > > type of view, 1 top level ticket, with any number of children, > > > children with children. I was thinking I'd be able to search on > > > HasMember where the HasMember of the top-level ticket but this > always > > returns zero results. > > > > > > How would I go about accomplishing this? > > > > Go to the top level ticket, and in the Links box, the Children word > > will be clickable and take you to a search that shows you the syntax > > for the search that you want. > > This gives me the second level of ticket but nothing deeper than that, > some of the tickets are 5 or 6 levels under the top-level ticket. Is > there a way to recurs deeper in hierarchy? I'm able to accomplish this > with memberof = 1 OR memberof 3 OR memberof 10, etc. but that isn't very > practical when you have lots of tickets at various depths. JSGantt is > able to pull in all the tickets to build a view of the tickets in a > "project". Maybe applying the logic it's using... I'll take a look at > the source, but in the mean time hopefully some has a quicker answer. You may actually want the Graph link instead, which can draw all of them out in graphviz and include ticket info. -kevin pgpCUNHfGMmbs.pgp Description: PGP signature RT Training Sessions (http://bestpractical.com/services/training.html) * Barcelona, Spain November 28 & 29, 2011
[rt-users] RES: Re: RES: Re: rt-mailgate error wht ExternalAuth On User Creation by Email
Hello Kevin, What do you mean " conflicting Name/EmailAddress match" ? Is attr_map mandatory? Luciano -Mensagem original- De: rt-users-boun...@lists.bestpractical.com [mailto:rt-users-boun...@lists.bestpractical.com] Em nome de Kevin Falcone Enviada em: segunda-feira, 31 de outubro de 2011 15:19 Para: rt-users@lists.bestpractical.com Assunto: [*SPAM*] Re: [rt-users] RES: Re: rt-mailgate error wht ExternalAuth On User Creation by Email On Mon, Oct 31, 2011 at 12:24:02PM -0200, Luciano Ernesto da Silva wrote: > I found just one unprivileged user with the following: > Username: czar...@yahoo.com.br > Email: czar...@yahoo.com.br > RealName: Vanessa Somelastname > > The real name is the same of the requestor that got the error: > "Vanessa Somelastname." The only diference is the email address. > > My guess: ExternalAuth or other subroutine is denying creation of > users with the same RealName. Your attr_match_list says you're uniquing on Name and EmailAddress, not on RealName. If you'd configured attr_match_list to use RealName, then this would explain your problem. What's usually happening is that you have a conflicting Name/EmailAddress match happening in RT (based on your config). > My LDAP attributes: > > 'attr_match_list' => ['Name', 'EmailAddress'], > > 'attr_map' => {'Name' => 'uid', 'EmailAddress' => > 'mail', 'RealName' => 'cn', 'ExternalAuthId' => 'uid'} -kevin > > > -Mensagem original- > De: rt-users-boun...@lists.bestpractical.com > [mailto:rt-users-boun...@lists.bestpractical.com] Em nome de Kevin > Falcone Enviada em: segunda-feira, 31 de outubro de 2011 11:43 > Para: rt-users@lists.bestpractical.com > Assunto: [*SPAM*] Re: [rt-users] rt-mailgate error wht > ExternalAuth On User Creation by Email > > On Mon, Oct 31, 2011 at 09:49:51AM -0200, Luciano Ernesto da Silva > wrote: > >Actually I checked the list of users, I don't have any user with > same name of the requestor. > > Search for the user, don't just read the list of users. The list is > only Privileged users. > > -kevin > > RT Training Sessions (http://bestpractical.com/services/training.html) > * Barcelona, Spain November 28 & 29, 2011 RT Training Sessions (http://bestpractical.com/services/training.html) * Barcelona, Spain November 28 & 29, 2011
Re: [rt-users] search/dashboard of ticket with childern
> On Mon, Oct 31, 2011 at 12:01:04PM -0400, Darin Perusich wrote: > > I want to create a query for a dashboard where I'm searching on a > > ticket and any children ticket underneath it. Think project > management > > type of view, 1 top level ticket, with any number of children, > > children with children. I was thinking I'd be able to search on > > HasMember where the HasMember of the top-level ticket but this always > returns zero results. > > > > How would I go about accomplishing this? > > Go to the top level ticket, and in the Links box, the Children word > will be clickable and take you to a search that shows you the syntax > for the search that you want. This gives me the second level of ticket but nothing deeper than that, some of the tickets are 5 or 6 levels under the top-level ticket. Is there a way to recurs deeper in hierarchy? I'm able to accomplish this with memberof = 1 OR memberof 3 OR memberof 10, etc. but that isn't very practical when you have lots of tickets at various depths. JSGantt is able to pull in all the tickets to build a view of the tickets in a "project". Maybe applying the logic it's using... I'll take a look at the source, but in the mean time hopefully some has a quicker answer. Thanks Kevin! The information transmitted is intended only for the person or entity to which it is addressed and may contain confidential and/or privileged material. Any review, retransmission, dissemination or other use of, or taking of any action in reliance upon, this information by persons or entities other than the intended recipient is prohibited. If you are not the intended recipient of this message, please contact the sender and delete this material from this computer. RT Training Sessions (http://bestpractical.com/services/training.html) * Barcelona, Spain November 28 & 29, 2011
Re: [rt-users] search/dashboard of ticket with childern
On Mon, Oct 31, 2011 at 12:01:04PM -0400, Darin Perusich wrote: > I want to create a query for a dashboard where I'm searching on a ticket > and any children ticket underneath it. Think project management type of > view, 1 top level ticket, with any number of children, children with > children. I was thinking I'd be able to search on HasMember where the > HasMember of the top-level ticket but this always returns zero results. > > How would I go about accomplishing this? Go to the top level ticket, and in the Links box, the Children word will be clickable and take you to a search that shows you the syntax for the search that you want. -kevin pgpnMMGhkLkLC.pgp Description: PGP signature RT Training Sessions (http://bestpractical.com/services/training.html) * Barcelona, Spain November 28 & 29, 2011
Re: [rt-users] RES: Re: rt-mailgate error wht ExternalAuth On User Creation by Email
On Mon, Oct 31, 2011 at 12:24:02PM -0200, Luciano Ernesto da Silva wrote: > I found just one unprivileged user with the following: > Username: czar...@yahoo.com.br > Email: czar...@yahoo.com.br > RealName: Vanessa Somelastname > > The real name is the same of the requestor that got the error: "Vanessa > Somelastname." The only diference is the email address. > > My guess: ExternalAuth or other subroutine is denying creation of users > with the same RealName. Your attr_match_list says you're uniquing on Name and EmailAddress, not on RealName. If you'd configured attr_match_list to use RealName, then this would explain your problem. What's usually happening is that you have a conflicting Name/EmailAddress match happening in RT (based on your config). > My LDAP attributes: > > 'attr_match_list' => ['Name', 'EmailAddress'], > > 'attr_map' => {'Name' => 'uid', 'EmailAddress' => > 'mail', 'RealName' => 'cn', 'ExternalAuthId' => 'uid'} -kevin > > > -Mensagem original- > De: rt-users-boun...@lists.bestpractical.com > [mailto:rt-users-boun...@lists.bestpractical.com] Em nome de Kevin > Falcone > Enviada em: segunda-feira, 31 de outubro de 2011 11:43 > Para: rt-users@lists.bestpractical.com > Assunto: [*SPAM*] Re: [rt-users] rt-mailgate error wht > ExternalAuth On User Creation by Email > > On Mon, Oct 31, 2011 at 09:49:51AM -0200, Luciano Ernesto da Silva > wrote: > >Actually I checked the list of users, I don't have any user with > same name of the requestor. > > Search for the user, don't just read the list of users. The list is > only Privileged users. > > -kevin > > RT Training Sessions (http://bestpractical.com/services/training.html) > * Barcelona, Spain November 28 & 29, 2011 pgpjA5zJVD02J.pgp Description: PGP signature RT Training Sessions (http://bestpractical.com/services/training.html) * Barcelona, Spain November 28 & 29, 2011
[rt-users] search/dashboard of ticket with childern
Hello, I want to create a query for a dashboard where I'm searching on a ticket and any children ticket underneath it. Think project management type of view, 1 top level ticket, with any number of children, children with children. I was thinking I'd be able to search on HasMember where the HasMember of the top-level ticket but this always returns zero results. How would I go about accomplishing this? Thanks! -- Darin Perusich Email: darin.perus...@ctg.com Office: 716-888-3690 The information transmitted is intended only for the person or entity to which it is addressed and may contain confidential and/or privileged material. Any review, retransmission, dissemination or other use of, or taking of any action in reliance upon, this information by persons or entities other than the intended recipient is prohibited. If you are not the intended recipient of this message, please contact the sender and delete this material from this computer. RT Training Sessions (http://bestpractical.com/services/training.html) * Barcelona, Spain November 28 & 29, 2011
[rt-users] RES: RES: Re: rt-mailgate error wht ExternalAuth On UserCreation by Email
Is there a way to modify this behavior Or allow the system create the users with the same RealName? My problem is that I have many users unprivileged(SPAM), something about 100.000 users. Luciano -Mensagem original- De: rt-users-boun...@lists.bestpractical.com [mailto:rt-users-boun...@lists.bestpractical.com] Em nome de Izz Abdullah Enviada em: segunda-feira, 31 de outubro de 2011 12:28 Para: rt-users@lists.bestpractical.com Assunto: Re: [rt-users] RES: Re: rt-mailgate error wht ExternalAuth On UserCreation by Email Your attribute map list will restrict creation if any of the conditions are met, if I understand correctly. So since someone exists with that name, it sees the user as already existing. The attribute match list is for searching on either name or email, in your case, for authentication / creation / update, etc. -Original Message- From: rt-users-boun...@lists.bestpractical.com [mailto:rt-users-boun...@lists.bestpractical.com] On Behalf Of Luciano Ernesto da Silva Sent: Monday, October 31, 2011 9:24 AM To: rt-users@lists.bestpractical.com Subject: [rt-users] RES: Re: rt-mailgate error wht ExternalAuth On UserCreation by Email Kevin, I found just one unprivileged user with the following: Username: czar...@yahoo.com.br Email: czar...@yahoo.com.br RealName: Vanessa Somelastname The real name is the same of the requestor that got the error: "Vanessa Somelastname." The only diference is the email address. My guess: ExternalAuth or other subroutine is denying creation of users with the same RealName. My LDAP attributes: 'attr_match_list' => ['Name', 'EmailAddress'], 'attr_map' => {'Name' => 'uid', 'EmailAddress' => 'mail', 'RealName' => 'cn', 'ExternalAuthId' => 'uid'} Any Ideas? Luciano -Mensagem original- De: rt-users-boun...@lists.bestpractical.com [mailto:rt-users-boun...@lists.bestpractical.com] Em nome de Kevin Falcone Enviada em: segunda-feira, 31 de outubro de 2011 11:43 Para: rt-users@lists.bestpractical.com Assunto: [*SPAM*] Re: [rt-users] rt-mailgate error wht ExternalAuth On User Creation by Email On Mon, Oct 31, 2011 at 09:49:51AM -0200, Luciano Ernesto da Silva wrote: >Actually I checked the list of users, I don't have any user with same name of the requestor. Search for the user, don't just read the list of users. The list is only Privileged users. -kevin RT Training Sessions (http://bestpractical.com/services/training.html) * Barcelona, Spain November 28 & 29, 2011 RT Training Sessions (http://bestpractical.com/services/training.html) * Barcelona, Spain November 28 & 29, 2011 RT Training Sessions (http://bestpractical.com/services/training.html) * Barcelona, Spain November 28 & 29, 2011
Re: [rt-users] RES: Re: rt-mailgate error wht ExternalAuth On UserCreation by Email
Your attribute map list will restrict creation if any of the conditions are met, if I understand correctly. So since someone exists with that name, it sees the user as already existing. The attribute match list is for searching on either name or email, in your case, for authentication / creation / update, etc. -Original Message- From: rt-users-boun...@lists.bestpractical.com [mailto:rt-users-boun...@lists.bestpractical.com] On Behalf Of Luciano Ernesto da Silva Sent: Monday, October 31, 2011 9:24 AM To: rt-users@lists.bestpractical.com Subject: [rt-users] RES: Re: rt-mailgate error wht ExternalAuth On UserCreation by Email Kevin, I found just one unprivileged user with the following: Username: czar...@yahoo.com.br Email: czar...@yahoo.com.br RealName: Vanessa Somelastname The real name is the same of the requestor that got the error: "Vanessa Somelastname." The only diference is the email address. My guess: ExternalAuth or other subroutine is denying creation of users with the same RealName. My LDAP attributes: 'attr_match_list' => ['Name', 'EmailAddress'], 'attr_map' => {'Name' => 'uid', 'EmailAddress' => 'mail', 'RealName' => 'cn', 'ExternalAuthId' => 'uid'} Any Ideas? Luciano -Mensagem original- De: rt-users-boun...@lists.bestpractical.com [mailto:rt-users-boun...@lists.bestpractical.com] Em nome de Kevin Falcone Enviada em: segunda-feira, 31 de outubro de 2011 11:43 Para: rt-users@lists.bestpractical.com Assunto: [*SPAM*] Re: [rt-users] rt-mailgate error wht ExternalAuth On User Creation by Email On Mon, Oct 31, 2011 at 09:49:51AM -0200, Luciano Ernesto da Silva wrote: >Actually I checked the list of users, I don't have any user with same name of the requestor. Search for the user, don't just read the list of users. The list is only Privileged users. -kevin RT Training Sessions (http://bestpractical.com/services/training.html) * Barcelona, Spain November 28 & 29, 2011 RT Training Sessions (http://bestpractical.com/services/training.html) * Barcelona, Spain November 28 & 29, 2011
[rt-users] RES: Re: rt-mailgate error wht ExternalAuth On User Creation by Email
Kevin, I found just one unprivileged user with the following: Username: czar...@yahoo.com.br Email: czar...@yahoo.com.br RealName: Vanessa Somelastname The real name is the same of the requestor that got the error: "Vanessa Somelastname." The only diference is the email address. My guess: ExternalAuth or other subroutine is denying creation of users with the same RealName. My LDAP attributes: 'attr_match_list' => ['Name', 'EmailAddress'], 'attr_map' => {'Name' => 'uid', 'EmailAddress' => 'mail', 'RealName' => 'cn', 'ExternalAuthId' => 'uid'} Any Ideas? Luciano -Mensagem original- De: rt-users-boun...@lists.bestpractical.com [mailto:rt-users-boun...@lists.bestpractical.com] Em nome de Kevin Falcone Enviada em: segunda-feira, 31 de outubro de 2011 11:43 Para: rt-users@lists.bestpractical.com Assunto: [*SPAM*] Re: [rt-users] rt-mailgate error wht ExternalAuth On User Creation by Email On Mon, Oct 31, 2011 at 09:49:51AM -0200, Luciano Ernesto da Silva wrote: >Actually I checked the list of users, I don't have any user with same name of the requestor. Search for the user, don't just read the list of users. The list is only Privileged users. -kevin RT Training Sessions (http://bestpractical.com/services/training.html) * Barcelona, Spain November 28 & 29, 2011
Re: [rt-users] rt-mailgate error wht ExternalAuth On User Creation by Email
On Mon, Oct 31, 2011 at 09:49:51AM -0200, Luciano Ernesto da Silva wrote: >Actually I checked the list of users, I don't have any user with same name > of the requestor. Search for the user, don't just read the list of users. The list is only Privileged users. -kevin pgpYPNTo9Mk67.pgp Description: PGP signature RT Training Sessions (http://bestpractical.com/services/training.html) * Barcelona, Spain November 28 & 29, 2011
[rt-users] rt-mailgate error wht ExternalAuth On User Creation by Email
Hello, Some users send an email to email address of the queue to open tickets, but we are getting this error on user creation, since we are using ExternalAuth (RT4.0.2 + ExternalAuth 0.09): Sat Oct 29 12:37:42 2011] [crit]: User creation failed in mailgateway: Name in use (/opt/rt4/sbin/../lib/RT/Interface/Email.pm:244) Trace begun at /opt/rt4/sbin/../lib/RT.pm line 249 Log::Dispatch::log('Log::Dispatch=HASH(0x7f4acf1969b0)', 'level', 'crit', 'message', 'User creation failed in mailgateway: Name in use') called at /opt/rt4/sbin/../lib/RT/Inter face/Email.pm line 244 RT::Interface::Email::MailError('To', 'john...@mydomain.com', 'Subject', 'User could not be created', 'Explanation', 'User creation failed in mailgateway: Name in use', 'MIMEObj', 'MIME::Entity=HASH(0x7f4aced00a98)', 'LogLevel', 'crit') called at /opt/rt4/sbin/../lib/RT/Interface/Email.pm line 999 I had set RT_SiteConfig.pm with Set($AutoCreateNonExternalUsers, 1); Set($AutoCreate, {Privileged => 1}); On interface is granted rights to Everyone: Comment on tickets Create tickets Reply to tickets My attributes on LDAP are these: 'attr_match_list' => ['Name', 'EmailAddress'], 'attr_map' => {'Name' => 'uid', 'EmailAddress' => 'mail', 'RealName' => 'cn', 'ExternalAuthId' => 'uid'} Actually I checked the list of users, I don't have any user with same name of the requestor. Should I use Set($AutoCreate, {UnPrivileged => 1}); or something like that? Tks Luciano Silva RT Training Sessions (http://bestpractical.com/services/training.html) * Barcelona, Spain November 28 & 29, 2011