Re: [rt-users] make upgrade-database failed upgrading to 4.2.1

2013-11-22 Thread Kevin
Thanks for the information, I for some reason thought AT 3.0 was compatible with RT 4.2 I see now looking back that it is only for 4.0 at this time. I will give the link a try and see what happens, at this point Im not loosing anything since this is a test app. I suppose the Test app with Stay a

Re: [rt-users] make upgrade-database failed upgrading to 4.2.1

2013-11-22 Thread Alex Vandiver
On Fri, 2013-11-22 at 13:06 -0800, Kevin wrote: > make upgrade-database failed, while trying to upgrade from 4.0.15 to 4.2.1 > I ran the configure, make testdeps and make fixdeps with out any issues. now > trying to run the DB upgrade > script asked for root pw and db version from popped in 4.0.15

[rt-users] make upgrade-database failed upgrading to 4.2.1

2013-11-22 Thread Kevin
make upgrade-database failed, while trying to upgrade from 4.0.15 to 4.2.1 I ran the configure, make testdeps and make fixdeps with out any issues. now trying to run the DB upgrade script asked for root pw and db version from popped in 4.0.15 and it failed almost immediately with a bunch of Asset

[rt-users] Determine who resolved how many tickets

2013-11-22 Thread Guy Baxter
Hi, I'm looking to baseline the performance of my team against the number of tickets they have resolved in RT over a given time. To do this I export the month's tickets from RT into Excel (queue, status=resolved and last updated by) I then use Excel to do a countif to produce my figures. The pro

Re: [rt-users] Validation of Custom Fields with Custom Code

2013-11-22 Thread Jeff Blaine
> I would like to validate a custom fields with my own custom code (RT 4.0.7). > > I saw the code in html/Elements/ValidateCustomFields, but there is no > callback there to implement additional code. > > I'm able to write an error message besides my Custom Field (ID 2) in a > Callback "Modify.ht

[rt-users] Validation of Custom Fields with Custom Code

2013-11-22 Thread Stefan Rein
Hello, I would like to validate a custom fields with my own custom code (RT 4.0.7). I saw the code in html/Elements/ValidateCustomFields, but there is no callback there to implement additional code. I'm able to write an error message besides my Custom Field (ID 2) in a Callback "Modify.html/Defa

Re: [rt-users] Update to RT 4.2.1 -> JSON error after login

2013-11-22 Thread Dr. Dirk Pape
Hi Alex, it is fine: > $ perl -MJSON -wle 'print JSON::to_json({foo=>JSON::true})' > {"foo":true} This is very strange! I updated my productive RT to 4.2.1 now and it does not show the issue even with the JavascriptConfig unpatched. It uses the same perl and PERLLIB. So it must have to do some

Re: [rt-users] Update to RT 4.2.1 -> JSON error after login

2013-11-22 Thread Alex Vandiver
On Fri, 2013-11-22 at 17:22 +0100, Dr. Dirk Pape wrote: > Hi Alex, > > $ perl -MJSON -MModule::Versions::Report -e1 > [snip] I can't replicate your failure with the same versions. Does the following error for you? perl -MJSON -wle 'print JSON::to_json({foo=>JSON::true})' - Alex

Re: [rt-users] Upgrade steps for Ubuntu 13.10 RT4.2.0 to RT4.2.1

2013-11-22 Thread Adam Hutchins
Go here: https://www.bestpractical.com/docs/rt/4.2/ Start with README. It's very simple. Adam Hutchins, Systems Administrator Town of Kernersville, NC, USA o-336.992.5456 m-336.529.7164 -Original Message- From: mmahoney [mailto:mmaho...@nhsocal.com] Sent: Friday, November 22, 2013 1:32 P

[rt-users] Upgrade steps for Ubuntu 13.10 RT4.2.0 to RT4.2.1

2013-11-22 Thread mmahoney
My Linux/RT Kung-Fu is weak and I realize that the new version of RT has only been out for a few days, if someone has the upgrade steps for upgrading to 4.2.1, I would appreciate it immensely. Happy Thanksgiving and stuff! -- View this message in context: http://requesttracker.8502.n7.nabble.co

Re: [rt-users] RT loses MySQL connection

2013-11-22 Thread Jay Christopherson
Ken, thanks for the suggestion/reminder - I cribbed a my.cnf file from another database I setup. I had forgotten that I set a short wait_timeout (300), for just the reason you suggested. I reset it to be a little more sane about an hour ago and so far, things look ok. On Fri, Nov 22, 2013 at 5:

