[rt-users] Add Tab to Left Navigation Bar

2012-06-04 Thread ikeusmaximus

Greetings all,

I am running RT 4.0.5, and I am trying to find a way of adding another tab
(with a link of course) to the Left Side Navigation bar (The bar that
contains Home Tickets Tools etc.).  Eventually, the tab would only be
displayed for specific users.  I have been pouring over google search
results, and one did point me to share/html/Elements/Tabs which contains
the coding for the nav bar.  I changed some of the code but the nav bar did
not change at all.

I am wondering if anyone knows how to do this or has any ideas as to go
about this.  Thanks. 
-- 
View this message in context: 
http://old.nabble.com/Add-Tab-to-Left-Navigation-Bar-tp33957351p33957351.html
Sent from the Request Tracker - User mailing list archive at Nabble.com.



[rt-users] Problem with interpretation of images

2012-06-04 Thread Alexander Reintzsch
Hi,

I face a problem with images I put in
/opt/rt4/local/plugins/RTx-MyPlugin/html/NoAuth/img

Some pictures are loaded correctly and some cause errors.

The reason for this is, that the picture-files are interpreted by the
perl-interpreter and if the file contains a % or $ or simular things,
that the interpreter is looking for, it throws an error.

What can I do to fix this?

My appache config for rt4 looks like that:

AddDefaultCharset UTF-8
LocationMatch /
Order allow,deny
Allow from all

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

Can anybody provide me a hint how I can handle this problem. The only
solution I see so far is recoding all pictures in the hope, that it
doesn't contain a problematic string afterwards. :(

greetings,
Alexander



[rt-users] Sorting order of dashboards

2012-06-04 Thread Marco Thorbruegge
Hi,

i was following

http://wiki-archive.bestpractical.com/view/ManualDashboards

to change the sorting order of Dashboards via a callback.

Is that still supposed to work in 4.0.5, as it does not show any result?
The sorting order is still according to the ID.

I tried both to put the callback in

/opt/rt4/local/html/Callbacks/CustomDashboardSort/Dashboards/index.html/MassageDashboards

and

/opt/rt4/share/html/Callbacks/CustomDashboardSort/Dashboards/index.html/MassageDashboards

cleaned the Mason cache and restarted the apache. To no avail.

What's missing?

Thanks!
Marco


Re: [rt-users] Append Data to CustomFields

2012-06-04 Thread TheHoboKing

After some research and trial and errors I finally realise extracting values
from Transaction CFs is no longer possible.

The feature has been removed since RT 3.6 and doesn't seem to have been
successfully implemented again. Mike seems to be the last reported
successful extraction of CFs and such. (If anyone has a patch or successful
scrip/solution to extract values from Trans-CFs, please by all means come
forward and tell me how wrong I am)

Now, for anyone interested, here's how I 'solved' my issue. Probably not the
cleanest, efficient way but it works for me.

I installed the RT::Extension::CustomFieldsOnUpdate extension in order to
have CFs on the Update form. Created 4 CFs, provided See and
ModifyCustomField rights to my users group to 2 CFs and SeeCustomField to
the other 2. This allowed the users to only see 2 fields during during the
Ticket Update process (the other 2 CFs were not visible since users didn't
have ModifyCustomField right)

My total is stored in the CFs which users cannot modify (since the scrip
makes the mod, update on the CF works fine). At every transaction, I check
the value of the hidden field, and add the value of the visible field (user
input) and store back the new total value in the hidden field, I then reset
the visible field to nothing.

Thank you all for your help



TheHoboKing wrote:
 
 Mike,
 
 Thank you for the information, that's exactly what I was looking for.
 
 Now, I tried to build a scrip from different online sources (I just
 started learning Perl ...) but I'm never able to get the value from the
 Transaction Custom Field.
 
 I saw an earlier post from you describing pretty much what I'm trying to
 achieve.
 
 http://www.mail-archive.com/rt-users@lists.bestpractical.com/msg02029.html
 
 Is there any chance you could send me the scrip?
 
 P.S: I'll post my scrip early tomorrow as I'm no longer in the
 officeperhaps someone can shed some light on the multiple things I
 must be doing wrong.
 
 Thank you!
 
 
 
 Michael Coakley wrote:
 
 This is easily done with a scrip. You need a Ticket custom field to hold
 the totals and a Transaction custom field for the users to update during
 a reply or comment. The scrip will take the transaction custom field
 value and add it to the ticket custom field value to keep the running
 total. 
 
 I've absolutely done this before but a long time ago. It works great and
 I've built billing systems off of these values which seems like you are
 trying to do.
 
 The only gotcha and it's a little one because once you start scrip
 development you'll know this; it is to use TransactionBatch mode on the
 scrip because that is the only way you will actually be able to see the
 Transaction custom field values. 
 
 Hope that gets you started. 
 
 Mike
 
 Sent from my iPhone
 
 On May 30, 2012, at 1:53 PM, TheHoboKing demon_eyes_ky...@hotmail.com
 wrote:
 
 
 Hi Kenneth,
 
 Thank you for the reply and my apologies for the delay, I've been busy
 with
 other projects.
 
 I mentioned the TimeWorked field because that's how I'd like my other
 'time'
 CFs to behave but here's what I'm trying to achieve in more details.
 
 I have two CFs: Emergency Hours | Schedule Hours
 CFs type is 'Enter one value'
 
 On ticket updates (users will most likely only update tickets from the
 WebUI
 via comment/reply action), I'd like those CFs to behave as followed:
 
 On update, the CFs should show no value. If my user(s) enter a value and
 update the ticket, the value should be added to the previous value
 (users
 will only be inputting integers).
 
 i.e.:
 Emergency Hours current value = 10
 Users Update the ticket and adds 15 in the Emergency Hours
 Emergency Hours should now display 25
 
 Is there a way to achieve this via script or more in dept RT
 customization?
 
 -I've tried to create another TimeWorked field but TimeWorked seems to
 be
 all over the place and I couldn't identify the proper sections to
 add/modify
 in order to 'duplicate' TimeWorked.
 
 -I was also thinking if it may be possible to do it via scrip by;
 OnComment or OnTransaction
 Reading the value of 'Emergency Hours'
 Storing the value in a temporary variable
 Adding the new value to the old value. .i.e: Emergency Hours =
 TemporaryEmergencyHoursTotal + EmergencyHours
 
 -I also thought I could simply create another CF called
 'EmergencyHoursTotal' and store the total there BUT then, on ticket
 display
 only 'EmergencyHoursTotal' should be visible and 'Emergency Hours'
 should be
 hidden, on ticket update only 'Emergency Hours' should be visible and
 'EmergencyHoursTotal' should be hidden.
 
 I read hiding/displaying specific CF can be achieved via the
 MassageCustomFields callback but I don't find much information on how to
 code my MassageCustomFields. This is the most informative code I've
 found in
 regards to it.
 
 

