[rt-users] copy a ticket with a script - problem with

2010-08-18 Thread Marco.deSousa
Hello, I have a problem, have a queue with tickets, when they are resolved status i want to clone the ticket and dispatch the clone to another queue: RT-Test2_IdeeManag The clone don't have personnal infos like Requestor or Owner, the original ticket will be archived. I wrote a script, and i

[rt-users] Setting up the FCKeditor

2010-08-18 Thread benoit plessis
Two questions from my users: 1/ Is it possible to disable the context menu in the FCKEditor ? normally i just need to set fckconfig.browsercontextmenu to true but changing the fckconfig.js file doesn't seem to have any result 2/ Is it possible/will it be possible to inline images in

[rt-users] Slow MySQL after upgrade from 3.8.6 to 3.8.8

2010-08-18 Thread Alex Young
Hi, Since upgrading from 3.8.6 to 3.8.8 our RT system has been very slow to return any pages containing ticket data such as the home page, searches and tickets themselves. I enabled the MySQL slow running query log and this was at the top of the list: mysqldumpslow -t 10

Re: [rt-users] Slow MySQL after upgrade from 3.8.6 to 3.8.8

2010-08-18 Thread Foggi, Nicola
I had the same problem and ended up dropping the Groups2 index and performance went back to normal Nicola -Original Message- From: rt-users-boun...@lists.bestpractical.com on behalf of Alex Young Sent: Wed 8/18/2010 6:07 AM To: rt-users@lists.bestpractical.com Subject: [rt-users] Slow

[rt-users] Scrip failure following 3.8.1 - 3.8.8 upgrade

2010-08-18 Thread John Beranek
We've just upgraded our RT installation from 3.8.1 to 3.8.8 and it mostly went very seamlessly. However, since making the new version live I've noticed that one of our global Scrips has stopped working. The scrip reads: Description: Open on take Condition: User defined Action: Open

Re: [rt-users] Scrip failure following 3.8.1 - 3.8.8 upgrade

2010-08-18 Thread Mark Jenks
Do you have a Return 1; in the Condition and/or Prep code? -Original Message- From: rt-users-boun...@lists.bestpractical.com [mailto:rt-users-boun...@lists.bestpractical.com] On Behalf Of John Beranek Sent: Wednesday, August 18, 2010 9:23 AM To: rt-users@lists.bestpractical.com Subject:

Re: [rt-users] Scrip failure following 3.8.1 - 3.8.8 upgrade

2010-08-18 Thread John Beranek
On 18/08/10 15:29, Mark Jenks wrote: Do you have a Return 1; in the Condition and/or Prep code? I pasted my Custom condition code in the initial list post - it contains a 'return 1;' in one side of an 'if'... Cheers, John. -- John Beranek, Senior Software Engineer, Engineering Tools Group

Re: [rt-users] Setting up the FCKeditor

2010-08-18 Thread Kevin Falcone
On Wed, Aug 18, 2010 at 12:54:38PM +0200, benoit plessis wrote: Two questions from my users: 1/ Is it possible to disable the context menu in the FCKEditor ? normally i just need to set fckconfig.browsercontextmenu to true but changing the fckconfig.js file doesn't seem to have any

Re: [rt-users] Scrip failure following 3.8.1 - 3.8.8 upgrade

2010-08-18 Thread Kevin Falcone
On Wed, Aug 18, 2010 at 03:23:28PM +0100, John Beranek wrote: We've just upgraded our RT installation from 3.8.1 to 3.8.8 and it mostly went very seamlessly. However, since making the new version live I've noticed that one of our global Scrips has stopped working. What happens when you use

[rt-users] Scrips and Recipients

2010-08-18 Thread ronald higgins
Hi Fellow RT Users, Hopefully this is a quick and easy question. On our RT system every queue has a Scrips and Recipients section under the Reply/Resolve tab. I've come across 1 queue where the tickets do not have this Scrips and Recipients under Reply/Resolve, is there a queue specific place

[rt-users] sorting by requestor or custom field

2010-08-18 Thread Eliezer Weiss
Using postgres 8.3.1 and RT 3.8.2 Hi I have a very odd problem - I am working on a develpment branch of our software in which the sort by requestors or by custom fields in the search results table stopped working. I researched it for a while and i compared it with an older version of our

Re: [rt-users] Scrips and Recipients

2010-08-18 Thread Kevin Falcone
On Wed, Aug 18, 2010 at 04:47:04PM +0200, ronald higgins wrote: On our RT system every queue has a Scrips and Recipients section under the Reply/Resolve tab. I've come across 1 queue where the tickets do not have this Scrips and Recipients under Reply/Resolve, is there a queue specific place

Re: [rt-users] Scrip failure following 3.8.1 - 3.8.8 upgrade

2010-08-18 Thread John Beranek
On 18/08/10 15:37, Kevin Falcone wrote: On Wed, Aug 18, 2010 at 03:23:28PM +0100, John Beranek wrote: We've just upgraded our RT installation from 3.8.1 to 3.8.8 and it mostly went very seamlessly. However, since making the new version live I've noticed that one of our global Scrips has

