[rt-users] R: R: mail body: HTML with embedded CSS
Kevin, I don't really see how could they have an error: I have simply taken my text templates and put the text (via cut and paste) in between html tags. Are you sure your client is using the subject tag option in their queues? TIA Bye Cris -Messaggio originale- Da: rt-users-boun...@lists.bestpractical.com [mailto:rt-users-boun...@lists.bestpractical.com] Per conto di Kevin Falcone Inviato: Friday, August 27, 2010 7:31 PM A: rt-users@lists.bestpractical.com Oggetto: Re: [rt-users] R: mail body: HTML with embedded CSS On Fri, Aug 27, 2010 at 09:04:10AM +0200, Guadagnino Cristiano wrote: On a related note: we are using the subject tag in the configuration of queues. If I use the plain text templates the $rtname variable is correctly resolved to the subject tag of the originating queue, but if I use the html templates that variable is resolved to the name globally defined in RT_SiteConfig.pm. Can this be corrected? Sounds like you have an error in your template, I've deployed HTML templates for a client where it works fine. -kevin RT Training in Washington DC, USA on Oct 25 26 2010 Last one this year -- Learn how to get the most out of RT!
[rt-users] how to get timestamp for CFs in RT
Hi, I am using RT 3.8.8 with postgres 8.4.4 on slackware 13.1. Recently i have applied a patch to rt RT_Date_CustomField-3.8.8.patch to created date CFs in RT. My time zone is UTC Set($Timezone , 'US/Eastern') Now my CFs are populated with the date but with no timestamp ( 2010-08-30 00:00:00). My CFs should show these values. I have checked the steps to be followed in timezones_in_charts.pod but didn't work. Please let me know if there fix for the same. -- RT Training in Washington DC, USA on Oct 25 26 2010 Last one this year -- Learn how to get the most out of RT!
[rt-users] R: R: mail body: HTML with embedded CSS
Kevin, you were right. I copied an old generation of our templates, which did not include the mods I made to adapt to subject tags. $rtname behaves correctly: to have the subject tag in my tamplates I changed every instance of {$rtname} to {$Ticket-QueueObj-SubjectTag}. I am sorry for the confusion! Bye Cris -Messaggio originale- Da: Guadagnino Cristiano Inviato: Monday, August 30, 2010 9:31 AM A: 'rt-users@lists.bestpractical.com' Oggetto: R: [rt-users] R: mail body: HTML with embedded CSS Kevin, I don't really see how could they have an error: I have simply taken my text templates and put the text (via cut and paste) in between html tags. Are you sure your client is using the subject tag option in their queues? TIA Bye Cris -Messaggio originale- Da: rt-users-boun...@lists.bestpractical.com [mailto:rt-users-boun...@lists.bestpractical.com] Per conto di Kevin Falcone Inviato: Friday, August 27, 2010 7:31 PM A: rt-users@lists.bestpractical.com Oggetto: Re: [rt-users] R: mail body: HTML with embedded CSS On Fri, Aug 27, 2010 at 09:04:10AM +0200, Guadagnino Cristiano wrote: On a related note: we are using the subject tag in the configuration of queues. If I use the plain text templates the $rtname variable is correctly resolved to the subject tag of the originating queue, but if I use the html templates that variable is resolved to the name globally defined in RT_SiteConfig.pm. Can this be corrected? Sounds like you have an error in your template, I've deployed HTML templates for a client where it works fine. -kevin RT Training in Washington DC, USA on Oct 25 26 2010 Last one this year -- Learn how to get the most out of RT!
Re: [rt-users] Auto Login Link in autoreply with password
Hi, looks like we didn't talked about the same... You like to do this: {$RT::WebURL}SelfService/Display.html?id={$Ticket-id()}user={$Transaction-CreatorObj-Name}pass={$Transaction-CreatorObj-__Value('Password')} No idea what is stored here: $Transaction-CreatorObj-__Value('Password' but from the output you sent, it looks like the md5 of the password: You should try this: {$RT::WebURL}SelfService/Display.html?id={$Ticket-id()}user={$Transaction-CreatorObj-Name}pass={$pass} inside $pass you sent out the plain text password and i think, the login method with the link will also have the plaintext pass. Torsten 2010/8/29 Codatel Lists li...@codatel.com.au I am trying to setup my autoreply so that it has a direct link for the requestor to click and he can be logged straight into the RT. I am new to the eco system and have been playing around with it over the past few days. Ive hit a roadblock and am hoping someone can help me out. I have inserted the following into the autoreply template {$RT::WebURL}SelfService/Display.html?id={$Ticket-id()}user={$Transaction-CreatorObj-Name}pass={$Transaction-CreatorObj-__Value('Password')} It almost works perfectly except for the fact that the password actually goes out encrypted and is pretty useless. this is the link that the requestor gets back http://rt.mydomain.com.au/ticket/SelfService/Display.html?id=138user=reques...@email.compass=091128365216c001205810ed3po175fbhttp://rt.mydoman.com/ticket/SelfService/Display.html?id=138user=reques...@email.compass=091128365216c001205810ed3po175fb Below is my entire template. Can someone please let me know how I am able to send a clickable link with every autoreply that will take the requestor straight to the ticket on the web. Subject: AutoReply: {$Ticket-Subject} Greetings, This message has been automatically generated in response to the creation of a helpdesk call: {$Ticket-Subject()}, a summary of which appears below. There is no need to reply to this message right now. Your ticket has been assigned an ID of [{$rtname} #{$Ticket-id()}]. Please include this string in the subject line of all future correspondence about this issue. { *RT::User::GenerateRandomNextChar = \RT::User::_GenerateRandomNextChar; if (($Transaction-CreatorObj-id != $RT::Nobody-id) (!$Transaction-CreatorObj-Privileged) ($Transaction-CreatorObj-__Value('Password') eq '*NO-PASSWORD*') ) { my $user = RT::User-new($RT::SystemUser); $user-Load($Transaction-CreatorObj-Id); my ($stat, $pass) = $user-SetRandomPassword(); if (!$stat) { $OUT .= An internal error has occurred. RT was not able to set a password for you. Please contact your local RT administrator for assistance.; } $OUT .= You can check the current status and history of your requests at: .$RT::WebURL. When prompted, enter the following username and password: Username: .$user-Name. Password: .$pass. ; } } {$RT::WebURL}SelfService/Display.html?id={$Ticket-id()}user={$Transaction-CreatorObj-Name}pass={$Transaction-CreatorObj-__Value('Password')} Thank you. {$Ticket-QueueObj-CorrespondAddress()} - {$Transaction-Content()} RT Training in Washington DC, USA on Oct 25 26 2010 Last one this year -- Learn how to get the most out of RT! -- MFG Torsten Brumm http://www.brumm.me http://www.elektrofeld.de RT Training in Washington DC, USA on Oct 25 26 2010 Last one this year -- Learn how to get the most out of RT!
Re: [rt-users] Auto Login Link in autoreply with password
I have tried that and I get the following result. The password is blank http://rt.mydomain.com/ticket/SelfService/Display.html?id=139user=reques...@email.compass= On 30/08/2010, at 7:38 PM, Torsten Brumm wrote: Hi, looks like we didn't talked about the same... You like to do this: {$RT::WebURL}SelfService/Display.html?id={$Ticket-id()}user={$Transaction-CreatorObj-Name}pass={$Transaction-CreatorObj-__Value('Password')} No idea what is stored here: $Transaction-CreatorObj-__Value('Password' but from the output you sent, it looks like the md5 of the password: You should try this: {$RT::WebURL}SelfService/Display.html?id={$Ticket-id()}user={$Transaction-CreatorObj-Name}pass={$pass} inside $pass you sent out the plain text password and i think, the login method with the link will also have the plaintext pass. Torsten 2010/8/29 Codatel Lists li...@codatel.com.aumailto:li...@codatel.com.au I am trying to setup my autoreply so that it has a direct link for the requestor to click and he can be logged straight into the RT. I am new to the eco system and have been playing around with it over the past few days. Ive hit a roadblock and am hoping someone can help me out. I have inserted the following into the autoreply template {$RT::WebURL}SelfService/Display.html?id={$Ticket-id()}user={$Transaction-CreatorObj-Name}pass={$Transaction-CreatorObj-__Value('Password')} It almost works perfectly except for the fact that the password actually goes out encrypted and is pretty useless. this is the link that the requestor gets back http://rt.mydomain.com.au/ticket/SelfService/Display.html?id=138user=reques...@email.compass=091128365216c001205810ed3po175fbhttp://rt.mydoman.com/ticket/SelfService/Display.html?id=138user=reques...@email.compass=091128365216c001205810ed3po175fb Below is my entire template. Can someone please let me know how I am able to send a clickable link with every autoreply that will take the requestor straight to the ticket on the web. Subject: AutoReply: {$Ticket-Subject} Greetings, This message has been automatically generated in response to the creation of a helpdesk call: {$Ticket-Subject()}, a summary of which appears below. There is no need to reply to this message right now. Your ticket has been assigned an ID of [{$rtname} #{$Ticket-id()}]. Please include this string in the subject line of all future correspondence about this issue. { *RT::User::GenerateRandomNextChar = \RT::User::_GenerateRandomNextChar; if (($Transaction-CreatorObj-id != $RT::Nobody-id) (!$Transaction-CreatorObj-Privileged) ($Transaction-CreatorObj-__Value('Password') eq '*NO-PASSWORD*') ) { my $user = RT::User-new($RT::SystemUser); $user-Load($Transaction-CreatorObj-Id); my ($stat, $pass) = $user-SetRandomPassword(); if (!$stat) { $OUT .= An internal error has occurred. RT was not able to set a password for you. Please contact your local RT administrator for assistance.; } $OUT .= You can check the current status and history of your requests at: .$RT::WebURL. When prompted, enter the following username and password: Username: .$user-Name. Password: .$pass. ; } } {$RT::WebURL}SelfService/Display.html?id={$Ticket-id()}user={$Transaction-CreatorObj-Name}pass={$Transaction-CreatorObj-__Value('Password')} Thank you. {$Ticket-QueueObj-CorrespondAddress()} - {$Transaction-Content()} RT Training in Washington DC, USA on Oct 25 26 2010 Last one this year -- Learn how to get the most out of RT! -- MFG Torsten Brumm http://www.brumm.mehttp://www.brumm.me/ http://www.elektrofeld.dehttp://www.elektrofeld.de/ RT Training in Washington DC, USA on Oct 25 26 2010 Last one this year -- Learn how to get the most out of RT!
Re: [rt-users] Auto Login Link in autoreply with password
OK, the mail sent out, does it have the password posted? Is this the correct link you created? http://rt.mydomain.com/ticket/SelfService/Display.html?id=139user=reques...@email.compass= Or like this? http://rt.mydomain.com/ticket/SelfService/Display.html?id=139user=reques...@email.compass= $pass ?? 2010/8/30 Codatel Lists li...@codatel.com.au I have tried that and I get the following result. The password is blank http://rt.mydomain.com/ticket/SelfService/Display.html?id=139user=reques...@email.compass= On 30/08/2010, at 7:38 PM, Torsten Brumm wrote: Hi, looks like we didn't talked about the same... You like to do this: {$RT::WebURL}SelfService/Display.html?id={$Ticket-id()}user={$Transaction-CreatorObj-Name}pass={$Transaction-CreatorObj-__Value('Password')} No idea what is stored here: $Transaction-CreatorObj-__Value('Password' but from the output you sent, it looks like the md5 of the password: You should try this: {$RT::WebURL}SelfService/Display.html?id={$Ticket-id()}user={$Transaction-CreatorObj-Name}pass={$pass} inside $pass you sent out the plain text password and i think, the login method with the link will also have the plaintext pass. Torsten 2010/8/29 Codatel Lists li...@codatel.com.au I am trying to setup my autoreply so that it has a direct link for the requestor to click and he can be logged straight into the RT. I am new to the eco system and have been playing around with it over the past few days. Ive hit a roadblock and am hoping someone can help me out. I have inserted the following into the autoreply template {$RT::WebURL}SelfService/Display.html?id={$Ticket-id()}user={$Transaction-CreatorObj-Name}pass={$Transaction-CreatorObj-__Value('Password')} It almost works perfectly except for the fact that the password actually goes out encrypted and is pretty useless. this is the link that the requestor gets back http://rt.mydomain.com.au/ticket/SelfService/Display.html?id=138user=reques...@email.compass=091128365216c001205810ed3po175fbhttp://rt.mydoman.com/ticket/SelfService/Display.html?id=138user=reques...@email.compass=091128365216c001205810ed3po175fb Below is my entire template. Can someone please let me know how I am able to send a clickable link with every autoreply that will take the requestor straight to the ticket on the web. Subject: AutoReply: {$Ticket-Subject} Greetings, This message has been automatically generated in response to the creation of a helpdesk call: {$Ticket-Subject()}, a summary of which appears below. There is no need to reply to this message right now. Your ticket has been assigned an ID of [{$rtname} #{$Ticket-id()}]. Please include this string in the subject line of all future correspondence about this issue. { *RT::User::GenerateRandomNextChar = \RT::User::_GenerateRandomNextChar; if (($Transaction-CreatorObj-id != $RT::Nobody-id) (!$Transaction-CreatorObj-Privileged) ($Transaction-CreatorObj-__Value('Password') eq '*NO-PASSWORD*') ) { my $user = RT::User-new($RT::SystemUser); $user-Load($Transaction-CreatorObj-Id); my ($stat, $pass) = $user-SetRandomPassword(); if (!$stat) { $OUT .= An internal error has occurred. RT was not able to set a password for you. Please contact your local RT administrator for assistance.; } $OUT .= You can check the current status and history of your requests at: .$RT::WebURL. When prompted, enter the following username and password: Username: .$user-Name. Password: .$pass. ; } } {$RT::WebURL}SelfService/Display.html?id={$Ticket-id()}user={$Transaction-CreatorObj-Name}pass={$Transaction-CreatorObj-__Value('Password')} Thank you. {$Ticket-QueueObj-CorrespondAddress()} - {$Transaction-Content()} RT Training in Washington DC, USA on Oct 25 26 2010 Last one this year -- Learn how to get the most out of RT! -- MFG Torsten Brumm http://www.brumm.me http://www.elektrofeld.de -- MFG Torsten Brumm http://www.brumm.me http://www.elektrofeld.de RT Training in Washington DC, USA on Oct 25 26 2010 Last one this year -- Learn how to get the most out of RT!
Re: [rt-users] Auto Login Link in autoreply with password
This is what the RT replied back to me in the email http://rt.mydomain.com/ticket/SelfService/Display.html?id=139user=reques...@email.compass= there was no password FYI the Auto generation script has no effect here as the requestor is an existing email address so the {$RT::WebURL}SelfService/Display.html?id={$Ticket-id()}user={$Transaction-CreatorObj-Name}pass={$pass} line is outside the password auto genrating script. I believe the $pass parameter has something to do with the script but it is not being understood as the line I used is not within that part of the script. On 30/08/2010, at 7:48 PM, Torsten Brumm wrote: OK, the mail sent out, does it have the password posted? Is this the correct link you created? http://rt.mydomain.com/ticket/SelfService/Display.html?id=139user=reques...@email.compass= Or like this? http://rt.mydomain.com/ticket/SelfService/Display.html?id=139user=reques...@email.compass=$pass ?? 2010/8/30 Codatel Lists li...@codatel.com.aumailto:li...@codatel.com.au I have tried that and I get the following result. The password is blank http://rt.mydomain.com/ticket/SelfService/Display.html?id=139user=reques...@email.compass= On 30/08/2010, at 7:38 PM, Torsten Brumm wrote: Hi, looks like we didn't talked about the same... You like to do this: {$RT::WebURL}SelfService/Display.html?id={$Ticket-id()}user={$Transaction-CreatorObj-Name}pass={$Transaction-CreatorObj-__Value('Password')} No idea what is stored here: $Transaction-CreatorObj-__Value('Password' but from the output you sent, it looks like the md5 of the password: You should try this: {$RT::WebURL}SelfService/Display.html?id={$Ticket-id()}user={$Transaction-CreatorObj-Name}pass={$pass} inside $pass you sent out the plain text password and i think, the login method with the link will also have the plaintext pass. Torsten 2010/8/29 Codatel Lists li...@codatel.com.aumailto:li...@codatel.com.au I am trying to setup my autoreply so that it has a direct link for the requestor to click and he can be logged straight into the RT. I am new to the eco system and have been playing around with it over the past few days. Ive hit a roadblock and am hoping someone can help me out. I have inserted the following into the autoreply template {$RT::WebURL}SelfService/Display.html?id={$Ticket-id()}user={$Transaction-CreatorObj-Name}pass={$Transaction-CreatorObj-__Value('Password')} It almost works perfectly except for the fact that the password actually goes out encrypted and is pretty useless. this is the link that the requestor gets back http://rt.mydomain.com.au/ticket/SelfService/Display.html?id=138user=reques...@email.compass=091128365216c001205810ed3po175fbhttp://rt.mydoman.com/ticket/SelfService/Display.html?id=138user=reques...@email.compass=091128365216c001205810ed3po175fb Below is my entire template. Can someone please let me know how I am able to send a clickable link with every autoreply that will take the requestor straight to the ticket on the web. Subject: AutoReply: {$Ticket-Subject} Greetings, This message has been automatically generated in response to the creation of a helpdesk call: {$Ticket-Subject()}, a summary of which appears below. There is no need to reply to this message right now. Your ticket has been assigned an ID of [{$rtname} #{$Ticket-id()}]. Please include this string in the subject line of all future correspondence about this issue. { *RT::User::GenerateRandomNextChar = \RT::User::_GenerateRandomNextChar; if (($Transaction-CreatorObj-id != $RT::Nobody-id) (!$Transaction-CreatorObj-Privileged) ($Transaction-CreatorObj-__Value('Password') eq '*NO-PASSWORD*') ) { my $user = RT::User-new($RT::SystemUser); $user-Load($Transaction-CreatorObj-Id); my ($stat, $pass) = $user-SetRandomPassword(); if (!$stat) { $OUT .= An internal error has occurred. RT was not able to set a password for you. Please contact your local RT administrator for assistance.; } $OUT .= You can check the current status and history of your requests at: .$RT::WebURL. When prompted, enter the following username and password: Username: .$user-Name. Password: .$pass. ; } } {$RT::WebURL}SelfService/Display.html?id={$Ticket-id()}user={$Transaction-CreatorObj-Name}pass={$Transaction-CreatorObj-__Value('Password')} Thank you. {$Ticket-QueueObj-CorrespondAddress()} - {$Transaction-Content()} RT Training in Washington DC, USA on Oct 25 26 2010 Last one this year -- Learn how to get the most out of RT! -- MFG Torsten Brumm http://www.brumm.mehttp://www.brumm.me/ http://www.elektrofeld.dehttp://www.elektrofeld.de/ -- MFG Torsten Brumm http://www.brumm.mehttp://www.brumm.me/ http://www.elektrofeld.dehttp://www.elektrofeld.de/ RT Training in Washington DC, USA
Re: [rt-users] RT::Action not found after upgrade 3.8.2 - 3.8.8
Hi, On 8/27/10 7:00 PM, Kevin Falcone wrote: On Thu, Aug 26, 2010 at 04:31:30PM +0200, Benno Overeinder wrote: I haven't the original email thread to reply to, but this might be valuable to the email list. The change Ruslan proposed works for me. I had the same problem here, but after the change in webmux.pl, apache started again. You should still go find the Scrip where you picked a Null action and either delete it or pick a proper action. Sorry, thought the patch was a solution. :-) I upgraded RT from 3.8.6 to 3.8.8 using FreeBSD ports. The RT 3.8.6 installation worked without problems. After the upgrade to 3.8.8, the Apache httpd continued to run without errors. Only after restarting Apache, the httpd stopped because of the Require of RT::Action:: failed. error. I haven't changed anything in between, and have no idea where to start looking for the script that picked a Null action. Is there a hint to easily debug RT? From the error messages in the httpd-error.log I couldn't figure exactly which script is triggering this error on startup. Thanks, -- Benno -- Benno J. Overeinder NLnet Labs http://www.nlnetlabs.nl/ RT Training in Washington DC, USA on Oct 25 26 2010 Last one this year -- Learn how to get the most out of RT!
Re: [rt-users] Auto Login Link in autoreply with password
Damn, you are right, for users with a password this will not work. Hmmm, possibly other guys have better ideasparse it through john and then you have it plain text :-( 2010/8/30 Codatel Lists li...@codatel.com.au This is what the RT replied back to me in the email http://rt.mydomain.com/ticket/SelfService/Display.html?id=139user=reques...@email.compass= there was no password FYI the Auto generation script has no effect here as the requestor is an existing email address so the {$RT::WebURL}SelfService/Display.html?id={$Ticket-id()}user={$Transaction-CreatorObj-Name}pass={$pass} line is outside the password auto genrating script. I believe the $pass parameter has something to do with the script but it is not being understood as the line I used is not within that part of the script. On 30/08/2010, at 7:48 PM, Torsten Brumm wrote: OK, the mail sent out, does it have the password posted? Is this the correct link you created? http://rt.mydomain.com/ticket/SelfService/Display.html?id=139user=reques...@email.compass= Or like this? http://rt.mydomain.com/ticket/SelfService/Display.html?id=139user=reques...@email.compass= $pass ?? 2010/8/30 Codatel Lists li...@codatel.com.au I have tried that and I get the following result. The password is blank http://rt.mydomain.com/ticket/SelfService/Display.html?id=139user=reques...@email.compass= On 30/08/2010, at 7:38 PM, Torsten Brumm wrote: Hi, looks like we didn't talked about the same... You like to do this: {$RT::WebURL}SelfService/Display.html?id={$Ticket-id()}user={$Transaction-CreatorObj-Name}pass={$Transaction-CreatorObj-__Value('Password')} No idea what is stored here: $Transaction-CreatorObj-__Value('Password' but from the output you sent, it looks like the md5 of the password: You should try this: {$RT::WebURL}SelfService/Display.html?id={$Ticket-id()}user={$Transaction-CreatorObj-Name}pass={$pass} inside $pass you sent out the plain text password and i think, the login method with the link will also have the plaintext pass. Torsten 2010/8/29 Codatel Lists li...@codatel.com.au I am trying to setup my autoreply so that it has a direct link for the requestor to click and he can be logged straight into the RT. I am new to the eco system and have been playing around with it over the past few days. Ive hit a roadblock and am hoping someone can help me out. I have inserted the following into the autoreply template {$RT::WebURL}SelfService/Display.html?id={$Ticket-id()}user={$Transaction-CreatorObj-Name}pass={$Transaction-CreatorObj-__Value('Password')} It almost works perfectly except for the fact that the password actually goes out encrypted and is pretty useless. this is the link that the requestor gets back http://rt.mydomain.com.au/ticket/SelfService/Display.html?id=138user=reques...@email.compass=091128365216c001205810ed3po175fbhttp://rt.mydoman.com/ticket/SelfService/Display.html?id=138user=reques...@email.compass=091128365216c001205810ed3po175fb Below is my entire template. Can someone please let me know how I am able to send a clickable link with every autoreply that will take the requestor straight to the ticket on the web. Subject: AutoReply: {$Ticket-Subject} Greetings, This message has been automatically generated in response to the creation of a helpdesk call: {$Ticket-Subject()}, a summary of which appears below. There is no need to reply to this message right now. Your ticket has been assigned an ID of [{$rtname} #{$Ticket-id()}]. Please include this string in the subject line of all future correspondence about this issue. { *RT::User::GenerateRandomNextChar = \RT::User::_GenerateRandomNextChar; if (($Transaction-CreatorObj-id != $RT::Nobody-id) (!$Transaction-CreatorObj-Privileged) ($Transaction-CreatorObj-__Value('Password') eq '*NO-PASSWORD*') ) { my $user = RT::User-new($RT::SystemUser); $user-Load($Transaction-CreatorObj-Id); my ($stat, $pass) = $user-SetRandomPassword(); if (!$stat) { $OUT .= An internal error has occurred. RT was not able to set a password for you. Please contact your local RT administrator for assistance.; } $OUT .= You can check the current status and history of your requests at: .$RT::WebURL. When prompted, enter the following username and password: Username: .$user-Name. Password: .$pass. ; } } {$RT::WebURL}SelfService/Display.html?id={$Ticket-id()}user={$Transaction-CreatorObj-Name}pass={$Transaction-CreatorObj-__Value('Password')} Thank you. {$Ticket-QueueObj-CorrespondAddress()} - {$Transaction-Content()} RT Training in Washington DC, USA on Oct 25 26 2010 Last one this year -- Learn how to get the most out of RT! --
Re: [rt-users] Auto Login Link in autoreply with password
what do you mean by parse it through john? On 30/08/2010, at 10:12 PM, Torsten Brumm wrote: Damn, you are right, for users with a password this will not work. Hmmm, possibly other guys have better ideasparse it through john and then you have it plain text :-( 2010/8/30 Codatel Lists li...@codatel.com.aumailto:li...@codatel.com.au This is what the RT replied back to me in the email http://rt.mydomain.com/ticket/SelfService/Display.html?id=139user=reques...@email.compass= there was no password FYI the Auto generation script has no effect here as the requestor is an existing email address so the {$RT::WebURL}SelfService/Display.html?id={$Ticket-id()}user={$Transaction-CreatorObj-Name}pass={$pass} line is outside the password auto genrating script. I believe the $pass parameter has something to do with the script but it is not being understood as the line I used is not within that part of the script. On 30/08/2010, at 7:48 PM, Torsten Brumm wrote: OK, the mail sent out, does it have the password posted? Is this the correct link you created? http://rt.mydomain.com/ticket/SelfService/Display.html?id=139user=reques...@email.compass= Or like this? http://rt.mydomain.com/ticket/SelfService/Display.html?id=139user=reques...@email.compass=$pass ?? 2010/8/30 Codatel Lists li...@codatel.com.aumailto:li...@codatel.com.au I have tried that and I get the following result. The password is blank http://rt.mydomain.com/ticket/SelfService/Display.html?id=139user=reques...@email.compass= On 30/08/2010, at 7:38 PM, Torsten Brumm wrote: Hi, looks like we didn't talked about the same... You like to do this: {$RT::WebURL}SelfService/Display.html?id={$Ticket-id()}user={$Transaction-CreatorObj-Name}pass={$Transaction-CreatorObj-__Value('Password')} No idea what is stored here: $Transaction-CreatorObj-__Value('Password' but from the output you sent, it looks like the md5 of the password: You should try this: {$RT::WebURL}SelfService/Display.html?id={$Ticket-id()}user={$Transaction-CreatorObj-Name}pass={$pass} inside $pass you sent out the plain text password and i think, the login method with the link will also have the plaintext pass. Torsten 2010/8/29 Codatel Lists li...@codatel.com.aumailto:li...@codatel.com.au I am trying to setup my autoreply so that it has a direct link for the requestor to click and he can be logged straight into the RT. I am new to the eco system and have been playing around with it over the past few days. Ive hit a roadblock and am hoping someone can help me out. I have inserted the following into the autoreply template {$RT::WebURL}SelfService/Display.html?id={$Ticket-id()}user={$Transaction-CreatorObj-Name}pass={$Transaction-CreatorObj-__Value('Password')} It almost works perfectly except for the fact that the password actually goes out encrypted and is pretty useless. this is the link that the requestor gets back http://rt.mydomain.com.au/ticket/SelfService/Display.html?id=138user=reques...@email.compass=091128365216c001205810ed3po175fbhttp://rt.mydoman.com/ticket/SelfService/Display.html?id=138user=reques...@email.compass=091128365216c001205810ed3po175fb Below is my entire template. Can someone please let me know how I am able to send a clickable link with every autoreply that will take the requestor straight to the ticket on the web. Subject: AutoReply: {$Ticket-Subject} Greetings, This message has been automatically generated in response to the creation of a helpdesk call: {$Ticket-Subject()}, a summary of which appears below. There is no need to reply to this message right now. Your ticket has been assigned an ID of [{$rtname} #{$Ticket-id()}]. Please include this string in the subject line of all future correspondence about this issue. { *RT::User::GenerateRandomNextChar = \RT::User::_GenerateRandomNextChar; if (($Transaction-CreatorObj-id != $RT::Nobody-id) (!$Transaction-CreatorObj-Privileged) ($Transaction-CreatorObj-__Value('Password') eq '*NO-PASSWORD*') ) { my $user = RT::User-new($RT::SystemUser); $user-Load($Transaction-CreatorObj-Id); my ($stat, $pass) = $user-SetRandomPassword(); if (!$stat) { $OUT .= An internal error has occurred. RT was not able to set a password for you. Please contact your local RT administrator for assistance.; } $OUT .= You can check the current status and history of your requests at: .$RT::WebURL. When prompted, enter the following username and password: Username: .$user-Name. Password: .$pass. ; } } {$RT::WebURL}SelfService/Display.html?id={$Ticket-id()}user={$Transaction-CreatorObj-Name}pass={$Transaction-CreatorObj-__Value('Password')} Thank you. {$Ticket-QueueObj-CorrespondAddress()} - {$Transaction-Content()} RT Training in Washington DC, USA on Oct 25
Re: [rt-users] Auto Login Link in autoreply with password
Torsten talks about this tool ttp://www.openwall.com/john/ Le 30/08/2010 14:19, Codatel Lists a écrit : what do you mean by parse it through john? On 30/08/2010, at 10:12 PM, Torsten Brumm wrote: Damn, you are right, for users with a password this will not work. Hmmm, possibly other guys have better ideasparse it through john and then you have it plain text :-( 2010/8/30 Codatel Lists li...@codatel.com.au mailto:li...@codatel.com.au This is what the RT replied back to me in the email http://rt.mydomain.com/ticket/SelfService/Display.html?id=139user=reques...@email.compass= http://rt.mydomain.com/ticket/SelfService/Display.html?id=139user=reques...@email.compass= there was no password FYI the Auto generation script has no effect here as the requestor is an existing email address so the {$RT::WebURL}SelfService/Display.html?id={$Ticket-id()}user={$Transaction-CreatorObj-Name}pass={$pass} line is outside the password auto genrating script. I believe the $pass parameter has something to do with the script but it is not being understood as the line I used is not within that part of the script. On 30/08/2010, at 7:48 PM, Torsten Brumm wrote: OK, the mail sent out, does it have the password posted? Is this the correct link you created? http://rt.mydomain.com/ticket/SelfService/Display.html?id=139user=reques...@email.compass= http://rt.mydomain.com/ticket/SelfService/Display.html?id=139user=reques...@email.compass= Or like this? http://rt.mydomain.com/ticket/SelfService/Display.html?id=139user=reques...@email.compass= http://rt.mydomain.com/ticket/SelfService/Display.html?id=139user=reques...@email.compass=$pass ?? 2010/8/30 Codatel Lists li...@codatel.com.au mailto:li...@codatel.com.au I have tried that and I get the following result. The password is blank http://rt.mydomain.com/ticket/SelfService/Display.html?id=139user=reques...@email.compass= http://rt.mydomain.com/ticket/SelfService/Display.html?id=139user=reques...@email.compass= On 30/08/2010, at 7:38 PM, Torsten Brumm wrote: Hi, looks like we didn't talked about the same... You like to do this: {$RT::WebURL}SelfService/Display.html?id={$Ticket-id()}user={$Transaction-CreatorObj-Name}pass={$Transaction-CreatorObj-__Value('Password')} No idea what is stored here: $Transaction-CreatorObj-__Value('Password' but from the output you sent, it looks like the md5 of the password: You should try this: {$RT::WebURL}SelfService/Display.html?id={$Ticket-id()}user={$Transaction-CreatorObj-Name}pass={$pass} inside $pass you sent out the plain text password and i think, the login method with the link will also have the plaintext pass. Torsten 2010/8/29 Codatel Lists li...@codatel.com.au mailto:li...@codatel.com.au I am trying to setup my autoreply so that it has a direct link for the requestor to click and he can be logged straight into the RT. I am new to the eco system and have been playing around with it over the past few days. Ive hit a roadblock and am hoping someone can help me out. I have inserted the following into the autoreply template {$RT::WebURL}SelfService/Display.html?id={$Ticket-id()}user={$Transaction-CreatorObj-Name}pass={$Transaction-CreatorObj-__Value('Password')} It almost works perfectly except for the fact that the password actually goes out encrypted and is pretty useless. this is the link that the requestor gets back http://rt.mydomain.com.au/ticket/SelfService/Display.html?id=138user=reques...@email.compass=091128365216c001205810ed3po175fb http://rt.mydoman.com/ticket/SelfService/Display.html?id=138user=reques...@email.compass=091128365216c001205810ed3po175fb Below is my entire template. Can someone please let me know how I am able to send a clickable link with every autoreply that will take the requestor straight to the ticket on the web. Subject: AutoReply: {$Ticket-Subject} Greetings, This message has been automatically generated in response to the creation of a helpdesk call: {$Ticket-Subject()}, a summary of which appears below. There is no need to reply to this message right now. Your ticket has been assigned an ID of [{$rtname} #{$Ticket-id()}]. Please include this string in the subject line of all future correspondence about this issue. { *RT::User::GenerateRandomNextChar =
Re: [rt-users] Auto Login Link in autoreply with password
This would be pretty difficult and beyond me for sure into RT Isnt there a way I can fetch the plain password with the RT framework? On 30/08/2010, at 10:49 PM, Marouane HIMDI wrote: Torsten talks about this tool ttp://www.openwall.com/john/ Le 30/08/2010 14:19, Codatel Lists a écrit : what do you mean by parse it through john? On 30/08/2010, at 10:12 PM, Torsten Brumm wrote: Damn, you are right, for users with a password this will not work. Hmmm, possibly other guys have better ideasparse it through john and then you have it plain text :-( 2010/8/30 Codatel Lists li...@codatel.com.aumailto:li...@codatel.com.au This is what the RT replied back to me in the email http://rt.mydomain.com/ticket/SelfService/Display.html?id=139user=reques...@email.compass= there was no password FYI the Auto generation script has no effect here as the requestor is an existing email address so the {$RT::WebURL}SelfService/Display.html?id={$Ticket-id()}user={$Transaction-CreatorObj-Name}pass={$pass} line is outside the password auto genrating script. I believe the $pass parameter has something to do with the script but it is not being understood as the line I used is not within that part of the script. On 30/08/2010, at 7:48 PM, Torsten Brumm wrote: OK, the mail sent out, does it have the password posted? Is this the correct link you created? http://rt.mydomain.com/ticket/SelfService/Display.html?id=139user=reques...@email.compass= Or like this? http://rt.mydomain.com/ticket/SelfService/Display.html?id=139user=reques...@email.compass=$pass ?? 2010/8/30 Codatel Lists li...@codatel.com.aumailto:li...@codatel.com.au I have tried that and I get the following result. The password is blank http://rt.mydomain.com/ticket/SelfService/Display.html?id=139user=reques...@email.compass= On 30/08/2010, at 7:38 PM, Torsten Brumm wrote: Hi, looks like we didn't talked about the same... You like to do this: {$RT::WebURL}SelfService/Display.html?id={$Ticket-id()}user={$Transaction-CreatorObj-Name}pass={$Transaction-CreatorObj-__Value('Password')} No idea what is stored here: $Transaction-CreatorObj-__Value('Password' but from the output you sent, it looks like the md5 of the password: You should try this: {$RT::WebURL}SelfService/Display.html?id={$Ticket-id()}user={$Transaction-CreatorObj-Name}pass={$pass} inside $pass you sent out the plain text password and i think, the login method with the link will also have the plaintext pass. Torsten 2010/8/29 Codatel Lists li...@codatel.com.aumailto:li...@codatel.com.au I am trying to setup my autoreply so that it has a direct link for the requestor to click and he can be logged straight into the RT. I am new to the eco system and have been playing around with it over the past few days. Ive hit a roadblock and am hoping someone can help me out. I have inserted the following into the autoreply template {$RT::WebURL}SelfService/Display.html?id={$Ticket-id()}user={$Transaction-CreatorObj-Name}pass={$Transaction-CreatorObj-__Value('Password')} It almost works perfectly except for the fact that the password actually goes out encrypted and is pretty useless. this is the link that the requestor gets back http://rt.mydomain.com.au/ticket/SelfService/Display.html?id=138user=reques...@email.compass=091128365216c001205810ed3po175fbhttp://rt.mydoman.com/ticket/SelfService/Display.html?id=138user=reques...@email.compass=091128365216c001205810ed3po175fb Below is my entire template. Can someone please let me know how I am able to send a clickable link with every autoreply that will take the requestor straight to the ticket on the web. Subject: AutoReply: {$Ticket-Subject} Greetings, This message has been automatically generated in response to the creation of a helpdesk call: {$Ticket-Subject()}, a summary of which appears below. There is no need to reply to this message right now. Your ticket has been assigned an ID of [{$rtname} #{$Ticket-id()}]. Please include this string in the subject line of all future correspondence about this issue. { *RT::User::GenerateRandomNextChar = \RT::User::_GenerateRandomNextChar; if (($Transaction-CreatorObj-id != $RT::Nobody-id) (!$Transaction-CreatorObj-Privileged) ($Transaction-CreatorObj-__Value('Password') eq '*NO-PASSWORD*') ) { my $user = RT::User-new($RT::SystemUser); $user-Load($Transaction-CreatorObj-Id); my ($stat, $pass) = $user-SetRandomPassword(); if (!$stat) { $OUT .= An internal error has occurred. RT was not able to set a password for you. Please contact your local RT administrator for assistance.; } $OUT .= You can check the current status and history of your requests at: .$RT::WebURL. When prompted, enter the following username and password: Username: .$user-Name. Password: .$pass. ; } }
Re: [rt-users] Using Sphinx with RT
On Mon, Aug 30, 2010 at 04:21:51PM +0200, Guadagnino Cristiano wrote: Hi all, is there anybody already using Sphinx with RT to implement fast and efficient full-text search? For RT developers: are there plans for implementing better full-text search in RT in the (near) future? What about RT 4? I just want to know before I spend considerable time and efforts trying to integrate Sphinx in our RT setup. TIA Bye Cris I have not seen anything in the RT4 discussions about updating or including a full-text search function. The easiest way is to use one of the existing database backends with full-text support, either PostgreSQL or Oracle currently. It would be great if you could get a more general full-text index support into RT with Sphinx, since it can use ODBC to access the backend data for indexing. The need to use a second SQL connection to Sphinx and the ODBC backend interconnect to the RT datastore really complicates the interface. Good luck, Ken RT Training in Washington DC, USA on Oct 25 26 2010 Last one this year -- Learn how to get the most out of RT!
Re: [rt-users] Odd Errors in RT Log from scrip
On Fri, Aug 27, 2010 at 04:17:45PM -0700, Kenneth Crocker wrote: To List, I have a scrip that checks to see if the requestor is also the AdminCc so that duplicate emails are not sent, The condition is: Line 8/9 has an error 1# Check for Ticket Status changed to QA approvd 2# and cancel if Admin and Requestor is same user 3 4my $trans = $self-TransactionObj; 5my $ticket = $self-TicketObj; 6my $requestor = $ticket-Requestors-UserMembersObj-First-EmailAddress; 7 8if ($ticket-IsWatcher(Type = 'AdminCc', EmailAddress = $requestor) 9{ which is what the log was telling you return 0; } return ($trans-Type eq Status $trans-NewValue eq QA approvd); The action is Notify AdminCc's The erro I'm getting on the log is: [Fri Aug 27 22:48:58 2010] [error]: Scrip 50899 IsApplicable failed: syntax error at (eval 1510) line 9, near ) { (/opt/rt3/bin/../lib/RT/Condition/UserDefined.pm:65) [Fri Aug 27 22:49:04 2010] [error]: Scrip 50899 IsApplicable failed: syntax error at (eval 1574) line 9, near ) { (/opt/rt3/bin/../lib/RT/Condition/UserDefined.pm:65) [Fri Aug 27 22:49:37 2010] [error]: Scrip 50899 IsApplicable failed: syntax error at (eval 1829) line 9, near ) { (/opt/rt3/bin/../lib/RT/Condition/UserDefined.pm:65) [Fri Aug 27 22:50:07 2010] [error]: Scrip 50899 IsApplicable failed: syntax error at (eval 1756) line 9, near ) { (/opt/rt3/bin/../lib/RT/Condition/UserDefined.pm:65) [Fri Aug 27 22:50:07 2010] [error]: Scrip 50899 IsApplicable failed: syntax error at (eval 1758) line 9, near ) { (/opt/rt3/bin/../lib/RT/Condition/UserDefined.pm:65) [Fri Aug 27 22:50:07 2010] [error]: Scrip 50899 IsApplicable failed: syntax error at (eval 1760) line 9, near ) { (/opt/rt3/bin/../lib/RT/Condition/UserDefined.pm:65) [Fri Aug 27 22:50:07 2010] [error]: Scrip 50899 IsApplicable failed: syntax error at (eval 1762) line 9, near ) { (/opt/rt3/bin/../lib/RT/Condition/UserDefined.pm:65) [Fri Aug 27 22:56:28 2010] [warning]: Couldn't enable user 226 (/opt/rt3/bin/../lib/RT/User_Overlay.pm:1143) [Fri Aug 27 22:58:28 2010] [error]: Scrip 50899 IsApplicable failed: syntax error at (eval 2318) line 9, near ) { (/opt/rt3/bin/../lib/RT/Condition/UserDefined.pm:65) [Fri Aug 27 22:58:28 2010] [error]: Scrip 50899 IsApplicable failed: syntax error at (eval 2320) line 9, near ) { (/opt/rt3/bin/../lib/RT/Condition/UserDefined.pm:65) [Fri Aug 27 22:58:28 2010] [error]: Scrip 50899 IsApplicable failed: syntax error at (eval 2322) line 9, near ) { (/opt/rt3/bin/../lib/RT/Condition/UserDefined.pm:65) [Fri Aug 27 22:58:28 2010] [error]: Scrip 50899 IsApplicable failed: syntax error at (eval 2324) line 9, near ) { (/opt/rt3/bin/../lib/RT/Condition/UserDefined.pm:65) [Fri Aug 27 22:58:28 2010] [error]: Scrip 50899 IsApplicable failed: syntax error at (eval 2326) line 9, near ) { (/opt/rt3/bin/../lib/RT/Condition/UserDefined.pm:65) [Fri Aug 27 22:59:45 2010] [error]: Scrip 50899 IsApplicable failed: syntax error at (eval 1703) line 9, near ) { (/opt/rt3/bin/../lib/RT/Condition/UserDefined.pm:65) [Fri Aug 27 23:00:47 2010] [error]: Scrip 50899 IsApplicable failed: syntax error at (eval 2108) line 9, near ) { (/opt/rt3/bin/../lib/RT/Condition/UserDefined.pm:65) [Fri Aug 27 23:02:32 2010] [error]: Scrip 50899 IsApplicable failed: syntax error at (eval 1661) line 9, near ) { (/opt/rt3/bin/../lib/RT/Condition/UserDefined.pm:65) [Fri Aug 27 23:03:17 2010] [error]: Scrip 50899 IsApplicable failed: syntax error at (eval 2472) line 9, near ) { (/opt/rt3/bin/../lib/RT/Condition/UserDefined.pm:65) [Fri Aug 27 23:05:04 2010] [error]: Scrip 50899 IsApplicable failed: syntax error at (eval 1913) line 9, near ) { (/opt/rt3/bin/../lib/RT/Condition/UserDefined.pm:65) [Fri Aug 27 23:05:04 2010] [error]: Scrip 50899 IsApplicable failed: syntax error at (eval 1915) line 9, near ) { (/opt/rt3/bin/../lib/RT/Condition/UserDefined.pm:65) [Fri Aug 27 23:05:58 2010] [error]: Group::HasMember was called with an argument that isn't an RT::Principal or id. It's (undefined) (/opt/rt3/bin/../lib/RT/Group_Overlay.pm:1046) [Fri Aug 27 23:05:58 2010] [error]: Group::HasMember was called with an argument that isn't an RT::Principal or id. It's (undefined) (/opt/rt3/bin/../lib/RT/Group_Overlay.pm:1046) Scrip 50899 is the scrip I'm talking about. Now, my first real BIG question is Why does it write out so many error messages for the same scrip? I mean, that's a lot of I/O for just one error. I am the AdminCc of the Queue AND the Requestor for the ticket being evaluated. The scrip worked. No email went out because I'm in both roles. Normally, just the requestor would get that email. So, why
Re: [rt-users] Auto Login Link in autoreply with password
On Mon, Aug 30, 2010 at 02:51:48PM +1000, Codatel Lists wrote: pass= is part of the link to be displayed {{$Transaction-CreatorObj-__Value} is the variable data which the system should fetch On 30/08/2010, at 7:38 AM, Brumm, Torsten / Kuehne + Nagel / Ham MI-ID wrote: I suspect Torsten meant that you already have the decoded password stored in $pass (you're printing it in the email you send) so just use it in the link too -kevin Why not use: $pass instead of:pass={$Transaction-CreatorObj-__Value Torsten -- Von: [1]rt-users-boun...@lists.bestpractical.com [2]rt-users-boun...@lists.bestpractical.com An: [3]rt-us...@lists.bestpractical.com [4]rt-us...@lists.bestpractical.com Gesendet: Sun Aug 29 23:01:02 2010 Betreff: [rt-users] Auto Login Link in autoreply with password I am trying to setup my autoreply so that it has a direct link for the requestor to click and he can be logged straight into the RT. I am new to the eco system and have been playing around with it over the past few days. Ive hit a roadblock and am hoping someone can help me out. I have inserted the following into the autoreply template {$RT::WebURL}SelfService/Display.html?id={$Ticket-id()}user={$Transaction-CreatorObj-Name}pass={$Transaction-CreatorObj-__Value('Password')} It almost works perfectly except for the fact that the password actually goes out encrypted and is pretty useless. this is the link that the requestor gets back [5]http://rt.mydomain.com.au/ticket/SelfService/Display.html?id=138user=reques...@email.compass=091128365216c001205810ed3po175fb Below is my entire template. Can someone please let me know how I am able to send a clickable link with every autoreply that will take the requestor straight to the ticket on the web. Subject: AutoReply: {$Ticket-Subject} Greetings, This message has been automatically generated in response to the creation of a helpdesk call: {$Ticket-Subject()}, a summary of which appears below. There is no need to reply to this message right now. Your ticket has been assigned an ID of [{$rtname} #{$Ticket-id()}]. Please include this string in the subject line of all future correspondence about this issue. { *RT::User::GenerateRandomNextChar = \RT::User::_GenerateRandomNextChar; if (($Transaction-CreatorObj-id != $RT::Nobody-id) (!$Transaction-CreatorObj-Privileged) ($Transaction-CreatorObj-__Value('Password') eq '*NO-PASSWORD*') ) { my $user = RT::User-new($RT::SystemUser); $user-Load($Transaction-CreatorObj-Id); my ($stat, $pass) = $user-SetRandomPassword(); if (!$stat) { $OUT .= An internal error has occurred. RT was not able to set a password for you. Please contact your local RT administrator for assistance.; } $OUT .= You can check the current status and history of your requests at: .$RT::WebURL. When prompted, enter the following username and password: Username: .$user-Name. Password: .$pass. ; } } {$RT::WebURL}SelfService/Display.html?id={$Ticket-id()}user={$Transaction-CreatorObj-Name}pass={$Transaction-CreatorObj-__Value('Password')} Thank you. {$Ticket-QueueObj-CorrespondAddress()} - {$Transaction-Content()} K*hne + Nagel (AG Co.) KG, Gesch*ftsleitung: Hans-Georg Brinkmann (Vors.), Dirk Blesius, Reiner Heiken, Bruno Mang, Alfred Manke, Christian Marnett*, Mark Reinhardt, Jens Wollesen, Klaus J*ger (stellv.), Sitz: Bremen, Registergericht: Bremen, HRA 21928, USt-IdNr.: DE 812773878, Pers*nlich haftende Gesellschaft: K*hne Nagel A.G., Sitz: Contern/Luxemburg, Gesch*ftsf*hrender Verwaltungsrat: Klaus-Michael K*hne References Visible links 1. mailto:rt-users-boun...@lists.bestpractical.com 2. mailto:rt-users-boun...@lists.bestpractical.com 3. mailto:rt-users@lists.bestpractical.com 4. mailto:rt-users@lists.bestpractical.com 5. http://rt.mydoman.com/ticket/SelfService/Display.html?id=138user=reques...@email.compass=091128365216c001205810ed3po175fb RT Training in Washington DC, USA on Oct 25 26 2010 Last one this year -- Learn how to get the most out of RT! pgpQ0OWZ02r7x.pgp Description: PGP signature RT Training in Washington DC, USA on Oct 25 26 2010 Last one this year -- Learn how to get the most out of RT!
Re: [rt-users] how to get timestamp for CFs in RT
On Mon, Aug 30, 2010 at 04:35:02AM -0400, Rahul Chaturvedi wrote: Hi, I am using RT 3.8.8 with postgres 8.4.4 on slackware 13.1. Recently i have applied a patch to rt RT_Date_CustomField-3.8.8.patch to created date CFs in RT. My time zone is UTC Set($Timezone , 'US/Eastern') That patch is best described as 'experimental' There was a lot more work done with it on 3.9-trunk, but I don't know if you would be able to backport that to a 3.8 release -kevin Now my CFs are populated with the date but with no timestamp ( 2010-08-30 00:00:00). My CFs should show these values. I have checked the steps to be followed in timezones_in_charts.pod but didn't work. Please let me know if there fix for the same. -- RT Training in Washington DC, USA on Oct 25 26 2010 Last one this year -- Learn how to get the most out of RT! pgpoNHwEZtRAF.pgp Description: PGP signature RT Training in Washington DC, USA on Oct 25 26 2010 Last one this year -- Learn how to get the most out of RT!
Re: [rt-users] RT::Action not found after upgrade 3.8.2 - 3.8.8
On Mon, Aug 30, 2010 at 12:16:09PM +0200, Benno Overeinder wrote: Hi, On 8/27/10 7:00 PM, Kevin Falcone wrote: On Thu, Aug 26, 2010 at 04:31:30PM +0200, Benno Overeinder wrote: I haven't the original email thread to reply to, but this might be valuable to the email list. The change Ruslan proposed works for me. I had the same problem here, but after the change in webmux.pl, apache started again. You should still go find the Scrip where you picked a Null action and either delete it or pick a proper action. Sorry, thought the patch was a solution. :-) No, the patch bandaids over the fact that you created an invalid Scrip. 3.8.9 will make it harder for you to make that mistake. I upgraded RT from 3.8.6 to 3.8.8 using FreeBSD ports. The RT 3.8.6 installation worked without problems. After the upgrade to 3.8.8, the Apache httpd continued to run without errors. Only after restarting Apache, the httpd stopped because of the Require of RT::Action:: failed. error. I haven't changed anything in between, and have no idea where to start looking for the script that picked a Null action. Is there a hint to easily debug RT? From the error messages in the httpd-error.log I couldn't figure exactly which script is triggering this error on startup. Select * from Scrips where ScripAction = 0; -kevin pgpO6qeZPFIrY.pgp Description: PGP signature RT Training in Washington DC, USA on Oct 25 26 2010 Last one this year -- Learn how to get the most out of RT!
Re: [rt-users] Auto Login Link in autoreply with password
I think its because the $pass value is only generated if the auto password generation script finds that the email from a new user. If the email is not from a new user then the script is not activated and therefore the $pass data is not there On 31/08/2010, at 1:07 AM, Kevin Falcone wrote: On Mon, Aug 30, 2010 at 02:51:48PM +1000, Codatel Lists wrote: pass= is part of the link to be displayed {{$Transaction-CreatorObj-__Value} is the variable data which the system should fetch On 30/08/2010, at 7:38 AM, Brumm, Torsten / Kuehne + Nagel / Ham MI-ID wrote: I suspect Torsten meant that you already have the decoded password stored in $pass (you're printing it in the email you send) so just use it in the link too -kevin Why not use: $pass instead of:pass={$Transaction-CreatorObj-__Value Torsten -- Von: [1]rt-users-boun...@lists.bestpractical.com [2]rt-users-boun...@lists.bestpractical.com An: [3]rt-us...@lists.bestpractical.com [4]rt-us...@lists.bestpractical.com Gesendet: Sun Aug 29 23:01:02 2010 Betreff: [rt-users] Auto Login Link in autoreply with password I am trying to setup my autoreply so that it has a direct link for the requestor to click and he can be logged straight into the RT. I am new to the eco system and have been playing around with it over the past few days. Ive hit a roadblock and am hoping someone can help me out. I have inserted the following into the autoreply template {$RT::WebURL}SelfService/Display.html?id={$Ticket-id()}user={$Transaction-CreatorObj-Name}pass={$Transaction-CreatorObj-__Value('Password')} It almost works perfectly except for the fact that the password actually goes out encrypted and is pretty useless. this is the link that the requestor gets back [5]http://rt.mydomain.com.au/ticket/SelfService/Display.html?id=138user=reques...@email.compass=091128365216c001205810ed3po175fb Below is my entire template. Can someone please let me know how I am able to send a clickable link with every autoreply that will take the requestor straight to the ticket on the web. Subject: AutoReply: {$Ticket-Subject} Greetings, This message has been automatically generated in response to the creation of a helpdesk call: {$Ticket-Subject()}, a summary of which appears below. There is no need to reply to this message right now. Your ticket has been assigned an ID of [{$rtname} #{$Ticket-id()}]. Please include this string in the subject line of all future correspondence about this issue. { *RT::User::GenerateRandomNextChar = \RT::User::_GenerateRandomNextChar; if (($Transaction-CreatorObj-id != $RT::Nobody-id) (!$Transaction-CreatorObj-Privileged) ($Transaction-CreatorObj-__Value('Password') eq '*NO-PASSWORD*') ) { my $user = RT::User-new($RT::SystemUser); $user-Load($Transaction-CreatorObj-Id); my ($stat, $pass) = $user-SetRandomPassword(); if (!$stat) { $OUT .= An internal error has occurred. RT was not able to set a password for you. Please contact your local RT administrator for assistance.; } $OUT .= You can check the current status and history of your requests at: .$RT::WebURL. When prompted, enter the following username and password: Username: .$user-Name. Password: .$pass. ; } } {$RT::WebURL}SelfService/Display.html?id={$Ticket-id()}user={$Transaction-CreatorObj-Name}pass={$Transaction-CreatorObj-__Value('Password')} Thank you. {$Ticket-QueueObj-CorrespondAddress()} - {$Transaction-Content()} K*hne + Nagel (AG Co.) KG, Gesch*ftsleitung: Hans-Georg Brinkmann (Vors.), Dirk Blesius, Reiner Heiken, Bruno Mang, Alfred Manke, Christian Marnett*, Mark Reinhardt, Jens Wollesen, Klaus J*ger (stellv.), Sitz: Bremen, Registergericht: Bremen, HRA 21928, USt-IdNr.: DE 812773878, Pers*nlich haftende Gesellschaft: K*hne Nagel A.G., Sitz: Contern/Luxemburg, Gesch*ftsf*hrender Verwaltungsrat: Klaus-Michael K*hne References Visible links 1. mailto:rt-users-boun...@lists.bestpractical.com 2. mailto:rt-users-boun...@lists.bestpractical.com 3. mailto:rt-users@lists.bestpractical.com 4. mailto:rt-users@lists.bestpractical.com 5. http://rt.mydoman.com/ticket/SelfService/Display.html?id=138user=reques...@email.compass=091128365216c001205810ed3po175fb RT Training in Washington DC, USA on Oct 25 26 2010 Last one this year -- Learn how to get the most out of RT! ATT1 RT Training in Washington
Re: [rt-users] Auto Login Link in autoreply with password
On Tue, Aug 31, 2010 at 01:19:32AM +1000, Codatel Lists wrote: I think its because the $pass value is only generated if the auto password generation script finds that the email from a new user. If the email is not from a new user then the script is not activated and therefore the $pass data is not there RT's User class explicitly flags the password unreadable, so I suspect you'll have trouble getting at it without an overlay to allow reading -kevin On 31/08/2010, at 1:07 AM, Kevin Falcone wrote: On Mon, Aug 30, 2010 at 02:51:48PM +1000, Codatel Lists wrote: pass= is part of the link to be displayed {{$Transaction-CreatorObj-__Value} is the variable data which the system should fetch On 30/08/2010, at 7:38 AM, Brumm, Torsten / Kuehne + Nagel / Ham MI-ID wrote: I suspect Torsten meant that you already have the decoded password stored in $pass (you're printing it in the email you send) so just use it in the link too -kevin Why not use: $pass instead of:pass={$Transaction-CreatorObj-__Value Torsten -- Von: [1]rt-users-boun...@lists.bestpractical.com [2]rt-users-boun...@lists.bestpractical.com An: [3]rt-us...@lists.bestpractical.com [4]rt-us...@lists.bestpractical.com Gesendet: Sun Aug 29 23:01:02 2010 Betreff: [rt-users] Auto Login Link in autoreply with password I am trying to setup my autoreply so that it has a direct link for the requestor to click and he can be logged straight into the RT. I am new to the eco system and have been playing around with it over the past few days. Ive hit a roadblock and am hoping someone can help me out. I have inserted the following into the autoreply template {$RT::WebURL}SelfService/Display.html?id={$Ticket-id()}user={$Transaction-CreatorObj-Name}pass={$Transaction-CreatorObj-__Value('Password')} It almost works perfectly except for the fact that the password actually goes out encrypted and is pretty useless. this is the link that the requestor gets back [5]http://rt.mydomain.com.au/ticket/SelfService/Display.html?id=138user=reques...@email.compass=091128365216c001205810ed3po175fb Below is my entire template. Can someone please let me know how I am able to send a clickable link with every autoreply that will take the requestor straight to the ticket on the web. Subject: AutoReply: {$Ticket-Subject} Greetings, This message has been automatically generated in response to the creation of a helpdesk call: {$Ticket-Subject()}, a summary of which appears below. There is no need to reply to this message right now. Your ticket has been assigned an ID of [{$rtname} #{$Ticket-id()}]. Please include this string in the subject line of all future correspondence about this issue. { *RT::User::GenerateRandomNextChar = \RT::User::_GenerateRandomNextChar; if (($Transaction-CreatorObj-id != $RT::Nobody-id) (!$Transaction-CreatorObj-Privileged) ($Transaction-CreatorObj-__Value('Password') eq '*NO-PASSWORD*') ) { my $user = RT::User-new($RT::SystemUser); $user-Load($Transaction-CreatorObj-Id); my ($stat, $pass) = $user-SetRandomPassword(); if (!$stat) { $OUT .= An internal error has occurred. RT was not able to set a password for you. Please contact your local RT administrator for assistance.; } $OUT .= You can check the current status and history of your requests at: .$RT::WebURL. When prompted, enter the following username and password: Username: .$user-Name. Password: .$pass. ; } } {$RT::WebURL}SelfService/Display.html?id={$Ticket-id()}user={$Transaction-CreatorObj-Name}pass={$Transaction-CreatorObj-__Value('Password')} Thank you. {$Ticket-QueueObj-CorrespondAddress()} - {$Transaction-Content()} K*hne + Nagel (AG Co.) KG, Gesch*ftsleitung: Hans-Georg Brinkmann (Vors.), Dirk Blesius, Reiner Heiken, Bruno Mang, Alfred Manke, Christian Marnett*, Mark Reinhardt, Jens Wollesen, Klaus J*ger (stellv.), Sitz: Bremen, Registergericht: Bremen, HRA 21928, USt-IdNr.: DE 812773878, Pers*nlich haftende Gesellschaft: K*hne Nagel A.G., Sitz: Contern/Luxemburg, Gesch*ftsf*hrender Verwaltungsrat: Klaus-Michael K*hne References Visible links 1. mailto:rt-users-boun...@lists.bestpractical.com 2. mailto:rt-users-boun...@lists.bestpractical.com 3. mailto:rt-users@lists.bestpractical.com
Re: [rt-users] Wiki redux
Hello, I just found this link http://wiki.bestpractical.com/view/Spreadsheet+RequestorDetails Interesting but it appears to not work with rt-3.8.7. I am not very familiar with the RT versions. What would be needed to port it? Here is the error: Failed to find Requestors-UserMembersObj-First-RealName - Can't call method RealName on an undefined value at (eval 4559) line 1. Stack: [(eval 4559):1] [/opt/rt3/bin/../lib/RT/Interface/Web.pm:320] [/opt/rt3/bin/../lib/RT/Interface/Web.pm:224] [/opt/rt3/share/html/autohandler:53] Thanks, Thierry Thelliez On Fri, Jul 17, 2009 at 11:13 AM, Jerrad Pierce jpie...@cambridgeenergyalliance.org wrote: I've added a couple of interesting tidbits to the wiki today that might be useful for some of you: http://wiki.bestpractical.com/view/Spreadsheet+RequestorDetails http://wiki.bestpractical.com/view/ForkTemplate http://wiki.bestpractical.com/view/MailingListIntegration Also, Ruslan has created http://wiki.bestpractical.com/view/RT4WishList P.S. Wouldn't it be kind of nice if there were a periodic message to the list with info akin to http://wiki.bestpractical.com/recent/additions ? -- Cambridge Energy Alliance: Save money. Save the planet. ___ http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users Community help: http://wiki.bestpractical.com Commercial support: sa...@bestpractical.com Discover RT's hidden secrets with RT Essentials from O'Reilly Media. Buy a copy at http://rtbook.bestpractical.com RT Training in Washington DC, USA on Oct 25 26 2010 Last one this year -- Learn how to get the most out of RT!
Re: [rt-users] Auto Login Link in autoreply with password
is there anyone who can point me to a way to get it done. A large Client I deal with uses it and has implemented it in that way, so I know it can work. I have not been able to find out who is the maintainer of thier RT as they are a large organisation. But I would really like to get it implemented On 31/08/2010, at 1:42 AM, Kevin Falcone wrote: On Tue, Aug 31, 2010 at 01:19:32AM +1000, Codatel Lists wrote: I think its because the $pass value is only generated if the auto password generation script finds that the email from a new user. If the email is not from a new user then the script is not activated and therefore the $pass data is not there RT's User class explicitly flags the password unreadable, so I suspect you'll have trouble getting at it without an overlay to allow reading -kevin On 31/08/2010, at 1:07 AM, Kevin Falcone wrote: On Mon, Aug 30, 2010 at 02:51:48PM +1000, Codatel Lists wrote: pass= is part of the link to be displayed {{$Transaction-CreatorObj-__Value} is the variable data which the system should fetch On 30/08/2010, at 7:38 AM, Brumm, Torsten / Kuehne + Nagel / Ham MI-ID wrote: I suspect Torsten meant that you already have the decoded password stored in $pass (you're printing it in the email you send) so just use it in the link too -kevin Why not use: $pass instead of:pass={$Transaction-CreatorObj-__Value Torsten -- Von: [1]rt-users-boun...@lists.bestpractical.com [2]rt-users-boun...@lists.bestpractical.com An: [3]rt-us...@lists.bestpractical.com [4]rt-us...@lists.bestpractical.com Gesendet: Sun Aug 29 23:01:02 2010 Betreff: [rt-users] Auto Login Link in autoreply with password I am trying to setup my autoreply so that it has a direct link for the requestor to click and he can be logged straight into the RT. I am new to the eco system and have been playing around with it over the past few days. Ive hit a roadblock and am hoping someone can help me out. I have inserted the following into the autoreply template {$RT::WebURL}SelfService/Display.html?id={$Ticket-id()}user={$Transaction-CreatorObj-Name}pass={$Transaction-CreatorObj-__Value('Password')} It almost works perfectly except for the fact that the password actually goes out encrypted and is pretty useless. this is the link that the requestor gets back [5]http://rt.mydomain.com.au/ticket/SelfService/Display.html?id=138user=reques...@email.compass=091128365216c001205810ed3po175fb Below is my entire template. Can someone please let me know how I am able to send a clickable link with every autoreply that will take the requestor straight to the ticket on the web. Subject: AutoReply: {$Ticket-Subject} Greetings, This message has been automatically generated in response to the creation of a helpdesk call: {$Ticket-Subject()}, a summary of which appears below. There is no need to reply to this message right now. Your ticket has been assigned an ID of [{$rtname} #{$Ticket-id()}]. Please include this string in the subject line of all future correspondence about this issue. { *RT::User::GenerateRandomNextChar = \RT::User::_GenerateRandomNextChar; if (($Transaction-CreatorObj-id != $RT::Nobody-id) (!$Transaction-CreatorObj-Privileged) ($Transaction-CreatorObj-__Value('Password') eq '*NO-PASSWORD*') ) { my $user = RT::User-new($RT::SystemUser); $user-Load($Transaction-CreatorObj-Id); my ($stat, $pass) = $user-SetRandomPassword(); if (!$stat) { $OUT .= An internal error has occurred. RT was not able to set a password for you. Please contact your local RT administrator for assistance.; } $OUT .= You can check the current status and history of your requests at: .$RT::WebURL. When prompted, enter the following username and password: Username: .$user-Name. Password: .$pass. ; } } {$RT::WebURL}SelfService/Display.html?id={$Ticket-id()}user={$Transaction-CreatorObj-Name}pass={$Transaction-CreatorObj-__Value('Password')} Thank you. {$Ticket-QueueObj-CorrespondAddress()} - {$Transaction-Content()} K*hne + Nagel (AG Co.) KG, Gesch*ftsleitung: Hans-Georg Brinkmann (Vors.), Dirk Blesius, Reiner Heiken, Bruno Mang, Alfred Manke, Christian Marnett*, Mark Reinhardt, Jens Wollesen, Klaus J*ger (stellv.), Sitz: Bremen, Registergericht: Bremen, HRA 21928, USt-IdNr.: DE 812773878, Pers*nlich haftende Gesellschaft: K*hne Nagel A.G., Sitz: Contern/Luxemburg, Gesch*ftsf*hrender Verwaltungsrat: Klaus-Michael K*hne
Re: [rt-users] Wiki redux
I have found this line in a folder in the rt home directory. anyone know what it means or if this is something I can use in my autoreply /RTHOME/RT/Test/Web.pm:$self-get($url . ?user=$user;pass=$pass); On 31/08/2010, at 1:46 AM, Thierry Thelliez wrote: Hello, I just found this link http://wiki.bestpractical.com/view/Spreadsheet+RequestorDetails Interesting but it appears to not work with rt-3.8.7. I am not very familiar with the RT versions. What would be needed to port it? Here is the error: Failed to find Requestors-UserMembersObj-First-RealName - Can't call method RealName on an undefined value at (eval 4559) line 1. Stack: [(eval 4559):1] [/opt/rt3/bin/../lib/RT/Interface/Web.pm:320] [/opt/rt3/bin/../lib/RT/Interface/Web.pm:224] [/opt/rt3/share/html/autohandler:53] Thanks, Thierry Thelliez On Fri, Jul 17, 2009 at 11:13 AM, Jerrad Pierce jpie...@cambridgeenergyalliance.org wrote: I've added a couple of interesting tidbits to the wiki today that might be useful for some of you: http://wiki.bestpractical.com/view/Spreadsheet+RequestorDetails http://wiki.bestpractical.com/view/ForkTemplate http://wiki.bestpractical.com/view/MailingListIntegration Also, Ruslan has created http://wiki.bestpractical.com/view/RT4WishList P.S. Wouldn't it be kind of nice if there were a periodic message to the list with info akin to http://wiki.bestpractical.com/recent/additions ? -- Cambridge Energy Alliance: Save money. Save the planet. ___ http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users Community help: http://wiki.bestpractical.com Commercial support: sa...@bestpractical.com Discover RT's hidden secrets with RT Essentials from O'Reilly Media. Buy a copy at http://rtbook.bestpractical.com RT Training in Washington DC, USA on Oct 25 26 2010 Last one this year -- Learn how to get the most out of RT! RT Training in Washington DC, USA on Oct 25 26 2010 Last one this year -- Learn how to get the most out of RT!
Re: [rt-users] Auto Login Link in autoreply with password
oops.. I replied to the wrong trail :) Take 2 I have found this line in a folder in the rt home directory. anyone know what it means or if this is something I can use in my autoreply /RTHOME/RT/Test/Web.pm:$self-get($url . ?user=$user;pass=$pass); On 31/08/2010, at 1:42 AM, Kevin Falcone wrote: On Tue, Aug 31, 2010 at 01:19:32AM +1000, Codatel Lists wrote: I think its because the $pass value is only generated if the auto password generation script finds that the email from a new user. If the email is not from a new user then the script is not activated and therefore the $pass data is not there RT's User class explicitly flags the password unreadable, so I suspect you'll have trouble getting at it without an overlay to allow reading -kevin On 31/08/2010, at 1:07 AM, Kevin Falcone wrote: On Mon, Aug 30, 2010 at 02:51:48PM +1000, Codatel Lists wrote: pass= is part of the link to be displayed {{$Transaction-CreatorObj-__Value} is the variable data which the system should fetch On 30/08/2010, at 7:38 AM, Brumm, Torsten / Kuehne + Nagel / Ham MI-ID wrote: I suspect Torsten meant that you already have the decoded password stored in $pass (you're printing it in the email you send) so just use it in the link too -kevin Why not use: $pass instead of:pass={$Transaction-CreatorObj-__Value Torsten -- Von: [1]rt-users-boun...@lists.bestpractical.com [2]rt-users-boun...@lists.bestpractical.com An: [3]rt-us...@lists.bestpractical.com [4]rt-us...@lists.bestpractical.com Gesendet: Sun Aug 29 23:01:02 2010 Betreff: [rt-users] Auto Login Link in autoreply with password I am trying to setup my autoreply so that it has a direct link for the requestor to click and he can be logged straight into the RT. I am new to the eco system and have been playing around with it over the past few days. Ive hit a roadblock and am hoping someone can help me out. I have inserted the following into the autoreply template {$RT::WebURL}SelfService/Display.html?id={$Ticket-id()}user={$Transaction-CreatorObj-Name}pass={$Transaction-CreatorObj-__Value('Password')} It almost works perfectly except for the fact that the password actually goes out encrypted and is pretty useless. this is the link that the requestor gets back [5]http://rt.mydomain.com.au/ticket/SelfService/Display.html?id=138user=reques...@email.compass=091128365216c001205810ed3po175fb Below is my entire template. Can someone please let me know how I am able to send a clickable link with every autoreply that will take the requestor straight to the ticket on the web. Subject: AutoReply: {$Ticket-Subject} Greetings, This message has been automatically generated in response to the creation of a helpdesk call: {$Ticket-Subject()}, a summary of which appears below. There is no need to reply to this message right now. Your ticket has been assigned an ID of [{$rtname} #{$Ticket-id()}]. Please include this string in the subject line of all future correspondence about this issue. { *RT::User::GenerateRandomNextChar = \RT::User::_GenerateRandomNextChar; if (($Transaction-CreatorObj-id != $RT::Nobody-id) (!$Transaction-CreatorObj-Privileged) ($Transaction-CreatorObj-__Value('Password') eq '*NO-PASSWORD*') ) { my $user = RT::User-new($RT::SystemUser); $user-Load($Transaction-CreatorObj-Id); my ($stat, $pass) = $user-SetRandomPassword(); if (!$stat) { $OUT .= An internal error has occurred. RT was not able to set a password for you. Please contact your local RT administrator for assistance.; } $OUT .= You can check the current status and history of your requests at: .$RT::WebURL. When prompted, enter the following username and password: Username: .$user-Name. Password: .$pass. ; } } {$RT::WebURL}SelfService/Display.html?id={$Ticket-id()}user={$Transaction-CreatorObj-Name}pass={$Transaction-CreatorObj-__Value('Password')} Thank you. {$Ticket-QueueObj-CorrespondAddress()} - {$Transaction-Content()} K*hne + Nagel (AG Co.) KG, Gesch*ftsleitung: Hans-Georg Brinkmann (Vors.), Dirk Blesius, Reiner Heiken, Bruno Mang, Alfred Manke, Christian Marnett*, Mark Reinhardt, Jens Wollesen, Klaus J*ger (stellv.), Sitz: Bremen, Registergericht: Bremen, HRA 21928, USt-IdNr.: DE 812773878, Pers*nlich haftende Gesellschaft: K*hne Nagel A.G., Sitz: Contern/Luxemburg, Gesch*ftsf*hrender Verwaltungsrat: Klaus-Michael K*hne References Visible links 1.
Re: [rt-users] Odd Errors in RT Log from scrip
Kevin, OK. I see that. I was just wondering if there was a way to reduce the number of error messages. I mean, I only need to see one or two error messages and I can figure out that it needs work or whatever. But any more than that just seems redundant. My thinking that less messages would be less I/O and therefore faster response. Just a thought. Thanks for your answer. I DO appreciate it! Kenn LBNL On Mon, Aug 30, 2010 at 7:53 AM, Kevin Falcone falc...@bestpractical.comwrote: On Fri, Aug 27, 2010 at 04:17:45PM -0700, Kenneth Crocker wrote: To List, I have a scrip that checks to see if the requestor is also the AdminCc so that duplicate emails are not sent, The condition is: Line 8/9 has an error 1# Check for Ticket Status changed to QA approvd 2# and cancel if Admin and Requestor is same user 3 4my $trans = $self-TransactionObj; 5my $ticket = $self-TicketObj; 6my $requestor = $ticket-Requestors-UserMembersObj-First-EmailAddress; 7 8if ($ticket-IsWatcher(Type = 'AdminCc', EmailAddress = $requestor) 9{ which is what the log was telling you return 0; } return ($trans-Type eq Status $trans-NewValue eq QA approvd); The action is Notify AdminCc's The erro I'm getting on the log is: [Fri Aug 27 22:48:58 2010] [error]: Scrip 50899 IsApplicable failed: syntax error at (eval 1510) line 9, near ) { (/opt/rt3/bin/../lib/RT/Condition/UserDefined.pm:65) [Fri Aug 27 22:49:04 2010] [error]: Scrip 50899 IsApplicable failed: syntax error at (eval 1574) line 9, near ) { (/opt/rt3/bin/../lib/RT/Condition/UserDefined.pm:65) [Fri Aug 27 22:49:37 2010] [error]: Scrip 50899 IsApplicable failed: syntax error at (eval 1829) line 9, near ) { (/opt/rt3/bin/../lib/RT/Condition/UserDefined.pm:65) [Fri Aug 27 22:50:07 2010] [error]: Scrip 50899 IsApplicable failed: syntax error at (eval 1756) line 9, near ) { (/opt/rt3/bin/../lib/RT/Condition/UserDefined.pm:65) [Fri Aug 27 22:50:07 2010] [error]: Scrip 50899 IsApplicable failed: syntax error at (eval 1758) line 9, near ) { (/opt/rt3/bin/../lib/RT/Condition/UserDefined.pm:65) [Fri Aug 27 22:50:07 2010] [error]: Scrip 50899 IsApplicable failed: syntax error at (eval 1760) line 9, near ) { (/opt/rt3/bin/../lib/RT/Condition/UserDefined.pm:65) [Fri Aug 27 22:50:07 2010] [error]: Scrip 50899 IsApplicable failed: syntax error at (eval 1762) line 9, near ) { (/opt/rt3/bin/../lib/RT/Condition/UserDefined.pm:65) [Fri Aug 27 22:56:28 2010] [warning]: Couldn't enable user 226 (/opt/rt3/bin/../lib/RT/User_Overlay.pm:1143) [Fri Aug 27 22:58:28 2010] [error]: Scrip 50899 IsApplicable failed: syntax error at (eval 2318) line 9, near ) { (/opt/rt3/bin/../lib/RT/Condition/UserDefined.pm:65) [Fri Aug 27 22:58:28 2010] [error]: Scrip 50899 IsApplicable failed: syntax error at (eval 2320) line 9, near ) { (/opt/rt3/bin/../lib/RT/Condition/UserDefined.pm:65) [Fri Aug 27 22:58:28 2010] [error]: Scrip 50899 IsApplicable failed: syntax error at (eval 2322) line 9, near ) { (/opt/rt3/bin/../lib/RT/Condition/UserDefined.pm:65) [Fri Aug 27 22:58:28 2010] [error]: Scrip 50899 IsApplicable failed: syntax error at (eval 2324) line 9, near ) { (/opt/rt3/bin/../lib/RT/Condition/UserDefined.pm:65) [Fri Aug 27 22:58:28 2010] [error]: Scrip 50899 IsApplicable failed: syntax error at (eval 2326) line 9, near ) { (/opt/rt3/bin/../lib/RT/Condition/UserDefined.pm:65) [Fri Aug 27 22:59:45 2010] [error]: Scrip 50899 IsApplicable failed: syntax error at (eval 1703) line 9, near ) { (/opt/rt3/bin/../lib/RT/Condition/UserDefined.pm:65) [Fri Aug 27 23:00:47 2010] [error]: Scrip 50899 IsApplicable failed: syntax error at (eval 2108) line 9, near ) { (/opt/rt3/bin/../lib/RT/Condition/UserDefined.pm:65) [Fri Aug 27 23:02:32 2010] [error]: Scrip 50899 IsApplicable failed: syntax error at (eval 1661) line 9, near ) { (/opt/rt3/bin/../lib/RT/Condition/UserDefined.pm:65) [Fri Aug 27 23:03:17 2010] [error]: Scrip 50899 IsApplicable failed: syntax error at (eval 2472) line 9, near ) { (/opt/rt3/bin/../lib/RT/Condition/UserDefined.pm:65) [Fri Aug 27 23:05:04 2010] [error]: Scrip 50899 IsApplicable failed: syntax error at (eval 1913) line 9, near ) { (/opt/rt3/bin/../lib/RT/Condition/UserDefined.pm:65) [Fri Aug 27 23:05:04 2010] [error]: Scrip 50899 IsApplicable failed: syntax error at (eval 1915) line 9, near ) { (/opt/rt3/bin/../lib/RT/Condition/UserDefined.pm:65) [Fri Aug 27 23:05:58 2010] [error]: Group::HasMember was called with an argument that isn't an RT::Principal or id. It's (undefined) (/opt/rt3/bin/../lib/RT/Group_Overlay.pm:1046) [Fri Aug 27 23:05:58 2010] [error]: Group::HasMember was called with an argument
Re: [rt-users] re-set date field
Kevin, The code doesn't blow up (with a simple 0), but I get 1970 on all my search results. I need to get rid of that somehow. Any ideas? Thanks. Kenn LBNL On Fri, Aug 27, 2010 at 9:39 AM, Kevin Falcone falc...@bestpractical.comwrote: On Wed, Aug 25, 2010 at 12:09:49PM -0700, Kenneth Crocker wrote: I'm not a real experienced Perl guy and I want to write a scrip that will re-set a date field to nulls or blank or whatever a date field can be set to for NO date at all. I'm doing this for tickets that are re-opened. I've got the condition set OK. Just stuck on the command to set a date to nothing. 0 should be fine, depends on how you're setting the date -kevin RT Training in Washington DC, USA on Oct 25 26 2010 Last one this year -- Learn how to get the most out of RT! RT Training in Washington DC, USA on Oct 25 26 2010 Last one this year -- Learn how to get the most out of RT!
Re: [rt-users] Change Update Type default
Hi Kevin, I'm not sure what you mean by pull the patch from 3.8-trunk. Where can I do that? CPAN, or the wiki or something? -- Max McGrath Asst. Network Admin/Systems Specialist Carthage College 262-552-5512 mmcgr...@carthage.edu On Wed, Aug 25, 2010 at 10:22 AM, Kevin Falcone falc...@bestpractical.comwrote: On Wed, Aug 25, 2010 at 10:17:47AM -0500, Max McGrath wrote: Hi all - Looking for a way to change the default on Update.html. Currently it is set to Comments (Not sent to requestors) but I'd like the default to be Reply to requestors. I found the code in Update.html and I reversed the two options, but that just changes the positioning within the drop down box. I'd like reply to be there by default so we don't have to use the drop down box. The easiest thing is to pull the patch from 3.8-trunk that adds a user/global preference, or wait for 3.8.9 -kevin RT Training in Washington DC, USA on Oct 25 26 2010 Last one this year -- Learn how to get the most out of RT! RT Training in Washington DC, USA on Oct 25 26 2010 Last one this year -- Learn how to get the most out of RT!
Re: [rt-users] RT::Action not found after upgrade 3.8.2 - 3.8.8
Benno, Take a look at your log. The number for the scrip is always shown. That will tell you which one. Kenn LBNL On Mon, Aug 30, 2010 at 3:16 AM, Benno Overeinder be...@nlnetlabs.nlwrote: Hi, On 8/27/10 7:00 PM, Kevin Falcone wrote: On Thu, Aug 26, 2010 at 04:31:30PM +0200, Benno Overeinder wrote: I haven't the original email thread to reply to, but this might be valuable to the email list. The change Ruslan proposed works for me. I had the same problem here, but after the change in webmux.pl, apache started again. You should still go find the Scrip where you picked a Null action and either delete it or pick a proper action. Sorry, thought the patch was a solution. :-) I upgraded RT from 3.8.6 to 3.8.8 using FreeBSD ports. The RT 3.8.6 installation worked without problems. After the upgrade to 3.8.8, the Apache httpd continued to run without errors. Only after restarting Apache, the httpd stopped because of the Require of RT::Action:: failed. error. I haven't changed anything in between, and have no idea where to start looking for the script that picked a Null action. Is there a hint to easily debug RT? From the error messages in the httpd-error.log I couldn't figure exactly which script is triggering this error on startup. Thanks, -- Benno -- Benno J. Overeinder NLnet Labs http://www.nlnetlabs.nl/ RT Training in Washington DC, USA on Oct 25 26 2010 Last one this year -- Learn how to get the most out of RT! RT Training in Washington DC, USA on Oct 25 26 2010 Last one this year -- Learn how to get the most out of RT!
Re: [rt-users] how to get timestamp for CFs in RT
Kevin, While you guys are working on it, could you look at the possibility of being able to format those CF date fields the same way we format other RT dates? Like dropping the time completely, etc. like we have available in Preferences. We can't really see a need for those time fields in reports and having to modify them in Excel column after column is a pain. Being able to drop them would be especially convenient for us, anyway. Kenn LBNL On Mon, Aug 30, 2010 at 8:14 AM, Kevin Falcone falc...@bestpractical.comwrote: On Mon, Aug 30, 2010 at 04:35:02AM -0400, Rahul Chaturvedi wrote: Hi, I am using RT 3.8.8 with postgres 8.4.4 on slackware 13.1. Recently i have applied a patch to rt RT_Date_CustomField-3.8.8.patch to created date CFs in RT. My time zone is UTC Set($Timezone , 'US/Eastern') That patch is best described as 'experimental' There was a lot more work done with it on 3.9-trunk, but I don't know if you would be able to backport that to a 3.8 release -kevin Now my CFs are populated with the date but with no timestamp ( 2010-08-30 00:00:00). My CFs should show these values. I have checked the steps to be followed in timezones_in_charts.pod but didn't work. Please let me know if there fix for the same. -- RT Training in Washington DC, USA on Oct 25 26 2010 Last one this year -- Learn how to get the most out of RT! RT Training in Washington DC, USA on Oct 25 26 2010 Last one this year -- Learn how to get the most out of RT! RT Training in Washington DC, USA on Oct 25 26 2010 Last one this year -- Learn how to get the most out of RT!
Re: [rt-users] Auto Login Link in autoreply with password
Normally this can't work because RT saves the password not as plain text but as md5 hash. But for the login you need the plain password, you can't login with the md5 password hash. The only way to do this is, to use a password cracker who get you the plain password from the md5 hash or you change RT that it store the password not as md5 but as plain text. But this would be an security issue. -Chris Am 30.08.2010 17:55, schrieb Codatel Lists: is there anyone who can point me to a way to get it done. A large Client I deal with uses it and has implemented it in that way, so I know it can work. I have not been able to find out who is the maintainer of thier RT as they are a large organisation. But I would really like to get it implemented RT Training in Washington DC, USA on Oct 25 26 2010 Last one this year -- Learn how to get the most out of RT!
Re: [rt-users] Auto Login Link in autoreply with password
Are you suggesting that asking the user to login once (the very first time) is a problem? As long as the user has logged into the system with a valid password once, you can send him/her a link without using credentials in the URL and it will get them directly there (unless they close all their browser windows). The other options is to use external authentication (so the httpd does the authentication), and integrate that with your infrastructure (Kerberos, single sign-on, etc), and setup RT to honor that (ie: use the user from the web server). I believe that either of those would be sufficient. Dealing with passwords like that always makes me nervous... Jok -Original Message- From: rt-users-boun...@lists.bestpractical.com [mailto:rt-users- boun...@lists.bestpractical.com] On Behalf Of Codatel Lists Sent: Monday, August 30, 2010 8:55 AM To: rt-users@lists.bestpractical.com Subject: Re: [rt-users] Auto Login Link in autoreply with password is there anyone who can point me to a way to get it done. A large Client I deal with uses it and has implemented it in that way, so I know it can work. I have not been able to find out who is the maintainer of thier RT as they are a large organisation. But I would really like to get it implemented RT Training in Washington DC, USA on Oct 25 26 2010 Last one this year -- Learn how to get the most out of RT!
Re: [rt-users] Wiki redux
On Mon, Aug 30, 2010 at 09:46:06AM -0600, Thierry Thelliez wrote: Hello, I just found this link http://wiki.bestpractical.com/view/Spreadsheet+RequestorDetails Interesting but it appears to not work with rt-3.8.7. I am not very familiar with the RT versions. What would be needed to port it? Here is the error: Failed to find Requestors-UserMembersObj-First-RealName - Can't call method RealName on an undefined value at (eval 4559) line 1. My assumption is you have a ticket without requestors and that the original code is fragile -kevin Stack: [(eval 4559):1] [/opt/rt3/bin/../lib/RT/Interface/Web.pm:320] [/opt/rt3/bin/../lib/RT/Interface/Web.pm:224] [/opt/rt3/share/html/autohandler:53] Thanks, Thierry Thelliez On Fri, Jul 17, 2009 at 11:13 AM, Jerrad Pierce jpie...@cambridgeenergyalliance.org wrote: I've added a couple of interesting tidbits to the wiki today that might be useful for some of you: http://wiki.bestpractical.com/view/Spreadsheet+RequestorDetails http://wiki.bestpractical.com/view/ForkTemplate http://wiki.bestpractical.com/view/MailingListIntegration Also, Ruslan has created http://wiki.bestpractical.com/view/RT4WishList P.S. Wouldn't it be kind of nice if there were a periodic message to the list with info akin to http://wiki.bestpractical.com/recent/additions ? -- Cambridge Energy Alliance: Save money. Save the planet. ___ http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users Community help: http://wiki.bestpractical.com Commercial support: sa...@bestpractical.com Discover RT's hidden secrets with RT Essentials from O'Reilly Media. Buy a copy at http://rtbook.bestpractical.com RT Training in Washington DC, USA on Oct 25 26 2010 Last one this year -- Learn how to get the most out of RT! pgpXTVVIeYlUG.pgp Description: PGP signature RT Training in Washington DC, USA on Oct 25 26 2010 Last one this year -- Learn how to get the most out of RT!
Re: [rt-users] re-set date field
On Mon, Aug 30, 2010 at 09:15:17AM -0700, Kenneth Crocker wrote: The code doesn't blow up (with a simple 0), but I get 1970 on all my search results. I need to get rid of that somehow. Any ideas? Thanks. 0 should be fine, depends on how you're setting the date The key part of my statement is Depends on how you're setting the date -kevin pgpqBUNqSsmza.pgp Description: PGP signature RT Training in Washington DC, USA on Oct 25 26 2010 Last one this year -- Learn how to get the most out of RT!
Re: [rt-users] Odd Errors in RT Log from scrip
On Mon, Aug 30, 2010 at 09:08:45AM -0700, Kenneth Crocker wrote: Kevin, OK. I see that. I was just wondering if there was a way to reduce the number of error messages. I mean, I only need to see one or two error messages and I can figure out that it needs work or whatever. But any more than that just seems redundant. My thinking that less messages would be less I/O and therefore faster response. Just a thought. From the log, you're getting one message every time your Scrip is used. That seems totally reasonable to me. -kevin pgptGEgT4qecq.pgp Description: PGP signature RT Training in Washington DC, USA on Oct 25 26 2010 Last one this year -- Learn how to get the most out of RT!
Re: [rt-users] how to get timestamp for CFs in RT
On Mon, Aug 30, 2010 at 09:25:22AM -0700, Kenneth Crocker wrote: While you guys are working on it, could you look at the possibility of being able to format those CF date fields the same way we format other RT dates? Like dropping the time completely, etc. like we have available in Preferences. We can't really see a need for those time fields in reports and having to modify them in Excel column after column is a pain. Being able to drop them would be especially convenient for us, anyway. Kenn Please feel free to install a test version of the 3.9-trunk development branch and play with them. -kevin pgpL9Ui4UxKMA.pgp Description: PGP signature RT Training in Washington DC, USA on Oct 25 26 2010 Last one this year -- Learn how to get the most out of RT!
[rt-users] RTAddressRegexp
In the rt config file I have the following line Set($RTAddressRegexp , '^...@rt.mydomain.com$'); when I create a queue called n...@rt.mydomain.commailto:n...@rt.mydomain.com I get a message in the queue config screen saying RTAddressRegexp option in the config doesn't match n...@mydomain.commailto:n...@mydomain.com I have tried a few different variations and it does not seem to get rid of that message. Is there something wrong with the string I am using? Regards Zafer RT Training in Washington DC, USA on Oct 25 26 2010 Last one this year -- Learn how to get the most out of RT!
Re: [rt-users] re-set date field
Kevin, I don't understand. The CF is a Select date and th3e code is as follows: # re-set the CF Work-Completed Date if it exists my $ticket = $self-TicketObj; my $trans = $self-TransactionObj; my $cf_obj = RT::CustomField-new($RT::SystemUser); my $new_value = 0; my $cf_name = Work-Completed Date; my $Completed_Date = $ticket-FirstCustomFieldValue('Work-Completed Date'); if ($Completed_Date) { $cf_obj-LoadByName(Name=$cf_name); $RT::Logger-debug(Loaded\$cf_obj-Name = . $cf_obj-Name() .\n); $ticket-AddCustomFieldValue(Field=$cf_obj, Value=$new_value, RecordTransaction=0); } I'm not sure what it is I should do differently. Thanks. Kenn LBNL On Mon, Aug 30, 2010 at 9:57 AM, Kevin Falcone falc...@bestpractical.comwrote: On Mon, Aug 30, 2010 at 09:15:17AM -0700, Kenneth Crocker wrote: The code doesn't blow up (with a simple 0), but I get 1970 on all my search results. I need to get rid of that somehow. Any ideas? Thanks. 0 should be fine, depends on how you're setting the date The key part of my statement is Depends on how you're setting the date -kevin RT Training in Washington DC, USA on Oct 25 26 2010 Last one this year -- Learn how to get the most out of RT! RT Training in Washington DC, USA on Oct 25 26 2010 Last one this year -- Learn how to get the most out of RT!
Re: [rt-users] re-set date field
On Mon, Aug 30, 2010 at 11:23:21AM -0700, Kenneth Crocker wrote: I don't understand. The CF is a Select date and th3e code is as follows: Kenn You said 'date field' so I assumed you meant Due or another built in RT date field. Since you're running an experimentally patched RT, I'm not sure how you should do what you want. -kevin # re-set the CF Work-Completed Date if it exists my $ticket = $self-TicketObj; my $trans = $self-TransactionObj; my $cf_obj = RT::CustomField-new($RT::SystemUser); my $new_value = 0; my $cf_name = Work-Completed Date; my $Completed_Date = $ticket-FirstCustomFieldValue('Work-Completed Date'); if ($Completed_Date) { $cf_obj-LoadByName(Name=$cf_name); $RT::Logger-debug(Loaded\$cf_obj-Name = . $cf_obj-Name() .\n); $ticket-AddCustomFieldValue(Field=$cf_obj, Value=$new_value, RecordTransaction=0); } I'm not sure what it is I should do differently. Thanks. Kenn LBNL On Mon, Aug 30, 2010 at 9:57 AM, Kevin Falcone [1]falc...@bestpractical.com wrote: On Mon, Aug 30, 2010 at 09:15:17AM -0700, Kenneth Crocker wrote: The code doesn't blow up (with a simple 0), but I get 1970 on all my search results. I need to get rid of that somehow. Any ideas? Thanks. 0 should be fine, depends on how you're setting the date The key part of my statement is Depends on how you're setting the date -kevin RT Training in Washington DC, USA on Oct 25 26 2010 Last one this year -- Learn how to get the most out of RT! References Visible links 1. mailto:falc...@bestpractical.com RT Training in Washington DC, USA on Oct 25 26 2010 Last one this year -- Learn how to get the most out of RT! pgp3zbOUn5lmG.pgp Description: PGP signature RT Training in Washington DC, USA on Oct 25 26 2010 Last one this year -- Learn how to get the most out of RT!
Re: [rt-users] RTAddressRegexp
Hi, Your regex will only match '@rt.mydomain.com' not 'someth...@rt.mydomain.com' remove the initial ^ from your regex to match on any email at this domain. Set($RTAddressRegexp , '\...@rt\.mydomain\.com$'); or have the noc email defined explicitly like: Set($RTAddressRegexp , '^n...@rt\.mydomain\.com$'); http://wiki.bestpractical.com/view/RTAddressRegexp Cheers, Alister West alis...@gossamer-threads.com w: http://www.gossamer-threads.com t: +1.604.687.5804 f: +1.604.687.5806 On 10-08-30 11:10 AM, Codatel Lists wrote: In the rt config file I have the following line Set($RTAddressRegexp , '^...@rt.mydomain.com$'); when I create a queue called n...@rt.mydomain.com mailto:n...@rt.mydomain.com I get a message in the queue config screen saying RTAddressRegexp option in the config doesn't match n...@mydomain.com mailto:n...@mydomain.com I have tried a few different variations and it does not seem to get rid of that message. Is there something wrong with the string I am using? Regards Zafer RT Training in Washington DC, USA on Oct 25 26 2010 Last one this year -- Learn how to get the most out of RT! RT Training in Washington DC, USA on Oct 25 26 2010 Last one this year -- Learn how to get the most out of RT!