Re: [rt-users] Update to RT 4.2.1 -> JSON error after login

2013-11-22 Thread Dr . Dirk Pape
Hi Alex, $ perl -MJSON -MModule::Versions::Report -e1 Perl v5.10.1 under linux Modules in memory: attributes v0.09; base v2.18; Carp v1.32; common::sense v3.72; constant v1.27; Exporter v5.68; Exporter::Heavy v5.68; JSON v2.90; JSON::Backend::XS::Supportable; JSON::PP::Boolean; JSON:

Re: [rt-users] Update to RT 4.2.1 -> JSON error after login

2013-11-22 Thread Alex Vandiver
On Fri, 2013-11-22 at 09:28 +0100, Dr. Dirk Pape wrote: > In the Log: > > [13817] [Fri Nov 22 08:17:15 2013] [error]: encountered object '1', > > but neither allow_blessed, convert_blessed nor allow_tags settings > > are enabled (or TO_JSON/FREEZE method missing) at > > /usr/local/share/perl/5.1

[rt-users] RT 4.0.4 and Settings menu for priviledged users

2013-11-22 Thread Andre Truter
Hi, I have just installed RT 4.0.4 on Ubuntu 12.04 LTS. Then I added 2 users with the priviledge option selected. I then went to Tools -> Configuration -> Global -> User Rights and in the “Rights for Staff” tab I ticked the ModifySelf option. From searching the mailing lists and documentation

Re: [rt-users] RT loses MySQL connection

2013-11-22 Thread k...@rice.edu
On Thu, Nov 21, 2013 at 06:05:23PM -0800, Jay Christopherson wrote: > No, no entries beyond the startup messages. I thought maybe there would be > some connection errors (a flush-hosts situation or something), but nothing. > > > On Thu, Nov 21, 2013 at 6:02 PM, Alex Vandiver > wrote: > > > On

Re: [rt-users] Email attachments missing

2013-11-22 Thread Guy Baxter
Ok, I use /etc/aliases to get the mail to RT queues. network.servic...@mydomain.co.uk forwards to network.servic...@rt.mydomain.co.uk into the network services queue Maillog: Nov 22 11:04:06 rt sendmail[10957]: rAMB45Ea010957: from=, size=35513, class=0, nrcpts=1, msgid=<38236A0BDDD3C54EA5A28F68

Re: [rt-users] Update to RT 4.2.1 -> JSON error after login

2013-11-22 Thread Dr . Dirk Pape
Hello, with some testing I found a workaround for which I don't know, if it is a bug fix. I found, if I patch html/Elements/JavascriptConfig the following way, my server lets me in without error. strange enough my productive server has the same file which is working fine there. I would appreci

Re: [rt-users] Set Content via Scrip

2013-11-22 Thread oriolsoriano
Hi, Just ran into the same problem that you did and, after finding out your question was still unanswered, got it working. Although its been a while, if this might still be useful for you, this is the syntax you were looking for: $self->TransactionObj->ContentObj->__Set( Field => 'Content', Value

Re: [rt-users] Edit transaction content at scrip action

2013-11-22 Thread Oriol Soriano
After a while playing with it and going though lines of code, I found the solution. If it may help anyone, this is the corrent syntax: $self->TransactionObj->ContentObj->__Set( Field => 'Content', Value => 'blabla'); Oriol Soriano Vila Software Engineer [Descripción: Descripción: Description:

[rt-users] Edit transaction content at scrip action

2013-11-22 Thread Oriol Soriano
Hi, Im currently trying to get a scrip running that, on certaing cases (depending on a custom condition) would prepend a message to the transaction content. Is this possible? I mean something like (at Scrip user defined action): my $transaction = $self->TransactionObj; my $ticket =

Re: [rt-users] Steal ticket using REST interface

2013-11-22 Thread andrea
Hi, i'm a user of RT, ad i found an old post that you written about a problem in RT: the steal of a ticket via REAT interface. Now, i have the same problem: i must connect to RT installation using a REST (in java) to reassign ticket, an this operation sometime implies first the steal of the

[rt-users] Update to RT 4.2.1 -> JSON error after login

2013-11-22 Thread Dr. Dirk Pape
Hello, I updated my RT test server to 4.2.1 (from 4.2.0) and after - stopping apache - clearing caches - starting apache I see the login page, but when I login RT signals an internal error. In the Log: > [13817] [Fri Nov 22 08:17:15 2013] [error]: encountered object '1', but > neither allow_