Re: [rt-users] Append Data to CustomFields

2012-06-04 Thread Thomas Sibley
On 06/04/2012 09:46 AM, TheHoboKing wrote:
 After some research and trial and errors I finally realise extracting values
 from Transaction CFs is no longer possible.
 
 The feature has been removed since RT 3.6 and doesn't seem to have been
 successfully implemented again. Mike seems to be the last reported
 successful extraction of CFs and such. (If anyone has a patch or successful
 scrip/solution to extract values from Trans-CFs, please by all means come
 forward and tell me how wrong I am)

You can absolutely read back out values from Transaction CFs.
Unfortunately we can't guess what you're doing or why it's not working
without seeing the code.  I suspect in your attempts you didn't follow
Mike's warning about needing to use the TransactionBatch stage for your
scrips.

Thomas


Re: [rt-users] Sorting order of dashboards

2012-06-04 Thread Thomas Sibley
On 06/04/2012 09:43 AM, Marco Thorbruegge wrote:
 Is that still supposed to work in 4.0.5, as it does not show any result?
 The sorting order is still according to the ID.
 
 I tried both to put the callback in
 
 /opt/rt4/local/html/Callbacks/CustomDashboardSort/Dashboards/index.html/MassageDashboards

That callback example on the wiki won't work in RT 4.x.  Take a look at
the ListOfDashboards component under Dashboards/Elements/ for where the
new MassageDashboards callback location is.  You'll also need to adjust
args.

Thomas


Re: [rt-users] Problem with interpretation of images

2012-06-04 Thread Thomas Sibley
On 06/04/2012 08:57 AM, Alexander Reintzsch wrote:
 I face a problem with images I put in
 /opt/rt4/local/plugins/RTx-MyPlugin/html/NoAuth/img
 
 Some pictures are loaded correctly and some cause errors.
 
 The reason for this is, that the picture-files are interpreted by the
 perl-interpreter and if the file contains a % or $ or simular things,
 that the interpreter is looking for, it throws an error.
 
 What can I do to fix this?

Use an autohandler to serve the images statically instead of through
Mason automatically.  See how core RT does this in
share/html/NoAuth/images/autohandler

Thomas


[rt-users] Speed up mason cache generation

2012-06-04 Thread L B
Hi,

 Sometimes applying a change in RT doesn't show up instantly in the
web UI and it requires a mason cache cleaning before the apache
restart. Once this is done, the first requests are slow while the
cache is being populated.

 Anyone already created a script to generate the main elements so this
is not done by the users? Is it a good idea?

Thanks,
-- 
L.B.


Re: [rt-users] Append Data to CustomFields

2012-06-04 Thread TheHoboKing

Hi Thomas,

Yes, I did attempt with TransactionBatch (and Create), the value obtained
from the Transaction CF is always ' ' as if it's unable to capture the
actual value.

Here's the code I was using, I've tried with different variation but was
never able to get the value that was being added in the Trans-CFs.

As a test, I was simply trying to get the value from the Trans-CFs and right
it back in a Ticket CF.

--
Custom Condition:
return 1;

Custom action preparation code:
return 1;

Custom action cleanup code:
my $ticket = $self-TicketObj;
my $cf_obj = RT::CustomField-new( $RT::SystemUser );

my $cf_name = ValueFrom_tr-cf;
my $trcf_name = tr-cf;

my $trcf_value = 1;

#Read and store the value of the Transaction CF tr-cf

$cf_obj-LoadByName(Name=$trcf_name);
$trcf_value = $ticket-FirstCustomFieldValue($trcf_name);

#Add the value to the Ticket CF
$cf_obj-LoadByName(Name=$cf_name);
$ticket-AddCustomFieldValue(Field=$cf_obj, Value=$trcf_value,
RecordTransaction=0);

return 1;

---

Any ideas on what could be going wrong?

Thank you


Thomas Sibley wrote:
 
 On 06/04/2012 09:46 AM, TheHoboKing wrote:
 After some research and trial and errors I finally realise extracting
 values
 from Transaction CFs is no longer possible.
 
 The feature has been removed since RT 3.6 and doesn't seem to have been
 successfully implemented again. Mike seems to be the last reported
 successful extraction of CFs and such. (If anyone has a patch or
 successful
 scrip/solution to extract values from Trans-CFs, please by all means come
 forward and tell me how wrong I am)
 
 You can absolutely read back out values from Transaction CFs.
 Unfortunately we can't guess what you're doing or why it's not working
 without seeing the code.  I suspect in your attempts you didn't follow
 Mike's warning about needing to use the TransactionBatch stage for your
 scrips.
 
 Thomas
 
 
-- 
View this message in context: 
http://old.nabble.com/Append-Data-to-CustomFields-tp33920988p33958371.html
Sent from the Request Tracker - User mailing list archive at Nabble.com.



Re: [rt-users] Speed up mason cache generation

2012-06-04 Thread Ruslan Zakirov
On Mon, Jun 4, 2012 at 6:15 PM, L B bertig...@gmail.com wrote:
 Hi,

  Sometimes applying a change in RT doesn't show up instantly in the
 web UI and it requires a mason cache cleaning before the apache
 restart. Once this is done, the first requests are slow while the
 cache is being populated.

  Anyone already created a script to generate the main elements so this
 is not done by the users? Is it a good idea?

You can write a script that deletes obj files for which the source
have been updated.


 Thanks,
 --
 L.B.



-- 
Best regards, Ruslan.


[rt-users] RT REST parser on php (json? xml?)

2012-06-04 Thread Andres Altamirano

Hi,

I'd like to know if there are scripts, o code on php to parse RT REST. 
It's difficult to do it from php without having to build a parser. 
Does anybody knows one?


I have seen many restful app which are using xml or json. There are a 
lot of interfaces to do the parsing job in these cases.


Why RT don't uses that sort of specs?

--
Atte.
Andres Altamirano
Subdirección Innovación Tecnológica
Dirección de Informática
Pontificia Universidad Católica de Chile
Campus San Joaquin. Vicuña Mackena 4860
Fono: +56 2 3547183




