Re: [rt-users] TicketObj-Id to string for html

2012-03-12 Thread Len Jaffe
On Mon, Mar 12, 2012 at 11:56 AM, Izz Abdullah izz.abdul...@hibbett.comwrote: Ok, understood. Short of buying a Mason book, I can rewrite some javascript to work out the print, but I am still not able to convert TicketObj-id to a string. Can you assist there please? -Original

[rt-users] Create RT ticket via perl, within RT but not via web interface?

2012-12-03 Thread Len Jaffe
I have a data collection app that needs to finish by created a ticket. The app itself is protected by RT's authentication (user and password), and the app uses RT's mason environment. RT::Client::REST is demanding a login. I don't have the user's credentials, so I figure I need to find the RT

[rt-users] RT: session flush and $m-redirect

2012-12-13 Thread Len Jaffe
Given: $session{errormessge} = 'You blew it!; $m-redirect($homePage); When my code performs a redirect, the error message is not being saved for use in the on the next page. Is there a magic flush() method that I need to call prior to calling redirect? Thanks, Len. --

[rt-users] clone a queue with custom fields?

2013-04-08 Thread Len Jaffe
Is there an established way to extract all the info/metatdata about a queue that has custom fields? Our intent is to clone a production queue (with many custom fields) onto a new development environment, without having to rebuild it by hand. Id there a process documented anywhere, or scripts

[rt-users] redefinition warnings from overlays

2013-08-20 Thread Len Jaffe
Am I supposed to get subroutine redefinition warnings from orverlays? Len -- lenja...@jaffesystems.com 614-404-4214@lenjaffe Software Engineer, Founder Volunteerable http://www.volunteerable..com/, Host of Columbus Code Jam http://www.meetup.com/techlifecolumbus/ www.lenjaffe.com

[rt-users] wierd applicatioin hang

2013-08-20 Thread Len Jaffe
I have an application that I piggybacks off of our RT's fastcgi/mason infrastructure. I have recently ported it to run against RT 4.0, on rhel, using an IBM release of apache 2.4, and now, I can only run one request on my application code before the the server hangs. I do not encounter the hang

Re: [rt-users] redefinition warnings from overlays

2013-08-20 Thread Len Jaffe
On Tue, Aug 20, 2013 at 1:16 PM, Kevin Falcone falc...@bestpractical.comwrote: On Tue, Aug 20, 2013 at 12:01:29PM -0400, Len Jaffe wrote: Am I supposed to get subroutine redefinition warnings from orverlays? If you're redefining core subroutines in your overlay, I would expect warnings

[rt-users] problem sharing session between RT and custom code

2013-08-21 Thread Len Jaffe
I have written an application that runs alongside an RT4 instance, and makes use of RT's Logger, db handle and session. In moving from mysql to Oracle, I've run into a problem that after lodign a page from my app, the next request, whether to my app, or RT, hangs trying to get an exclusive lock

[rt-users] rt-dump-metadata selecting nonextistent column

