Re: [rt-users] Change the place of title page name
Excerpts from Jonathan Khattir's message of Mon Jul 02 10:03:55 -0400 2012: Hi, I would like to known how i can change the place of the title of current page view. The variable is $Title, define in /Element/Header so i would like export this variable or the div div id=headerh1% $Title %/h1/div to display the page name in footer (/Element/Footer) for exemple. Hi Jonathan, Unfortunately (as you've likely seen) $Title is set on the pages themselves, as an argument passed directly to Header, while the Footer is included from lib/RT/Interface/Web.pm, much higher in the stack. To change this would break lots of things which rely on the existing behavior. I don't recommend it. Why do you want to put the page title in the Footer? Could you accomplish the same thing by putting eg. the m-request_comp-path in the Footer instead? Best, - KevinR
Re: [rt-users] Attachment extraction from DB
Excerpts from ronald higgins's message of Mon Jul 02 03:41:18 -0400 2012: Hi All, Has anyone ever had to extract files (docs,pdf's) out of the RT DB onto files on the filesystem? If so would you mind sharing how you went about it? To be terribly snarky, I went to the attachment I wanted in RT's web UI, right-clicked on the link, and selected 'Save link as'. Look at lib/RT/Attachment.pm and the places it's used for how RT does it, using the Perl API. And that's mostly just taking the information that running 'describe Attachments' in your favorite SQL DB will tell you exists in the database and putting it in the right places. Best, - KevinR
Re: [rt-users] MaxAttachmentSize
Excerpts from Pedro Albuquerque's message of Tue Jun 26 08:31:15 -0400 2012: Hi all, I set this on RT_SiteConfig to Set($MaxAttachmentSize, 67634176) to allow users upload files up to 64MB. # (64MB) However, users can upload files bigger than this size (no error and file is in the ticket); the strangest thing is that in the RT interface it shows every file with size bigger than 64MB having 47.7MB of size. Hi Pedro, If you're seeing long attachments truncated, that's probably because you have TruncateLongAttachments set true. If you would prefer that attachments larger than the max were dropped, you can set DropLongAttachments instead. In either case, there is not a good user-level error message indicating what went wrong. I've opened http://issues.bestpractical.com/Ticket/Display.html?id=20337 to track this. (The base64 thing is a separate issue.) Best, - KevinR
Re: [rt-users] newbiew question
Excerpts from Khapare Joshi's message of Tue Jun 26 11:58:21 -0400 2012: a very new to RT, just wondering is there a doc on how to configure RT to handle tickets via mail. so that if i say status resolved , status reply it would reflect on the RT system. See http://search.cpan.org/dist/RT-Extension-CommandByMail/lib/RT/Extension/CommandByMail.pm which sounds like what you want. - KevinR
Re: [rt-users] updating ticket's created field
Excerpts from Alexander Sagratyan's message of Tue Jun 26 16:32:53 -0400 2012: Hello. I am struggling with the following problem without a success: task is to update Created and Started fields of a ticket inside a custom scrip. I have found SetStarted method, but not SetCreated. Is it possible to update Created field manually inside a scrip? Created is set by the RT system when the ticket is created, and can't be updated manually. - Kevin
Re: [rt-users] RT on Ubuntu 12
Excerpts from Borngunners's message of Wed Jun 20 17:21:01 -0400 2012: This is the error message: Internal Server Error The server encountered an internal error ormisconfiguration and was unable to completeyour request. Please contact the server administrator, [no address given] and inform them of the time the error occurred,and anything you might have done that may havecaused the error. More information about this error may be availablein the server error log. Apache/2.2.22 (Ubuntu) Server at helpdesk.domain.com Port 80 What does the server error log (/var/log/apache2/error.log or something similar) say? - Kevin -Original Message- From: Kevin Falcone falc...@bestpractical.com To: rt-users rt-users@lists.bestpractical.com Sent: Wed, Jun 20, 2012 4:41 pm Subject: Re: [rt-users] RT on Ubuntu 12 On Wed, Jun 20, 2012 at 01:18:29PM -0700, 20/20 Lab wrote: As Kevin said, an error would help, tho the only differences I see in yours from ours is SetHandler perl-script and I also remember having to add a LoadModule perl_module SetHandler perl-script is *not* recommended. SetHandler modperl is the documented configuration and is correct -kevin /usr/lib/apache2/modules/mod_perl.so line just before the Virtual host line. (If anyone can tell me where it should go, it would be appreciated. It landed there when I was fighting with 9.04?) -Matt On 06/20/2012 12:01 PM, Borngunners wrote: Has anyone have luck setting up and configuring RT on Ubuntu 12.04. I have done everything thus far, but I am having issue with my apache2 configuration. This is what I have in my configuration: VirtualHost *:80 AddDefaultCharset UTF-8 perlsetEnv RT_SITE_CONFIG /etc/rt4/RT_SiteConfig.pm 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 #tail -n2 /etc/apache2/sites-available/default #Include /opt/rt4/apache2-modperl2.conf /VirtualHost When I comment out use Plack::Handler::Apache2;, apache2 does not give me any error, but I am not able to bring up rt via the web.
Re: [rt-users] Custom fields on transactions
Excerpts from Jaime Kikpole's message of Thu Jun 14 07:50:35 -0400 2012: I've been using RT with various custom fields for years, but now its time to re-model those custom fields a bit. I thought that at least one of them, namely Work By (which includes a list of which technicians worked on the ticket), should get moved to the transaction level (vs. applying to the ticket) so that it would be easier to make data entries. Currently, I have to search for all resolved tickets and then read them and then apply the correct names. This is cumbersome. So my hope is that al the techs could just tag their own name (and the names of anyone who helped them) whenever they made a comment or reply on the ticket. The most straightforward way to approach this is to write a little Scrip which adds anyone who touches a ticket to either your ticket-level Work By CustomField or to the ticket AdminCcs. That way the tracking happens automatically at the ticket level (where it's easy to search for) rather than your techs having to tag themselves on each transaction. - Kevin