smime.p7s
Description: S/MIME Cryptographic Signature


Re: [rt-users] Problem with interpretation of images

2012-06-04 Thread Ruslan Zakirov
On Mon, Jun 4, 2012 at 5:53 PM, Thomas Sibley t...@bestpractical.com wrote:
 On 06/04/2012 08:57 AM, Alexander Reintzsch wrote:
 I face a problem with images I put in
 /opt/rt4/local/plugins/RTx-MyPlugin/html/NoAuth/img

 Some pictures are loaded correctly and some cause errors.

 The reason for this is, that the picture-files are interpreted by the
 perl-interpreter and if the file contains a % or $ or simular things,
 that the interpreter is looking for, it throws an error.

 What can I do to fix this?

 Use an autohandler to serve the images statically instead of through
 Mason automatically.  See how core RT does this in
 share/html/NoAuth/images/autohandler

I would recommend to put them into
html/NoAuth/images/my-ext-prefix-.image. This way they served by
RT's autohandler and you don't need to duplicate it. I don't remember
if you can use subdirectory or not, try
html/NoAuth/images/my-extnsion/xxx.image.

 Thomas

-- 
Best regards, Ruslan.


[rt-users] Unprivileged User Questions

2012-06-04 Thread Joe Kirby
I am in the midst of testing the 4.0.5 version for go live next week and have 
been asked by our community about the following 2 questions.

I actually posted 1 a few weeks back and I am wondering if I was too vague.

1. An Unprivileged user can create a ticket and add a cc at that time, however 
once the ticket is created and they want to continue correspondence (as the 
Unprivileged user Requestor) and add additional cc's like Privileged users can 
there is no cc line. I did hear back from Ruslan about a config option but was 
unable to determine which config option would apply. Is this possible?

2. When signed in as an Unprivileged user and I attempt to Show outgoing mail 
it takes me back to RT-at-a-Glance even though Requestors have the 'View exact 
outgoing email messages and their recipients' (ShowOutgoingEmail) attribute. In 
4.0.5 it is more obvious to me that RT may not allow this for Unprivileged user 
since it is not a General right. Are there any config settings I can set to 
allow this?

Thanks so much for all the help you all have provided over the years.

Joe


Joe Kirby ,  Assistant Vice President, Business Systems
Division of Information Technology (DoIT) 
Support Response -   http://www.umbc.edu/doit 
Administration 627
Office - 410-455-3020 
Email - ki...@umbc.edu



Re: [rt-users] RT REST parser on php (json? xml?)

2012-06-04 Thread Thomas Sibley
On 06/04/2012 10:46 AM, Andres Altamirano wrote:
 I'd like to know if there are scripts, o code on php to parse RT REST.
 It's difficult to do it from php without having to build a parser. Does
 anybody knows one?
 
 I have seen many restful app which are using xml or json. There are a
 lot of interfaces to do the parsing job in these cases.
 
 Why RT don't uses that sort of specs?

I can't help you with PHP, but the reason RT's REST-like interface
doesn't use JSON is because it predates JSON. ;)


Re: [rt-users] Speed up mason cache generation

2012-06-04 Thread L B
Ruslan,

Well, that would consume quite a lot of brain CPU cycles. Maybe I try
to solve a wrong problem and cleaning the mason cache with a rm -rf
/opt/rt/var/mason/* is not the good approach.

The need is simple: I (quite often) install/modify/remove extensions,
or modify RT itself in local/ and I want to make sure I'm not misled
by the mason cache. I remove all the cache and restart apache after a
modification but the first clicks are quite longs, I was wondering if
I could optimize that.

-- 
L.B.


[rt-users] 2 serious errors since I upgraded this morning to 3.8.8-7+squeeze3

2012-06-04 Thread Nicolas GUIOT
Hi,

Since my distrib has published the security patch for 3.8.8, I decided to apply 
it this morning.

Since then, I have the following error : 

in rt.log : 

[Mon Jun  4 14:32:43 2012] [crit]: Apache2::RequestIO::rflush: (103) Software 
caused connection abort at /usr/share/perl5/HTML/Mason/ApacheHandler.pm line 
1026 (/usr/share/request-tracker3.8/libexec/webmux.pl:92)


in exim (mailer) mainlog : 

2012-06-04 17:08:46 1SbYti-0007sf-Dg == |/usr/bin/rt-mailgate --queue 
support-test  --action correspond --url https://example.org/ 
support-t...@example.org R=system_aliases T=address_pipe defer (0): Child 
process of address_pipe transport returned 75 (could mean temporary error) from 
command: /usr/bin/rt-mailgate

I can take existanig tickets, for example, but when trying to send an email to 
create a new ticket, I have this error message.
# dpkg -l |grep request
http requests
ii  request-tracker3.8 3.8.8-7+squeeze3 extensible 
trouble-ticket tracking system
ii  rt3.8-apache2  3.8.8-7+squeeze3 Apache 2 
specific files for request-tracker3.8
ii  rt3.8-clients  3.8.8-7+squeeze3 mail 
gateway and command-line interface to request-tracker3.8
ii  rt3.8-db-mysql 3.8.8-7+squeeze3 MySQL 
database backend for request-tracker3.8
rc  rt3.8-db-sqlite3.8.8-6  SQLite 
database backend for request-tracker3.8

# dpkg -l |grep apach
ii  apache22.2.16-6+squeeze7Apache HTTP 
Server metapackage
ii  apache2-mpm-worker 2.2.16-6+squeeze7Apache HTTP 
Server - high speed threaded model
ii  apache2-utils  2.2.16-6+squeeze7utility 
programs for webservers
ii  apache2.2-bin  2.2.16-6+squeeze7Apache HTTP 
Server common binary files
ii  apache2.2-common   2.2.16-6+squeeze7Apache HTTP 
Server common files
ii  libapache-dbi-perl 1.08-1   Connect 
apache server to database via perl's DBI
ii  libapache-session-perl 1.87-1   Perl 
modules for keeping persistent user data across http requests
ii  libapache2-mod-perl2   2.0.4-7  Integration 
of perl with the Apache2 web server
ii  libapache2-reload-perl 0.10-2   Reload Perl 
modules when changed on disk
ii  rt3.8-apache2  3.8.8-7+squeeze3 Apache 2 
specific files for request-tracker3.8

I don't know where to search, and more important, where to correct...

Thanks in advance for your help


-- 
Nicolas GUIOT



Re: [rt-users] Speed up mason cache generation

2012-06-04 Thread Ruslan Zakirov
On Mon, Jun 4, 2012 at 7:27 PM, L B bertig...@gmail.com wrote:
 Ruslan,

 Well, that would consume quite a lot of brain CPU cycles. Maybe I try
 to solve a wrong problem and cleaning the mason cache with a rm -rf
 /opt/rt/var/mason/* is not the good approach.

 The need is simple: I (quite often) install/modify/remove extensions,
 or modify RT itself in local/ and I want to make sure I'm not misled
 by the mason cache. I remove all the cache and restart apache after a
 modification but the first clicks are quite longs, I was wondering if
 I could optimize that.

wget http:///?user=xpass=y

Right after restart to hit RT instead of letting users to hit it.

Restart is only required when you touched libs or config.

 --
 L.B.

-- 
Best regards, Ruslan.


Re: [rt-users] 2 serious errors since I upgraded this morning to 3.8.8-7+squeeze3

2012-06-04 Thread Dominic Hargreaves
On Mon, Jun 04, 2012 at 05:23:32PM +0200, Nicolas GUIOT wrote:
 Hi,
 
 Since my distrib has published the security patch for 3.8.8, I decided to 
 apply it this morning.
 
 Since then, I have the following error : 
 
 in rt.log : 
 
 [Mon Jun  4 14:32:43 2012] [crit]: Apache2::RequestIO::rflush: (103) Software 
 caused connection abort at /usr/share/perl5/HTML/Mason/ApacheHandler.pm line 
 1026 (/usr/share/request-tracker3.8/libexec/webmux.pl:92)

This is

http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=674924

You can either grab the test packages mentioned in that bugreport,
or downgrade to squeeze1 (not squeeze2) and wait for the erratum
DSA.

Cheers,
Dominic.

-- 
Dominic Hargreaves, Systems Development and Support Team
Computing Services, University of Oxford


signature.asc
Description: Digital signature


[rt-users] RT3 (solaris) to RT4(linux)

2012-06-04 Thread Asif Iqbal
Hi

I am looking for suggestions on upgrading rt3(solaris sparc) to rt4(ubuntu
linux).

rt3:

OS: solaris 10 sparc on T1000
Mysql: 5.0.75
Total number # Transactions: 6 million+


rt4:
OS: ubuntu linux precise
Mysql; 5,5

What would be recommended way to break down the upgrade and proceed?

I am guessing rsync mysql data and /opt/rt3 configs over to

mysql 5.5 (apt) and /opt/rt4.0.6.x (tarball)

and then follow the upgrade instruction on /opt/rt4 (tarball).

Please advise.


-- 
Asif Iqbal
PGP Key: 0xE62693C5 KeyServer: pgp.mit.edu
A: Because it messes up the order in which people normally read text.
Q: Why is top-posting such a bad thing?


[rt-users] Built-in field validation (Priority)

2012-06-04 Thread TheHoboKing

Hello all,

Is there a way to validate data entered in one of RT's 'built-in' field
(i.e: Priority)? I couldn't find any option to select RT's built-in fields
and set any sort of mandatory/validation parameter.

I can validate the entered data via a scrip but then I don't know how to
force the Update or Create form to be reloaded and display a message stating
['Priority' field must match 'XYZ']. (as it behaves for CustomFields).

Thank you
-- 
View this message in context: 
http://old.nabble.com/Built-in-field-validation-%28Priority%29-tp33959201p33959201.html
Sent from the Request Tracker - User mailing list archive at Nabble.com.



Re: [rt-users] RT REST parser on php (json? xml?)

2012-06-04 Thread Andres Altamirano

On 06/04/2012 11:01 AM, Thomas Sibley wrote:

On 06/04/2012 10:46 AM, Andres Altamirano wrote:

I'd like to know if there are scripts, o code on php to parse RT REST.
It's difficult to do it from php without having to build a parser. Does
anybody knows one?

I have seen many restful app which are using xml or json. There are a
lot of interfaces to do the parsing job in these cases.

Why RT don't uses that sort of specs?


I can't help you with PHP, but the reason RT's REST-like interface
doesn't use JSON is because it predates JSON. ;)


Older than xml too?

--
Atte.
Andres Altamirano
Subdirección Innovación Tecnológica
Dirección de Informática
Pontificia Universidad Católica de Chile
Campus San Joaquin. Vicuña Mackena 4860
Fono: +56 2 3547183



smime.p7s
Description: S/MIME Cryptographic Signature


[rt-users] Scrip/template Notify parent ticket owner on resolve?

2012-06-04 Thread Jeff Blaine

Does anyone know of a way to notify the parent ticket's owner
on resolve?


Re: [rt-users] RT REST parser on php (json? xml?)

2012-06-04 Thread Thomas Sibley
On 06/04/2012 12:58 PM, Andres Altamirano wrote:
 Older than xml too?

No... which is why I didn't say that.


Re: [rt-users] Append Data to CustomFields

2012-06-04 Thread Michael Coakley
You are trying to get the transaction value from the ticket. You need to use 
the transaction object. 

I'm on my phone so I can't reply with example code. If someone else doesn't 
supply any I'll reply with some later.

Mike

Sent from my iPhone

On Jun 4, 2012, at 10:42 AM, TheHoboKing demon_eyes_ky...@hotmail.com wrote:

 
 Hi Thomas,
 
 Yes, I did attempt with TransactionBatch (and Create), the value obtained
 from the Transaction CF is always ' ' as if it's unable to capture the
 actual value.
 
 Here's the code I was using, I've tried with different variation but was
 never able to get the value that was being added in the Trans-CFs.
 
 As a test, I was simply trying to get the value from the Trans-CFs and right
 it back in a Ticket CF.
 
 --
 Custom Condition:
 return 1;
 
 Custom action preparation code:
 return 1;
 
 Custom action cleanup code:
 my $ticket = $self-TicketObj;
 my $cf_obj = RT::CustomField-new( $RT::SystemUser );
 
 my $cf_name = ValueFrom_tr-cf;
 my $trcf_name = tr-cf;
 
 my $trcf_value = 1;
 
 #Read and store the value of the Transaction CF tr-cf
 
 $cf_obj-LoadByName(Name=$trcf_name);
 $trcf_value = $ticket-FirstCustomFieldValue($trcf_name);
 
 #Add the value to the Ticket CF
 $cf_obj-LoadByName(Name=$cf_name);
 $ticket-AddCustomFieldValue(Field=$cf_obj, Value=$trcf_value,
 RecordTransaction=0);
 
 return 1;
 
 ---
 
 Any ideas on what could be going wrong?
 
 Thank you
 
 
 Thomas Sibley wrote:
 
 On 06/04/2012 09:46 AM, TheHoboKing wrote:
 After some research and trial and errors I finally realise extracting
 values
 from Transaction CFs is no longer possible.
 
 The feature has been removed since RT 3.6 and doesn't seem to have been
 successfully implemented again. Mike seems to be the last reported
 successful extraction of CFs and such. (If anyone has a patch or
 successful
 scrip/solution to extract values from Trans-CFs, please by all means come
 forward and tell me how wrong I am)
 
 You can absolutely read back out values from Transaction CFs.
 Unfortunately we can't guess what you're doing or why it's not working
 without seeing the code.  I suspect in your attempts you didn't follow
 Mike's warning about needing to use the TransactionBatch stage for your
 scrips.
 
 Thomas
 
 
 -- 
 View this message in context: 
 http://old.nabble.com/Append-Data-to-CustomFields-tp33920988p33958371.html
 Sent from the Request Tracker - User mailing list archive at Nabble.com.
 


Re: [rt-users] RT REST parser on php (json? xml?)

2012-06-04 Thread Andres Altamirano

On 06/04/2012 01:05 PM, Thomas Sibley wrote:

On 06/04/2012 12:58 PM, Andres Altamirano wrote:

Older than xml too?


No... which is why I didn't say that.


Thanks for your useful help.

--
Atte.
Andres Altamirano
Subdirección Innovación Tecnológica
Dirección de Informática
Pontificia Universidad Católica de Chile
Campus San Joaquin. Vicuña Mackena 4860
Fono: +56 2 3547183



smime.p7s
Description: S/MIME Cryptographic Signature


Re: [rt-users] RT3 (solaris) to RT4(linux)

2012-06-04 Thread Asif Iqbal
On Mon, Jun 4, 2012 at 12:39 PM, Asif Iqbal vad...@gmail.com wrote:

 Hi

 I am looking for suggestions on upgrading rt3(solaris sparc) to rt4(ubuntu
 linux).

 rt3:


rt3: 3.8.2

   OS: solaris 10 sparc on T1000

 Mysql: 5.0.75
 Total number # Transactions: 6 million+


 rt4:
 OS: ubuntu linux precise
 Mysql; 5,5

 What would be recommended way to break down the upgrade and proceed?

 I am guessing rsync mysql data and /opt/rt3 configs over to

 mysql 5.5 (apt) and /opt/rt4.0.6.x (tarball)

 and then follow the upgrade instruction on /opt/rt4 (tarball).

 Please advise.


 --
 Asif Iqbal
 PGP Key: 0xE62693C5 KeyServer: pgp.mit.edu
 A: Because it messes up the order in which people normally read text.
 Q: Why is top-posting such a bad thing?





-- 
Asif Iqbal
PGP Key: 0xE62693C5 KeyServer: pgp.mit.edu
A: Because it messes up the order in which people normally read text.
Q: Why is top-posting such a bad thing?


Re: [rt-users] Scrip/template Notify parent ticket owner on resolve?

2012-06-04 Thread Kenneth Crocker
Jeff,

Here's some code I developed for a 3.8 installation.

It will add TimeWorked to each parent of a ticket up the ladder and
sideways (if a ticket has more than one parent), regardless of how many.

Use it as an example of how to determine if there is a parent and then as a
condition to send a notification.

Hope this helps.

Kenn

#
# Custom condition:
#
# Set initial values

my $trans = $self-TransactionObj;
my $ticket = $self-TicketObj;

# Get out if not for TimeWorked

return 0 unless ($trans-Type eq 'Set' 
 $trans-Field eq 'TimeWorked');

return 1;

#
# Custom action preparation code:
#
# Set initial values

my $trans = $self-TransactionObj;
my $ticket = $self-TicketObj;
my $Time = (($trans-NewValue) - ($trans-OldValue));
my $MemberOf = $ticket-MemberOf;

# get out if current ticket is not a MemeberOf (child of some parent)

return 0 unless $MemberOf;

# Loop thru each parent and add the Child's TimeWorked to them
# You can skip a parent ticket if it is not in active state by uncommenting
# the next statement

while( my $l = $MemberOf-Next )
{
# next unless( $l-TargetObj-Status =~ /^(?:new|open|stalled)$/ );
 my $ParentTime = $l-TargetObj-TimeWorked;
 my $NewTime = ($ParentTime + $Time);
 $l-TargetObj-SetTimeWorked($NewTime);
}

return 1;

#
# Custom action cleanup code: None
#
return 1;

On Mon, Jun 4, 2012 at 10:04 AM, Jeff Blaine jbla...@kickflop.net wrote:

 Does anyone know of a way to notify the parent ticket's owner
 on resolve?



Re: [rt-users] emails on ticket updates not being sent in 4.0.6

2012-06-04 Thread Thomas Sibley
On 06/01/2012 07:02 PM, Fisher, Michael wrote:
 I believe that this affected me too. I performed the upgrade from RT
 4.0.5 to 4.0.6 yesterday and email stopped.
 
 The workaround I found was overriding the mail command in my
 RT_SiteConfig.pm, as mentioned in this thread, but from the default
 ('sendmailpipe'):
 
 Set( $MailCommand, 'sendmail' );

[snip]
 My environment is FreeBSD 9.0-STABLE, stock FreeBSD Sendmail
 8.14.5/8.14.5, Apache 2.2.22, Perl v5.12.4, mod_perl 2-2.0.6.

This means you're running RT 4 under mod_perl, but under SetHandler
perl-script instead of the recommended SetHandler modperl (see
docs/web_deployment.pod).

I suggest switching back to sendmailpipe for your $MailCommand and
switching to SetHandler modperl, as SetHandler perl-script is
unsupported under RT 4.

Thomas


[rt-users] Some questions, a few oddities, and some must-haves...

2012-06-04 Thread Glenn E. Sieb
Herro (decided since I'm actually doing this for *work*, I would 
actually post from *work*'s email, since I have little-to-no time to 
read my own mail at home lately)!


Hey everyone! Running Centos 5.8, RT v4.0.5, Perl 5.8.8, Apache 2.2.3, 
MySQL 5.5.21.


Some questions:

1) Can I get a spellchecker to work in 4.0.5? We're setting this up for 
some people here who require a spell checker, and Firefox/Chrome's 
built-in will *not* work with RT's ticket body boxes. :-/ If this is 
possible, is there a howto? I've read the wiki, but they all seem to be 
for 3.x.x, not 4.


2) Is there an extension that lets me define a signature for separate 
queues? (It can be only per queue, it doesn't have to be per-user.) So, 
a signature that all emails going out from queueA get, queueB has it's 
own, queueC it's own, etc.


Some concerns:

3) I run RT 4.0.5 on my home server, and have since version 2. I set up 
4.0.5 here at work, and I noticed some oddities. The submenu disappears 
on submission of a form. (Screen captures are here: 
http://www.wingfoot.org/gallery/v/Glenn/ges-misc/RT/, pink is the work 
site, brown is the home server) Needless to say, my users are not liking 
this, and really, I'm finding it odd.


4) Possibly related to #3, when I go to Tickets/New Search, I'll fill 
out the criteria area, and hit Add these terms and search.. blank 
results. Every time. And no submenu. (So the menu under the New Ticket 
in button that says Edit Search etc.) If I put the criteria in as 
Add these terms then click Show results in the submenu, I get 
results. Occasionally, I get the submenu. Oddness. :-/


As always,

Thank you in advance!
Best,
--Glenn

(Aside: Jesse--are there going to be any more RT training sessions in 
the Northeast US in the near future?)


--
Glenn E. Sieb
System Administrator
+1 201 809-4958

eFashionSolutions
80 Enterprise Avenue South
Secaucus, NJ 07094



[rt-users] R: Built-in field validation (Priority)

2012-06-04 Thread Scotto Alberto
I think this is exactly what you are looking for

http://search.cpan.org/dist/RT-Extension-MandatoryFields/

There are also two more specific extensions:
http://search.cpan.org/dist/RT-Extension-MandatoryRequestor/
http://search.cpan.org/dist/RT-Extension-MandatorySubject/

BTW I suggest you to look through all the extensions you can find here:
http://requesttracker.wikia.com/wiki/Extensions
and here:
http://requesttracker.wikia.com/wiki/Extensions
And finally here you can find other contributions (scrips/templates/etc.):
http://requesttracker.wikia.com/wiki/Contributions

Regards

Alberto


Inizio: rt-users-boun...@lists.bestpractical.com 
[rt-users-boun...@lists.bestpractical.com] per conto di TheHoboKing 
[demon_eyes_ky...@hotmail.com]
Inviato: lunedì 4 giugno 2012 18.57
Fine: rt-users@lists.bestpractical.com
Oggetto: [rt-users]  Built-in field validation (Priority)

Hello all,

Is there a way to validate data entered in one of RT's 'built-in' field
(i.e: Priority)? I couldn't find any option to select RT's built-in fields
and set any sort of mandatory/validation parameter.

I can validate the entered data via a scrip but then I don't know how to
force the Update or Create form to be reloaded and display a message stating
['Priority' field must match 'XYZ']. (as it behaves for CustomFields).

Thank you
--
View this message in context: 
http://old.nabble.com/Built-in-field-validation-%28Priority%29-tp33959201p33959201.html
Sent from the Request Tracker - User mailing list archive at Nabble.com.



Alberto Scotto

Blue Reply
Via Cardinal Massaia, 83
10147 - Torino - ITALY
phone: +39 011 29100
al.sco...@reply.it
www.reply.it




--
The information transmitted is intended for the person or entity to which it is 
addressed and may contain confidential and/or privileged material. Any review, 
retransmission, dissemination or other use of, or taking of any action in 
reliance upon, this information by persons or entities other than the intended 
recipient is prohibited. If you received this in error, please contact the 
sender and delete the material from any computer.


Re: [rt-users] R: Built-in field validation (Priority)

2012-06-04 Thread TheHoboKing

Hi Alberto,

I've previously looked and installed RT-Extension-MandatoryFields but it
only seems to enforce the field(s) to be filled, what I'm looking for is a
way to validate the date entered, in my case I'd like to limit Priority to
an integer between 0 and 100, anything besides number and past 100 should
not be a valid input.

Hope it makes things more clear.

Thanks!



Scotto Alberto wrote:
 
 I think this is exactly what you are looking for
 
 http://search.cpan.org/dist/RT-Extension-MandatoryFields/
 
 There are also two more specific extensions:
 http://search.cpan.org/dist/RT-Extension-MandatoryRequestor/
 http://search.cpan.org/dist/RT-Extension-MandatorySubject/
 
 BTW I suggest you to look through all the extensions you can find here:
 http://requesttracker.wikia.com/wiki/Extensions
 and here:
 http://requesttracker.wikia.com/wiki/Extensions
 And finally here you can find other contributions (scrips/templates/etc.):
 http://requesttracker.wikia.com/wiki/Contributions
 
 Regards
 
 Alberto
 
 
 Inizio: rt-users-boun...@lists.bestpractical.com
 [rt-users-boun...@lists.bestpractical.com] per conto di TheHoboKing
 [demon_eyes_ky...@hotmail.com]
 Inviato: lunedì 4 giugno 2012 18.57
 Fine: rt-users@lists.bestpractical.com
 Oggetto: [rt-users]  Built-in field validation (Priority)
 
 Hello all,
 
 Is there a way to validate data entered in one of RT's 'built-in' field
 (i.e: Priority)? I couldn't find any option to select RT's built-in fields
 and set any sort of mandatory/validation parameter.
 
 I can validate the entered data via a scrip but then I don't know how to
 force the Update or Create form to be reloaded and display a message
 stating
 ['Priority' field must match 'XYZ']. (as it behaves for CustomFields).
 
 Thank you
 --
 View this message in context:
 http://old.nabble.com/Built-in-field-validation-%28Priority%29-tp33959201p33959201.html
 Sent from the Request Tracker - User mailing list archive at Nabble.com.
 
 
 
 Alberto Scotto
 
 Blue Reply
 Via Cardinal Massaia, 83
 10147 - Torino - ITALY
 phone: +39 011 29100
 al.sco...@reply.it
 www.reply.it
 
 
 
 
 --
 The information transmitted is intended for the person or entity to which
 it is addressed and may contain confidential and/or privileged material.
 Any review, retransmission, dissemination or other use of, or taking of
 any action in reliance upon, this information by persons or entities other
 than the intended recipient is prohibited. If you received this in error,
 please contact the sender and delete the material from any computer.
 
 
-- 
View this message in context: 
http://old.nabble.com/Built-in-field-validation-%28Priority%29-tp33959201p33960783.html
Sent from the Request Tracker - User mailing list archive at Nabble.com.



[rt-users] R: R: Built-in field validation (Priority)

2012-06-04 Thread Scotto Alberto
Got it! That mandatory misleaded me .. :)

Maybe this could be of some help/inspiration to you:
http://requesttracker.wikia.com/wiki/ValidateEmail

Besides, there may be some callbacks you may find useful (just supposing):
cd /opt/rt4/
find share/html | xargs grep '\-callback'

http://requesttracker.wikia.com/wiki/CustomizingWithCallbacks


AS

Inizio: rt-users-boun...@lists.bestpractical.com 
[rt-users-boun...@lists.bestpractical.com] per conto di TheHoboKing 
[demon_eyes_ky...@hotmail.com]
Inviato: lunedì 4 giugno 2012 23.36
Fine: rt-users@lists.bestpractical.com
Oggetto: Re: [rt-users] R:   Built-in field validation (Priority)

Hi Alberto,

I've previously looked and installed RT-Extension-MandatoryFields but it
only seems to enforce the field(s) to be filled, what I'm looking for is a
way to validate the date entered, in my case I'd like to limit Priority to
an integer between 0 and 100, anything besides number and past 100 should
not be a valid input.

Hope it makes things more clear.

Thanks!



Scotto Alberto wrote:

 I think this is exactly what you are looking for

 http://search.cpan.org/dist/RT-Extension-MandatoryFields/

 There are also two more specific extensions:
 http://search.cpan.org/dist/RT-Extension-MandatoryRequestor/
 http://search.cpan.org/dist/RT-Extension-MandatorySubject/

 BTW I suggest you to look through all the extensions you can find here:
 http://requesttracker.wikia.com/wiki/Extensions
 and here:
 http://requesttracker.wikia.com/wiki/Extensions
 And finally here you can find other contributions (scrips/templates/etc.):
 http://requesttracker.wikia.com/wiki/Contributions

 Regards

 Alberto

 
 Inizio: rt-users-boun...@lists.bestpractical.com
 [rt-users-boun...@lists.bestpractical.com] per conto di TheHoboKing
 [demon_eyes_ky...@hotmail.com]
 Inviato: lunedì 4 giugno 2012 18.57
 Fine: rt-users@lists.bestpractical.com
 Oggetto: [rt-users]  Built-in field validation (Priority)

 Hello all,

 Is there a way to validate data entered in one of RT's 'built-in' field
 (i.e: Priority)? I couldn't find any option to select RT's built-in fields
 and set any sort of mandatory/validation parameter.

 I can validate the entered data via a scrip but then I don't know how to
 force the Update or Create form to be reloaded and display a message
 stating
 ['Priority' field must match 'XYZ']. (as it behaves for CustomFields).

 Thank you
 --
 View this message in context:
 http://old.nabble.com/Built-in-field-validation-%28Priority%29-tp33959201p33959201.html
 Sent from the Request Tracker - User mailing list archive at Nabble.com.



 Alberto Scotto

 Blue Reply
 Via Cardinal Massaia, 83
 10147 - Torino - ITALY
 phone: +39 011 29100
 al.sco...@reply.it
 www.reply.it


 

 --
 The information transmitted is intended for the person or entity to which
 it is addressed and may contain confidential and/or privileged material.
 Any review, retransmission, dissemination or other use of, or taking of
 any action in reliance upon, this information by persons or entities other
 than the intended recipient is prohibited. If you received this in error,
 please contact the sender and delete the material from any computer.


--
View this message in context: 
http://old.nabble.com/Built-in-field-validation-%28Priority%29-tp33959201p33960783.html
Sent from the Request Tracker - User mailing list archive at Nabble.com.



Alberto Scotto

Blue Reply
Via Cardinal Massaia, 83
10147 - Torino - ITALY
phone: +39 011 29100
al.sco...@reply.it
www.reply.it




--
The information transmitted is intended for the person or entity to which it is 
addressed and may contain confidential and/or privileged material. Any review, 
retransmission, dissemination or other use of, or taking of any action in 
reliance upon, this information by persons or entities other than the intended 
recipient is prohibited. If you received this in error, please contact the 
sender and delete the material from any computer.


Re: [rt-users] Append Data to CustomFields

2012-06-04 Thread Michael Coakley
I didn't see anyone else reply so here is some template code (very wordy to be 
clear) that should get you going...

Custom Condition
 
# Get the transaction object
my $TransObj = $self-TransactionObj;
 
# Make sure the transaction is a Comment before we check anything else
unless ($TransObj-Type eq Comment) {
  return 0;
}
 
# Now get the custom field value for our transaction
my $TransCustomFieldName = TransCustomFieldName;
my $TransCustomFieldValue = 
$transObj-FirstCustomFieldValue($TransCustomFieldName);
 
# Log it for debugging
# NOTE: I always log with the queue name because I may use the same type of 
routine in multiple queues
$RT::Logger-debug($self-TicketObj-QueueObj-Name: $TransCustomFieldName = 
$TransCustomFieldValue);
 
# return 0 unless our value changed
return 0 unless ($TransCustomFieldValue != 0);
   
1;

Preparation Code

1;

Clean-up Code

my $TicketObj = $self-TicketObj;
my $TransObj = $self-TransactionObj;
my $QueueObj = $TicketObj-QueueObj;

# First get the current value of our Ticket Custom field we want to update
my $TransCustomFieldName = TransCustomFIeldName;
my $TransCustomFIeldValue = 
$TransObj-FirstCustomFieldValue($TransCustomFieldName);
# Make sure to normalize your Transaction Custom Field Value if needed (in this 
case it isn't but if you are processing multiple Transaction Custom Fields it 
may be)
# if (!$TransCustomFieldValue) { $TransCustomFieldValue = 0; }

# This code looks different because it is pulled right from the Wiki with some 
simple modifications. Best to keep the same structure for maintainability.
my $CFName = TicketCustomFIeldName;
my $CFValue = $TicketObj-FirstCustomFieldValue($CFName);
# Make sure you normalize your Ticket Custom Field Value too
if (!$CFValue) { $CFValue = 0; }
 
# Or whatever you want to do with it...
$CFValue += $TransCustomFieldValue;
 
my $DefaultValue = '0';
my $RecTransaction = 1;
$RT::Logger-debug($QueueObj-Name: $CFName - $CFValue);

my $CFObj = RT::CustomField-new($QueueObj-CurrentUser);
$CFObj-LoadByNameAndQueue(Name = $CFName, Queue = $QueueObj-id);
unless ($CFObj-id) {
$CFObj-LoadByNameAndQueue(Name = $CFName, Queue = 0);
unless ($CFObj-id) {
$RT::Logger-debug($QueueObj-Name: $CFName doesn't exist, Queue -  . 
$QueueObj-Name);
return undef;
}
}
my($result, $msg) = $TicketObj-AddCustomFieldValue(
Field = $CFObj-id,
Value = $CFValue,
RecordTransaction = $RecTransaction
);
unless ($result) {
$RT::Logger-debug($QueueObj-Name: Couldn't set $CFValue as value for CF 
$CFName : $msg);
  return undef;
}
 
1;
 
NOTES:

1. Make sure you change the TransCustomFieldName variable to your actual field 
name
2. You may have to change the check to see if your field value changed. For my 
type of field in this scrip it was simple enough to do the test I'm doing. 
(Also, I'm a Perl newb so don't think this is pretty Perl.)
3. Make sure you change the CFName variable to your actual field name
4. Make sure you normalize your TicketCustomFieldValue variable just in case it 
hasn't been set yet. Additive values are never fun when you start with an 
unknown
5. MUST BE TransactionBatch
6. Use at your own peril, I haven't tested this code and it is freely given to 
the public domain as-is, enjoy!

I hoe that helps.

Thanks,

Mike

On Jun 4, 2012, at 10:42 AM, TheHoboKing wrote:

 
 Hi Thomas,
 
 Yes, I did attempt with TransactionBatch (and Create), the value obtained
 from the Transaction CF is always ' ' as if it's unable to capture the
 actual value.
 
 Here's the code I was using, I've tried with different variation but was
 never able to get the value that was being added in the Trans-CFs.
 
 As a test, I was simply trying to get the value from the Trans-CFs and right
 it back in a Ticket CF.
 
 --
 Custom Condition:
 return 1;
 
 Custom action preparation code:
 return 1;
 
 Custom action cleanup code:
 my $ticket = $self-TicketObj;
 my $cf_obj = RT::CustomField-new( $RT::SystemUser );
 
 my $cf_name = ValueFrom_tr-cf;
 my $trcf_name = tr-cf;
 
 my $trcf_value = 1;
 
 #Read and store the value of the Transaction CF tr-cf
 
 $cf_obj-LoadByName(Name=$trcf_name);
 $trcf_value = $ticket-FirstCustomFieldValue($trcf_name);
 
 #Add the value to the Ticket CF
 $cf_obj-LoadByName(Name=$cf_name);
 $ticket-AddCustomFieldValue(Field=$cf_obj, Value=$trcf_value,
 RecordTransaction=0);
 
 return 1;
 
 ---
 
 Any ideas on what could be going wrong?
 
 Thank you
 
 
 Thomas Sibley wrote:
 
 On 06/04/2012 09:46 AM, TheHoboKing wrote:
 After some research and trial and errors I finally realise extracting
 values
 from Transaction CFs is no longer possible.
 
 The feature has been removed since RT 3.6 and doesn't seem to have been
 successfully implemented again. Mike seems to be the last reported
 successful extraction of CFs and such. (If anyone has a patch 

Re: [rt-users] Can't get images to load

2012-06-04 Thread Paul Tomblin
The mystery deepens.  I put some debugging into the autohandler in
/opt/rt4/share/html/NoAuth/images/autohandler:

%INIT
# This autohandler will spit out RT's images if the user hasn't
# properly configured their webserver to stop RT from passing
# images through the mason handler.
my $file = $m-base_comp-source_file;
my $relfile = $m-base_comp-path;
$RT::Logger-debug(autohandler file = $file, relfile = $relfile);
RT::Interface::Web-SendStaticFile( File = $file, RelativeFile = $relfile );
/%INIT

And when I try to load
http://localhost:8080/NoAuth/images/favicon.png, I see the following
come out in my log:
[Tue Jun  5 01:24:59 2012] [debug]: autohandler file =
/opt/rt4/share/html/NoAuth/images/favicon.png, relfile =
/NoAuth/images/favicon.png
(/opt/rt4/share/html/NoAuth/images/autohandler:7)
and the image shows up correctly.  But if I put my own image into that
directory and try to access it using the similar url
http://localhost:8080/NoAuth/images/foo.gif
I don't get any debug to indicate that the autohandler has been
called, and I get the following error

error:  Error during compilation of 
/opt/rt4/share/html/NoAuth/images/foo.gif:
Unrecognized character \x80; marked by -- HERE after foo.gif
6-- HERE near column 1425 at /opt/rt4/share/html/NoAuth/images/foo.gif line 18.

Stack:
[/opt/rt4/share/html/NoAuth/images/foo.gif:18]
[/usr/share/perl5/HTML/Mason/Interp.pm:817]
[/usr/share/perl5/HTML/Mason/Interp.pm:458]
[/usr/share/perl5/HTML/Mason/Request.pm:249]
[/usr/share/perl5/HTML/Mason/Request.pm:212]
[/opt/rt4/sbin/../lib/RT/Interface/Web/Request.pm:62]
[/usr/share/perl5/Class/Container.pm:275]
[/usr/share/perl5/Class/Container.pm:353]
[/usr/share/perl5/HTML/Mason/Interp.pm:348]
[/usr/share/perl5/HTML/Mason/Interp.pm:342]
[/usr/share/perl5/HTML/Mason/PSGIHandler.pm:48]
[/usr/share/perl5/HTML/Mason/PSGIHandler/Streamy.pm:52]
[/opt/rt4/sbin/../lib/RT/Interface/Web/Handler.pm:263]
[/usr/share/perl5/Plack/Util.pm:315]
[/usr/share/perl5/Plack/Util.pm:315]
[/usr/share/perl5/HTTP/Server/PSGI.pm:185]
[/usr/share/perl5/HTTP/Server/PSGI.pm:134]
[/usr/share/perl5/HTTP/Server/PSGI.pm:62]
[/usr/share/perl5/Plack/Handler/HTTP/Server/PSGI.pm:14]
[/usr/share/perl5/Plack/Loader.pm:87]
[/usr/share/perl5/Plack/Runner.pm:263]
[/opt/rt4/sbin/rt-server:232]

It's a very great mystery to me.


-- 
http://www.linkedin.com/in/paultomblin
http://careers.stackoverflow.com/ptomblin