Re: [rt-users] Scrips and Recipients

2010-08-18 Thread ronald higgins
My good sir. You're a legend. That indeed was the problem. And i twice glazed over the group rights and didnt pick it up. Thanks again! Ronald On Wed, Aug 18, 2010 at 4:56 PM, Kevin Falcone falc...@bestpractical.com wrote: On Wed, Aug 18, 2010 at 04:47:04PM +0200, ronald higgins wrote: On

Re: [rt-users] Slow MySQL after upgrade from 3.8.6 to 3.8.8

2010-08-18 Thread Alex Young
Thanks Nicola, I have just tried this and it's not made an difference to the performance. I found your previous emails on this subject so tried the same EXPLAIN and it's pretty quick. mysql explain SELECT DISTINCT main.* FROM Users main JOIN Principals Principals_1 ON - (

Re: [rt-users] Scrip failure following 3.8.1 - 3.8.8 upgrade

2010-08-18 Thread John Beranek
On 18/08/10 15:58, John Beranek wrote: On 18/08/10 15:37, Kevin Falcone wrote: On Wed, Aug 18, 2010 at 03:23:28PM +0100, John Beranek wrote: We've just upgraded our RT installation from 3.8.1 to 3.8.8 and it mostly went very seamlessly. However, since making the new version live I've noticed

Re: [rt-users] Scrip failure following 3.8.1 - 3.8.8 upgrade

2010-08-18 Thread Kenneth Crocker
John, Just for kicks, try it this way: Custom Condition: return ($self-TicketObj-Status eq 'new' $self-TransactionObj-Type eq 'Take'); I'd be interested if that worked. Kenn LBNL On Wed, Aug 18, 2010 at 8:50 AM, John Beranek john.bera...@pace.com wrote: On 18/08/10 15:58,

Re: [rt-users] Scrip failure following 3.8.1 - 3.8.8 upgrade

2010-08-18 Thread Kevin Falcone
On Wed, Aug 18, 2010 at 05:10:42PM +0100, John Beranek wrote: On 18/08/10 16:50, John Beranek wrote: On 18/08/10 15:58, John Beranek wrote: On 18/08/10 15:37, Kevin Falcone wrote: On Wed, Aug 18, 2010 at 03:23:28PM +0100, John Beranek wrote: We've just upgraded our RT installation from

Re: [rt-users] Scrip failure following 3.8.1 - 3.8.8 upgrade

2010-08-18 Thread Kenneth Crocker
John, We do the same thing, but our code is this: Custom Condition Code: # Check for Ticket Status changed to open my $trans = $self-TransactionObj; return ($trans-Type eq Status $trans-NewValue eq open); Custom Prep Code: # set owner if Nobody my $ticket = $self-TicketObj; my

Re: [rt-users] Scrip failure following 3.8.1 - 3.8.8 upgrade

2010-08-18 Thread John Beranek
On 18/08/10 17:21, Kevin Falcone wrote: On Wed, Aug 18, 2010 at 05:10:42PM +0100, John Beranek wrote: [snip] Looking into this further, in lib/RT/Acton/AutoOpen.pm, in the 'prepare' function, $self-TransactionObj-IsInbound is coming out as a positive integer, so the 'prepare' function is

Re: [rt-users] Scrip failure following 3.8.1 - 3.8.8 upgrade

2010-08-18 Thread Kevin Falcone
On Wed, Aug 18, 2010 at 05:38:53PM +0100, John Beranek wrote: On 18/08/10 17:21, Kevin Falcone wrote: On Wed, Aug 18, 2010 at 05:10:42PM +0100, John Beranek wrote: This is some change in the behaviour of RT between 3.8.1 and 3.8.8 that has caught us unawares. Reading into this a bit more,

[rt-users] Scrip action oddity (Was: Scrip failure following 3.8.1 - 3.8.8 upgrade)

2010-08-18 Thread John Beranek
On 18/08/10 17:38, John Beranek wrote: On 18/08/10 17:21, Kevin Falcone wrote: [snip[ If you goal is to always change the status to open with no restrictions, then yes, one line of custom action is the correct solution. Yes, I don't really think we want the additional logic in AutoOpen at

Re: [rt-users] Scrip failure following 3.8.1 - 3.8.8 upgrade

2010-08-18 Thread John Beranek
On 18/08/10 17:42, Kevin Falcone wrote: On Wed, Aug 18, 2010 at 05:38:53PM +0100, John Beranek wrote: On 18/08/10 17:21, Kevin Falcone wrote: On Wed, Aug 18, 2010 at 05:10:42PM +0100, John Beranek wrote: This is some change in the behaviour of RT between 3.8.1 and 3.8.8 that has caught us

Re: [rt-users] Slow MySQL after upgrade from 3.8.6 to 3.8.8

2010-08-18 Thread Alex Young
Still can't find what the problem is. Disabled all the plugins possible to see if one of them was having an effect on 3.8.8 and causing the problem. I cant disable RTIR without it throwing an error, anyone know how RTIR can be disabled? Thanks. -Original Message- From: