[rt-users] Scrip to - On owner change add owner name to subject

2011-07-25 Thread Joe Harris
We are rolling out a new RT system for all users in our company.
Previously we have used RT in our engineering group through several
versions over the last 8 years.  The new RT system will be replacing a
homegrown task management system they have been using for some time.
One of the requirements from above is that the owner name be in the
subject to help keep track at a glance of who owns what.  Anyone have
any ideas?


2011 Training: http://bestpractical.com/services/training.html


Re: [rt-users] Scrip to - On owner change add owner name to subject

2011-07-25 Thread Thomas Sibley
On 07/25/2011 09:15 AM, Joe Harris wrote:
 We are rolling out a new RT system for all users in our company.
 Previously we have used RT in our engineering group through several
 versions over the last 8 years.  The new RT system will be replacing a
 homegrown task management system they have been using for some time.
 One of the requirements from above is that the owner name be in the
 subject to help keep track at a glance of who owns what.  Anyone have
 any ideas?

This is just a few simple template modifications.  You want to put:

{$Ticket-OwnerObj-Name}

In the Subject: line of the templates where you see fit.

If you look at the stock Transaction template, you'll see that very
snippet of code and a few others.

Thomas


2011 Training: http://bestpractical.com/services/training.html


Re: [rt-users] Tuning RT4

2011-07-25 Thread Kevin Falcone
On Sat, Jul 23, 2011 at 12:05:37AM -0400, Dave Pascoe wrote:
I would love to learn what you find. I am also experiencing slowness with 
 4.0.1 compared to
3.8.x. Very noticeable - page turnaround time at least 2-3 seconds longer, 
 and sometimes
longer than that. Relevant part of my Apache config:

What exactly is slow?  Without knowing the part of the stack which is
being slow, it's hard to fix anything.  If you turn on
MasonX::Profiler it may be possible to get a much better sense of the
problem.

You can also see a detailed explanation of the javascript
minification is slow problem that occurs for some users on this
ticket:

http://issues.bestpractical.com/Ticket/Display.html?id=17673

You can log in as guest/guest

# Added for attempt at tuning
PerlSetVar MasonStaticSource true
PerlSetVar MasonBufferPreallocateSize 4096000
PerlSetVar MasonDataCacheDefaults cache_class= 
 MemoryCache, cache_depth =
4
PerlSetVar MasonPreloads '/Elements/*'
PerlSetVar MasonPreloads '/Ticket/*'
PerlSetVar MasonPreloads '/Articles/*'
PerlSetVar MasonPreloads '/Dashboards/*'
PerlSetVar MasonPreloads '/NoAuth/*'
PerlSetVar MasonPreloads '/Tools/*'
PerlSetVar MasonPreloads '/User/*'
PerlSetVar MasonPreloads '/Widgets/*'
PerlSetVar MasonPreloads '/Helpers/*'

Do you find that these help?

-kevin


pgpCZdBsP9CCC.pgp
Description: PGP signature


2011 Training: http://bestpractical.com/services/training.html

[rt-users] Rights Matrix

2011-07-25 Thread Michael Polenske
Good afternoon,

 

is it possible to see all rights on a queue directly (in table format or
something else) ? I am currently creating  30 queues and I assume that
on some queues I will have forgotten or added rights J

 

Best regards,

Michael



2011 Training: http://bestpractical.com/services/training.html

Re: [rt-users] RT3-RT4 GUI menu missing after upgrade?

2011-07-25 Thread Kevin Falcone
On Fri, Jul 22, 2011 at 03:59:10PM +0200, omaisz-takács dániel wrote:
 Tested on Chromium 12 to, same resoult.
 
 I'm useing nightly Chromium builds not Google Chrome.. so probably thats the
 problem?
 
 Any ideas what can i do to make it work?

If you can track down where Chromium is throwing an error and send a
patch, we can get it applied.

-kevin


pgprewpzkK6wn.pgp
Description: PGP signature


2011 Training: http://bestpractical.com/services/training.html

[rt-users] LDAP attr_match vs multiple values

2011-07-25 Thread Giuseppe Sollazzo

Hi,
just a quick doubt/verification.

We have RT::Authen::ExternalAuth and RT::Extension::LDAPImport. Our 
matching array is as follows:


 'attr_map'  =  {   'Name' = 'uid',
   
 'EmailAddress' = 'mail',
   
 'Organization' = 'o',
   
 'RealName' = 'cn',
   
 'ExternalAuthId' = 'uid',
   
 'Gecos' = 'gecos',
   
 'WorkPhone' = 'telephoneNumber',
   
 'Address1' = 'ou',
   
 'City' = 'l',
   
 'State' = 'st',
   
 'Zip' = 'postalCode',
   
 'Country' = 'co'

}


We happen to have two entries called 'ou' in any entry so this doesn't 
seem to work.

Is that possible by any kind of ou[0] array syntax?

Cheers,
Giuseppe

--


Giuseppe Sollazzo
Senior Systems Analyst
Computing Services
Information Services
St. George's, University Of London
Cranmer Terrace
London SW17 0RE

Email: gsoll...@sgul.ac.uk
Direct Dial: +44 20 8725 5160
Fax: +44 20 8725 3583




2011 Training: http://bestpractical.com/services/training.html


Re: [rt-users] Rights Matrix

2011-07-25 Thread Todd Chapman
http://search.cpan.org/~htchapman/RTx-RightsMatrix-0.03.00/lib/RTx/RightsMatrix.pm

unless you are using RT4.

On Mon, Jul 25, 2011 at 9:32 AM, Michael Polenske
michael.polen...@skm-skyline.de wrote:
 Good afternoon,



 is it possible to see all rights on a queue directly (in table format or
 something else) ? I am currently creating  30 queues and I assume that on
 some queues I will have forgotten or added rights J



 Best regards,

 Michael

 
 2011 Training: http://bestpractical.com/services/training.html



2011 Training: http://bestpractical.com/services/training.html


Re: [rt-users] LDAP attr_match vs multiple values

2011-07-25 Thread Kevin Falcone
On Mon, Jul 25, 2011 at 02:41:26PM +0100, Giuseppe Sollazzo wrote:
 Hi,
 just a quick doubt/verification.
 
 We have RT::Authen::ExternalAuth and RT::Extension::LDAPImport. Our
 matching array is as follows:
 
  'attr_map'  =  {   'Name' = 'uid',
   
   'EmailAddress' = 'mail',
   
   'Organization' = 'o',
   
   'RealName' = 'cn',
   
   'ExternalAuthId' = 'uid',
   
   'Gecos' = 'gecos',
   
   'WorkPhone' = 'telephoneNumber',
   
   'Address1' = 'ou',
   
   'City' = 'l',
   
   'State' = 'st',
   
   'Zip' = 'postalCode',
   
   'Country' = 'co'
   
   }
 
 
 We happen to have two entries called 'ou' in any entry so this
 doesn't seem to work.
 Is that possible by any kind of ou[0] array syntax?

If Net::LDAP's get_value understands it, it should work.
If Net::LDAP's get_value returns a list for ou, it'll try to get the first 
element.

-kevin


pgpjh12c4SvoX.pgp
Description: PGP signature


2011 Training: http://bestpractical.com/services/training.html

Re: [rt-users] RT 4.0.1 Custom Field - Wikitext box not saving all data.

2011-07-25 Thread Kevin Falcone
On Fri, Jul 22, 2011 at 02:22:44PM -0500, Scott wrote:
 Well it does save all the data if entered from a unix Firefox, but
 on a windows box (IE or Firefox)
 only the last line of the text is saved.
 
 i.e.
   One
 
   Two
 
   Three
 
 ...will show up in the ticket display and be saved to the table if
 it is entered from firefox on

What do you mean by The table ?  The database table?

a linux box.  If this is saved from a browser on windows, only
 the Three is saved.  Any ideas??
 
 This is rt 4.0.1 with an Oracle db.

Is this working with normal text boxes?

It'd also be nice to know exactly what is in the database.

-kevin


pgpEvCDHy4Esz.pgp
Description: PGP signature


2011 Training: http://bestpractical.com/services/training.html

Re: [rt-users] Rights Matrix

2011-07-25 Thread Michael Polenske
Hi Todd,

this I already tried, doesn't work - okay, forgot to mention that I use 4.01 :-)

Cheers - Michael



-Original Message-
From: Todd Chapman [mailto:t...@chaka.net] 
Sent: Montag, 25. Juli 2011 16:15
To: Michael Polenske
Cc: rt-users@lists.bestpractical.com
Subject: Re: [rt-users] Rights Matrix

http://search.cpan.org/~htchapman/RTx-RightsMatrix-0.03.00/lib/RTx/RightsMatrix.pm

unless you are using RT4.

On Mon, Jul 25, 2011 at 9:32 AM, Michael Polenske 
michael.polen...@skm-skyline.de wrote:
 Good afternoon,



 is it possible to see all rights on a queue directly (in table format 
 or something else) ? I am currently creating  30 queues and I assume 
 that on some queues I will have forgotten or added rights J



 Best regards,

 Michael

 
 2011 Training: http://bestpractical.com/services/training.html



2011 Training: http://bestpractical.com/services/training.html


Re: [rt-users] Rights Matrix

2011-07-25 Thread Todd Chapman
In RT4 the menu system changed. I haven't updated it yet, but you
should still be able to use it by accessing it's URL directly.

/Admin/Tools/RightsMatrix/

On Mon, Jul 25, 2011 at 10:27 AM, Michael Polenske
michael.polen...@skm-skyline.de wrote:
 Hi Todd,

 this I already tried, doesn't work - okay, forgot to mention that I use 4.01 
 :-)

 Cheers - Michael



 -Original Message-
 From: Todd Chapman [mailto:t...@chaka.net]
 Sent: Montag, 25. Juli 2011 16:15
 To: Michael Polenske
 Cc: rt-users@lists.bestpractical.com
 Subject: Re: [rt-users] Rights Matrix

 http://search.cpan.org/~htchapman/RTx-RightsMatrix-0.03.00/lib/RTx/RightsMatrix.pm

 unless you are using RT4.

 On Mon, Jul 25, 2011 at 9:32 AM, Michael Polenske 
 michael.polen...@skm-skyline.de wrote:
 Good afternoon,



 is it possible to see all rights on a queue directly (in table format
 or something else) ? I am currently creating  30 queues and I assume
 that on some queues I will have forgotten or added rights J



 Best regards,

 Michael

 
 2011 Training: http://bestpractical.com/services/training.html




2011 Training: http://bestpractical.com/services/training.html


Re: [rt-users] Tuning RT4

2011-07-25 Thread john s.


hello dave 

thats the point why i finally  decided to use  rt 3.8  

i have an config with fcgid on my rt 4.0 system

. could someone from the devs say any words to this speeding issue  
which we could verify each other ?

and if this the normal state... why i should sacrifice so much more speed 
if i use the rt 4.0 version

where is the benefit .. ? ... for a little prettier user interface? ... for
my point of view  not really 

. but maybe we have overlooked something in the configs  i don't
know 

best regards john 





-- 
View this message in context: 
http://old.nabble.com/Tuning-RT4-tp32056508p32132285.html
Sent from the Request Tracker - User mailing list archive at Nabble.com.



2011 Training: http://bestpractical.com/services/training.html


Re: [rt-users] Rights Matrix

2011-07-25 Thread Michael Polenske
Thanks for the hint - but unfortunately it doesn’t work:

could not find component for path '/Admin/Elements/ToolTabs' 

Cheers - Michael


-Original Message-
From: Todd Chapman [mailto:t...@chaka.net] 
Sent: Montag, 25. Juli 2011 16:33
To: Michael Polenske
Cc: rt-users@lists.bestpractical.com
Subject: Re: [rt-users] Rights Matrix

In RT4 the menu system changed. I haven't updated it yet, but you should still 
be able to use it by accessing it's URL directly.

/Admin/Tools/RightsMatrix/

On Mon, Jul 25, 2011 at 10:27 AM, Michael Polenske 
michael.polen...@skm-skyline.de wrote:
 Hi Todd,

 this I already tried, doesn't work - okay, forgot to mention that I 
 use 4.01 :-)

 Cheers - Michael



 -Original Message-
 From: Todd Chapman [mailto:t...@chaka.net]
 Sent: Montag, 25. Juli 2011 16:15
 To: Michael Polenske
 Cc: rt-users@lists.bestpractical.com
 Subject: Re: [rt-users] Rights Matrix

 http://search.cpan.org/~htchapman/RTx-RightsMatrix-0.03.00/lib/RTx/Rig
 htsMatrix.pm

 unless you are using RT4.

 On Mon, Jul 25, 2011 at 9:32 AM, Michael Polenske 
 michael.polen...@skm-skyline.de wrote:
 Good afternoon,



 is it possible to see all rights on a queue directly (in table format 
 or something else) ? I am currently creating  30 queues and I assume 
 that on some queues I will have forgotten or added rights J



 Best regards,

 Michael

 
 2011 Training: http://bestpractical.com/services/training.html




2011 Training: http://bestpractical.com/services/training.html

Re: [rt-users] Rights Matrix

2011-07-25 Thread Todd Chapman
Ugh, it's try to be faithful to the new menu system. If you are up to
it I can talk you through removing those lines from the plugin so you
can configure your 30 queues.

On Mon, Jul 25, 2011 at 10:37 AM, Michael Polenske
michael.polen...@skm-skyline.de wrote:
 Thanks for the hint - but unfortunately it doesn’t work:

 could not find component for path '/Admin/Elements/ToolTabs' 

 Cheers - Michael


 -Original Message-
 From: Todd Chapman [mailto:t...@chaka.net]
 Sent: Montag, 25. Juli 2011 16:33
 To: Michael Polenske
 Cc: rt-users@lists.bestpractical.com
 Subject: Re: [rt-users] Rights Matrix

 In RT4 the menu system changed. I haven't updated it yet, but you should 
 still be able to use it by accessing it's URL directly.

 /Admin/Tools/RightsMatrix/

 On Mon, Jul 25, 2011 at 10:27 AM, Michael Polenske 
 michael.polen...@skm-skyline.de wrote:
 Hi Todd,

 this I already tried, doesn't work - okay, forgot to mention that I
 use 4.01 :-)

 Cheers - Michael



 -Original Message-
 From: Todd Chapman [mailto:t...@chaka.net]
 Sent: Montag, 25. Juli 2011 16:15
 To: Michael Polenske
 Cc: rt-users@lists.bestpractical.com
 Subject: Re: [rt-users] Rights Matrix

 http://search.cpan.org/~htchapman/RTx-RightsMatrix-0.03.00/lib/RTx/Rig
 htsMatrix.pm

 unless you are using RT4.

 On Mon, Jul 25, 2011 at 9:32 AM, Michael Polenske 
 michael.polen...@skm-skyline.de wrote:
 Good afternoon,



 is it possible to see all rights on a queue directly (in table format
 or something else) ? I am currently creating  30 queues and I assume
 that on some queues I will have forgotten or added rights J



 Best regards,

 Michael

 
 2011 Training: http://bestpractical.com/services/training.html





2011 Training: http://bestpractical.com/services/training.html

Re: [rt-users] Tuning RT4

2011-07-25 Thread Adam Thompson
I can't speak for the dev team, but I have noticed a distinct trend:

Apache+mod_perl is very slow with RT4.0.
Lighttpd+FCGI is fast with RT4.0.
Standalone PSGI is really fast with RT4.0 (but not very scalable unless 
you know what you're doing).

I haven't tested Apache with anything other than mod_perl, so I don't know 
if it's Apache-specific or mod_perl-specific.

Most of the speed problems I've seen posted here are with RHEL/CentOS/SL 
stock httpd  mod_perl installs, so it's also possible the problem is 
OS-specific.

(And yes, I have a ticket open to try to narrow this down; unfortunately I 
haven't had time to keep following up on it.)

-Adam Thompson
 athom...@athompso.net





2011 Training: http://bestpractical.com/services/training.html


Re: [rt-users] Tuning RT4

2011-07-25 Thread Alex Rhys-Hurn
Hello... 

I am a brand new RT user. This is my first post. We are network people and dont 
know much about apache and web server tuning and so forth. (learning fast). 

But, the first trial install of RT that I made using Rt 3.8 using the Ubuntu 
packages on an Ubuntu 10.04 virtual machine with 1gb ram was super fast. 

Having reviewed RT on that platform, I decided to commit to RT, and made an 
install of RT 4.0.1 on a fresh but identical Ubuntu 10.04 virtual machine, 
using Apache2 and mod_perl. 

The RT 4.0.1 is very sluggish compared to the 3.8 version. My RT installs have 
only the general queue and 5 or 10 tickets as I am just in the trial stage. 

The web UI is Very slow in 4.0.1. 

The php.info and other apache status pages, and webmin that I have running on 
this machine are superfast, so I point to RT as being the culprit. 

Can anyone help me troubleshoot this? 

Thanks, 

Alex 

Techy details about my install: 

OS: Ubuntu 10.04 vsphere 4.1 esxi virtual machine, 1gb ram, 1cpu, 20gb disk 
thin provisioned. 
Apache: Server Version: Apache/2.2.14 (Ubuntu) PHP/5.3.2-1ubuntu4.9 with 
Suhosin-Patch mod_python/3.3.1 Python/2.6.5 mod_ssl/2.2.14 OpenSSL/0.9.8k 
mod_perl/2.0.4 Perl/v5.10.1 
PHP: PHP Version 5.3.2-1ubuntu4.9 
MySQL: mysql Ver 14.14 Distrib 5.1.41, for debian-linux-gnu (i486) using 
readline 6.1 - Innodb enabled and set to default 
Perl: v5.10.1 (*) 
RT: 4.0.1 

Contents of RT_SiteConfig 

# You must restart your webserver after making changes to this file. 

Set($rtname, 'ITworX Limited'); 
Set($Organization, 'rt.itworx.co.ke'); 
Set($Timezone, 'AFRICA/Nairobi'); 
Set($WebDomain, 'rt.itworx.co.ke'); 
Set($WebBaseURL, 'https://rt.itworx.co.ke'); 
Set($WebPath, ''); 
Set($WebPort, 443); 
Set($OwnerEmail, a...@itworx.co.ke); 
Set($CorrespondAddress, 'supp...@itworx.co.ke'); 
Set($CommentAddress, 'supp...@itworx.co.ke'); 
Set($SendmailArguments, -oi -t); 


# Logging 
Set($LogToSyslog, ''); 
Set($LogToFile, 'debug'); 
Set($LogDir, '/opt/rt4/var/log'); 
Set($LogToFileNamed, rt-debug.log); 

Contents of Apache virtual host entry 
VirtualHost *:443 
SSLEngine on 
SSLCertificateFile /etc/ssl/certs/cert.pem 
ServerAdmin ad...@itworx.co.ke 
DocumentRoot /opt/rt4/share/html 
AddDefaultCharset UTF-8 

Location / 
Order allow,deny 
Allow from all 

SetHandler modperl 
SetHandler modperl 
PerlResponseHandler Plack::Handler::Apache2 
PerlSetVar psgi_app /opt/rt4/sbin/rt-server 
/Location 
Perl 
use Plack::Handler::Apache2; 
Plack::Handler::Apache2-preload(/opt/rt4/sbin/rt-server); 
/Perl 
/VirtualHost 
- Original Message -
From: Adam Thompson athom...@athompso.net 
To: john s. firesk...@gmx.de, rt-users@lists.bestpractical.com 
Sent: Monday, 25 July, 2011 7:34:27 PM 
Subject: Re: [rt-users] Tuning RT4 

I can't speak for the dev team, but I have noticed a distinct trend: 

Apache+mod_perl is very slow with RT4.0. 
Lighttpd+FCGI is fast with RT4.0. 
Standalone PSGI is really fast with RT4.0 (but not very scalable unless 
you know what you're doing). 

I haven't tested Apache with anything other than mod_perl, so I don't know 
if it's Apache-specific or mod_perl-specific. 

Most of the speed problems I've seen posted here are with RHEL/CentOS/SL 
stock httpd  mod_perl installs, so it's also possible the problem is 
OS-specific. 

(And yes, I have a ticket open to try to narrow this down; unfortunately I 
haven't had time to keep following up on it.) 

-Adam Thompson 
athom...@athompso.net 




 
2011 Training: http://bestpractical.com/services/training.html 

This e-mail contains confidential information or information belonging to 
ITworX Limited and is intended solely for the addressees. The opinions therein, 
explicit or implied, are solely those of the author and do not necessarily 
represent those of ITworX Limited as a company. The unauthorized disclosure, 
use, dissemination or copying (either Whole or partial) of this e-mail, or any 
information it contains, is prohibited. E-mails are susceptible to alteration 
and their integrity cannot be guaranteed. ITworX Limited shall not be liable 
for this e-mail if modified or falsified. If you are not the intended recipient 
of this e-mail, please delete it immediately from your system and notify the 
sender of the wrong delivery and the e-mail deletion.

2011 Training: http://bestpractical.com/services/training.html

Re: [rt-users] Tuning RT4

2011-07-25 Thread Kevin Falcone
On Mon, Jul 25, 2011 at 11:34:27AM -0500, Adam Thompson wrote:
 I haven't tested Apache with anything other than mod_perl, so I don't know 
 if it's Apache-specific or mod_perl-specific.

It's unlikely to be Apache-specific, as we run multiple RT 4.0.1s
without this issue on Apache.

 (And yes, I have a ticket open to try to narrow this down; unfortunately I 
 haven't had time to keep following up on it.)

That is the ticket I linked to earlier which explains that a lot of
the slowness complaints are because each apache child needs to compile
JS/CSS on a first request.  If you only make 5 requests, that may not
be enough to run through all of the children's first requests.  My
coworker has provided some test harnesses for diagnosing the problems.

If other folks can help run the harness to identify potential
problems, it would be useful to us.

http://issues.bestpractical.com/Ticket/Display.html?id=17673

-kevin


pgpGwu2o1y0Gb.pgp
Description: PGP signature


2011 Training: http://bestpractical.com/services/training.html

Re: [rt-users] Tuning RT4

2011-07-25 Thread Kevin Falcone
On Mon, Jul 25, 2011 at 07:54:54PM +0300, Alex Rhys-Hurn wrote:
The php.info and other apache status pages, and webmin that I have running 
 on this machine are
superfast, so I point to RT as being the culprit.

php.info and the apache status pages are not actually performance
tests since they just dump information to the page without doing any
performance tweaking.

1G of ram for web + database is a tight fit.

Please see my earlier posts in the thread for a link to a ticket with
a way to get more information about your apache config.

Also, running with MasonX::Profiler (as documented in the config) will
provide information about what is really taking time.

-kevin


pgpIGQy5JazDE.pgp
Description: PGP signature


2011 Training: http://bestpractical.com/services/training.html

Re: [rt-users] Tuning RT4

2011-07-25 Thread Alex Rhys-Hurn
Dear Kevin, 

Thank you for the input. 

I have found my problem. Its a real rookie mistake, so I apologise for wasting 
your time. 

You mentioned that 1gb ram wasnt enough (I thought it would be for my 2 user 
test platform), so since its virtual, I went over to increase the ram. 

Guess what! It was set to 256meg Ouch! 

Sorry about that. 

Alex 

- Original Message -
From: Kevin Falcone falc...@bestpractical.com 
To: rt-users@lists.bestpractical.com 
Sent: Monday, 25 July, 2011 8:20:03 PM 
Subject: Re: [rt-users] Tuning RT4 

On Mon, Jul 25, 2011 at 07:54:54PM +0300, Alex Rhys-Hurn wrote: 
 The php.info and other apache status pages, and webmin that I have running on 
 this machine are 
 superfast, so I point to RT as being the culprit. 

php.info and the apache status pages are not actually performance 
tests since they just dump information to the page without doing any 
performance tweaking. 

1G of ram for web + database is a tight fit. 

Please see my earlier posts in the thread for a link to a ticket with 
a way to get more information about your apache config. 

Also, running with MasonX::Profiler (as documented in the config) will 
provide information about what is really taking time. 

-kevin 


 
2011 Training: http://bestpractical.com/services/training.html 
This e-mail contains confidential information or information belonging to 
ITworX Limited and is intended solely for the addressees. The opinions therein, 
explicit or implied, are solely those of the author and do not necessarily 
represent those of ITworX Limited as a company. The unauthorized disclosure, 
use, dissemination or copying (either Whole or partial) of this e-mail, or any 
information it contains, is prohibited. E-mails are susceptible to alteration 
and their integrity cannot be guaranteed. ITworX Limited shall not be liable 
for this e-mail if modified or falsified. If you are not the intended recipient 
of this e-mail, please delete it immediately from your system and notify the 
sender of the wrong delivery and the e-mail deletion.

2011 Training: http://bestpractical.com/services/training.html

Re: [rt-users] RT 4.0.1 Custom Field - Wikitext box not saving all data.

2011-07-25 Thread Scott T. Hildreth
On Mon, Jul 25, 2011 at 9:24 AM, Kevin Falcone falc...@bestpractical.comwrote:

 On Fri, Jul 22, 2011 at 02:22:44PM -0500, Scott wrote:
  Well it does save all the data if entered from a unix Firefox, but
  on a windows box (IE or Firefox)
  only the last line of the text is saved.
 
  i.e.
One
 
Two
 
Three
 
  ...will show up in the ticket display and be saved to the table if
  it is entered from firefox on

 What do you mean by The table ?  The database table?


   Yes.



 a linux box.  If this is saved from a browser on windows, only
  the Three is saved.  Any ideas??
 
  This is rt 4.0.1 with an Oracle db.

 Is this working with normal text boxes?


I changed it to text and will have the users test.
oddly enough the wikitext does work on an older windows server (2003 I
think) with ie7  firefox 3.6.18.


 It'd also be nice to know exactly what is in the database.


In the content field only the last typed line is saved when entered on a
windows7 box with ie or firefox.






 -kevin


 
 2011 Training: http://bestpractical.com/services/training.html



2011 Training: http://bestpractical.com/services/training.html

Re: [rt-users] RT 4.0.1 Custom Field - Wikitext box not saving all data.

2011-07-25 Thread Kevin Falcone
On Mon, Jul 25, 2011 at 01:49:11PM -0500, Scott T. Hildreth wrote:
   a linux box. If this is saved from a browser on windows, only
   the Three is saved. Any ideas??
  
   This is rt 4.0.1 with an Oracle db.
 
  Is this working with normal text boxes?
 
I changed it to text and will have the users test.
oddly enough the wikitext does work on an older windows server (2003 I 
 think) with ie7 
firefox 3.6.18.

What are the failing IE/FF versions?

  It'd also be nice to know exactly what is in the database.
 
In the content field only the last typed line is saved when entered on a 
 windows7 box with ie
or firefox.

Can you show the CustomFields record when it is set up to fail?  It'd
be interesting to see what options you selected.

-kevin


pgpyZzYiQFSLN.pgp
Description: PGP signature


2011 Training: http://bestpractical.com/services/training.html

[rt-users] Deep Recursion Error, RT 4.0.1

2011-07-25 Thread Randy Schwager
Just wanted to bump this up. Still having the deep recursion problem.

Help!

 

Below is the site_config file:
Set( $DatabaseUser, 'rt_user' );
Set( $CorrespondAddress, 'helpd...@example.net' );
Set( $rtname, 'example.net' );
Set( $DatabaseRequireSSL, '' );
Set( $WebPort, '8080' );
Set( $Organization, 'example.net' );
Set( $DatabaseType, 'mysql' );
Set( $DatabasePort, '3306' );
Set( $DatabasePassword, '' );
Set( $DatabaseAdmin, 'root' );
Set( $SendmailPath, '/usr/sbin/sendmail' );
Set( $WebDomain, 'dev02.example.net' );
Set( $DatabaseAdminPassword, '' );
Set( $CommentAddress, 'helpd...@example.net' );
Set( $DatabaseHost, 'localhost' );
Set( $DatabaseName, 'rt4' );
Set( $OwnerEmail, 'ow...@example.net' );
1;

And here is the output of the syntax checker:

perl -c /opt/rt4/etc/RT_SiteConfig.pm 
/opt/rt4/etc/RT_SiteConfig.pm syntax OK


___
Dear Users,

My installation of RT (4.0.1) causes mod_perl to throw fatal errors when trying 
to restart apache.

I use Apache 2.2.11 with mod_perl 2.0.4.
Perl is at version 5.10.10, MySQL at 5.0.83, and I'm running Fedora 10.

I compiled RT from source, downloaded from the bestpractical main download site.

After
 I drop the apache configuration file for rt4 into the conf.d directory 
and try to start up apache, I get the following error:

Deep recursion on subroutine RT::Config::__GetNameByRef at 
/opt/rt4/sbin/../lib/RT/Config.pm line 1180.
Deep recursion on subroutine RT::Config::__GetNameByRef at 
/opt/rt4/sbin/../lib/RT/Config.pm line 1180.
Deep recursion on subroutine RT::Config::__GetNameByRef at 
/opt/rt4/sbin/../lib/RT/Config.pm line 1180.

Here's the config file for rt4 (it's pretty vanilla): 

VirtualHost *:8080
    ### Optional apache logs for RT
    # ErrorLog /opt/rt4/var/log/apache2.error
    # TransferLog /opt/rt4/var/log/apache2.access
    # LogLevel debug

    AddDefaultCharset UTF-8

    DocumentRoot /opt/rt4/share/html

    Location /
    Order allow,deny
    Allow from all

    SetHandler modperl
    PerlResponseHandler Plack::Handler::Apache2
    PerlSetVar psgi_app /opt/rt4/sbin/rt-server
    /Location
    Perl
    use Plack::Handler::Apache2;
    Plack::Handler::Apache2-preload(/opt/rt4/sbin/rt-server);
    /Perl
    /VirtualHost

Does anyone out there in the world wide web know a solution to this problem?

Any help would be much appreciated!

- Ryan 

2011 Training: http://bestpractical.com/services/training.html

Re: [rt-users] Deep Recursion Error, rt-4.0.1

2011-07-25 Thread Alex Vandiver
On Thu, 2011-07-21 at 14:05 -0700, Randy Schwager wrote:

 I use Apache 2.2.11 with mod_perl 2.0.4.
 Perl is at version 5.10.10, MySQL at 5.0.83, and I'm running Fedora
 10.

There is no perl 5.10.10; do you mean 5.10.1?

 After I drop the apache configuration file for rt4 into the conf.d
 directory and try to start up apache, I get the following error:

Do you also see this problem if you run RT's standalone server?

 Here's the config file for rt4 (it's pretty vanilla): 
 
 VirtualHost *:8080
 ### Optional apache logs for RT
 # ErrorLog /opt/rt4/var/log/apache2.error
 # TransferLog /opt/rt4/var/log/apache2.access
 # LogLevel debug
 
 AddDefaultCharset UTF-8
 
 DocumentRoot /opt/rt4/share/html
This line is missing a close quote here ---^.  I'm surprised Apache
started at all with that syntax error.
 - Alex




2011 Training: http://bestpractical.com/services/training.html


Re: [rt-users] RT 4.0.1 Custom Field - Wikitext box not saving all data.

2011-07-25 Thread Scott

On 07/25/2011 01:57 PM, Kevin Falcone wrote:

On Mon, Jul 25, 2011 at 01:49:11PM -0500, Scott T. Hildreth wrote:

a linux box. If this is saved from a browser on windows, only
the Three is saved. Any ideas??
  
This is rt 4.0.1 with an Oracle db.

  Is this working with normal text boxes?

I changed it to text and will have the users test.
oddly enough the wikitext does work on an older windows server (2003 I think) 
with ie7
firefox 3.6.18.

What are the failing IE/FF versions?


It doesn't seem to matter, If my user updates all the text is updated in 
one update (ie7, ie8, firefox...etc).
The two users I have testing will put multiple lines in but when they 
hit save changes it updates treats each
line as an update, I can see the data going into the table as individual 
updates.




  It'd also be nice to know exactly what is in the database.

In the content field only the last typed line is saved when entered on a 
windows7 box with ie
or firefox.

Can you show the CustomFields record when it is set up to fail?


I can send you images of an update one of the users sent me.



It'd
be interesting to see what options you selected.

-kevin




2011 Training: http://bestpractical.com/services/training.html




2011 Training: http://bestpractical.com/services/training.html

[rt-users] Not add user emails to CC field

2011-07-25 Thread Simon Gao
Hi,

Is there a way to stop user's email address from being added to CC list on
RT?

Thanks,

Simon


2011 Training: http://bestpractical.com/services/training.html

Re: [rt-users] Deep Recursion Error, rt-4.0.1

2011-07-25 Thread Randy Schwager
You're right; it's perl 5.10.1.

The RT standalone server works fine on its own.

The missing quote was a typo--apologies.



From: Alex Vandiver ale...@bestpractical.com
To: Randy Schwager eyzo...@yahoo.com
Cc: rt-users@lists.bestpractical.com rt-users@lists.bestpractical.com
Sent: Monday, July 25, 2011 4:47 PM
Subject: Re: [rt-users] Deep Recursion Error, rt-4.0.1

On Thu, 2011-07-21 at 14:05 -0700, Randy Schwager wrote:

 I use Apache 2.2.11 with mod_perl 2.0.4.
 Perl is at version 5.10.10, MySQL at 5.0.83, and I'm running Fedora
 10.

There is no perl 5.10.10; do you mean 5.10.1?

 After I drop the apache configuration file for rt4 into the conf.d
 directory and try to start up apache, I get the following error:

Do you also see this problem if you run RT's standalone server?

 Here's the config file for rt4 (it's pretty vanilla): 
 
 VirtualHost *:8080
         ### Optional apache logs for RT
         # ErrorLog /opt/rt4/var/log/apache2.error
         # TransferLog /opt/rt4/var/log/apache2.access
         # LogLevel debug
 
         AddDefaultCharset UTF-8
 
         DocumentRoot /opt/rt4/share/html
This line is missing a close quote here ---^.  I'm surprised Apache
started at all with that syntax error.
- Alex

2011 Training: http://bestpractical.com/services/training.html

Re: [rt-users] Not add user emails to CC field

2011-07-25 Thread Kevin Falcone
On Mon, Jul 25, 2011 at 02:31:46PM -0700, Simon Gao wrote:
Is there a way to stop user's email address from being added to CC list on 
 RT?

Stop where, during ticket creation by email, from the web ui?

-kevin


pgpLqkzgG2znD.pgp
Description: PGP signature


2011 Training: http://bestpractical.com/services/training.html

Re: [rt-users] RT 4.0.1 Custom Field - Wikitext box not saving all data.

2011-07-25 Thread Kevin Falcone
  Can you show the CustomFields record when it is set up to fail?
 
I can send you images of an update one of the users sent me.
 

I actually mean the RT configuration of the custom field, which you
can find by doing

select * from CustomFields where Name = 'CF Name';

-kevin


pgpfr4L8Ey96n.pgp
Description: PGP signature


2011 Training: http://bestpractical.com/services/training.html

Re: [rt-users] RT 4.0.1 Custom Field - Wikitext box not saving all data.

2011-07-25 Thread Scott

On 07/25/2011 06:15 PM, Kevin Falcone wrote:

select * from CustomFields where Name = 'CF Name';



ID NAME   
TYPE  RENDERTYPE  MAXVALUES PATTERN  REPEATED 
VALUESCLASSBASEDON
-- -- 
- -- -- -- -- 
--- --
51 Executive Description - Admin only 
Wikitext  1 0


DESCR  SORTORDER LOOKUPTYPE   CREATOR CREATED   
LASTUPDATEDBY LASTUPDAT   DISABLED
- -- - -- - 
- - --
   0 RT::Queue-RT::Ticket  32 
23-FEB-1122 25-JUL-11  0



2011 Training: http://bestpractical.com/services/training.html


Re: [rt-users] Tuning RT4

2011-07-25 Thread Jeff Fearn

On 07/26/2011 02:34 AM, Adam Thompson wrote:

I can't speak for the dev team, but I have noticed a distinct trend:

Apache+mod_perl is very slow with RT4.0.
Lighttpd+FCGI is fast with RT4.0.
Standalone PSGI is really fast with RT4.0 (but not very scalable unless
you know what you're doing).

I haven't tested Apache with anything other than mod_perl, so I don't know
if it's Apache-specific or mod_perl-specific.

Most of the speed problems I've seen posted here are with RHEL/CentOS/SL
stock httpd  mod_perl installs, so it's also possible the problem is
OS-specific.

(And yes, I have a ticket open to try to narrow this down; unfortunately I
haven't had time to keep following up on it.)


Hi, just thought I'd point out my experience, we are currently testing 
upgrading RT 3.8.8 to RT 4.0.1.


RT 3.8.8: RHEL5 + Apache + mod_perl + MySQL.

RT 4.0.1: RHEL6 + Apache + mod_perl + MySQL.

~120K tickets, ~13K users, DB ~11GB.

RT 4 is faster than RT3 so far.

Probably the most notable change is setting:

Set($AutocompleteOwners, 1);

Compare the display time Tickets-New Search

With AutocompleteOwners: Time to display: 0.442697
Without AutocompleteOwners: Time to display: 17.274538

13K users is quite painful on that page!

Cheers, Jeff.


2011 Training: http://bestpractical.com/services/training.html