2013-09-20 Thread Len Jaffe
Per the excellent advice I received at Ohio LinuxFest, I tried to run rt-dump-metadata, but received the following error message: [Sat Sep 21 00:04:11 2013] [warning]: DBD::Oracle::db prepare failed: ORA-00904: PRIVATEKEY: invalid identifier (DBD ERROR: error possibly near * indicator at char 7

Re: [rt-users] rt-dump-metadata selecting nonextistent column

2013-09-23 Thread Len Jaffe
at 08:12:21PM -0400, Len Jaffe wrote: Per the excellent advice I received at Ohio LinuxFest, I tried to run rt-dump-metadata, but received the following error message: [Sat Sep 21 00:04:11 2013] [warning]: DBD::Oracle::db prepare failed: ORA-00904: PRIVATEKEY: invalid identifier

Re: [rt-users] rt-dump-metadata selecting nonextistent column

2013-09-23 Thread Len Jaffe
It looks like it dumped enough data for me to bootstrap my new instance. I'm pretty pleased. Len. On Mon, Sep 23, 2013 at 9:41 AM, Len Jaffe lenja...@jaffesystems.comwrote: I swear I searched before I posted. Given that I'm getting a XML file back from rt-d-m, what's your opinion of it's

Re: [rt-users] Upgrade to 4.2 fail

2013-10-04 Thread Len Jaffe
in httpd.conf and this will depend on your version of apache, and how you've structured your configurations files. You need to load the fastcgi module LoadModule fastcgi_module modules/mod_fastcgi.so You need to declare your fastcgi service FastCgiServer

Re: [rt-users] Upgrade to 4.2 fail

2013-10-07 Thread Len Jaffe
Anything? On Fri, Oct 4, 2013 at 10:49 AM, Len Jaffe lenja...@jaffesystems.comwrote: in httpd.conf and this will depend on your version of apache, and how you've structured your configurations files. You need to load the fastcgi module LoadModule fastcgi_module modules

[rt-users] Batch update user attributes

2013-10-23 Thread Len Jaffe
Is there a simple and easy way to update the privileged attribute of mutliple RT users at once? Thanks, Len. -- lenja...@jaffesystems.com 614-404-4214@lenjaffe Software Engineer, Founder Volunteerable http://www.volunteerable..com/, Host of Columbus Code Jam

[rt-users] where to place my callback

2013-10-23 Thread Len Jaffe
using RT 4.0.17. I want to write a csallback to fire from lib/RT/Interface/Web.pm line 709: $m-callback( %$ARGS, CallbackName = 'ExternalAuthSuccessfulLogin', CallbackPage = '/autohandler' ); Where to I need to place the callback file and what to I need to name it? Are there any substantial

Re: [rt-users] where to place my callback

2013-10-23 Thread Len Jaffe
Thank you. That was the explanation I needed. Len. On Wed, Oct 23, 2013 at 4:11 PM, Jim Brandt jbra...@bestpractical.comwrote: On 10/23/13 3:51 PM, Len Jaffe wrote: using RT 4.0.17. I want to write a csallback to fire from lib/RT/Interface/Web.pm line 709: $m-callback( %$ARGS

[rt-users] canonicalizing URI fsck.com?

2013-10-29 Thread Len Jaffe
FOr some of my users, I see meesages of this form in my rt.log: [Tue Oct 29 19:25:25 2013] [debug]: Canonicalizing URI '21' to 'fsck.com-rt://mydomain.com/ticket/21' (/u01/app/PROD/rt4-efts/sbin/../lib/RT/URI.pm:108) What's up with fsck.com? Did I misconfigure something back in the beginning?

Re: [rt-users] canonicalizing URI fsck.com?

2013-11-01 Thread Len Jaffe
On Fri, Nov 1, 2013 at 3:38 PM, Kevin Falcone falc...@bestpractical.comwrote: On Tue, Oct 29, 2013 at 04:33:58PM -0400, Len Jaffe wrote: [ fsck.com in my logs.[snip] Can I get rid of the messages about canonicalizing the URI altogether? Don't run your logs in debug? It's a debug

[rt-users] Odd behavior of queue name translation in RT::TIcket::LimitCustomFIeld()

2014-02-07 Thread Len Jaffe
We're on RT 4.0.17. I have this code snippet in a test (Yay TDD): my $tickets = RT::Tickets-new(GetCurrentUser()); my $queue ='foo' $tickets-LimitCustomField(CUSTOMFIELD = $internal_gid, OPERATOR = '=', VALUE = i$generic_id, QUEUE = $queue ); my $ticket = $tickets-Next; The error from

Re: [rt-users] Odd behavior of queue name translation in RT::TIcket::LimitCustomFIeld()

2014-02-07 Thread Len Jaffe
On Fri, Feb 7, 2014 at 12:06 PM, Kevin Falcone falc...@bestpractical.comwrote: On Fri, Feb 07, 2014 at 11:10:52AM -0500, Len Jaffe wrote: $tickets-FromSQL(CF.{Foo} = 'i$generic_id'); possible with a And Queue = '$queue' in there or if you don't want to limit on Queue, you can use CF.83

[rt-users] How Can I Overlay RT::Handle::Connect

2014-03-31 Thread Len Jaffe
I have a need to encrypt my database password in my RT_Config.pm file. I tried overriding Connect by creating Handle_Local.pm, but the connect that is executing is still the default Connect() in Handle.pm. Both files have the same file permissions and ownership, and there are no compile-time

[rt-users] Handle Overlay

2014-03-31 Thread Len Jaffe
Never mind. I had the overlay in the wrong directory. It's working well now. Len. -- lenja...@jaffesystems.com 614-404-4214@lenjaffe Information Technology Smoke Jumper, Host of Columbus Code Jamhttp://www.meetup.com/techlifecolumbus/ www.lenjaffe.com http://www.theycomewithcheese.com

Re: [rt-users] Perl broken?

2014-05-19 Thread Len Jaffe
You left out the best bits. The bits where Perl told you what the INC array looks like, and probably where in the code the call was being made. So you could use that info to determine where on your file system the DateTime modules live, that the OlsonRule files are there, and why they're not on

Re: [rt-users] Perl broken?

2014-05-19 Thread Len Jaffe
-3823 *mark.se...@gdit.com mark.se...@gdit.com* www.gdit.com *From:* lenja...@gmail.com [mailto:lenja...@gmail.com] *On Behalf Of *Len Jaffe *Sent:* Monday, May 19, 2014 3:09 PM *To:* Sears, Mark *Cc:* rt-users@lists.bestpractical.com *Subject:* Re: [rt-users] Perl broken? Now use

Re: [rt-users] Perl broken?

2014-05-20 Thread Len Jaffe
: (407) 541-4062 fax: (407) 380-3823 *mark.se...@gdit.com mark.se...@gdit.com* www.gdit.com *From:* lenja...@gmail.com [mailto:lenja...@gmail.com] *On Behalf Of *Len Jaffe *Sent:* Monday, May 19, 2014 4:12 PM *To:* Sears, Mark *Cc:* rt-users@lists.bestpractical.com *Subject:* Re: [rt

Re: [rt-users] Perl broken?

2014-05-20 Thread Len Jaffe
* www.gdit.com *From:* lenja...@gmail.com [mailto:lenja...@gmail.com] *On Behalf Of *Len Jaffe *Sent:* Tuesday, May 20, 2014 10:56 AM *To:* Sears, Mark *Cc:* rt-users@lists.bestpractical.com *Subject:* Re: [rt-users] Perl broken? Looks reasonable on its face. If it really is 'rule.pm' instead

Re: [rt-users] Install/Upgrade issue

2014-05-22 Thread Len Jaffe
$ addgroup www-data will add an entry for the www-data group to the groups file. On Thu, May 22, 2014 at 2:11 PM, Sears, Mark mark.se...@gdit.com wrote: *I'm running into the following error when upgrading.* * All dependencies have been found, but when I run make upgrade it errors out

[rt-users] adding custom field type, how to force single value

2014-06-16 Thread Len Jaffe
I'm adding a custom field type tp my RT instance to that I can create custom Show and Edit templates due to the data being stored in JSON. What I';ve found so far is that RT thinks my Text-based CF is multivalued, and when the edit side submits any values (not even changing any of the json), RT

Re: [rt-users] adding custom field type, how to force single value

2014-06-17 Thread Len Jaffe
On Tue, Jun 17, 2014 at 3:11 PM, Kevin Falcone falc...@bestpractical.com wrote: On Mon, Jun 16, 2014 at 04:54:03PM -0400, Len Jaffe wrote: I'm adding a custom field type tp my RT instance to that I can create custom Show and Edit templates due to the data being stored in JSON. What I

Re: [rt-users] adding custom field type, how to force single value

2014-06-17 Thread Len Jaffe
is ok with the JSON, but the JSON is not pretty printed. Thank you again. Len. On Tue, Jun 17, 2014 at 3:46 PM, Len Jaffe lenja...@jaffesystems.com wrote: On Tue, Jun 17, 2014 at 3:11 PM, Kevin Falcone falc...@bestpractical.com wrote: On Mon, Jun 16, 2014 at 04:54:03PM -0400, Len

Re: [rt-users] adding custom field type, how to force single value

2014-06-18 Thread Len Jaffe
On Wed, Jun 18, 2014 at 3:47 PM, Kevin Falcone falc...@bestpractical.com wrote: On Tue, Jun 17, 2014 at 04:08:54PM -0400, Len Jaffe wrote: In order make sure that we're solving the correct problem, since my previous post was terse, and I'm not sure whether I used all the right key words

Re: [rt-users] adding custom field type, how to force single value

2014-06-19 Thread Len Jaffe
On Thu, Jun 19, 2014 at 12:19 PM, Kevin Falcone falc...@bestpractical.com wrote: On Wed, Jun 18, 2014 at 03:57:23PM -0400, Len Jaffe wrote: How do I associate my new custom field Type JSON_Encoded_Resource_Field with the Fill in one text area type. Is that a key value pair