From tjrc at sanger.ac.uk Thu Nov 1 05:01:26 2012 From: tjrc at sanger.ac.uk (Tim Cutts) Date: Thu, 1 Nov 2012 09:01:26 +0000 Subject: [rt-users] RT4.0.7 apache config question In-Reply-To: <075EB917A60B9E4989CC8205FF8B3E9806A1BC0E@exchange1.ad.olemiss.edu> References: <075EB917A60B9E4989CC8205FF8B3E9806A1BC0E@exchange1.ad.olemiss.edu> Message-ID: On 31 Oct 2012, at 18:32, Daksh Chauhan wrote: > Note, we are running RT on port 8081, and see following in: /opt/rt4/etc/RT_SiteConfig.pm > Set( $DatabasePort, '8081' ); Er, you mean WebPort, not DatabasePort, don't you? DatabasePort is to tell RT where its database is listening, not where the web server is listening. Regards, Tim -- The Wellcome Trust Sanger Institute is operated by Genome Research Limited, a charity registered in England with number 1021457 and a company registered in England with number 2742969, whose registered office is 215 Euston Road, London, NW1 2BE. From najib at magnifix.com.my Thu Nov 1 05:05:39 2012 From: najib at magnifix.com.my (najib) Date: Thu, 01 Nov 2012 17:05:39 +0800 Subject: [rt-users] create new user and give permission to view all unresolved tickets Message-ID: <651600fb134d652679340467449339ed@guru.magnifix.com.my> hi, i am using rt 3.8.10 i have created new user i need help on how to set permission to the new user so he can only view 'all' tickets, not just 'my open tickets'? thank you From daksh at olemiss.edu Thu Nov 1 10:08:29 2012 From: daksh at olemiss.edu (Daksh Chauhan) Date: Thu, 1 Nov 2012 14:08:29 +0000 Subject: [rt-users] RT4.0.7 apache config question In-Reply-To: References: <075EB917A60B9E4989CC8205FF8B3E9806A1BC0E@exchange1.ad.olemiss.edu> Message-ID: <075EB917A60B9E4989CC8205FF8B3E9806A1D636@exchange1.ad.olemiss.edu> Thanks Tim, Was looking at it, copied and pasted it, but yet missed it :) But, that is strange. I had configured RT with the script: (/opt/rt4/sbin/rt-server) So, that created the entry in RT_SiteConfig.pm Today, I went ahead and completely removed /opt/rt4 directory and downloaded rt4.0.8 package and did the install. Similarly, used the script to configure and initialize the DB (/opt/rt4/sbin/rt-server) Now, RT_SiteConfig.pm is correct: Set( $WebPort, '8081' ); Set( $DatabaseType, 'mysql' ); Set( $DatabasePort, '' ); After the DB was initialized, I am running this command (from docs/web_deployment.pod) /opt/rt4/sbin/rt-server --server Starman --port 8081 This works fine, and I can access RT and use it. However, if I try to use Apache mod_perl, I am getting same error: --------------------- Starting httpd2 (prefork) Syntax OK [Wed Oct 31 18:12:14 2012] [critical]: Undefined subroutine &main:: called. END failed--call queue aborted. (/opt/rt4/sbin/../lib/RT.pm:341) Undefined subroutine &main:: called. END failed--call queue aborted. The command line was: /usr/sbin/httpd2-prefork -f /etc/apache2/httpd.conf failed --------------------- Thanks! -----Original Message----- From: Tim Cutts [mailto:tjrc at sanger.ac.uk] Sent: Thursday, November 01, 2012 4:01 AM To: Daksh Chauhan Cc: rt-users at lists.bestpractical.com Subject: Re: [rt-users] RT4.0.7 apache config question On 31 Oct 2012, at 18:32, Daksh Chauhan wrote: > Note, we are running RT on port 8081, and see following in: > /opt/rt4/etc/RT_SiteConfig.pm Set( $DatabasePort, '8081' ); Er, you mean WebPort, not DatabasePort, don't you? DatabasePort is to tell RT where its database is listening, not where the web server is listening. Regards, Tim -- The Wellcome Trust Sanger Institute is operated by Genome Research Limited, a charity registered in England with number 1021457 and a company registered in England with number 2742969, whose registered office is 215 Euston Road, London, NW1 2BE. From WJEdsall at dow.com Thu Nov 1 12:47:12 2012 From: WJEdsall at dow.com (Edsall, William (WJ)) Date: Thu, 1 Nov 2012 16:47:12 +0000 Subject: [rt-users] CommandByMail rt 4.0.7 Message-ID: Does CommandByMail work in rt 4.0.7? I've installed it, added the following two lines to my RT_Siteconfig Set( @Plugins, qw(RT::Authen::ExternalAuth RT::Extension::CommandByMail RT::Interface::Email::Filter::TakeAction) ); Set($CommandByMailStripOut, 1); Yet when I try commands by mail (Like adding Subject: It worked), it doesn't seem to recognize my commands. It also doesn't seem to strip out the commands at all (I installed the diff). Thanks William -------------- next part -------------- An HTML attachment was scrubbed... URL: From diaulas.castro at intersolution.inf.br Thu Nov 1 13:20:57 2012 From: diaulas.castro at intersolution.inf.br (Diaulas Castro) Date: Thu, 1 Nov 2012 17:20:57 +0000 Subject: [rt-users] RES: CommandByMail rt 4.0.7 In-Reply-To: References: Message-ID: <3B9178D874F56F47B616AB50C01F7B774057C51A@GRUPRD8002MB111.lamprd80.prod.outlook.com> Just a note, I tried commandbymail but i got problems, our company deliver IT Solutions and almost of our customers are Oracle/Linux related... Sometimes when my coworkers reply with some sort of log or memory dump, "commandbymail" thinks it was command and process it. So I created a couple of procmail filters that launches some bash scripts based on hidden (html) commands on mail. My hidden commands are like this: ::ticketHC::schedule 2012-11-02 17:50 ::ticketHC::change_requestor john at domain.com Every bash script fired have filter to just run when From: field match "@MYDOMAIN.COM" That was my solution to substitute "commanbymail" plugin. Sorry about my poor english =( De: rt-users-bounces at lists.bestpractical.com [mailto:rt-users-bounces at lists.bestpractical.com] Em nome de Edsall, William (WJ) Enviada em: quinta-feira, 1 de novembro de 2012 14:47 Para: rt-users at lists.bestpractical.com Assunto: [rt-users] CommandByMail rt 4.0.7 Does CommandByMail work in rt 4.0.7? I've installed it, added the following two lines to my RT_Siteconfig Set( @Plugins, qw(RT::Authen::ExternalAuth RT::Extension::CommandByMail RT::Interface::Email::Filter::TakeAction) ); Set($CommandByMailStripOut, 1); Yet when I try commands by mail (Like adding Subject: It worked), it doesn't seem to recognize my commands. It also doesn't seem to strip out the commands at all (I installed the diff). Thanks William -------------- next part -------------- An HTML attachment was scrubbed... URL: From trs at bestpractical.com Thu Nov 1 15:09:03 2012 From: trs at bestpractical.com (Thomas Sibley) Date: Thu, 01 Nov 2012 12:09:03 -0700 Subject: [rt-users] CommandByMail rt 4.0.7 In-Reply-To: References: Message-ID: <5092C8CF.2050406@bestpractical.com> On 11/01/2012 09:47 AM, Edsall, William (WJ) wrote: > Does CommandByMail work in rt 4.0.7? I?ve installed it, added the > following two lines to my RT_Siteconfig > > Set( @Plugins, qw(RT::Authen::ExternalAuth RT::Extension::CommandByMail > RT::Interface::Email::Filter::TakeAction) ); You didn't follow the docs correctly. Remove "RT::Interface::Email::Filter::TakeAction" from @Plugins and add this line after: Set(@MailPlugins, qw(Auth::MailFrom Filter::TakeAction)); The install instructions are here: https://metacpan.org/source/FALCONE/RT-Extension-CommandByMail-0.10/INSTALL From ram0502 at gmail.com Thu Nov 1 15:50:01 2012 From: ram0502 at gmail.com (Ram) Date: Thu, 1 Nov 2012 12:50:01 -0700 Subject: [rt-users] Perl conflicts In-Reply-To: <06B95D96-46E2-4111-BECD-915C1F322DDB@sanger.ac.uk> References: <06B95D96-46E2-4111-BECD-915C1F322DDB@sanger.ac.uk> Message-ID: On Wed, Oct 31, 2012 at 10:06 AM, Tim Cutts wrote: > > On 31 Oct 2012, at 16:45, Ram wrote: > >>> On my Mac, where I do some RT tinkering as a standalone build, I have an rt-support directory in my home directory, and I put all the libraries RT needs in there, and I point my PERL5LIB and DYLD_LIBRARY_PATH variables at it whenever I'm working on RT. The relevant bits of my CPAN/MyConfig.pm file: >>> >>> 'makepl_arg' => q[INSTALL_BASE=~/rt-support], >>> 'mbuildpl_arg' => q[--install_base ~/rt-support], >>> >>> and then my PERL5LIB is: >>> >>> $HOME/rt-support/lib/perl5 >>> >> >> Yep this is exactly what we've tried but some of the required modules >> do not respect those parameters (INSTALL and MANPAGE). We started to >> tweak the perl make files for those modules one by one but it's not a >> great way to go. > > As you see above, I don't set the individual locations like INSTALL and MANPAGE. Just the INSTALL_BASE. I have not found a single CPAN module that RT requires which did not install correctly in my ~/rt_support directory. Which ones did you have problems with? My mistake; the issue seems to be that, in trying out the various build variables, mbuildpl_arg was left with INSTALL_BASE rather than --install_base... >>> On my production RT server, which is running Ubuntu, I use the system perl, and install pre-packaged modules where I can, but if I can't I just let RT's 'make fixdeps' do what it likes, and install the necessary packages in the system's site perl directory. Since the server isn't used for anything other than RT, I'm not bothered about superseding what the OS itself installs. The major advantage of doing it that way is that it's then much easier to configure with the packaged versions of apache, mod_perl and so on. >> >> Our server runs CentOS 6 (downstream of RHEL 6) and it is no small >> feat to get most of the perl modules as rpms, it is impossible to get >> them all without building them ourselves. > > On Debian/Ubuntu systems there's a fabulous little package called dh-make-perl which whizzes off to CPAN, downloads the module sources, configures and builds it and results in a .deb package which you can install on the system. Before RT 4.0 came out, that's how I built all the perl modules for our RT server. It was a nice clean way to do it, if a bit of a faff. Does CentOS have a similar script for making RPM's out of CPAN modules? There are tools to do it (cpan2rpm comes to mind) and of course something like perlbrew (oft mentioned in this type of discussion) which I believe that compiles things into 'executables'. The above solution is the best I can do IMO since it's unrealistic to expect all the perl modules needed to show up in rpms for every OS though there are no shortage of folks maintaining RPMs that are happy to build them for whatever perl module you want (Dag and rpmforge come to mind for CentOs). Thanks again, I think seeing you write it out let to my getting it working! ram > > Regards, > > Tim From ram0502 at gmail.com Thu Nov 1 15:57:27 2012 From: ram0502 at gmail.com (Ram) Date: Thu, 1 Nov 2012 12:57:27 -0700 Subject: [rt-users] Perl conflicts Message-ID: > Date: Wed, 31 Oct 2012 10:25:31 -0700 > From: Thomas Sibley > To: rt-users at lists.bestpractical.com > Subject: Re: [rt-users] Perl conflicts > Message-ID: <50915F0B.3050800 at bestpractical.com> > Content-Type: text/plain; charset=UTF-8 > > On 10/31/2012 09:45 AM, Ram wrote: >> Any other ideas? > > It's worlds-apart easier and less error prone to use an entirely > separate perl build instead of just a separate perl lib path. See perlbrew. Might've taken this path if tweaking configs didn't work out. Thanks for the suggestion. ram From trs at bestpractical.com Thu Nov 1 15:58:14 2012 From: trs at bestpractical.com (Thomas Sibley) Date: Thu, 01 Nov 2012 12:58:14 -0700 Subject: [rt-users] Perl conflicts In-Reply-To: References: <06B95D96-46E2-4111-BECD-915C1F322DDB@sanger.ac.uk> Message-ID: <5092D456.1050301@bestpractical.com> On 11/01/2012 12:50 PM, Ram wrote: > There are tools to do it (cpan2rpm comes to mind) and of course > something like perlbrew (oft mentioned in this type of discussion) > which I believe that compiles things into 'executables'. perlbrew doesn't compile Perl modules into executables. perlbrew compiles a whole another installation of perl for you, so that you don't have to use /usr/bin/perl. Once you're using your new perl, you can install whatever modules you want from CPAN without wasting time getting build and install paths correct everywhere. From ram0502 at gmail.com Thu Nov 1 15:58:49 2012 From: ram0502 at gmail.com (Ram) Date: Thu, 1 Nov 2012 12:58:49 -0700 Subject: [rt-users] Perl conflicts Message-ID: > Date: Wed, 31 Oct 2012 12:47:49 -0500 > From: "ktm at rice.edu" > To: Thomas Sibley > Cc: rt-users at lists.bestpractical.com > Subject: Re: [rt-users] Perl conflicts > Message-ID: <20121031174749.GV2872 at aart.rice.edu> > Content-Type: text/plain; charset=us-ascii > > On Wed, Oct 31, 2012 at 10:25:31AM -0700, Thomas Sibley wrote: >> On 10/31/2012 09:45 AM, Ram wrote: >> > Any other ideas? >> >> It's worlds-apart easier and less error prone to use an entirely >> separate perl build instead of just a separate perl lib path. See perlbrew. >> > > +1 It is much, much easier and basically foolproof. Using the separate > perl lib path is definitely harder to get right and requires more package > config jiggering. From most to least work: > > 1. system perl + CPAN > 2. RT specific perl + CPAN > 3. RT specific perl lib path + CPAN + config tweaking > > Cheers, > Ken Thanks again Ken. Looks like #2 is the way we're going. Ram From ram0502 at gmail.com Thu Nov 1 15:59:59 2012 From: ram0502 at gmail.com (Ram) Date: Thu, 1 Nov 2012 12:59:59 -0700 Subject: [rt-users] Look up User by Attribute in Scrip Message-ID: > Date: Sat, 27 Oct 2012 13:14:22 -0500 > From: "ktm at rice.edu" > To: Ram > Cc: rt-users at lists.bestpractical.com > Subject: Re: [rt-users] Look up User by Attribute in Scrip > Message-ID: <20121027181422.GA21544 at aart.rice.edu> > Content-Type: text/plain; charset=us-ascii > > On Fri, Oct 26, 2012 at 04:52:37PM -0700, Ram wrote: >> Hey folks, >> I'm writing a scrip to help us manage our voicemails in RT. The >> voicemails arrive via email as attachments and the extension of the >> recipient is the only distinguishing characteristic in the email. How >> can I load an RT user in a script given only their work telephone? >> thanks! >> ram > > Hi Ram, > > You will need to lookup their phone number in a table that has their > user information. Here this is all available in our campus LDAP directory > so some simple Net::LDAP calls can be used for this. It could also pull > the information from an RT custom field for the user as well. > Thanks, but as you probably saw I was actually looking for the RT search method back into the RT user definition. cheers, ram From alekreg at gmail.com Thu Nov 1 16:27:04 2012 From: alekreg at gmail.com (Alek Cesarz) Date: Thu, 01 Nov 2012 21:27:04 +0100 Subject: [rt-users] DateTime custom field display issues In-Reply-To: References: Message-ID: <5092DB18.4010807@gmail.com> rt-users-request at lists.bestpractical.com pisze, W dniu 2012-10-29 17:00: > hello everyone, > some time ago I asked my team member to investigate problem with display > format of DateTime custom fields, but unfortunately he failed - so I > have to fix it myself... ((-: > I am using a few DateTime fields to mark some actions. they are rendered > correctly in Ticket preview/summary but in searches they are shown in > default ISO/UTC format. hi, has anyone seen this issue in you installations or am I the only case? cheers, Alek From ivazquez at desdelaconsola.es Fri Nov 2 04:53:21 2012 From: ivazquez at desdelaconsola.es (Ignacio Vazquez) Date: Fri, 2 Nov 2012 09:53:21 +0100 Subject: [rt-users] Monthly reports with REST (timeout) In-Reply-To: <3B9178D874F56F47B616AB50C01F7B774057B06E@GRUPRD8002MB111.lamprd80.prod.outlook.com> References: <3B9178D874F56F47B616AB50C01F7B774057B06E@GRUPRD8002MB111.lamprd80.prod.outlook.com> Message-ID: First of all, excuse me, there has been a misunderstanding, I'm talking about the CLI, nor the REST interface but the question is still valid. Diaulas, "-t ticket" is the default: /opt/rt3/bin/rt help list ... -t type Specifies the type of object to look for. (The default is "ticket".) 2012/10/31 Diaulas Castro : > Just a bet, but try to use "-t ticket" on search. > > > > > > -----Mensagem original----- > De: rt-users-bounces at lists.bestpractical.com [mailto:rt-users-bounces at lists.bestpractical.com] Em nome de Ignacio Vazquez > Enviada em: quarta-feira, 31 de outubro de 2012 09:26 > Para: rt-users at lists.bestpractical.com > Assunto: [rt-users] Monthly reports with REST (timeout) > > Hi all, > I've been generating monthly reports with a crontab script that includes a line like this: > /opt/rt3/bin/rt list "created >= '2012-04-01' AND status != 'rejected' > AND Queue = 'whatever' AND (owner = 'user1' OR owner = 'user2')" | grep -v "No matching results." | wc -l As you can see, I'm only interested in the total number of tickets. > I've find out that with a large number of possible results, I get a timeout so 0 tickets are returned. > > However, using the web search, because of the paginated displays, the search is much faster and also the web shows how many items are in the whole list with a line "Found: xxx tickets". > > My intention is still using an automated way to obtain the numbers. > I've been reading the REST documentation and there is no way to query only for totals. > > Any ideas? > > Ignacio. > -------- > We're hiring! http://bestpractical.com/jobs > > From jonathan.khattir at mobiquithings.net Fri Nov 2 06:12:40 2012 From: jonathan.khattir at mobiquithings.net (Jonathan Khattir) Date: Fri, 2 Nov 2012 11:12:40 +0100 Subject: [rt-users] Correspond yes but create No via email In-Reply-To: References: Message-ID: Ok thanks, i'm trying this solution. 2012/10/31 Jonathan Khattir > I would like that user create ticket only via Web server and reply via > email or web interface, but by default when i send it to the "correspond" > address, it will create a new ticket if the > there isn't a ticket number (RT syntax) in the subject that will update an > existing ticket. I don't allow to create ticket via email. > > Thanks > -------------- next part -------------- An HTML attachment was scrubbed... URL: From WJEdsall at dow.com Fri Nov 2 09:19:57 2012 From: WJEdsall at dow.com (Edsall, William (WJ)) Date: Fri, 2 Nov 2012 13:19:57 +0000 Subject: [rt-users] CommandByMail rt 4.0.7 In-Reply-To: <5092C8CF.2050406@bestpractical.com> References: <5092C8CF.2050406@bestpractical.com> Message-ID: Thank you, this solved the issue. I must have overlooked the MailPlugins syntax. -----Original Message----- From: rt-users-bounces at lists.bestpractical.com [mailto:rt-users-bounces at lists.bestpractical.com] On Behalf Of Thomas Sibley Sent: Thursday, November 01, 2012 3:09 PM To: rt-users at lists.bestpractical.com Subject: Re: [rt-users] CommandByMail rt 4.0.7 On 11/01/2012 09:47 AM, Edsall, William (WJ) wrote: > Does CommandByMail work in rt 4.0.7? I?ve installed it, added the > following two lines to my RT_Siteconfig > > Set( @Plugins, qw(RT::Authen::ExternalAuth RT::Extension::CommandByMail > RT::Interface::Email::Filter::TakeAction) ); You didn't follow the docs correctly. Remove "RT::Interface::Email::Filter::TakeAction" from @Plugins and add this line after: Set(@MailPlugins, qw(Auth::MailFrom Filter::TakeAction)); The install instructions are here: https://metacpan.org/source/FALCONE/RT-Extension-CommandByMail-0.10/INSTALL -------- We're hiring! http://bestpractical.com/jobs From ivazquez at desdelaconsola.es Fri Nov 2 09:44:40 2012 From: ivazquez at desdelaconsola.es (Ignacio Vazquez) Date: Fri, 2 Nov 2012 14:44:40 +0100 Subject: [rt-users] Monthly reports with REST (timeout) In-Reply-To: References: <3B9178D874F56F47B616AB50C01F7B774057B06E@GRUPRD8002MB111.lamprd80.prod.outlook.com> Message-ID: My solution: save a session cookie using wget like is explained in http://requesttracker.wikia.com/wiki/REST: wget --keep-session-cookies \ --save-cookies cookies.txt \ --post-data 'user=UUUU&pass=PPPP' \ http://my.rt.server The cookie is saved under "cookies.txt" Build the desired Search in the web and click on "Show results". Copy the entire URL and paste in the file "url.txt" (this is for avoiding problems with escaping characters in further wget usage). Execute: # wget -qO - --no-check-certificate --load-cookies cookies.txt -i url.txt |grep -m 1 Found Found 25,545 tickets So, all we need to do now is a script that modifies the date with the desired date in the url file and send the results via email. Ignacio. 2012/11/2 Ignacio Vazquez : > First of all, excuse me, there has been a misunderstanding, I'm > talking about the CLI, nor the REST interface but the question is > still valid. > Diaulas, "-t ticket" is the default: > /opt/rt3/bin/rt help list > ... > -t type Specifies the type of object to look for. (The > default is "ticket".) > > > > 2012/10/31 Diaulas Castro : >> Just a bet, but try to use "-t ticket" on search. >> >> >> >> >> >> -----Mensagem original----- >> De: rt-users-bounces at lists.bestpractical.com [mailto:rt-users-bounces at lists.bestpractical.com] Em nome de Ignacio Vazquez >> Enviada em: quarta-feira, 31 de outubro de 2012 09:26 >> Para: rt-users at lists.bestpractical.com >> Assunto: [rt-users] Monthly reports with REST (timeout) >> >> Hi all, >> I've been generating monthly reports with a crontab script that includes a line like this: >> /opt/rt3/bin/rt list "created >= '2012-04-01' AND status != 'rejected' >> AND Queue = 'whatever' AND (owner = 'user1' OR owner = 'user2')" | grep -v "No matching results." | wc -l As you can see, I'm only interested in the total number of tickets. >> I've find out that with a large number of possible results, I get a timeout so 0 tickets are returned. >> >> However, using the web search, because of the paginated displays, the search is much faster and also the web shows how many items are in the whole list with a line "Found: xxx tickets". >> >> My intention is still using an automated way to obtain the numbers. >> I've been reading the REST documentation and there is no way to query only for totals. >> >> Any ideas? >> >> Ignacio. >> -------- >> We're hiring! http://bestpractical.com/jobs >> >> From jonathan.khattir at mobiquithings.net Fri Nov 2 09:57:02 2012 From: jonathan.khattir at mobiquithings.net (Jonathan Khattir) Date: Fri, 2 Nov 2012 14:57:02 +0100 Subject: [rt-users] duplicated attachment Message-ID: When i reply to a ticket by mail, i ve got in the web interface two reply, one in text/plain and one in html/plain. Even if i don't put html code in my mail, i get two attachment. So i would like only one attachment in plain/text. http://imageshack.us/photo/my-images/811/duplicate.png/ -------------- next part -------------- An HTML attachment was scrubbed... URL: From self at miquelruiz.net Fri Nov 2 10:32:05 2012 From: self at miquelruiz.net (Miquel Ruiz) Date: Fri, 02 Nov 2012 15:32:05 +0100 Subject: [rt-users] "Permission denied" error email Message-ID: <5093D965.50305@miquelruiz.net> Hi all, We're trying to make RT's mail messages a bit more user-friendly, and we have a problem: When a user that sends mail to a Queue he doesn't have permission for, he only recieves a "Permission Denied" mail. Our users are Spanish, so we'd like to deliver the message in Spanish and English, with more explanatory text on how he or she can contact us. We've tried to find documentation about how to customize the "Permission Denied" error message, but we've only found an unfollowed thread from 2007 in the rt-users mailing list. All documentation leads to "give the user permission", but that isn't what we want (since the user shouldn't have permission in the first place). It would be great if you can point us to the correct piece of documentation where show how it can be done (if it exists). If this is not possible at the moment, with some hints we could provide a patch (if it's a wanted feature). Thank you very much. Best regards. -- Miquel Ruiz From trs at bestpractical.com Fri Nov 2 12:36:01 2012 From: trs at bestpractical.com (Thomas Sibley) Date: Fri, 02 Nov 2012 09:36:01 -0700 Subject: [rt-users] duplicated attachment In-Reply-To: References: Message-ID: <5093F671.8030309@bestpractical.com> On 11/02/2012 06:57 AM, Jonathan Khattir wrote: > When i reply to a ticket by mail, i ve got in the web interface two > reply, one in text/plain and one in html/plain. Even if i don't put html > code in my mail, i get two attachment. So i would like only one > attachment in plain/text. > > http://imageshack.us/photo/my-images/811/duplicate.png/ Your email client is sending both parts, and RT is dutifully displaying one of them. It shows the existence of the second part, but not the content, since it recognizes that's it's an "alternative version" of the same message. If you want to stop seeing both parts, configure your mail client to stop sending both parts. From gsollazz at sgul.ac.uk Fri Nov 2 13:00:13 2012 From: gsollazz at sgul.ac.uk (Giuseppe Sollazzo) Date: Fri, 02 Nov 2012 17:00:13 +0000 Subject: [rt-users] Infinite loop of ticket creation Message-ID: <5093FC1D.6020307@sgul.ac.uk> -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Hi there, this might be a very silly problem but today we had an exchange with a supplier. The supplier triggers an automatic "email creation notification" which gets back to us, triggering a RT response, and so on. To stop the loop, I had to deleted the ticket from database (by a manual "delete from Tickets where id=..."). Is there anything we can do about it? It's happened twice in 2 years, but I guess it's better to prevent this from happening. Any pointer to useful docs? Thanks, Giuseppe - -- ____________________________________ Giuseppe Sollazzo Senior Systems Analyst Computing Services Information Services St. George's, University Of London Cranmer Terrace London SW17 0RE Email: gsollazz at sgul.ac.uk Direct Dial: +44 20 8725 5160 Fax: +44 20 8725 3583 Twitter: http://twitter.com/sgulit -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.10 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://www.enigmail.net/ iQEcBAEBAgAGBQJQk/wdAAoJEAqigArPBfJXK98H/j840osIAdc5W7hepPbSDa4L u4jveNu4qMJpVCkOXxOIpq2Vikr4+NoJ4F7/xxMbfC6Ryp2xj5X+nLd/tUenO1rp k5pQq0piPS1dwwTBh+e1CuMUiS1omdeGsrgfX7aTwfsfUOAGPKOFcsQf9y1Pf0nS F5eivixEWfloCtVBZ7M25isp053O1tN1IxIFJ5XIVyMhW9WExOWnvr1gx4+I6/dG 38+9iqCNpFUwsPvxhjlaP0PTCeiQueC8gxEbv4YD8H1fl/Y8///6/wltV9YNySg1 S2drABQ1+HH4A/Y+brPuU/gtiksxGz8yzpeav36SGirfo/4gcUKKNvfuaoWsntw= =I+Nc -----END PGP SIGNATURE----- -------------- next part -------------- A non-text attachment was scrubbed... Name: 0xCF05F257.asc Type: application/pgp-keys Size: 1744 bytes Desc: not available URL: From matyas at cs.wisc.edu Fri Nov 2 20:07:25 2012 From: matyas at cs.wisc.edu (=?ISO-8859-1?Q?M=E1ty=E1s_Selmeci?=) Date: Fri, 02 Nov 2012 19:07:25 -0500 Subject: [rt-users] How to change the subject tag of a queue while allowing the use of the old subject tag as well? Message-ID: <5094603D.102@cs.wisc.edu> Hi, I would like to change the subject tag of a queue without causing issues for users that are still using the old subject tag. For example, if I change the subject tag of QUEUE from OLD to NEW, then new messages would be sent out with a subject like: "[NEW #2468] Foo". However, users responding to tickets made before the rename would reply with a subject like "[OLD #1234] Foo". I would still like the correspondence to go to ticket #1234. But what currently happens is that RT does not recognize the subject and creates a new ticket instead. I have searched the archives and Google, but haven't found a clear answer. How can I do this? I am using RT 3.8.8. Thanks, -- -Mat -------------- next part -------------- A non-text attachment was scrubbed... Name: smime.p7s Type: application/pkcs7-signature Size: 3094 bytes Desc: S/MIME Cryptographic Signature URL: From trs at bestpractical.com Sat Nov 3 01:32:36 2012 From: trs at bestpractical.com (Thomas Sibley) Date: Fri, 02 Nov 2012 22:32:36 -0700 Subject: [rt-users] How to change the subject tag of a queue while allowing the use of the old subject tag as well? In-Reply-To: <5094603D.102@cs.wisc.edu> References: <5094603D.102@cs.wisc.edu> Message-ID: <5094AC74.9060801@bestpractical.com> On 11/02/2012 05:07 PM, M?ty?s Selmeci wrote: > I would like to change the subject tag of a queue without causing issues > for users that are still using the old subject tag. > > For example, if I change the subject tag of QUEUE from OLD to NEW, then > new messages would be sent out with a subject like: "[NEW #2468] Foo". > However, users responding to tickets made before the rename would reply > with a subject like "[OLD #1234] Foo". I would still like the > correspondence to go to ticket #1234. But what currently happens is that > RT does not recognize the subject and creates a new ticket instead. > > I have searched the archives and Google, but haven't found a clear > answer. How can I do this? I am using RT 3.8.8. You'll need to adjust the $EmailSubjectTagRegex option to match the OLD queue subject tag, as well as the default (your $rtname). http://bestpractical.com/rt/docs/latest/RT_Config.html#EmailSubjectTagRegex From ptomblin at xcski.com Mon Nov 5 10:40:09 2012 From: ptomblin at xcski.com (Paul Tomblin) Date: Mon, 5 Nov 2012 10:40:09 -0500 Subject: [rt-users] Doing scrips in the background? Message-ID: I have a custom workflow which uses a custom web interface. When the user clicks the "Submit" button, the interface creates a "Master" ticket, and then a bunch of sub-tickets, the number of which varies depending what services they are requesting. The users are complaining that the process of submitting is taking too long. If I were to move the sub-ticket creation into an "On Create" scrip to run in TransactionBatch, would that help the "Master" ticket creation return faster, or would the Ticket->Create not return until the scrip ran and finished? -- http://www.linkedin.com/in/paultomblin http://careers.stackoverflow.com/ptomblin -------------- next part -------------- An HTML attachment was scrubbed... URL: From Seth.Lake at vangent.com Mon Nov 5 10:53:36 2012 From: Seth.Lake at vangent.com (Lake, Seth M (Vangent)) Date: Mon, 5 Nov 2012 15:53:36 +0000 Subject: [rt-users] Spreadsheet-esq Web Input In-Reply-To: <344089BE6091124BA4C977E9CDB331CB20FE022F@DENEXCMBP02.vangent.local> References: <344089BE6091124BA4C977E9CDB331CB20FDBFCE@DENEXCMBP02.vangent.local>, <344089BE6091124BA4C977E9CDB331CB20FE008B@DENEXCMBP02.vangent.local>, <344089BE6091124BA4C977E9CDB331CB20FE022F@DENEXCMBP02.vangent.local> Message-ID: <344089BE6091124BA4C977E9CDB331CB20FE0482@DENEXCMBP02.vangent.local> still looking for any info on how to make the CKEditor pop with formatted text (for example on a quoted reply). any help is appreciated, thanks! -------------- next part -------------- An HTML attachment was scrubbed... URL: From michael.kennedy at ucr.edu Mon Nov 5 11:56:36 2012 From: michael.kennedy at ucr.edu (Mike Kennedy) Date: Mon, 5 Nov 2012 16:56:36 +0000 Subject: [rt-users] Require Custom Field for Status Change? Message-ID: <4377A360F69D024197AF65862DEBCC051FE6F532@EXCH-MBOX-2.exch.ucr.edu> Hello, Does anyone have a suggestion about how I might go about requiring some set of custom fields to be filled before a status change can happen? We have a queue that I have on a custom lifecycle. In order to allow a transition from one status "user testing" to "resolved", I want to require that two custom fields are filled out. One way I think I can do this is to write a scrip that checks to see if these are filled out and then reverses the status change with an email to the person making the change. However, this isn't very user friendly. Preferably, there would be a friendly error message on the screen stating that the fields were required for this status change. A validation on the fields wouldn't make sense since they aren't actually required until later in the workflow and as far as I know. Thanks for your suggestions. Mike From kjcsb at xnet.co.nz Mon Nov 5 12:24:14 2012 From: kjcsb at xnet.co.nz (CB) Date: Tue, 6 Nov 2012 06:24:14 +1300 Subject: [rt-users] Error when upgrading database from 3.8.9 to 3.9.1 Message-ID: <000a01cdbb7a$609e1730$21da4590$@co.nz> We're long time RT users and are in the process of upgrading from 3.6.3 to 4.0.8 and are following the instructions on http://www.bestpractical.com/rt/docs/4.0/UPGRADING.mysql.html and http://www.bestpractical.com/rt/docs/4.0/README.html. I upgraded to 3.7.87, ran the extra queries and continued the upgrade however it failed at the step of upgrading to 3.9.1. make upgrade-database /usr/bin/perl -I/opt/rt4/local/lib -I/opt/rt4/lib sbin/rt-setup-database --action upgrade --prompt-for-dba-password In order to create or update your RT database, this script needs to connect to your mysql instance on localhost as root Please specify that user's database password below. If the user has no database password, just press return. Password: Working with: Type: mysql Host: localhost Name: rt4 User: root DBA: root Enter RT version you're upgrading from: 3.8.9 Going to apply following upgrades: * 3.9.1 * 3.9.2 * 3.9.3 * 3.9.5 * 3.9.6 * 3.9.7 * 3.9.8 * 4.0.0rc2 * 4.0.0rc4 * 4.0.0rc7 * 4.0.1 * 4.0.3 * 4.0.4 * 4.0.6 Enter RT version if you want to stop upgrade at some point, or leave it blank if you want apply above upgrades: 3.9.1 [snip] [Mon Nov 5 17:15:24 2012] [warning]: DBD::mysql::st execute failed: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'AND (Groups.Type = 'AdminCc') AND ((Groups.Domain = 'RT::System-Role' AND Groups' at line 1 at /usr/local/share/perl5/DBIx/SearchBuilder/Handle.pm line 587. (/usr/local/share/perl5/DBIx/SearchBuilder/Handle.pm:587) [Mon Nov 5 17:15:24 2012] [warning]: RT::Handle=HASH(0x23f02a8) couldn't execute the query 'SELECT Groups.id FROM Groups, Principals, CachedGroupMembers WHERE Principals.Disabled = 0 AND CachedGroupMembers.Disabled = 0 AND Principals.id = Groups.id AND Principals.PrincipalType = 'Group' AND Principals.id = CachedGroupMembers.GroupId AND CachedGroupMembers.MemberId = AND (Groups.Type = 'AdminCc') AND ((Groups.Domain = 'RT::System-Role' AND Groups.Instance = '1') OR (Groups.Domain = 'RT::System-Role' AND Groups.Instance = '1')) LIMIT 1' at /usr/local/share/perl5/DBIx/SearchBuilder/Handle.pm line 600. DBIx::SearchBuilder::Handle::SimpleQuery('RT::Handle=HASH(0x23f02a8)', 'SELECT Groups.id FROM Groups, Principals, CachedGroupMembers...') called at /usr/local/share/perl5/DBIx/SearchBuilder/Handle.pm line 632 DBIx::SearchBuilder::Handle::FetchResult('RT::Handle=HASH(0x23f02a8)', 'SELECT Groups.id FROM Groups, Principals, CachedGroupMembers...') called at /usr/src/rt-4.0.8/sbin/../lib/RT/Principal.pm line 538 RT::Principal::_HasRoleRight('RT::Principal=HASH(0x3095198)', 'Right', 'ExecuteCode', 'EquivObjects', 'ARRAY(0x3095528)', 'Object', 'RT::System=HASH(0x2f062b0)') called at /usr/src/rt-4.0.8/sbin/../lib/RT/Principal.pm line 447 RT::Principal::_HasRight('RT::Principal=HASH(0x3095198)', 'Right', 'ExecuteCode', 'EquivObjects', 'ARRAY(0x3095528)', 'Object', 'RT::System=HASH(0x2f062b0)') called at /usr/src/rt-4.0.8/sbin/../lib/RT/Principal.pm line 330 RT::Principal::HasRight('RT::Principal=HASH(0x3095198)', 'Right', 'ExecuteCode', 'Object', 'RT::System=HASH(0x2f062b0)') called at ./etc/upgrade/3.9.1/content line 52 RT::Handle::__ANON__() called at /usr/src/rt-4.0.8/sbin/../lib/RT/Handle.pm line 769 eval {...} called at /usr/src/rt-4.0.8/sbin/../lib/RT/Handle.pm line 769 RT::Handle::InsertData('RT::Handle=HASH(0x23f02a8)', './etc/upgrade/3.9.1/content', undef) called at sbin/rt-setup-database line 293 main::action_insert('prompt-for-dba-password', 1, 'datafile', undef, 'action', 'upgrade', 'datadir', './etc/upgrade/3.9.1', 'backcompat', ...) called at sbin/rt-setup-database line 399 main::action_upgrade('prompt-for-dba-password', 1, 'action', 'upgrade', 'dba', 'root') called at sbin/rt-setup-database line 198 (/usr/local/share/perl5/Carp.pm:103) [Mon Nov 5 17:15:24 2012] [warning]: Use of uninitialized value in string eq at /usr/src/rt-4.0.8/sbin/../lib/RT/Principal.pm line 704. (/usr/src/rt-4.0.8/sbin/../lib/RT/Principal.pm:704) [Mon Nov 5 17:15:24 2012] [critical]: at /usr/src/rt-4.0.8/sbin/../lib/RT/ACE.pm line 231. RT::ACE::Create('RT::ACE=HASH(0x3095528)', 'RightName', 'ExecuteCode', 'Object', 'RT::System=HASH(0x2f062b0)', 'PrincipalType', undef, 'PrincipalId', undef, ...) called at /usr/src/rt-4.0.8/sbin/../lib/RT/Principal.pm line 172 RT::Principal::GrantRight('RT::Principal=HASH(0x3095198)', 'Right', 'ExecuteCode', 'Object', 'RT::System=HASH(0x2f062b0)') called at ./etc/upgrade/3.9.1/content line 57 RT::Handle::__ANON__() called at /usr/src/rt-4.0.8/sbin/../lib/RT/Handle.pm line 769 eval {...} called at /usr/src/rt-4.0.8/sbin/../lib/RT/Handle.pm line 769 RT::Handle::InsertData('RT::Handle=HASH(0x23f02a8)', './etc/upgrade/3.9.1/content', undef) called at sbin/rt-setup-database line 293 main::action_insert('prompt-for-dba-password', 1, 'datafile', undef, 'action', 'upgrade', 'datadir', './etc/upgrade/3.9.1', 'backcompat', ...) called at sbin/rt-setup-database line 399 main::action_upgrade('prompt-for-dba-password', 1, 'action', 'upgrade', 'dba', 'root') called at sbin/rt-setup-database line 198 (/usr/src/rt-4.0.8/sbin/../lib/RT/ACE.pm:536) [Mon Nov 5 17:15:24 2012] [warning]: Use of uninitialized value $princ_id in concatenation (.) or string at /usr/src/rt-4.0.8/sbin/../lib/RT/ACE.pm line 537. (/usr/src/rt-4.0.8/sbin/../lib/RT/ACE.pm:537) [Mon Nov 5 17:15:24 2012] [critical]: Can't load a principal for id (/usr/src/rt-4.0.8/sbin/../lib/RT/ACE.pm:537) [Mon Nov 5 17:15:24 2012] [warning]: Unable to grant ExecuteCode on principal : Principal not found. (./etc/upgrade/3.9.1/content:63) [Mon Nov 5 17:15:24 2012] [error]: ACE 24605 couldn't load its principal object (/usr/src/rt-4.0.8/sbin/../lib/RT/ACE.pm:478) [Mon Nov 5 17:15:24 2012] [warning]: Use of uninitialized value in numeric eq (==) at /usr/src/rt-4.0.8/sbin/../lib/RT/Principal.pm line 262. (/usr/src/rt-4.0.8/sbin/../lib/RT/Principal.pm:262) [Mon Nov 5 17:15:24 2012] [warning]: Use of uninitialized value in concatenation (.) or string at /usr/src/rt-4.0.8/sbin/../lib/RT/Principal.pm line 295. (/usr/src/rt-4.0.8/sbin/../lib/RT/Principal.pm:295) [Mon Nov 5 17:15:24 2012] [warning]: Use of uninitialized value in join or string at /usr/src/rt-4.0.8/sbin/../lib/RT/Principal.pm line 315. (/usr/src/rt-4.0.8/sbin/../lib/RT/Principal.pm:315) [Mon Nov 5 17:15:24 2012] [warning]: Use of uninitialized value in join or string at /usr/src/rt-4.0.8/sbin/../lib/RT/Principal.pm line 320. (/usr/src/rt-4.0.8/sbin/../lib/RT/Principal.pm:320) [Mon Nov 5 17:15:24 2012] [warning]: Use of uninitialized value in join or string at /usr/src/rt-4.0.8/sbin/../lib/RT/Principal.pm line 320. (/usr/src/rt-4.0.8/sbin/../lib/RT/Principal.pm:320) [Mon Nov 5 17:15:24 2012] [warning]: Use of uninitialized value in string eq at /usr/src/rt-4.0.8/sbin/../lib/RT/Principal.pm line 704. (/usr/src/rt-4.0.8/sbin/../lib/RT/Principal.pm:704) [Mon Nov 5 17:15:24 2012] [critical]: at /usr/src/rt-4.0.8/sbin/../lib/RT/ACE.pm line 231. RT::ACE::Create('RT::ACE=HASH(0x30960b0)', 'RightName', 'ExecuteCode', 'Object', 'RT::System=HASH(0x2f062b0)', 'PrincipalType', undef, 'PrincipalId', undef, ...) called at /usr/src/rt-4.0.8/sbin/../lib/RT/Principal.pm line 172 RT::Principal::GrantRight('RT::Principal=HASH(0x3096a10)', 'Right', 'ExecuteCode', 'Object', 'RT::System=HASH(0x2f062b0)') called at ./etc/upgrade/3.9.1/content line 57 RT::Handle::__ANON__() called at /usr/src/rt-4.0.8/sbin/../lib/RT/Handle.pm line 769 eval {...} called at /usr/src/rt-4.0.8/sbin/../lib/RT/Handle.pm line 769 RT::Handle::InsertData('RT::Handle=HASH(0x23f02a8)', './etc/upgrade/3.9.1/content', undef) called at sbin/rt-setup-database line 293 main::action_insert('prompt-for-dba-password', 1, 'datafile', undef, 'action', 'upgrade', 'datadir', './etc/upgrade/3.9.1', 'backcompat', ...) called at sbin/rt-setup-database line 399 main::action_upgrade('prompt-for-dba-password', 1, 'action', 'upgrade', 'dba', 'root') called at sbin/rt-setup-database line 198 (/usr/src/rt-4.0.8/sbin/../lib/RT/ACE.pm:536) [Mon Nov 5 17:15:24 2012] [warning]: Use of uninitialized value $princ_id in concatenation (.) or string at /usr/src/rt-4.0.8/sbin/../lib/RT/ACE.pm line 537. (/usr/src/rt-4.0.8/sbin/../lib/RT/ACE.pm:537) [Mon Nov 5 17:15:24 2012] [critical]: Can't load a principal for id (/usr/src/rt-4.0.8/sbin/../lib/RT/ACE.pm:537) [Mon Nov 5 17:15:24 2012] [warning]: Unable to grant ExecuteCode on principal : Principal not found. (./etc/upgrade/3.9.1/content:63) [Mon Nov 5 17:15:24 2012] [error]: ACE 22605 couldn't load its principal object (/usr/src/rt-4.0.8/sbin/../lib/RT/ACE.pm:478) [Mon Nov 5 17:15:24 2012] [warning]: Use of uninitialized value in numeric eq (==) at /usr/src/rt-4.0.8/sbin/../lib/RT/Principal.pm line 262. (/usr/src/rt-4.0.8/sbin/../lib/RT/Principal.pm:262) [Mon Nov 5 17:15:24 2012] [warning]: Use of uninitialized value in concatenation (.) or string at /usr/src/rt-4.0.8/sbin/../lib/RT/Principal.pm line 295. (/usr/src/rt-4.0.8/sbin/../lib/RT/Principal.pm:295) [Mon Nov 5 17:15:24 2012] [warning]: Use of uninitialized value in join or string at /usr/src/rt-4.0.8/sbin/../lib/RT/Principal.pm line 315. (/usr/src/rt-4.0.8/sbin/../lib/RT/Principal.pm:315) [Mon Nov 5 17:15:24 2012] [warning]: Use of uninitialized value in join or string at /usr/src/rt-4.0.8/sbin/../lib/RT/Principal.pm line 320. (/usr/src/rt-4.0.8/sbin/../lib/RT/Principal.pm:320) [Mon Nov 5 17:15:24 2012] [warning]: Use of uninitialized value in join or string at /usr/src/rt-4.0.8/sbin/../lib/RT/Principal.pm line 320. (/usr/src/rt-4.0.8/sbin/../lib/RT/Principal.pm:320) [Mon Nov 5 17:15:24 2012] [warning]: Use of uninitialized value in string eq at /usr/src/rt-4.0.8/sbin/../lib/RT/Principal.pm line 704. (/usr/src/rt-4.0.8/sbin/../lib/RT/Principal.pm:704) [Mon Nov 5 17:15:24 2012] [critical]: at /usr/src/rt-4.0.8/sbin/../lib/RT/ACE.pm line 231. RT::ACE::Create('RT::ACE=HASH(0x30962c0)', 'RightName', 'ExecuteCode', 'Object', 'RT::System=HASH(0x2f062b0)', 'PrincipalType', undef, 'PrincipalId', undef, ...) called at /usr/src/rt-4.0.8/sbin/../lib/RT/Principal.pm line 172 RT::Principal::GrantRight('RT::Principal=HASH(0x3096ab8)', 'Right', 'ExecuteCode', 'Object', 'RT::System=HASH(0x2f062b0)') called at ./etc/upgrade/3.9.1/content line 57 RT::Handle::__ANON__() called at /usr/src/rt-4.0.8/sbin/../lib/RT/Handle.pm line 769 eval {...} called at /usr/src/rt-4.0.8/sbin/../lib/RT/Handle.pm line 769 RT::Handle::InsertData('RT::Handle=HASH(0x23f02a8)', './etc/upgrade/3.9.1/content', undef) called at sbin/rt-setup-database line 293 main::action_insert('prompt-for-dba-password', 1, 'datafile', undef, 'action', 'upgrade', 'datadir', './etc/upgrade/3.9.1', 'backcompat', ...) called at sbin/rt-setup-database line 399 main::action_upgrade('prompt-for-dba-password', 1, 'action', 'upgrade', 'dba', 'root') called at sbin/rt-setup-database line 198 (/usr/src/rt-4.0.8/sbin/../lib/RT/ACE.pm:536) [Mon Nov 5 17:15:24 2012] [warning]: Use of uninitialized value $princ_id in concatenation (.) or string at /usr/src/rt-4.0.8/sbin/../lib/RT/ACE.pm line 537. (/usr/src/rt-4.0.8/sbin/../lib/RT/ACE.pm:537) [Mon Nov 5 17:15:24 2012] [critical]: Can't load a principal for id (/usr/src/rt-4.0.8/sbin/../lib/RT/ACE.pm:537) [Mon Nov 5 17:15:24 2012] [warning]: Unable to grant ExecuteCode on principal : Principal not found. (./etc/upgrade/3.9.1/content:63) [Mon Nov 5 17:15:24 2012] [error]: ACE 25655 couldn't load its principal object (/usr/src/rt-4.0.8/sbin/../lib/RT/ACE.pm:478) [Mon Nov 5 17:15:24 2012] [warning]: Use of uninitialized value in numeric eq (==) at /usr/src/rt-4.0.8/sbin/../lib/RT/Principal.pm line 262. (/usr/src/rt-4.0.8/sbin/../lib/RT/Principal.pm:262) [Mon Nov 5 17:15:24 2012] [warning]: Use of uninitialized value in concatenation (.) or string at /usr/src/rt-4.0.8/sbin/../lib/RT/Principal.pm line 295. (/usr/src/rt-4.0.8/sbin/../lib/RT/Principal.pm:295) [Mon Nov 5 17:15:24 2012] [warning]: Use of uninitialized value in join or string at /usr/src/rt-4.0.8/sbin/../lib/RT/Principal.pm line 315. (/usr/src/rt-4.0.8/sbin/../lib/RT/Principal.pm:315) [Mon Nov 5 17:15:24 2012] [warning]: Use of uninitialized value in join or string at /usr/src/rt-4.0.8/sbin/../lib/RT/Principal.pm line 320. (/usr/src/rt-4.0.8/sbin/../lib/RT/Principal.pm:320) [Mon Nov 5 17:15:24 2012] [warning]: Use of uninitialized value in join or string at /usr/src/rt-4.0.8/sbin/../lib/RT/Principal.pm line 320. (/usr/src/rt-4.0.8/sbin/../lib/RT/Principal.pm:320) [Mon Nov 5 17:15:24 2012] [warning]: Use of uninitialized value in string eq at /usr/src/rt-4.0.8/sbin/../lib/RT/Principal.pm line 704. (/usr/src/rt-4.0.8/sbin/../lib/RT/Principal.pm:704) [Mon Nov 5 17:15:24 2012] [critical]: at /usr/src/rt-4.0.8/sbin/../lib/RT/ACE.pm line 231. RT::ACE::Create('RT::ACE=HASH(0x30957b0)', 'RightName', 'ExecuteCode', 'Object', 'RT::System=HASH(0x2f062b0)', 'PrincipalType', undef, 'PrincipalId', undef, ...) called at /usr/src/rt-4.0.8/sbin/../lib/RT/Principal.pm line 172 RT::Principal::GrantRight('RT::Principal=HASH(0x3096788)', 'Right', 'ExecuteCode', 'Object', 'RT::System=HASH(0x2f062b0)') called at ./etc/upgrade/3.9.1/content line 57 RT::Handle::__ANON__() called at /usr/src/rt-4.0.8/sbin/../lib/RT/Handle.pm line 769 eval {...} called at /usr/src/rt-4.0.8/sbin/../lib/RT/Handle.pm line 769 RT::Handle::InsertData('RT::Handle=HASH(0x23f02a8)', './etc/upgrade/3.9.1/content', undef) called at sbin/rt-setup-database line 293 main::action_insert('prompt-for-dba-password', 1, 'datafile', undef, 'action', 'upgrade', 'datadir', './etc/upgrade/3.9.1', 'backcompat', ...) called at sbin/rt-setup-database line 399 main::action_upgrade('prompt-for-dba-password', 1, 'action', 'upgrade', 'dba', 'root') called at sbin/rt-setup-database line 198 (/usr/src/rt-4.0.8/sbin/../lib/RT/ACE.pm:536) [Mon Nov 5 17:15:24 2012] [warning]: Use of uninitialized value $princ_id in concatenation (.) or string at /usr/src/rt-4.0.8/sbin/../lib/RT/ACE.pm line 537. (/usr/src/rt-4.0.8/sbin/../lib/RT/ACE.pm:537) [Mon Nov 5 17:15:24 2012] [critical]: Can't load a principal for id (/usr/src/rt-4.0.8/sbin/../lib/RT/ACE.pm:537) [Mon Nov 5 17:15:24 2012] [warning]: Unable to grant ExecuteCode on principal : Principal not found. (./etc/upgrade/3.9.1/content:63) [Mon Nov 5 17:15:24 2012] [error]: ACE 21605 couldn't load its principal object (/usr/src/rt-4.0.8/sbin/../lib/RT/ACE.pm:478) [Mon Nov 5 17:15:24 2012] [warning]: Use of uninitialized value in numeric eq (==) at /usr/src/rt-4.0.8/sbin/../lib/RT/Principal.pm line 262. (/usr/src/rt-4.0.8/sbin/../lib/RT/Principal.pm:262) [Mon Nov 5 17:15:24 2012] [warning]: Use of uninitialized value in concatenation (.) or string at /usr/src/rt-4.0.8/sbin/../lib/RT/Principal.pm line 295. (/usr/src/rt-4.0.8/sbin/../lib/RT/Principal.pm:295) [Mon Nov 5 17:15:24 2012] [warning]: Use of uninitialized value in join or string at /usr/src/rt-4.0.8/sbin/../lib/RT/Principal.pm line 315. (/usr/src/rt-4.0.8/sbin/../lib/RT/Principal.pm:315) [Mon Nov 5 17:15:24 2012] [warning]: Use of uninitialized value in join or string at /usr/src/rt-4.0.8/sbin/../lib/RT/Principal.pm line 320. (/usr/src/rt-4.0.8/sbin/../lib/RT/Principal.pm:320) [Mon Nov 5 17:15:24 2012] [warning]: Use of uninitialized value in join or string at /usr/src/rt-4.0.8/sbin/../lib/RT/Principal.pm line 320. (/usr/src/rt-4.0.8/sbin/../lib/RT/Principal.pm:320) [Mon Nov 5 17:15:24 2012] [warning]: Use of uninitialized value in string eq at /usr/src/rt-4.0.8/sbin/../lib/RT/Principal.pm line 704. (/usr/src/rt-4.0.8/sbin/../lib/RT/Principal.pm:704) [Mon Nov 5 17:15:24 2012] [critical]: at /usr/src/rt-4.0.8/sbin/../lib/RT/ACE.pm line 231. RT::ACE::Create('RT::ACE=HASH(0x30977f0)', 'RightName', 'ExecuteCode', 'Object', 'RT::System=HASH(0x2f062b0)', 'PrincipalType', undef, 'PrincipalId', undef, ...) called at /usr/src/rt-4.0.8/sbin/../lib/RT/Principal.pm line 172 RT::Principal::GrantRight('RT::Principal=HASH(0x3097340)', 'Right', 'ExecuteCode', 'Object', 'RT::System=HASH(0x2f062b0)') called at ./etc/upgrade/3.9.1/content line 57 RT::Handle::__ANON__() called at /usr/src/rt-4.0.8/sbin/../lib/RT/Handle.pm line 769 eval {...} called at /usr/src/rt-4.0.8/sbin/../lib/RT/Handle.pm line 769 RT::Handle::InsertData('RT::Handle=HASH(0x23f02a8)', './etc/upgrade/3.9.1/content', undef) called at sbin/rt-setup-database line 293 main::action_insert('prompt-for-dba-password', 1, 'datafile', undef, 'action', 'upgrade', 'datadir', './etc/upgrade/3.9.1', 'backcompat', ...) called at sbin/rt-setup-database line 399 main::action_upgrade('prompt-for-dba-password', 1, 'action', 'upgrade', 'dba', 'root') called at sbin/rt-setup-database line 198 (/usr/src/rt-4.0.8/sbin/../lib/RT/ACE.pm:536) [Mon Nov 5 17:15:24 2012] [warning]: Use of uninitialized value $princ_id in concatenation (.) or string at /usr/src/rt-4.0.8/sbin/../lib/RT/ACE.pm line 537. (/usr/src/rt-4.0.8/sbin/../lib/RT/ACE.pm:537) [Mon Nov 5 17:15:24 2012] [critical]: Can't load a principal for id (/usr/src/rt-4.0.8/sbin/../lib/RT/ACE.pm:537) [Mon Nov 5 17:15:24 2012] [warning]: Unable to grant ExecuteCode on principal : Principal not found. (./etc/upgrade/3.9.1/content:63) [Mon Nov 5 17:15:24 2012] [error]: ACE 24655 couldn't load its principal object (/usr/src/rt-4.0.8/sbin/../lib/RT/ACE.pm:478) [Mon Nov 5 17:15:24 2012] [warning]: Use of uninitialized value in numeric eq (==) at /usr/src/rt-4.0.8/sbin/../lib/RT/Principal.pm line 262. (/usr/src/rt-4.0.8/sbin/../lib/RT/Principal.pm:262) [Mon Nov 5 17:15:24 2012] [warning]: Use of uninitialized value in concatenation (.) or string at /usr/src/rt-4.0.8/sbin/../lib/RT/Principal.pm line 295. (/usr/src/rt-4.0.8/sbin/../lib/RT/Principal.pm:295) [Mon Nov 5 17:15:24 2012] [warning]: Use of uninitialized value in join or string at /usr/src/rt-4.0.8/sbin/../lib/RT/Principal.pm line 315. (/usr/src/rt-4.0.8/sbin/../lib/RT/Principal.pm:315) [Mon Nov 5 17:15:24 2012] [warning]: Use of uninitialized value in join or string at /usr/src/rt-4.0.8/sbin/../lib/RT/Principal.pm line 320. (/usr/src/rt-4.0.8/sbin/../lib/RT/Principal.pm:320) [Mon Nov 5 17:15:24 2012] [warning]: Use of uninitialized value in join or string at /usr/src/rt-4.0.8/sbin/../lib/RT/Principal.pm line 320. (/usr/src/rt-4.0.8/sbin/../lib/RT/Principal.pm:320) [Mon Nov 5 17:15:24 2012] [warning]: Use of uninitialized value in string eq at /usr/src/rt-4.0.8/sbin/../lib/RT/Principal.pm line 704. (/usr/src/rt-4.0.8/sbin/../lib/RT/Principal.pm:704) [Mon Nov 5 17:15:24 2012] [critical]: at /usr/src/rt-4.0.8/sbin/../lib/RT/ACE.pm line 231. RT::ACE::Create('RT::ACE=HASH(0x30957b0)', 'RightName', 'ExecuteCode', 'Object', 'RT::System=HASH(0x2f062b0)', 'PrincipalType', undef, 'PrincipalId', undef, ...) called at /usr/src/rt-4.0.8/sbin/../lib/RT/Principal.pm line 172 RT::Principal::GrantRight('RT::Principal=HASH(0x3097400)', 'Right', 'ExecuteCode', 'Object', 'RT::System=HASH(0x2f062b0)') called at ./etc/upgrade/3.9.1/content line 57 RT::Handle::__ANON__() called at /usr/src/rt-4.0.8/sbin/../lib/RT/Handle.pm line 769 eval {...} called at /usr/src/rt-4.0.8/sbin/../lib/RT/Handle.pm line 769 RT::Handle::InsertData('RT::Handle=HASH(0x23f02a8)', './etc/upgrade/3.9.1/content', undef) called at sbin/rt-setup-database line 293 main::action_insert('prompt-for-dba-password', 1, 'datafile', undef, 'action', 'upgrade', 'datadir', './etc/upgrade/3.9.1', 'backcompat', ...) called at sbin/rt-setup-database line 399 main::action_upgrade('prompt-for-dba-password', 1, 'action', 'upgrade', 'dba', 'root') called at sbin/rt-setup-database line 198 (/usr/src/rt-4.0.8/sbin/../lib/RT/ACE.pm:536) [Mon Nov 5 17:15:24 2012] [warning]: Use of uninitialized value $princ_id in concatenation (.) or string at /usr/src/rt-4.0.8/sbin/../lib/RT/ACE.pm line 537. (/usr/src/rt-4.0.8/sbin/../lib/RT/ACE.pm:537) [Mon Nov 5 17:15:24 2012] [critical]: Can't load a principal for id (/usr/src/rt-4.0.8/sbin/../lib/RT/ACE.pm:537) [Mon Nov 5 17:15:24 2012] [warning]: Unable to grant ExecuteCode on principal : Principal not found. (./etc/upgrade/3.9.1/content:63) [Mon Nov 5 17:15:24 2012] [error]: ACE 22655 couldn't load its principal object (/usr/src/rt-4.0.8/sbin/../lib/RT/ACE.pm:478) [Mon Nov 5 17:15:24 2012] [warning]: Use of uninitialized value in numeric eq (==) at /usr/src/rt-4.0.8/sbin/../lib/RT/Principal.pm line 262. (/usr/src/rt-4.0.8/sbin/../lib/RT/Principal.pm:262) [Mon Nov 5 17:15:24 2012] [warning]: Use of uninitialized value in concatenation (.) or string at /usr/src/rt-4.0.8/sbin/../lib/RT/Principal.pm line 295. (/usr/src/rt-4.0.8/sbin/../lib/RT/Principal.pm:295) [Mon Nov 5 17:15:24 2012] [warning]: Use of uninitialized value in join or string at /usr/src/rt-4.0.8/sbin/../lib/RT/Principal.pm line 315. (/usr/src/rt-4.0.8/sbin/../lib/RT/Principal.pm:315) [Mon Nov 5 17:15:24 2012] [warning]: Use of uninitialized value in join or string at /usr/src/rt-4.0.8/sbin/../lib/RT/Principal.pm line 320. (/usr/src/rt-4.0.8/sbin/../lib/RT/Principal.pm:320) [Mon Nov 5 17:15:24 2012] [warning]: Use of uninitialized value in join or string at /usr/src/rt-4.0.8/sbin/../lib/RT/Principal.pm line 320. (/usr/src/rt-4.0.8/sbin/../lib/RT/Principal.pm:320) [Mon Nov 5 17:15:24 2012] [warning]: Use of uninitialized value in string eq at /usr/src/rt-4.0.8/sbin/../lib/RT/Principal.pm line 704. (/usr/src/rt-4.0.8/sbin/../lib/RT/Principal.pm:704) [Mon Nov 5 17:15:24 2012] [critical]: at /usr/src/rt-4.0.8/sbin/../lib/RT/ACE.pm line 231. RT::ACE::Create('RT::ACE=HASH(0x30977c0)', 'RightName', 'ExecuteCode', 'Object', 'RT::System=HASH(0x2f062b0)', 'PrincipalType', undef, 'PrincipalId', undef, ...) called at /usr/src/rt-4.0.8/sbin/../lib/RT/Principal.pm line 172 RT::Principal::GrantRight('RT::Principal=HASH(0x1c6ee70)', 'Right', 'ExecuteCode', 'Object', 'RT::System=HASH(0x2f062b0)') called at ./etc/upgrade/3.9.1/content line 57 RT::Handle::__ANON__() called at /usr/src/rt-4.0.8/sbin/../lib/RT/Handle.pm line 769 eval {...} called at /usr/src/rt-4.0.8/sbin/../lib/RT/Handle.pm line 769 RT::Handle::InsertData('RT::Handle=HASH(0x23f02a8)', './etc/upgrade/3.9.1/content', undef) called at sbin/rt-setup-database line 293 main::action_insert('prompt-for-dba-password', 1, 'datafile', undef, 'action', 'upgrade', 'datadir', './etc/upgrade/3.9.1', 'backcompat', ...) called at sbin/rt-setup-database line 399 main::action_upgrade('prompt-for-dba-password', 1, 'action', 'upgrade', 'dba', 'root') called at sbin/rt-setup-database line 198 (/usr/src/rt-4.0.8/sbin/../lib/RT/ACE.pm:536) [Mon Nov 5 17:15:24 2012] [warning]: Use of uninitialized value $princ_id in concatenation (.) or string at /usr/src/rt-4.0.8/sbin/../lib/RT/ACE.pm line 537. (/usr/src/rt-4.0.8/sbin/../lib/RT/ACE.pm:537) [Mon Nov 5 17:15:24 2012] [critical]: Can't load a principal for id (/usr/src/rt-4.0.8/sbin/../lib/RT/ACE.pm:537) [Mon Nov 5 17:15:24 2012] [warning]: Unable to grant ExecuteCode on principal : Principal not found. (./etc/upgrade/3.9.1/content:63) [Mon Nov 5 17:15:24 2012] [error]: ACE 25705 couldn't load its principal object (/usr/src/rt-4.0.8/sbin/../lib/RT/ACE.pm:478) [Mon Nov 5 17:15:24 2012] [warning]: Use of uninitialized value in numeric eq (==) at /usr/src/rt-4.0.8/sbin/../lib/RT/Principal.pm line 262. (/usr/src/rt-4.0.8/sbin/../lib/RT/Principal.pm:262) [Mon Nov 5 17:15:24 2012] [warning]: Use of uninitialized value in concatenation (.) or string at /usr/src/rt-4.0.8/sbin/../lib/RT/Principal.pm line 295. (/usr/src/rt-4.0.8/sbin/../lib/RT/Principal.pm:295) [Mon Nov 5 17:15:24 2012] [warning]: Use of uninitialized value in join or string at /usr/src/rt-4.0.8/sbin/../lib/RT/Principal.pm line 315. (/usr/src/rt-4.0.8/sbin/../lib/RT/Principal.pm:315) [Mon Nov 5 17:15:24 2012] [warning]: Use of uninitialized value in join or string at /usr/src/rt-4.0.8/sbin/../lib/RT/Principal.pm line 320. (/usr/src/rt-4.0.8/sbin/../lib/RT/Principal.pm:320) [Mon Nov 5 17:15:24 2012] [warning]: Use of uninitialized value in join or string at /usr/src/rt-4.0.8/sbin/../lib/RT/Principal.pm line 320. (/usr/src/rt-4.0.8/sbin/../lib/RT/Principal.pm:320) [Mon Nov 5 17:15:24 2012] [warning]: Use of uninitialized value in string eq at /usr/src/rt-4.0.8/sbin/../lib/RT/Principal.pm line 704. (/usr/src/rt-4.0.8/sbin/../lib/RT/Principal.pm:704) [Mon Nov 5 17:15:24 2012] [critical]: at /usr/src/rt-4.0.8/sbin/../lib/RT/ACE.pm line 231. RT::ACE::Create('RT::ACE=HASH(0x3097370)', 'RightName', 'ExecuteCode', 'Object', 'RT::System=HASH(0x2f062b0)', 'PrincipalType', undef, 'PrincipalId', undef, ...) called at /usr/src/rt-4.0.8/sbin/../lib/RT/Principal.pm line 172 RT::Principal::GrantRight('RT::Principal=HASH(0x3097610)', 'Right', 'ExecuteCode', 'Object', 'RT::System=HASH(0x2f062b0)') called at ./etc/upgrade/3.9.1/content line 57 RT::Handle::__ANON__() called at /usr/src/rt-4.0.8/sbin/../lib/RT/Handle.pm line 769 eval {...} called at /usr/src/rt-4.0.8/sbin/../lib/RT/Handle.pm line 769 RT::Handle::InsertData('RT::Handle=HASH(0x23f02a8)', './etc/upgrade/3.9.1/content', undef) called at sbin/rt-setup-database line 293 main::action_insert('prompt-for-dba-password', 1, 'datafile', undef, 'action', 'upgrade', 'datadir', './etc/upgrade/3.9.1', 'backcompat', ...) called at sbin/rt-setup-database line 399 main::action_upgrade('prompt-for-dba-password', 1, 'action', 'upgrade', 'dba', 'root') called at sbin/rt-setup-database line 198 (/usr/src/rt-4.0.8/sbin/../lib/RT/ACE.pm:536) [Mon Nov 5 17:15:24 2012] [warning]: Use of uninitialized value $princ_id in concatenation (.) or string at /usr/src/rt-4.0.8/sbin/../lib/RT/ACE.pm line 537. (/usr/src/rt-4.0.8/sbin/../lib/RT/ACE.pm:537) [Mon Nov 5 17:15:24 2012] [critical]: Can't load a principal for id (/usr/src/rt-4.0.8/sbin/../lib/RT/ACE.pm:537) [Mon Nov 5 17:15:24 2012] [warning]: Unable to grant ExecuteCode on principal : Principal not found. (./etc/upgrade/3.9.1/content:63) Done. Any suggestions appreciated. From trs at bestpractical.com Mon Nov 5 13:47:32 2012 From: trs at bestpractical.com (Thomas Sibley) Date: Mon, 05 Nov 2012 10:47:32 -0800 Subject: [rt-users] Require Custom Field for Status Change? In-Reply-To: <4377A360F69D024197AF65862DEBCC051FE6F532@EXCH-MBOX-2.exch.ucr.edu> References: <4377A360F69D024197AF65862DEBCC051FE6F532@EXCH-MBOX-2.exch.ucr.edu> Message-ID: <509809C4.5070606@bestpractical.com> On 11/05/2012 08:56 AM, Mike Kennedy wrote: > Does anyone have a suggestion about how I might go about requiring > some set of custom fields to be filled before a status change can > happen? We have a queue that I have on a custom lifecycle. In order > to allow a transition from one status "user testing" to "resolved", I > want to require that two custom fields are filled out. There's actually an extension we've written to do this (RT-Extension-MandatoryOnTransition), which is currently getting polished. It should be released soon, if you can wait. From trs at bestpractical.com Mon Nov 5 14:37:15 2012 From: trs at bestpractical.com (Thomas Sibley) Date: Mon, 05 Nov 2012 11:37:15 -0800 Subject: [rt-users] Error when upgrading database from 3.8.9 to 3.9.1 In-Reply-To: <000a01cdbb7a$609e1730$21da4590$@co.nz> References: <000a01cdbb7a$609e1730$21da4590$@co.nz> Message-ID: <5098156B.3050101@bestpractical.com> On 11/05/2012 09:24 AM, CB wrote: > We're long time RT users and are in the process of upgrading from 3.6.3 to > 4.0.8 and are following the instructions on > http://www.bestpractical.com/rt/docs/4.0/UPGRADING.mysql.html and > http://www.bestpractical.com/rt/docs/4.0/README.html. I upgraded to 3.7.87, > ran the extra queries and continued the upgrade however it failed at the > step of upgrading to 3.9.1. Be sure to read the other UPGRADING documentation as well, for all versions between 3.6.3 and 4.0.8. Your database contains rows in the ACL table which point to Principals that no longer exist. Grep for the [error] lines "ACE NNNN couldn't load it's principal object". This indicates that records were manually deleted from the database at some point, and done so incorrectly (as is almost always the case with manual deletes by folks not understanding the whole of the database). The code doesn't handle this error case and blows up. The ACL rows in question are: 21605 22605 22655 24605 24655 25655 25705 You may want to take a look and see what happened to the Principals referred to. To proceed with the upgrade, add the following line to etc/upgrade/3.9.1/content after the line reading "my $principal = $ace->PrincipalObj;": next unless $principal->id; After you've upgraded to 4.0.8, you'll want to run rt-validator to check the integrity of your database and clean it up. Thomas From mmcgrath at carthage.edu Mon Nov 5 16:54:26 2012 From: mmcgrath at carthage.edu (Max McGrath) Date: Mon, 5 Nov 2012 15:54:26 -0600 Subject: [rt-users] Where are comments and correspondence held? Message-ID: Running RT 4.0.6. Curious where the content of *comments* and/or * correspondence* resides in the database? Max -- Max McGrath Network Administrator Carthage College 262-552-5512 mmcgrath at carthage.edu -------------- next part -------------- An HTML attachment was scrubbed... URL: From jblaine at kickflop.net Mon Nov 5 17:16:55 2012 From: jblaine at kickflop.net (Jeff Blaine) Date: Mon, 05 Nov 2012 17:16:55 -0500 Subject: [rt-users] Where are comments and correspondence held? In-Reply-To: References: Message-ID: <50983AD7.1050802@kickflop.net> On 11/5/2012 4:54 PM, Max McGrath wrote: > Running RT 4.0.6. Curious where the content of *comments* and/or > *correspondence* resides in the database? In the transactions table, as I recall. From chrisherrmann7 at gmail.com Mon Nov 5 23:54:46 2012 From: chrisherrmann7 at gmail.com (Chris Herrmann) Date: Tue, 6 Nov 2012 15:54:46 +1100 Subject: [rt-users] Spreadsheet esq In-Reply-To: References: Message-ID: <5B17D230-0016-4702-A303-F27FE3818F79@gmail.com> How about using rtfm and creating an article? I'm not sure if it's possible to put HTML into the template article however (have never tried). That might get you an HTML table with headings at least? From robert.wysocki at contium.pl Tue Nov 6 01:29:44 2012 From: robert.wysocki at contium.pl (Robert Wysocki) Date: Tue, 6 Nov 2012 07:29:44 +0100 Subject: [rt-users] Where are comments and correspondence held? In-Reply-To: <50983AD7.1050802@kickflop.net> References: <50983AD7.1050802@kickflop.net> Message-ID: <1352183384.3477.3.camel@s-rwysocki> Dnia 2012-11-05, pon o godzinie 17:16 -0500, Jeff Blaine pisze: > On 11/5/2012 4:54 PM, Max McGrath wrote: > > Running RT 4.0.6. Curious where the content of *comments* and/or > > *correspondence* resides in the database? > > In the transactions table, as I recall. Actually in the attachments tabel. Regards, -- Robert Wysocki administrator system?w linuksowych Contium S.A., http://www.contium.pl From bertignac at gmail.com Tue Nov 6 03:42:05 2012 From: bertignac at gmail.com (L B) Date: Tue, 6 Nov 2012 09:42:05 +0100 Subject: [rt-users] Upload multiple files customfield in Articles : no content Message-ID: Hi, I'm running RT 4.0.6. I have an article with an "Upload multiple files" custom field. I have defined two PDFs in my article for this custom field. When I try to use the article in a RT reply, I just see the two file names but not the content. I don't see many other ways to make it work. Is it normal / a bug / a feature ? Thanks! -- L.B. -------------- next part -------------- An HTML attachment was scrubbed... URL: From tjrc at sanger.ac.uk Tue Nov 6 04:58:05 2012 From: tjrc at sanger.ac.uk (Tim Cutts) Date: Tue, 6 Nov 2012 09:58:05 +0000 Subject: [rt-users] Where are comments and correspondence held? In-Reply-To: <1352183384.3477.3.camel@s-rwysocki> References: <50983AD7.1050802@kickflop.net> <1352183384.3477.3.camel@s-rwysocki> Message-ID: On 6 Nov 2012, at 06:29, Robert Wysocki wrote: > Dnia 2012-11-05, pon o godzinie 17:16 -0500, Jeff Blaine pisze: >> On 11/5/2012 4:54 PM, Max McGrath wrote: >>> Running RT 4.0.6. Curious where the content of *comments* and/or >>> *correspondence* resides in the database? >> >> In the transactions table, as I recall. > > Actually in the attachments tabel. Yep - each Ticket has 1..n transactions in the Transactions table, and each Transaction has 0..n attachments in the Attachments table. The content of each comment or correspondence resides in the Attachments table. It's often encoded, so it's not always trivial to extract the content with simple SQL. For example, the following na?ve query gets the attachment rows for a ticket: SELECT a.* FROM Tickets t, Transactions tx, Attachments a WHERE t.id = 294774 AND tx.ObjectId = t.id AND tx.ObjectType = 'RT::Ticket' AND tx.id = a.TransactionId; But generally you don't want to do that, and instead you want to use the perl API to get at them: my $attachments = RT::Attachments->new(RT->SystemUser); $attachments->LimitByTicket(294774); $attachments->LimitNotEmpty; while (my $a = $attachments->Next) { print $a->Content, "\n\n"; } Regards, Tim -- The Wellcome Trust Sanger Institute is operated by Genome Research Limited, a charity registered in England with number 1021457 and a company registered in England with number 2742969, whose registered office is 215 Euston Road, London, NW1 2BE. From ptomblin at xcski.com Tue Nov 6 07:24:38 2012 From: ptomblin at xcski.com (Paul Tomblin) Date: Tue, 6 Nov 2012 07:24:38 -0500 Subject: [rt-users] Where are comments and correspondence held? In-Reply-To: References: <50983AD7.1050802@kickflop.net> <1352183384.3477.3.camel@s-rwysocki> Message-ID: On Tue, Nov 6, 2012 at 4:58 AM, Tim Cutts wrote: > But generally you don't want to do that, and instead you want to use the > perl API to get at them: > > my $attachments = RT::Attachments->new(RT->SystemUser); > $attachments->LimitByTicket(294774); > $attachments->LimitNotEmpty; > And if you *just* want Comments, say, you can do my $attachments = RT::Attachments->new(RT->SystemUser); $attachments->LimitByTicket(294774); $attachments->Limit( ALIAS => $attachments->TransactionAlias, FIELD => 'Type', OPERATOR => '=', VALUE => 'Comment', ENTRYAGGREGATOR => 'OR', CASESENSITIVE => 1 ); while (my $attachment = $attachments->Next) { (If there's an easier way to do that, please let me know) -- http://www.linkedin.com/in/paultomblin http://careers.stackoverflow.com/ptomblin -------------- next part -------------- An HTML attachment was scrubbed... URL: From mmcgrath at carthage.edu Tue Nov 6 09:52:45 2012 From: mmcgrath at carthage.edu (Max McGrath) Date: Tue, 6 Nov 2012 08:52:45 -0600 Subject: [rt-users] Where are comments and correspondence held? In-Reply-To: References: <50983AD7.1050802@kickflop.net> <1352183384.3477.3.camel@s-rwysocki> Message-ID: Thanks all! Very helpful! -- Max McGrath Network Administrator Carthage College 262-552-5512 mmcgrath at carthage.edu On Tue, Nov 6, 2012 at 6:24 AM, Paul Tomblin wrote: > > > On Tue, Nov 6, 2012 at 4:58 AM, Tim Cutts wrote: > >> But generally you don't want to do that, and instead you want to use the >> perl API to get at them: >> >> my $attachments = RT::Attachments->new(RT->SystemUser); >> $attachments->LimitByTicket(294774); >> $attachments->LimitNotEmpty; >> > > And if you *just* want Comments, say, you can do > > my $attachments = RT::Attachments->new(RT->SystemUser); > $attachments->LimitByTicket(294774); > $attachments->Limit( > ALIAS => $attachments->TransactionAlias, > FIELD => 'Type', > OPERATOR => '=', > VALUE => 'Comment', > ENTRYAGGREGATOR => 'OR', > CASESENSITIVE => 1 > ); > > while (my $attachment = $attachments->Next) > { > > (If there's an easier way to do that, please let me know) > > -- > http://www.linkedin.com/in/paultomblin > http://careers.stackoverflow.com/ptomblin > > > -------- > We're hiring! http://bestpractical.com/jobs > > -------------- next part -------------- An HTML attachment was scrubbed... URL: From testwreq at gmail.com Tue Nov 6 10:39:18 2012 From: testwreq at gmail.com (testwreq wreq) Date: Tue, 6 Nov 2012 10:39:18 -0500 Subject: [rt-users] RT 4.0.8 on Ubuntu 12.04 release config error help Message-ID: I am following installation instructions from the README: http://bestpractical.com/rt/docs/latest/README.html RT configure command failed with the following error on my new ubuntu install. I will appreciate if anyone can advise a way to proceed further? What is the fix for this error? root at rt:/rt/rt-4.0.8# ./configure --prefix=/rt --with-web-user=www-data --with-web-group=www-data checking for a BSD-compatible install... /usr/bin/install -c checking for perl... /usr/bin/perl checking for chosen layout... relative checking if group rt3 exists... not found checking if group rt exists... not found checking if group www-data exists... found checking if database name is set... yes checking if database name is valid... yes checking for gcc... no checking for cc... no checking for cl.exe... no configure: error: in `/rt/rt-4.0.8': configure: error: no acceptable C compiler found in $PATH See `config.log' for more details Below is more information from config.log file: ## ----------- ## ## Core tests. ## ## ----------- ## configure:2006: checking for a BSD-compatible install configure:2074: result: /usr/bin/install -c configure:2088: checking for perl configure:2106: found /usr/bin/perl configure:2119: result: /usr/bin/perl configure:2497: checking for chosen layout configure:2510: result: relative configure:2712: checking if group rt3 exists configure:2718: result: not found configure:2712: checking if group rt exists configure:2718: result: not found configure:2712: checking if group www-data exists configure:2715: result: found configure:2744: checking if database name is set configure:2747: result: yes configure:2755: checking if database name is valid configure:2758: result: yes configure:2849: checking for gcc configure:2879: result: no configure:2942: checking for cc configure:2989: result: no configure:3045: checking for cl.exe configure:3075: result: no configure:3099: error: in `/rt/rt-4.0.8': configure:3101: error: no acceptable C compiler found in $PATH See `config.log' for more details -------------- next part -------------- An HTML attachment was scrubbed... URL: From dominic.hargreaves at it.ox.ac.uk Tue Nov 6 10:56:46 2012 From: dominic.hargreaves at it.ox.ac.uk (Dominic Hargreaves) Date: Tue, 6 Nov 2012 15:56:46 +0000 Subject: [rt-users] RT 4.0.8 on Ubuntu 12.04 release config error help In-Reply-To: References: Message-ID: <20121106155646.GF4146@squash.oucs.ox.ac.uk> On Tue, Nov 06, 2012 at 10:39:18AM -0500, testwreq wreq wrote: > I am following installation instructions from the README: > http://bestpractical.com/rt/docs/latest/README.html > > RT configure command failed with the following error on my new ubuntu > install. I will appreciate if anyone can advise a way to proceed further? > What is the fix for this error? > > > root at rt:/rt/rt-4.0.8# ./configure --prefix=/rt --with-web-user=www-data > --with-web-group=www-data > checking for a BSD-compatible install... /usr/bin/install -c > checking for perl... /usr/bin/perl > checking for chosen layout... relative > checking if group rt3 exists... not found > checking if group rt exists... not found > checking if group www-data exists... found > checking if database name is set... yes > checking if database name is valid... yes > checking for gcc... no > checking for cc... no > checking for cl.exe... no > configure: error: in `/rt/rt-4.0.8': > configure: error: no acceptable C compiler found in $PATH > See `config.log' for more details I imagine the quickest way to proceed will be to first run apt-get install gcc as root. However I am a bit confused as to why gcc is being required, as I don't believe any native code is being compiled. Does autotools just assume that it will be needed at some point or is it left over from long ago when there were SUID wrappers? Cheers, Dominic. -- Dominic Hargreaves, Systems Development and Support Section IT Services, University of Oxford -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 198 bytes Desc: Digital signature URL: From testwreq at gmail.com Tue Nov 6 11:00:50 2012 From: testwreq at gmail.com (testwreq wreq) Date: Tue, 6 Nov 2012 11:00:50 -0500 Subject: [rt-users] RT 4.0.8 on Ubuntu 12.04 release config error help In-Reply-To: <20121106155646.GF4146@squash.oucs.ox.ac.uk> References: <20121106155646.GF4146@squash.oucs.ox.ac.uk> Message-ID: Thank you so much. apt-get install gcc helped. On Tue, Nov 6, 2012 at 10:56 AM, Dominic Hargreaves < dominic.hargreaves at it.ox.ac.uk> wrote: > On Tue, Nov 06, 2012 at 10:39:18AM -0500, testwreq wreq wrote: > > I am following installation instructions from the README: > > http://bestpractical.com/rt/docs/latest/README.html > > > > RT configure command failed with the following error on my new ubuntu > > install. I will appreciate if anyone can advise a way to proceed further? > > What is the fix for this error? > > > > > > root at rt:/rt/rt-4.0.8# ./configure --prefix=/rt --with-web-user=www-data > > --with-web-group=www-data > > checking for a BSD-compatible install... /usr/bin/install -c > > checking for perl... /usr/bin/perl > > checking for chosen layout... relative > > checking if group rt3 exists... not found > > checking if group rt exists... not found > > checking if group www-data exists... found > > checking if database name is set... yes > > checking if database name is valid... yes > > checking for gcc... no > > checking for cc... no > > checking for cl.exe... no > > configure: error: in `/rt/rt-4.0.8': > > configure: error: no acceptable C compiler found in $PATH > > See `config.log' for more details > > I imagine the quickest way to proceed will be to first run > > apt-get install gcc > > as root. > > However I am a bit confused as to why gcc is being required, as I > don't believe any native code is being compiled. Does autotools just > assume that it will be needed at some point or is it left over from > long ago when there were SUID wrappers? > > Cheers, > Dominic. > > -- > Dominic Hargreaves, Systems Development and Support Section > IT Services, University of Oxford > > -------- > We're hiring! http://bestpractical.com/jobs > > -------------- next part -------------- An HTML attachment was scrubbed... URL: From tjrc at sanger.ac.uk Tue Nov 6 11:21:17 2012 From: tjrc at sanger.ac.uk (Tim Cutts) Date: Tue, 6 Nov 2012 16:21:17 +0000 Subject: [rt-users] RT 4.0.8 on Ubuntu 12.04 release config error help In-Reply-To: <20121106155646.GF4146@squash.oucs.ox.ac.uk> References: <20121106155646.GF4146@squash.oucs.ox.ac.uk> Message-ID: On 6 Nov 2012, at 15:56, Dominic Hargreaves wrote: > I imagine the quickest way to proceed will be to first run > > apt-get install gcc > > as root. > > However I am a bit confused as to why gcc is being required, as I > don't believe any native code is being compiled. Does autotools just > assume that it will be needed at some point or is it left over from > long ago when there were SUID wrappers? Perhaps, but it's effectively required for when you come to the 'make fixdeps' stage, since you will almost certainly need a functional C compiler to build a lot of the perl modules that RT needs. So even though none of RT itself is in C, some of the things the installation process does need a C compiler. Tim -- The Wellcome Trust Sanger Institute is operated by Genome Research Limited, a charity registered in England with number 1021457 and a company registered in England with number 2742969, whose registered office is 215 Euston Road, London, NW1 2BE. From matt at smtl.co.uk Tue Nov 6 11:27:43 2012 From: matt at smtl.co.uk (Matthew Moore) Date: Tue, 06 Nov 2012 16:27:43 +0000 Subject: [rt-users] RT BounceMerge/RTBounceHandler In-Reply-To: References: Message-ID: <50993A7F.9090301@smtl.co.uk> On 29/10/12 16:00, rt-users-request at lists.bestpractical.com wrote: > Message: 4 > Date: Mon, 29 Oct 2012 15:57:52 +0000 > From: Matthew Moore > To: rt-users at lists.bestpractical.com > Subject: [rt-users] RT BounceMerge/RTBounceHandler > Message-ID: <508EA780.10601 at smtl.co.uk> > Content-Type: text/plain; charset=ISO-8859-1 > > Hi all, > > I've been trying to setup something with in RT which handles bounces in > some way shape or form. I'd be quite happy with bounces just going into > a queue which we can review and deal with in that way. Obviously the > ideal way would be for the bounce to be merged into the queue with out > RT going into a loop. > > I've tried the BounceMerge script, which doesn't seem to work at all. > http://requesttracker.wikia.com/wiki/BounceMerge (I just followed the > wiki instructions, but bounces have never been added to any queues) > > I've also tried the RTBounceHandler script - > http://requesttracker.wikia.com/wiki/RtBounceHandler > > RTBounceHandler seems like it's the one most likely to work. So I've a > few questions: > > 1 - Do you need to have a rtbouncehandler alias for each queue that you > want checking for bounces? eg rtbouncehandler-info, > rtbouncehandler-general etc etc > > 2 - Or do you just need one alias pointing at a 'bounces' queue (which > is what I've done). > > 3 - Any ideas on the best way to check it's working? > > Using RT 3.8.7. Got the relevant perl modules installed on my mailserver. > > Thanks, > Sorry to 'bump' this, but anyone got any thoughts on this? Cheers, -- Matthew Moore Surgical Materials Testing Laboratory System Administrator Telephone: +44 (0)1656 752165 Email: matt at smtl.co.uk From testwreq at gmail.com Tue Nov 6 11:46:35 2012 From: testwreq at gmail.com (testwreq wreq) Date: Tue, 6 Nov 2012 11:46:35 -0500 Subject: [rt-users] xml:rss ... missing Message-ID: After running fixdeps, got an error: SOME DEPENDENCIES WERE MISSING. MASON missing dependencies: XML::RSS ...MISSING Can't locate XML/RSS.pm in @INC (@INC contains: /etc/perl /usr/local/lib/perl/5.14.2 /usr/local/share/perl/5.14.2 /usr/lib/perl5 /usr/share/perl5 /usr/lib/perl/5.14 /usr/share/perl/5.14 /usr/local/lib/site_perl /rt/rt-4.0.8) make: *** [testdeps] Error 1 How should we install this dependency? Thanx in advance. -------------- next part -------------- An HTML attachment was scrubbed... URL: From lab at pacbell.net Tue Nov 6 11:54:01 2012 From: lab at pacbell.net (20/20 Lab) Date: Tue, 06 Nov 2012 08:54:01 -0800 Subject: [rt-users] xml:rss ... missing In-Reply-To: References: Message-ID: <509940A9.8040703@pacbell.net> When I've installed it, I've found a lot of modules that can not / will not 'fixdeps' there way in. I'm not sure why, but grabbing the modules from cpan and installing the individual modules worked out fine. http://search.cpan.org/~shlomif/XML-RSS-1.49/lib/XML/RSS.pm -Matt On 11/06/2012 08:46 AM, testwreq wreq wrote: > After running fixdeps, got an error: > SOME DEPENDENCIES WERE MISSING. > MASON missing dependencies: > XML::RSS ...MISSING > Can't locate XML/RSS.pm in @INC (@INC contains: > /etc/perl /usr/local/lib/perl/5.14.2 /usr/local/share/perl/5.14.2 > /usr/lib/perl5 /usr/share/perl5 /usr/lib/perl/5.14 > /usr/share/perl/5.14 /usr/local/lib/site_perl /rt/rt-4.0.8) > make: *** [testdeps] Error 1 > How should we install this dependency? > Thanx in advance. > > > -------- > We're hiring! http://bestpractical.com/jobs -------------- next part -------------- An HTML attachment was scrubbed... URL: From tjrc at sanger.ac.uk Tue Nov 6 11:54:42 2012 From: tjrc at sanger.ac.uk (Tim Cutts) Date: Tue, 6 Nov 2012 16:54:42 +0000 Subject: [rt-users] xml:rss ... missing In-Reply-To: References: Message-ID: <3F8C1A45-B2E4-4F99-8B35-44714690AFC2@sanger.ac.uk> On 6 Nov 2012, at 16:46, testwreq wreq wrote: > After running fixdeps, got an error: > > SOME DEPENDENCIES WERE MISSING. > MASON missing dependencies: > XML::RSS ...MISSING > Can't locate XML/RSS.pm in @INC (@INC contains: /etc/perl /usr/local/lib/perl/5.14.2 /usr/local/share/perl/5.14.2 /usr/lib/perl5 /usr/share/perl5 /usr/lib/perl/5.14 /usr/share/perl/5.14 /usr/local/lib/site_perl /rt/rt-4.0.8) > make: *** [testdeps] Error 1 > > How should we install this dependency? > apt-get install libxml-rss-perl should sort it out for you. Tim -- The Wellcome Trust Sanger Institute is operated by Genome Research Limited, a charity registered in England with number 1021457 and a company registered in England with number 2742969, whose registered office is 215 Euston Road, London, NW1 2BE. From testwreq at gmail.com Tue Nov 6 11:57:56 2012 From: testwreq at gmail.com (testwreq wreq) Date: Tue, 6 Nov 2012 11:57:56 -0500 Subject: [rt-users] xml:rss ... missing In-Reply-To: <509940A9.8040703@pacbell.net> References: <509940A9.8040703@pacbell.net> Message-ID: We are using ubuntu 12.04 and RT 4.0.8 I tried CPAN XLS::RSS but it gave me bunch of errors (end of the errors listed below). What is the best way to install this dependency manually? t/xml-base.t (Wstat: 512 Tests: 0 Failed: 0) Non-zero exit status: 2 Parse errors: Bad plan. You planned 13 tests but ran 0. t/save-while-in-taint-mode.t (Wstat: 512 Tests: 0 Failed: 0) Non-zero exit status: 2 Parse errors: Bad plan. You planned 1 tests but ran 0. Files=36, Tests=23, 1 wallclock secs ( 0.14 usr 0.13 sys + 1.00 cusr 0.28 csys = 1.55 CPU) Result: FAIL Failed 32/36 test programs. 10/23 subtests failed. SHLOMIF/XML-RSS-1.49.tar.gz one dependency not OK (XML::Parser); additionally test harness failed ./Build test -- NOT OK //hint// to see the cpan-testers results for installing this module, try: reports SHLOMIF/XML-RSS-1.49.tar.gz Running Build install make test had returned bad status, won't install without force On Tue, Nov 6, 2012 at 11:54 AM, 20/20 Lab wrote: > When I've installed it, I've found a lot of modules that can not / will > not 'fixdeps' there way in. I'm not sure why, but grabbing the modules > from cpan and installing the individual modules worked out fine. > > http://search.cpan.org/~shlomif/XML-RSS-1.49/lib/XML/RSS.pm > > -Matt > > > On 11/06/2012 08:46 AM, testwreq wreq wrote: > > After running fixdeps, got an error: > > SOME DEPENDENCIES WERE MISSING. > MASON missing dependencies: > XML::RSS ...MISSING > Can't locate XML/RSS.pm in @INC (@INC contains: /etc/perl > /usr/local/lib/perl/5.14.2 /usr/local/share/perl/5.14.2 /usr/lib/perl5 > /usr/share/perl5 /usr/lib/perl/5.14 /usr/share/perl/5.14 > /usr/local/lib/site_perl /rt/rt-4.0.8) > make: *** [testdeps] Error 1 > > How should we install this dependency? > > Thanx in advance. > > > -------- > We're hiring! http://bestpractical.com/jobs > > > > -------- > We're hiring! http://bestpractical.com/jobs > > -------------- next part -------------- An HTML attachment was scrubbed... URL: From testwreq at gmail.com Tue Nov 6 12:00:41 2012 From: testwreq at gmail.com (testwreq wreq) Date: Tue, 6 Nov 2012 12:00:41 -0500 Subject: [rt-users] xml:rss ... missing In-Reply-To: <3F8C1A45-B2E4-4F99-8B35-44714690AFC2@sanger.ac.uk> References: <3F8C1A45-B2E4-4F99-8B35-44714690AFC2@sanger.ac.uk> Message-ID: apt-get install libxml-rss-perl worked perfect. Thanks you so much! On Tue, Nov 6, 2012 at 11:54 AM, Tim Cutts wrote: > > On 6 Nov 2012, at 16:46, testwreq wreq wrote: > > > After running fixdeps, got an error: > > > > SOME DEPENDENCIES WERE MISSING. > > MASON missing dependencies: > > XML::RSS ...MISSING > > Can't locate XML/RSS.pm in @INC (@INC contains: > /etc/perl /usr/local/lib/perl/5.14.2 /usr/local/share/perl/5.14.2 > /usr/lib/perl5 /usr/share/perl5 /usr/lib/perl/5.14 /usr/share/perl/5.14 > /usr/local/lib/site_perl /rt/rt-4.0.8) > > make: *** [testdeps] Error 1 > > > > How should we install this dependency? > > > > apt-get install libxml-rss-perl > > should sort it out for you. > > Tim > > -- > The Wellcome Trust Sanger Institute is operated by Genome Research > Limited, a charity registered in England with number 1021457 and a > company registered in England with number 2742969, whose registered > office is 215 Euston Road, London, NW1 2BE. > -------------- next part -------------- An HTML attachment was scrubbed... URL: From dominic.hargreaves at it.ox.ac.uk Tue Nov 6 12:00:46 2012 From: dominic.hargreaves at it.ox.ac.uk (Dominic Hargreaves) Date: Tue, 6 Nov 2012 17:00:46 +0000 Subject: [rt-users] xml:rss ... missing In-Reply-To: <3F8C1A45-B2E4-4F99-8B35-44714690AFC2@sanger.ac.uk> References: <3F8C1A45-B2E4-4F99-8B35-44714690AFC2@sanger.ac.uk> Message-ID: <20121106170046.GH4146@squash.oucs.ox.ac.uk> On Tue, Nov 06, 2012 at 04:54:42PM +0000, Tim Cutts wrote: > > On 6 Nov 2012, at 16:46, testwreq wreq wrote: > > > After running fixdeps, got an error: > > > > SOME DEPENDENCIES WERE MISSING. > > MASON missing dependencies: > > XML::RSS ...MISSING > > Can't locate XML/RSS.pm in @INC (@INC contains: /etc/perl /usr/local/lib/perl/5.14.2 /usr/local/share/perl/5.14.2 /usr/lib/perl5 /usr/share/perl5 /usr/lib/perl/5.14 /usr/share/perl/5.14 /usr/local/lib/site_perl /rt/rt-4.0.8) > > make: *** [testdeps] Error 1 > > > > How should we install this dependency? > > > > apt-get install libxml-rss-perl > > should sort it out for you. Indeed, and just to make clear, all the deps needed for RT 4.0.8 will already by in Ubuntu (12.10); as is request-tracker4 itself. Even if you want to continue installing RT itself from source, you might like to install the perl modules via apt. You can see a list of likely looking packages at -- Dominic Hargreaves, Systems Development and Support Section IT Services, University of Oxford -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 198 bytes Desc: Digital signature URL: From tjrc at sanger.ac.uk Tue Nov 6 12:01:17 2012 From: tjrc at sanger.ac.uk (Tim Cutts) Date: Tue, 6 Nov 2012 17:01:17 +0000 Subject: [rt-users] xml:rss ... missing In-Reply-To: <3F8C1A45-B2E4-4F99-8B35-44714690AFC2@sanger.ac.uk> References: <3F8C1A45-B2E4-4F99-8B35-44714690AFC2@sanger.ac.uk> Message-ID: <46061D29-2DFA-40CF-820F-44F16214C9ED@sanger.ac.uk> On 6 Nov 2012, at 16:54, Tim Cutts wrote: > > On 6 Nov 2012, at 16:46, testwreq wreq wrote: > >> After running fixdeps, got an error: >> >> SOME DEPENDENCIES WERE MISSING. >> MASON missing dependencies: >> XML::RSS ...MISSING >> Can't locate XML/RSS.pm in @INC (@INC contains: /etc/perl /usr/local/lib/perl/5.14.2 /usr/local/share/perl/5.14.2 /usr/lib/perl5 /usr/share/perl5 /usr/lib/perl/5.14 /usr/share/perl/5.14 /usr/local/lib/site_perl /rt/rt-4.0.8) >> make: *** [testdeps] Error 1 >> >> How should we install this dependency? >> > > apt-get install libxml-rss-perl > > should sort it out for you. In general, you can do the above for a large proportion of the perl modules RT needs - it really depends on whether your preference is for what fixdeps does, or whether you'd rather install Ubuntu packaged modules. There's a standard naming convention for perl module packages in Debian/Ubuntu; you take the name of the main name of the module, say, Foo::Bar, and: 1) lower case everything (foo::bar) 2) and replace the :: with - (foo-bar) 3) prefix lib (libfoo-bar) 4) postfix -perl (libfoo-bar-perl) and that's the name of the Debian package for that module. There are a few exceptions, where the overall CPAN package name is different from the names of the actual modules, but they're rare. You can also use the 'apt-file' package in to find which package provides any file. To use this: apt-get install apt-file apt-file update Now, you can search for a particular perl module. This time, you have to actually use the specific filename the module would have. For example: $ apt-file search XML/RSS.pm libtemplate-plugin-xml-perl: /usr/share/perl5/Template/Plugin/XML/RSS.pm libxml-rss-perl: /usr/share/perl5/XML/RSS.pm Regards, Tim -- The Wellcome Trust Sanger Institute is operated by Genome Research Limited, a charity registered in England with number 1021457 and a company registered in England with number 2742969, whose registered office is 215 Euston Road, London, NW1 2BE. From falcone at bestpractical.com Tue Nov 6 12:59:50 2012 From: falcone at bestpractical.com (Kevin Falcone) Date: Tue, 6 Nov 2012 12:59:50 -0500 Subject: [rt-users] RT 4.0.8 on Ubuntu 12.04 release config error help In-Reply-To: <20121106155646.GF4146@squash.oucs.ox.ac.uk> References: <20121106155646.GF4146@squash.oucs.ox.ac.uk> Message-ID: <20121106175950.GA1771@jibsheet.com> On Tue, Nov 06, 2012 at 03:56:46PM +0000, Dominic Hargreaves wrote: > However I am a bit confused as to why gcc is being required, as I > don't believe any native code is being compiled. Does autotools just > assume that it will be needed at some point or is it left over from > long ago when there were SUID wrappers? configure started needing gcc because of the tests for 'do you have this library installed' - I believe it was graphviz. It came in around 3.8.0. It's also helpful to catch this before you start trying to compile CPAN modules. -kevin -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 235 bytes Desc: not available URL: From JThuau at spacex.com Tue Nov 6 12:55:40 2012 From: JThuau at spacex.com (Joachim Thuau) Date: Tue, 6 Nov 2012 17:55:40 +0000 Subject: [rt-users] RT 4.0.8 on Ubuntu 12.04 release config error help In-Reply-To: <20121106155646.GF4146@squash.oucs.ox.ac.uk> Message-ID: On 11/6/12 7:56 AM, "Dominic Hargreaves" wrote: >On Tue, Nov 06, 2012 at 10:39:18AM -0500, testwreq wreq wrote: >>checking for gcc... no >> checking for cc... no >> checking for cl.exe... no >> configure: error: in `/rt/rt-4.0.8': >> configure: error: no acceptable C compiler found in $PATH >> See `config.log' for more details > >I imagine the quickest way to proceed will be to first run > >apt-get install gcc It might make more sense to install "build-essential" which will include more than just gcc? Thanks, Jok From falcone at bestpractical.com Tue Nov 6 13:20:48 2012 From: falcone at bestpractical.com (Kevin Falcone) Date: Tue, 6 Nov 2012 13:20:48 -0500 Subject: [rt-users] xml:rss ... missing In-Reply-To: <3F8C1A45-B2E4-4F99-8B35-44714690AFC2@sanger.ac.uk> References: <3F8C1A45-B2E4-4F99-8B35-44714690AFC2@sanger.ac.uk> Message-ID: <20121106182048.GB1771@jibsheet.com> On Tue, Nov 06, 2012 at 04:54:42PM +0000, Tim Cutts wrote: > > On 6 Nov 2012, at 16:46, testwreq wreq wrote: > > > After running fixdeps, got an error: > > > > SOME DEPENDENCIES WERE MISSING. > > MASON missing dependencies: > > XML::RSS ...MISSING > > Can't locate XML/RSS.pm in @INC (@INC contains: /etc/perl /usr/local/lib/perl/5.14.2 /usr/local/share/perl/5.14.2 /usr/lib/perl5 /usr/share/perl5 /usr/lib/perl/5.14 /usr/share/perl/5.14 /usr/local/lib/site_perl /rt/rt-4.0.8) > > make: *** [testdeps] Error 1 > > > > How should we install this dependency? > > > > apt-get install libxml-rss-perl For those looking for the missing library in order to build from source, since the error trace included XML::Parser, that implies that you need the libexpat development libraries. -kevin -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 235 bytes Desc: not available URL: From falcone at bestpractical.com Tue Nov 6 13:21:46 2012 From: falcone at bestpractical.com (Kevin Falcone) Date: Tue, 6 Nov 2012 13:21:46 -0500 Subject: [rt-users] Upload multiple files customfield in Articles : no content In-Reply-To: References: Message-ID: <20121106182146.GC1771@jibsheet.com> On Tue, Nov 06, 2012 at 09:42:05AM +0100, L B wrote: > I have an article with an "Upload multiple files" custom field. I have defined two PDFs in my > article for this custom field. > When I try to use the article in a RT reply, I just see the two file names but not the > content. I don't see many other ways to make it work. > Is it normal / a bug / a feature ? Articles do not support attaching files from upload files/images CFs. -kevin -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 235 bytes Desc: not available URL: From falcone at bestpractical.com Tue Nov 6 13:43:24 2012 From: falcone at bestpractical.com (Kevin Falcone) Date: Tue, 6 Nov 2012 13:43:24 -0500 Subject: [rt-users] Apache taking up too much CPU In-Reply-To: References: <7458EC37-A771-4AFB-B0B8-D0C54568A26C@minecorp.com.au> Message-ID: <20121106184324.GD1771@jibsheet.com> There's no need to CC me, I set a reply-to of the list because I read the list. On Fri, Oct 26, 2012 at 07:44:17AM +0530, Bhowmik Shah wrote: > >> On Thu, Oct 04, 2012 at 07:33:44PM +1000, Bhowmik Shah wrote: > >> Yep, debugging for both RT and Apache is enabled, the logs don't throw up anything out of > the > >> ordinary. I've got Perl 5.14.2 installed. > >> I'm currently playing with strace and the Apache process to see if i can spot whats going > >> wrong. I've tried stuff from the Performance Tuning page on the Wiki and though the Mason > >> caching parameters improved performance but the problem still persists. > >> > 1) Ubuntu 12.04 with 613MB RAM > >> That is a tiny amount of RAM, especially if you're running your > >> database on the same host. Are you sure you aren't swapping and > >> burning CPU doing that? > > Yep, i don't see any swapping happening, I also don't expect a large amount of users (Maximum > 5 at any given time) and we only have 19 entries in the database so far. The database is on > the same host. > > We are expecting about 1200 tickets at max per year for the current set up. I would've thought > that RT would be able to manage that much load with 613 MB or RAM. > > How much RAM do you think I would need for a setup like this? While 613MB could be fine, you have to look at how much RAM is *actually* being used, which varies hugely based on your configuration. In particular, default apache configurations often spawn lots of high-memory-usage children, and if you pair that with a 64 bit perl, you're going to burn through 600M of RAM almost immediately. Frankly, I wouldn't try to set up any modern system in less than 1G of RAM, and would prefer to give it 2G if at all possible. Unless you can provide some evidence of what's using your ram or what's using your CPU, the standard suggestion that 600M is tiny is probably the best answer we can give. -kevin -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 235 bytes Desc: not available URL: From falcone at bestpractical.com Tue Nov 6 13:46:05 2012 From: falcone at bestpractical.com (Kevin Falcone) Date: Tue, 6 Nov 2012 13:46:05 -0500 Subject: [rt-users] Delete articles via CLI? In-Reply-To: <5089600D.3000405@mdibl.org> References: <5089600D.3000405@mdibl.org> Message-ID: <20121106184605.GE1771@jibsheet.com> On Thu, Oct 25, 2012 at 11:51:41AM -0400, Roy McMorran wrote: > Is there a way to delete articles (i.e. RTFM) via the command line? > I couldn't find a way to do it with rt-shredder. I'm at 4.0.7 (just > upgraded from 3.8.8 + RTFM). While you could delete an Article with the Objects plugin to Shredder, that will leave lots of dangling pointers since it won't know to clean up all the links and all the custom fields. -kevin -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 235 bytes Desc: not available URL: From falcone at bestpractical.com Tue Nov 6 13:49:52 2012 From: falcone at bestpractical.com (Kevin Falcone) Date: Tue, 6 Nov 2012 13:49:52 -0500 Subject: [rt-users] how to do multiple separate approval sources In-Reply-To: References: Message-ID: <20121106184952.GF1771@jibsheet.com> On Tue, Oct 30, 2012 at 04:00:18PM -0500, Aaron Zuercher wrote: > Hi all, > My school district has been using RT for IT for many years with great success. We are looking > to expand the use and add approvals. I have setup a basic approval queue and am testing that > but I'm not sure how to expand it to cover multiple buildings. > > Here's the use scenario: We what principals of each building (7 total) to be able to approve > tickets from the staff of just their building. I have setup a custom field in the tickets > where they requester can select the building they are in. Is there a way to script the > approval so that if custom field = building 1 then approval goes to principal 1, etc? Or do I > need to setup separate queues for each building? > > I'm confused about what is the best approach to this problem. Any advice is appreciated! I assume you're using RT's built in ___Approvals queue and workflow. If so, just set the Owner based on the Building selection. You can do that from the CreateTickets action with something like Owner: { if ( $Tickets{TOP}->FirstCustomField('Building') eq 'Building 1' ) { go look up the principal and return it } etc etc etc } Then just make sure that Owner has ShowTicket and it'll limit to the people who actually own the ticket. -kevin -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 235 bytes Desc: not available URL: From falcone at bestpractical.com Tue Nov 6 13:55:31 2012 From: falcone at bestpractical.com (Kevin Falcone) Date: Tue, 6 Nov 2012 13:55:31 -0500 Subject: [rt-users] DateTime custom field display issues In-Reply-To: <5092DB18.4010807@gmail.com> References: <508E75BB.9090808@gmail.com> <5092DB18.4010807@gmail.com> Message-ID: <20121106185531.GG1771@jibsheet.com> On Thu, Nov 01, 2012 at 09:27:04PM +0100, Alek Cesarz wrote: > rt-users-request at lists.bestpractical.com pisze, W dniu 2012-10-29 17:00: > > hello everyone, > > some time ago I asked my team member to investigate problem with display > > format of DateTime custom fields, but unfortunately he failed - so I > > have to fix it myself... ((-: > > I am using a few DateTime fields to mark some actions. they are rendered > > correctly in Ticket preview/summary but in searches they are shown in > > default ISO/UTC format. > > has anyone seen this issue in you installations or am I the only case? I suspect you're running into the problem that the search result formats are just printing out the value of the custom field, not running it through the formatters. I thought there was a bug open about using the more standard renderers for CFs in 4.2, but I can't easily find it. You'll find the relevant code in Elements/ColumnMap (search for CustomField), and you could use a callback to fix your CFs locally until such time as they're sorted out in core. -kevin -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 235 bytes Desc: not available URL: From jasonm at katalystdm.com Tue Nov 6 14:00:19 2012 From: jasonm at katalystdm.com (Jason Marshall) Date: Tue, 6 Nov 2012 12:00:19 -0700 (MST) Subject: [rt-users] Adding cc:'s and to:'s from subsequent emails. Message-ID: Hi all, sorry for the repeat, just wondering if this even made it out to the list a week ago, as I never got any replies at all, which is strange for this very helpful list :) fwd: Hi all, I guess I should start by asking if this is a good idea AT ALL. I believe I want to get the people cc:ed or added to the to: line in email responses added to the ticket as Ccs. Not sure I've phrased that in a way that parses well; if not, let me know and I'll rephrase. When I open a NEW ticket and cc: some people, they get added as cc:'s no problem, so I know the basic functionality is there. What I'm asking about is after the ticket is open, someone else is brought into the conversation as a cc, so he gets a copy of THIS email, but that new cc: doesn't see any other replies unless people reply to emails with him as a "real" cc:. I'd like the cc: to be added to the ticket so he sees all future correspondence whether he's specifically cc:ed or not. Is this a stupid idea? Is that why the ParseNewMessageForTicketCcs flag only does this for New tickets? Is there a similar flag for parsing all messages? I googled ParseMessageForTicketCcs (no "New") and got a few old warnings, but nothing concrete. One warning was that anyone could cc: themselves on all your tickets just by spamming you, but I'm not clear on how that would work, and it could easily be avoided by only adding the cc:'s when parsing a message from someone who's already a cc:, watcher, or originator... Anyway, i'm starting to ramble here. Does anyone do this now? has anyone done it and wished they hadn't?? Note that this RT3 system is used primarily internally and by trusted clients. In theory it's not going to get spammed or beat on by "outsiders". Thanks! --- Jason Marshall IT Manager Katalyst Data Management KELMAN is now KATALYST! Please visit www.katalystdm.com! From falcone at bestpractical.com Tue Nov 6 14:01:43 2012 From: falcone at bestpractical.com (Kevin Falcone) Date: Tue, 6 Nov 2012 14:01:43 -0500 Subject: [rt-users] "Permission denied" error email In-Reply-To: <5093D965.50305@miquelruiz.net> References: <5093D965.50305@miquelruiz.net> Message-ID: <20121106190143.GH1771@jibsheet.com> On Fri, Nov 02, 2012 at 03:32:05PM +0100, Miquel Ruiz wrote: > When a user that sends mail to a Queue he doesn't have permission > for, he only recieves a "Permission Denied" mail. Our users are > Spanish, so we'd like to deliver the message in Spanish and English, > with more explanatory text on how he or she can contact us. > > We've tried to find documentation about how to customize the > "Permission Denied" error message, but we've only found an > unfollowed thread from 2007 in the rt-users mailing list. All > documentation leads to "give the user permission", but that isn't > what we want (since the user shouldn't have permission in the first > place). > > It would be great if you can point us to the correct piece of > documentation where show how it can be done (if it exists). If this > is not possible at the moment, with some hints we could provide a > patch (if it's a wanted feature). There's been a desire to turn these into templates for a long time. They're currently hardcoded in lib/RT/Interface/Email.pm and would need to be extracted very carefully, and with tests added, in order to make them more easily editable. -kevin -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 235 bytes Desc: not available URL: From falcone at bestpractical.com Tue Nov 6 14:02:39 2012 From: falcone at bestpractical.com (Kevin Falcone) Date: Tue, 6 Nov 2012 14:02:39 -0500 Subject: [rt-users] Infinite loop of ticket creation In-Reply-To: <5093FC1D.6020307@sgul.ac.uk> References: <5093FC1D.6020307@sgul.ac.uk> Message-ID: <20121106190239.GI1771@jibsheet.com> On Fri, Nov 02, 2012 at 05:00:13PM +0000, Giuseppe Sollazzo wrote: > this might be a very silly problem but today we had an exchange with a > supplier. > > The supplier triggers an automatic "email creation notification" which > gets back to us, triggering a RT response, and so on. > To stop the loop, I had to deleted the ticket from database (by a manual > "delete from Tickets where id=..."). > > Is there anything we can do about it? It's happened twice in 2 years, > but I guess it's better to prevent this from happening. > Any pointer to useful docs? You can delete the email address from the user of that system (leaving their username set to the email address) which means RT will never send them email. If they're dropping all of RT's loop prevention headers, there isn't much we can do to stop the loop unfortunately. -kevin -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 235 bytes Desc: not available URL: From falcone at bestpractical.com Tue Nov 6 14:03:46 2012 From: falcone at bestpractical.com (Kevin Falcone) Date: Tue, 6 Nov 2012 14:03:46 -0500 Subject: [rt-users] Doing scrips in the background? In-Reply-To: References: Message-ID: <20121106190346.GJ1771@jibsheet.com> On Mon, Nov 05, 2012 at 10:40:09AM -0500, Paul Tomblin wrote: > I have a custom workflow which uses a custom web interface. When the user clicks the "Submit" > button, the interface creates a "Master" ticket, and then a bunch of sub-tickets, the number > of which varies depending what services they are requesting. The users are complaining that > the process of submitting is taking too long. If I were to move the sub-ticket creation into > an "On Create" scrip to run in TransactionBatch, would that help the "Master" ticket creation > return faster, or would the Ticket->Create not return until the scrip ran and finished? TransactionBatch scrips won't solve your problem. If you want them to be truly asynchronous, you'll need to write a cron job of some kind, or another monitoring job, to run in the background. -kevin -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 235 bytes Desc: not available URL: From falcone at bestpractical.com Tue Nov 6 14:07:27 2012 From: falcone at bestpractical.com (Kevin Falcone) Date: Tue, 6 Nov 2012 14:07:27 -0500 Subject: [rt-users] Adding cc:'s and to:'s from subsequent emails. In-Reply-To: References: Message-ID: <20121106190727.GK1771@jibsheet.com> On Tue, Nov 06, 2012 at 12:00:19PM -0700, Jason Marshall wrote: > Hi all, sorry for the repeat, just wondering if this even made it > out to the list a week ago, as I never got any replies at all, which > is strange for this very helpful list :) Actually, Jason Smith replied to both you and the mailing list last week. http://www.gossamer-threads.com/lists/rt/users/112853?search_string=subsequent%20emails;#112853 I'm not sure if the scrip he recommends addresses any of the security concerns around allowing random people to CC themselves onto the ticket. Don't forget you can always fake From: and use that to add yourself to a ticket. -kevin > > Hi all, I guess I should start by asking if this is a good idea AT > ALL. I believe I want to get the people cc:ed or added to the to: > line in email responses added to the ticket as Ccs. Not sure I've > phrased that in a way that parses well; if not, let me know and I'll > rephrase. > > When I open a NEW ticket and cc: some people, they get added as > cc:'s no problem, so I know the basic functionality is there. What > I'm asking about is after the ticket is open, someone else is > brought into the conversation as a cc, so he gets a copy of THIS > email, but that new cc: doesn't see any other replies unless people > reply to emails with him as a "real" cc:. I'd like the cc: to be > added to the ticket so he sees all future correspondence whether > he's specifically cc:ed or not. > > Is this a stupid idea? Is that why the ParseNewMessageForTicketCcs > flag only does this for New tickets? Is there a similar flag for > parsing all messages? I googled ParseMessageForTicketCcs (no "New") > and got a few old warnings, but nothing concrete. > > One warning was that anyone could cc: themselves on all your tickets > just by spamming you, but I'm not clear on how that would work, and > it could easily be avoided by only adding the cc:'s when parsing a > message from someone who's already a cc:, watcher, or originator... > > Anyway, i'm starting to ramble here. Does anyone do this now? has > anyone done it and wished they hadn't?? Note that this RT3 system > is used primarily internally and by trusted clients. In theory it's > not going to get spammed or beat on by "outsiders". -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 235 bytes Desc: not available URL: From testwreq at gmail.com Tue Nov 6 15:34:08 2012 From: testwreq at gmail.com (testwreq wreq) Date: Tue, 6 Nov 2012 15:34:08 -0500 Subject: [rt-users] rt 4.0.8 mail to exchange Message-ID: Hi, can someone please point me on how to set up mail on RT to link to our exchange server? This is a new install on ubuntu 12.0.4 -------------- next part -------------- An HTML attachment was scrubbed... URL: From falcone at bestpractical.com Tue Nov 6 15:48:58 2012 From: falcone at bestpractical.com (Kevin Falcone) Date: Tue, 6 Nov 2012 15:48:58 -0500 Subject: [rt-users] MakeClicky modofies file names in tickets In-Reply-To: <930F3731A784414087B33E439A555634894769@s-wor-e-001.SCOUTSOFFICE.local> References: <930F3731A784414087B33E439A555634894769@s-wor-e-001.SCOUTSOFFICE.local> Message-ID: <20121106204858.GL1771@jibsheet.com> On Tue, Oct 30, 2012 at 03:47:59PM -0000, Alex Young wrote: > Does anyone know a simple method for the MakeClicky function to > only add [Lookup Host] into a ticket when it is a legitimate FQDN? > > When people put a filename like > C:\programfiles\someprogram\someprogram.exe.config it decides that > someprogram.exe part is a domain and needs the [Lookup Host]. > > This is RT 4.0.5 and RTIR 3.0.0rc1. This is an RTIR bug, rather than an RT bug. I've created a ticket with you as a requestor http://issues.bestpractical.com/Ticket/Display.html?id=21422 -kevin -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 235 bytes Desc: not available URL: From kjcsb at xnet.co.nz Wed Nov 7 03:53:04 2012 From: kjcsb at xnet.co.nz (CB) Date: Wed, 7 Nov 2012 21:53:04 +1300 Subject: [rt-users] SOLVED: RE: Error when upgrading database from 3.8.9 to 3.9.1 In-Reply-To: <5098156B.3050101@bestpractical.com> References: <000a01cdbb7a$609e1730$21da4590$@co.nz> <5098156B.3050101@bestpractical.com> Message-ID: <013801cdbcc5$4d0ba380$e722ea80$@co.nz> > On 11/05/2012 09:24 AM, CB wrote: > > We're long time RT users and are in the process of upgrading from > > 3.6.3 to > > 4.0.8 and are following the instructions on > > http://www.bestpractical.com/rt/docs/4.0/UPGRADING.mysql.html and > > http://www.bestpractical.com/rt/docs/4.0/README.html. I upgraded to > > 3.7.87, ran the extra queries and continued the upgrade however it > > failed at the step of upgrading to 3.9.1. > > Be sure to read the other UPGRADING documentation as well, for all > versions between 3.6.3 and 4.0.8. > > Your database contains rows in the ACL table which point to Principals > that no longer exist. Grep for the [error] lines "ACE NNNN couldn't > load it's principal object". This indicates that records were manually > deleted from the database at some point, and done so incorrectly (as is > almost always the case with manual deletes by folks not understanding > the whole of the database). > Turns out the data extract was incomplete. Thanks for the help. From robert.wysocki at contium.pl Wed Nov 7 04:39:21 2012 From: robert.wysocki at contium.pl (Robert Wysocki) Date: Wed, 7 Nov 2012 10:39:21 +0100 Subject: [rt-users] Infinite loop of ticket creation In-Reply-To: <20121106190239.GI1771@jibsheet.com> References: <5093FC1D.6020307@sgul.ac.uk> <20121106190239.GI1771@jibsheet.com> Message-ID: <1352281161.3477.16.camel@s-rwysocki> Dnia 2012-11-06, wto o godzinie 14:02 -0500, Kevin Falcone pisze: > On Fri, Nov 02, 2012 at 05:00:13PM +0000, Giuseppe Sollazzo wrote: > > this might be a very silly problem but today we had an exchange with a > > supplier. > > > > The supplier triggers an automatic "email creation notification" which > > gets back to us, triggering a RT response, and so on. > > To stop the loop, I had to deleted the ticket from database (by a manual > > "delete from Tickets where id=..."). > > > > Is there anything we can do about it? It's happened twice in 2 years, > > but I guess it's better to prevent this from happening. > > Any pointer to useful docs? > > You can delete the email address from the user of that system (leaving > their username set to the email address) which means RT will never > send them email. Leaving aside the original issue - why is that? Is this behavior hardcoded or is it a question od default scrips? Regards, -- Robert Wysocki administrator system?w linuksowych Contium S.A., http://www.contium.pl From gsollazz at sgul.ac.uk Wed Nov 7 04:54:53 2012 From: gsollazz at sgul.ac.uk (Giuseppe Sollazzo) Date: Wed, 07 Nov 2012 09:54:53 +0000 Subject: [rt-users] Infinite loop of ticket creation In-Reply-To: <1352281161.3477.16.camel@s-rwysocki> References: <5093FC1D.6020307@sgul.ac.uk> <20121106190239.GI1771@jibsheet.com> <1352281161.3477.16.camel@s-rwysocki> Message-ID: <509A2FED.7000704@sgul.ac.uk> -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On 07/11/12 09:39, Robert Wysocki wrote: > > > Leaving aside the original issue - why is that? Is this behavior > hardcoded or is it a question od default scrips? I guess that the reason is that there are two systems, A and B. We are A and use RT. B is configured to send a confirmation e-mail whenever it receives anything from A. A sends a print-out of the e-mail it receives to B. Specifically, it's about the "resolve" message, but I presume the same applies also to "correspondence" if configured to send out e-mails at each message. Not sure what system uses B, it might be RT as well or something similar. I'm surprised this doesn't affect more people. G > > Regards, - -- ____________________________________ Giuseppe Sollazzo Senior Systems Analyst Computing Services Information Services St. George's, University Of London Cranmer Terrace London SW17 0RE Email: gsollazz at sgul.ac.uk Direct Dial: +44 20 8725 5160 Fax: +44 20 8725 3583 Twitter: http://twitter.com/sgulit -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.10 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://www.enigmail.net/ iQEcBAEBAgAGBQJQmi/tAAoJEAqigArPBfJXaPAH/RMm4F11Npim1Fvs0Lbl2yJC kCkxrZAghKcR8pgGYEYrfdATbeZ226IGRoAql8/Y5okBkhpQMY22Cxg4cqIgBIQB gNRzDvepUUfzMknCSgm9IdRigj6YvMzAAA+uxXB1tgcjoSocfL26XvSCXNckxnU9 kNcLk5E5CXX4XTtcbhGe00lGMYV+pQwjgv9jsBV5yOCCj92+Kqi/gKV5Mn6McFLi I1Wc4w9xm9WKpXWfEoMKMNfj3MOA0bFmd211wtDI8o4esWVUnRnklEpsQllSznDx Pd/4gFxIsiK2Dir8I8/mAmSV7t1jfu5RZwF+AHA7AINthcIvJLxgub4KGehiwCw= =hJJE -----END PGP SIGNATURE----- -------------- next part -------------- A non-text attachment was scrubbed... Name: 0xCF05F257.asc Type: application/pgp-keys Size: 1744 bytes Desc: not available URL: From iulian_dragan at yahoo.com Wed Nov 7 07:37:45 2012 From: iulian_dragan at yahoo.com (Iulian Dragan) Date: Wed, 7 Nov 2012 04:37:45 -0800 (PST) Subject: [rt-users] HTML5/jqplot charts Message-ID: <1352291865.83272.YahooMailClassic@web121702.mail.ne1.yahoo.com> Hi, I put together a little hack to replace the current GD charts with HTML5 ones.Here:?http://requesttracker.wikia.com/wiki/HTML5ChartsIt's a minor thing, but I'd be grateful if someone with time on their hands would give them a try and let me know of any problems (either by responding here or in the comments).It should work in any new-ish browser + IE >= 8. Cheers,Iulian? -------------- next part -------------- An HTML attachment was scrubbed... URL: From ruz at bestpractical.com Wed Nov 7 09:20:56 2012 From: ruz at bestpractical.com (Ruslan Zakirov) Date: Wed, 7 Nov 2012 18:20:56 +0400 Subject: [rt-users] HTML5/jqplot charts In-Reply-To: <1352291865.83272.YahooMailClassic@web121702.mail.ne1.yahoo.com> References: <1352291865.83272.YahooMailClassic@web121702.mail.ne1.yahoo.com> Message-ID: On Wed, Nov 7, 2012 at 4:37 PM, Iulian Dragan wrote: > Hi, > > I put together a little hack to replace the current GD charts with HTML5 > ones. > Here: http://requesttracker.wikia.com/wiki/HTML5Charts > It's a minor thing, but I'd be grateful if someone with time on their > hands would give them a try and let me know of any problems (either by > responding here or in the comments). > It should work in any new-ish browser + IE >= 8. > Sadly JS doesn't work in emails, so dashboards subscriptions wont work. > Cheers, > Iulian > > -------- > We're hiring! http://bestpractical.com/jobs > > -- Best regards, Ruslan. -------------- next part -------------- An HTML attachment was scrubbed... URL: From falcone at bestpractical.com Wed Nov 7 10:12:31 2012 From: falcone at bestpractical.com (Kevin Falcone) Date: Wed, 7 Nov 2012 10:12:31 -0500 Subject: [rt-users] Infinite loop of ticket creation In-Reply-To: <1352281161.3477.16.camel@s-rwysocki> References: <5093FC1D.6020307@sgul.ac.uk> <20121106190239.GI1771@jibsheet.com> <1352281161.3477.16.camel@s-rwysocki> Message-ID: <20121107151231.GM1771@jibsheet.com> On Wed, Nov 07, 2012 at 10:39:21AM +0100, Robert Wysocki wrote: > Dnia 2012-11-06, wto o godzinie 14:02 -0500, Kevin Falcone pisze: > > You can delete the email address from the user of that system (leaving > > their username set to the email address) which means RT will never > > send them email. > > Leaving aside the original issue - why is that? Is this behavior > hardcoded or is it a question od default scrips? When email comes in, RT loads by the email address and looks for that email address in the EmailAddress field and then in the Name field. When email goes out, RT already has the user, and fetches the EmailAddress to send them mail. Since it's blank, it skips the user. That's why this particular trick works. There are probably 5 other ways email might not go out via RT (user preference, ticket squelching, transaction squelching, etc) but this covers the old failthful trick I described above. -kevin -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 235 bytes Desc: not available URL: From falcone at bestpractical.com Wed Nov 7 12:17:43 2012 From: falcone at bestpractical.com (Kevin Falcone) Date: Wed, 7 Nov 2012 12:17:43 -0500 Subject: [rt-users] Infinite loop of ticket creation In-Reply-To: <509A2FED.7000704@sgul.ac.uk> References: <5093FC1D.6020307@sgul.ac.uk> <20121106190239.GI1771@jibsheet.com> <1352281161.3477.16.camel@s-rwysocki> <509A2FED.7000704@sgul.ac.uk> Message-ID: <20121107171743.GN1771@jibsheet.com> On Wed, Nov 07, 2012 at 09:54:53AM +0000, Giuseppe Sollazzo wrote: > I guess that the reason is that there are two systems, A and B. > We are A and use RT. > > B is configured to send a confirmation e-mail whenever it receives > anything from A. > A sends a print-out of the e-mail it receives to B. > > Specifically, it's about the "resolve" message, but I presume the same > applies also to "correspondence" if configured to send out e-mails at > each message. > > Not sure what system uses B, it might be RT as well or something similar. > > I'm surprised this doesn't affect more people. People often make their 'talks to remote system' queues not use as many autoreplies. Also, many external systems retain enough state in the headers for RT to detect the loop (RT sets a number of bear traps for these emails). You could also try marking the precedence of the Resolved email lower (RT's emails have a configurable Precedence which defaults to bulk from DefaultMailPrecedence). Lower precedence mail is often not replied-to (see RT's handling of bulk precedence email with RedistributeAutoGeneratedMessages). Alternately, you could use the Auto-submitted header that Autoreply uses to call out that you don't need a reply. -kevin -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 235 bytes Desc: not available URL: From testwreq at gmail.com Wed Nov 7 14:37:52 2012 From: testwreq at gmail.com (testwreq wreq) Date: Wed, 7 Nov 2012 14:37:52 -0500 Subject: [rt-users] RT4.0.8 new install to configure with exchange Message-ID: We are using Ubuntu 12.0.4 for RT. Is there any documentation on configuring email with the exchange server? Thanks. -------------- next part -------------- An HTML attachment was scrubbed... URL: From Andy.Jewell at sysmicro.co.uk Wed Nov 7 14:43:12 2012 From: Andy.Jewell at sysmicro.co.uk (Andy Jewell) Date: Wed, 7 Nov 2012 19:43:12 +0000 Subject: [rt-users] RT4.0.8 new install to configure with exchange In-Reply-To: References: Message-ID: <5C4CBE6E-CA63-4A44-BAD5-C82C014ABDAD@sysmicro.co.uk> Email config is not specific to RT - you have to set up your mta separately. On Ubuntu it is normally Postfix - you need to find a how to like "setting up postfix on Ubuntu to use a ms exchange smart host" and follow that. Then you need to follow the instructions on the RT wiki for setting up RT to use Postfix. Hope that helps -Andy Sent from my iPhone On 7 Nov 2012, at 19:38, "testwreq wreq" wrote: > We are using Ubuntu 12.0.4 for RT. Is there any documentation on configuring email with the exchange server? > > Thanks. > -------- > We're hiring! http://bestpractical.com/jobs From chrisherrmann7 at gmail.com Wed Nov 7 16:12:08 2012 From: chrisherrmann7 at gmail.com (Chris Herrmann) Date: Thu, 8 Nov 2012 08:12:08 +1100 Subject: [rt-users] Exchange & rt Message-ID: <3E4665E4-289C-4285-B314-6A7B83F2E65C@gmail.com> Setup a contact for your desired queue email address - for example: Myqueue at mydomain.com And the contact delivers to: Myqueue at myrtserver.mydomain.com Similarly configure a comment address: Myqueue-comment at mydomain.com --> myqueue-comment at myrtserver.mydomain.com Set the primary domain as the primary address eg myqueue at mydomain.com Configure the queues to the rtserver.mydomain.com addresses. Smart host rt via exchange to send emails out. Regards, Chris Herrmann Far Edge +612 84251400 +614 03393309 http://www.faredge.com.au From jim.lesinski at gmail.com Wed Nov 7 16:20:20 2012 From: jim.lesinski at gmail.com (Jim Lesinski) Date: Wed, 7 Nov 2012 16:20:20 -0500 Subject: [rt-users] RT-4.0.8 Basics and Details menu - css issue? Message-ID: Does anyone else have an issue with the menu shifting for Basics and Details in Chrome? It seems to work fine in IE9. [image: Inline image 1] There's also issues with the menu on display.html. It seems like the first item gets pushed down a row. [image: Inline image 2] Thanks, Jim -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: image.png Type: image/png Size: 8074 bytes Desc: not available URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: image.png Type: image/png Size: 3516 bytes Desc: not available URL: From trs at bestpractical.com Wed Nov 7 16:35:03 2012 From: trs at bestpractical.com (Thomas Sibley) Date: Wed, 07 Nov 2012 13:35:03 -0800 Subject: [rt-users] RT-4.0.8 Basics and Details menu - css issue? In-Reply-To: References: Message-ID: <509AD407.709@bestpractical.com> On 11/07/2012 01:20 PM, Jim Lesinski wrote: > Does anyone else have an issue with the menu shifting for Basics and > Details in Chrome? > > There's also issues with the menu on display.html. It seems like the > first item gets pushed down a row. I've noticed this recently in development, but it doesn't happen consistently and I haven't tracked down what causes it. It could be either an RT change or a Chrome update which changes rendering. What exact version of Chrome are you seeing this in? I'm using 22.0.1229.94. From jim.lesinski at gmail.com Wed Nov 7 16:50:29 2012 From: jim.lesinski at gmail.com (Jim Lesinski) Date: Wed, 7 Nov 2012 16:50:29 -0500 Subject: [rt-users] RT-4.0.8 Basics and Details menu - css issue? In-Reply-To: <509AD407.709@bestpractical.com> References: <509AD407.709@bestpractical.com> Message-ID: Hmm... When I went to check the version, it updated automatically to Version 23.0.1271.64 m, and now the menu works properly. I was under the impression that Chrome updated automatically in the background so it was always up to date. (I feel silly) So I guess that is solved. Thanks, Jim On Wed, Nov 7, 2012 at 4:35 PM, Thomas Sibley wrote: > On 11/07/2012 01:20 PM, Jim Lesinski wrote: > > Does anyone else have an issue with the menu shifting for Basics and > > Details in Chrome? > > > > There's also issues with the menu on display.html. It seems like the > > first item gets pushed down a row. > > I've noticed this recently in development, but it doesn't happen > consistently and I haven't tracked down what causes it. > > It could be either an RT change or a Chrome update which changes > rendering. What exact version of Chrome are you seeing this in? I'm > using 22.0.1229.94. > -------- > We're hiring! http://bestpractical.com/jobs > -------------- next part -------------- An HTML attachment was scrubbed... URL: From robert.wysocki at contium.pl Thu Nov 8 01:17:11 2012 From: robert.wysocki at contium.pl (Robert Wysocki) Date: Thu, 8 Nov 2012 07:17:11 +0100 Subject: [rt-users] Infinite loop of ticket creation In-Reply-To: <20121107151231.GM1771@jibsheet.com> References: <5093FC1D.6020307@sgul.ac.uk> <20121106190239.GI1771@jibsheet.com> <1352281161.3477.16.camel@s-rwysocki> <20121107151231.GM1771@jibsheet.com> Message-ID: <1352355431.3477.18.camel@s-rwysocki> Dnia 2012-11-07, ?ro o godzinie 10:12 -0500, Kevin Falcone pisze: > On Wed, Nov 07, 2012 at 10:39:21AM +0100, Robert Wysocki wrote: > > Leaving aside the original issue - why is that? Is this behavior > > hardcoded or is it a question od default scrips? > > When email comes in, RT loads by the email address and looks for that > email address in the EmailAddress field and then in the Name field. > > When email goes out, RT already has the user, and fetches the > EmailAddress to send them mail. Since it's blank, it skips the user. > > That's why this particular trick works. Neat :) Thanks, good to know. Regards, -- Robert Wysocki administrator system?w linuksowych Contium S.A., http://www.contium.pl From Albert.Shih at obspm.fr Thu Nov 8 07:15:18 2012 From: Albert.Shih at obspm.fr (Albert Shih) Date: Thu, 8 Nov 2012 13:15:18 +0100 Subject: [rt-users] General information about upgrade. Message-ID: <20121108121518.GC23538@pcjas.obspm.fr> Hi all, Two basic questions about upgrade. I've see the new version of RT4x is release. 1/ Where can I find the ?changes file?. ? 2/ If I take a look inside DISTRIB/etc/upgrade/ and (for example with rt-4.0.8) I've ................ drwxr-xr-x 2 501 staff 512 25 oct 20:37 4.0.0rc2 drwxr-xr-x 2 501 staff 512 25 oct 20:37 4.0.0rc4 drwxr-xr-x 2 501 staff 512 25 oct 20:37 4.0.0rc7 drwxr-xr-x 2 501 staff 512 25 oct 20:37 4.0.1 drwxr-xr-x 2 501 staff 512 25 oct 20:37 4.0.3 drwxr-xr-x 2 501 staff 512 25 oct 20:37 4.0.4 drwxr-xr-x 2 501 staff 512 25 oct 20:37 4.0.6 -rwxr-xr-- 1 501 staff 3738 25 oct 20:42 generate-rtaddressregexp is that mean I don't have anything to do if I upgrading from 4.0.7 ? Is that the good way to see if I've anything to do for upgrading ? Regards. JAS -- Albert SHIH DIO b?timent 15 Observatoire de Paris 5 Place Jules Janssen 92195 Meudon Cedex T?l?phone : 01 45 07 76 26/06 86 69 95 71 xmpp: jas at obspm.fr Heure local/Local time: jeu 8 nov 2012 13:11:40 CET From ruz at bestpractical.com Thu Nov 8 07:52:34 2012 From: ruz at bestpractical.com (Ruslan Zakirov) Date: Thu, 8 Nov 2012 16:52:34 +0400 Subject: [rt-users] General information about upgrade. In-Reply-To: <20121108121518.GC23538@pcjas.obspm.fr> References: <20121108121518.GC23538@pcjas.obspm.fr> Message-ID: On Thu, Nov 8, 2012 at 4:15 PM, Albert Shih wrote: > Hi all, > > Two basic questions about upgrade. > > I've see the new version of RT4x is release. > > 1/ Where can I find the ?changes file?. ? > > 2/ If I take a look inside > > DISTRIB/etc/upgrade/ > > and (for example with rt-4.0.8) I've > > ................ > drwxr-xr-x 2 501 staff 512 25 oct 20:37 4.0.0rc2 > drwxr-xr-x 2 501 staff 512 25 oct 20:37 4.0.0rc4 > drwxr-xr-x 2 501 staff 512 25 oct 20:37 4.0.0rc7 > drwxr-xr-x 2 501 staff 512 25 oct 20:37 4.0.1 > drwxr-xr-x 2 501 staff 512 25 oct 20:37 4.0.3 > drwxr-xr-x 2 501 staff 512 25 oct 20:37 4.0.4 > drwxr-xr-x 2 501 staff 512 25 oct 20:37 4.0.6 > -rwxr-xr-- 1 501 staff 3738 25 oct 20:42 generate-rtaddressregexp > > is that mean I don't have anything to do if I upgrading from 4.0.7 ? > > Is that the good way to see if I've anything to do for upgrading ? > You also check docs/UPGRADING-4.0 for "UPGRADING FROM 4.0.x and earlier" to make sure there is no manual steps or special notes about new features/important fixes. > Regards. > > JAS -- Best regards, Ruslan. From testwreq at gmail.com Thu Nov 8 10:50:52 2012 From: testwreq at gmail.com (testwreq wreq) Date: Thu, 8 Nov 2012 10:50:52 -0500 Subject: [rt-users] apache2 configuration on ubuntu Message-ID: I have new install of RT4 on ubuntu 12.0.8. RT4 is installed in /rt folder. Can someone pls advise on apache confiuration because apache2 is different from centos -------------- next part -------------- An HTML attachment was scrubbed... URL: From rapria at synotek.com Thu Nov 8 10:57:40 2012 From: rapria at synotek.com (Abhimanyu Rapria) Date: Thu, 8 Nov 2012 21:27:40 +0530 Subject: [rt-users] RT Unprivileged user with SeeCustomField and ModifyCustomField rights not able to download file from custom field of type "upload one file" Message-ID: Hi, Version 4.0.5 OR 4.0.8 RT Unprivileged user with SeeCustomField and ModifyCustomField rights not able to download file from custom field of type "upload one file" So if the want to come to self service portal in future to download some report uploaded in a custom field, they cant do it. On clicking file name, service service page refreshes to self service home. >From behavior looks like unprivileged users don't have some rights on http:///rt/Download/CustomFieldValue/86/ Privileged users with same rights can download the file from exactly same url http:///rt/Download/CustomFieldValue/86/ This is confirmed by the fact that if i take url http:///rt/Download/CustomFieldValue/86/ and put it in another tab of browser where unprivileged user is logged in, it will not download and open unprivileged user logged in home page. If i take url http:///rt/Download/CustomFieldValue/86/ and put it in another tab of browser where privileged user is logged in, it will download the file. If this is confirmed to be a bug, i will proceed to submit a bug report. br, Rapria -------------- next part -------------- An HTML attachment was scrubbed... URL: From testwreq at gmail.com Thu Nov 8 11:33:04 2012 From: testwreq at gmail.com (testwreq wreq) Date: Thu, 8 Nov 2012 11:33:04 -0500 Subject: [rt-users] can't find /etc/request-tracker4/apache2-modperl2.conf Message-ID: We followed the instructions on http://www.bestpractical.com/rt/docs/latest/README.html to install RT4 on ubuntu We ran step 6a "Make install" to install RT in /rt folder I am looking at the wiki's to setup apache and most of the documentation that I have come accross mentions to include apache3-modperl2.conf. RT did not install this in the /etc folder. What could we be missing? thanks so much in advance for helping us to resolve the setup. =================================== open apache2 configuration file. vi /etc/apache2/sites-available/default At the end of this file : Include /etc/request-tracker4/apache2-modperl2.conf RedirectMatch ^/$ /rt -------------- next part -------------- An HTML attachment was scrubbed... URL: From dominic.hargreaves at it.ox.ac.uk Thu Nov 8 12:15:55 2012 From: dominic.hargreaves at it.ox.ac.uk (Dominic Hargreaves) Date: Thu, 8 Nov 2012 17:15:55 +0000 Subject: [rt-users] can't find /etc/request-tracker4/apache2-modperl2.conf In-Reply-To: References: Message-ID: <20121108171555.GH4131@squash.oucs.ox.ac.uk> On Thu, Nov 08, 2012 at 11:33:04AM -0500, testwreq wreq wrote: > We followed the instructions on > http://www.bestpractical.com/rt/docs/latest/README.html to install RT4 on > ubuntu > > We ran step 6a "Make install" to install RT in /rt folder > > I am looking at the wiki's to setup apache and most of the documentation > that I have come accross mentions to include apache3-modperl2.conf. RT did > not install this in the /etc folder. What could we be missing? > > thanks so much in advance for helping us to resolve the setup. You're confusing the method of installing from source with installing the Debian/Ubuntu packge; the file in /etc you refer to comes from the latter. What you want if you're already installed from source is http://www.bestpractical.com/rt/docs/latest/web_deployment.html (could that perhaps be linked from README?) -- Dominic Hargreaves, Systems Development and Support Section IT Services, University of Oxford -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 198 bytes Desc: Digital signature URL: From testwreq at gmail.com Thu Nov 8 12:37:48 2012 From: testwreq at gmail.com (testwreq wreq) Date: Thu, 8 Nov 2012 12:37:48 -0500 Subject: [rt-users] can't find /etc/request-tracker4/apache2-modperl2.conf In-Reply-To: <20121108171555.GH4131@squash.oucs.ox.ac.uk> References: <20121108171555.GH4131@squash.oucs.ox.ac.uk> Message-ID: Actually now this is my host file. When I restart apache, I get the following error: PerlResponseHandler', perhaps misspelled or defined by a module not included in the server configuration... Probably it is something with Apache. make testdeps make fixdeps both return all dependencies found. How should I fix this? AddDefaultCharset UTF-8 DocumentRoot "/opt/rt4/share/html" Order allow,deny Allow from all SetHandler modperl PerlResponseHandler Plack::Handler::Apache2 PerlSetVar psgi_app /opt/rt4/sbin/rt-server use Plack::Handler::Apache2; Plack::Handler::Apache2->preload("/opt/rt4/sbin/rt-server"); On Thu, Nov 8, 2012 at 12:15 PM, Dominic Hargreaves < dominic.hargreaves at it.ox.ac.uk> wrote: > On Thu, Nov 08, 2012 at 11:33:04AM -0500, testwreq wreq wrote: > > We followed the instructions on > > http://www.bestpractical.com/rt/docs/latest/README.html to install RT4 > on > > ubuntu > > > > We ran step 6a "Make install" to install RT in /rt folder > > > > I am looking at the wiki's to setup apache and most of the documentation > > that I have come accross mentions to include apache3-modperl2.conf. RT > did > > not install this in the /etc folder. What could we be missing? > > > > thanks so much in advance for helping us to resolve the setup. > > You're confusing the method of installing from source with installing > the Debian/Ubuntu packge; the file in /etc you refer to comes from > the latter. What you want if you're already installed from source is > > http://www.bestpractical.com/rt/docs/latest/web_deployment.html > > (could that perhaps be linked from README?) > > -- > Dominic Hargreaves, Systems Development and Support Section > IT Services, University of Oxford > > -------- > We're hiring! http://bestpractical.com/jobs > > -------------- next part -------------- An HTML attachment was scrubbed... URL: From trs at bestpractical.com Thu Nov 8 13:11:27 2012 From: trs at bestpractical.com (Thomas Sibley) Date: Thu, 08 Nov 2012 10:11:27 -0800 Subject: [rt-users] can't find /etc/request-tracker4/apache2-modperl2.conf In-Reply-To: <20121108171555.GH4131@squash.oucs.ox.ac.uk> References: <20121108171555.GH4131@squash.oucs.ox.ac.uk> Message-ID: <509BF5CF.8040305@bestpractical.com> On 11/08/2012 09:15 AM, Dominic Hargreaves wrote: > http://www.bestpractical.com/rt/docs/latest/web_deployment.html > > (could that perhaps be linked from README?) It should be, yes. The README isn't POD, which makes generating anything other than plain text an ad-hoc game, but finding "docs/X" references and linking them would be nice. It'd also be nice to link to the bin/rt-mailgate docs where that is mentioned, as well as any text that matches /UPGRADING-\d\.\d/, and of course all the normal http URLs and email addresses mentioned. From ptomblin at xcski.com Thu Nov 8 13:27:16 2012 From: ptomblin at xcski.com (Paul Tomblin) Date: Thu, 8 Nov 2012 13:27:16 -0500 Subject: [rt-users] can't find /etc/request-tracker4/apache2-modperl2.conf In-Reply-To: References: <20121108171555.GH4131@squash.oucs.ox.ac.uk> Message-ID: On Thu, Nov 8, 2012 at 12:37 PM, testwreq wreq wrote: > Actually now this is my host file. When I restart apache, I get the > following error: > PerlResponseHandler', perhaps misspelled or defined by a module not > included in the server configuration... > > Do you have your mod_perl handler included in Apache? If you look in /etc/apache2/mods-enabled, you should see a "perl.load" which should be a symlink to a file of the same name in ../mods-available. -- http://www.linkedin.com/in/paultomblin http://careers.stackoverflow.com/ptomblin -------------- next part -------------- An HTML attachment was scrubbed... URL: From trs at bestpractical.com Thu Nov 8 13:36:51 2012 From: trs at bestpractical.com (Thomas Sibley) Date: Thu, 08 Nov 2012 10:36:51 -0800 Subject: [rt-users] RT Unprivileged user with SeeCustomField and ModifyCustomField rights not able to download file from custom field of type "upload one file" In-Reply-To: References: Message-ID: <509BFBC3.104@bestpractical.com> On 11/08/2012 07:57 AM, Abhimanyu Rapria wrote: > RT Unprivileged user with SeeCustomField and ModifyCustomField > rights not able to download file from custom field of type "upload > one file" > > So if the want to come to self service portal in future to download > some report uploaded in a custom field, they cant do it. > > On clicking file name, service service page refreshes to self service > home. > > From behavior looks like unprivileged users don't have some rights on > http:///rt/Download/CustomFieldValue/86/ Yes, this is a bug, please submit a ticket to rt-bugs at bestpractical.com or at http://issues.bestpractical.com. As a workaround, you could add this to your RT_SiteConfig.pm: Set($SelfServiceRegex, qr!^(?:/+(?:SelfService|Download/CustomFieldValue/\d+)/)!x ); Which will allow self service users to access the CF download URL. From trs at bestpractical.com Thu Nov 8 13:39:21 2012 From: trs at bestpractical.com (Thomas Sibley) Date: Thu, 08 Nov 2012 10:39:21 -0800 Subject: [rt-users] General information about upgrade. In-Reply-To: <20121108121518.GC23538@pcjas.obspm.fr> References: <20121108121518.GC23538@pcjas.obspm.fr> Message-ID: <509BFC59.3070700@bestpractical.com> On 11/08/2012 04:15 AM, Albert Shih wrote: > I've see the new version of RT4x is release. > > 1/ Where can I find the ?changes file?. ? Release notes are now online at http://bestpractical.com/rt/release-notes/. > 2/ If I take a look inside > > DISTRIB/etc/upgrade/ > > and (for example with rt-4.0.8) I've > > ................ > drwxr-xr-x 2 501 staff 512 25 oct 20:37 4.0.0rc2 > drwxr-xr-x 2 501 staff 512 25 oct 20:37 4.0.0rc4 > drwxr-xr-x 2 501 staff 512 25 oct 20:37 4.0.0rc7 > drwxr-xr-x 2 501 staff 512 25 oct 20:37 4.0.1 > drwxr-xr-x 2 501 staff 512 25 oct 20:37 4.0.3 > drwxr-xr-x 2 501 staff 512 25 oct 20:37 4.0.4 > drwxr-xr-x 2 501 staff 512 25 oct 20:37 4.0.6 > -rwxr-xr-- 1 501 staff 3738 25 oct 20:42 generate-rtaddressregexp > > is that mean I don't have anything to do if I upgrading from 4.0.7 ? Correct. > Is that the good way to see if I've anything to do for upgrading ? The best way is to run `make upgrade-database` as outlined in the README and enter the version you're upgrading from. If there is nothing to do, it'll tell you that and quit. If there are upgrades to run, it'll tell you which ones and ask if you want to proceed. You can decline if you're just looking to see what you'll need to do later. As Ruslan noted, you should also read the UPGRADING-* files under docs/. Thomas From Seth.Lake at vangent.com Thu Nov 8 13:50:27 2012 From: Seth.Lake at vangent.com (Lake, Seth M (Vangent)) Date: Thu, 8 Nov 2012 18:50:27 +0000 Subject: [rt-users] Spreadsheet esq Message-ID: <344089BE6091124BA4C977E9CDB331CB20FE05A0@DENEXCMBP02.vangent.local> An interesting idea, but I'm not seeing how it ties in to newly generated tickets. So when a user clicks on New Ticket in the Cabling queue how does RT know to grab an RTFM article to use as a template? -------------- next part -------------- An HTML attachment was scrubbed... URL: From testwreq at gmail.com Thu Nov 8 14:06:58 2012 From: testwreq at gmail.com (testwreq wreq) Date: Thu, 8 Nov 2012 14:06:58 -0500 Subject: [rt-users] can't find /etc/request-tracker4/apache2-modperl2.conf In-Reply-To: References: <20121108171555.GH4131@squash.oucs.ox.ac.uk> Message-ID: Thank you. This helped. Issued the following commands to fix it: issued the following commands to install and enable the module in Apache: apt-get install libapache2-mod-perl2 a2enmod perl Restarted apache2. The web interface works fine. However, apache restart gave the following error: [Thu Nov 08 13:56:57 2012] [warn] NameVirtualHost *:80 has no VirtualHosts ...done. What could be wrong in this file? this is rt file and enabled in sites-enabled directory. # 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 "/rt/share/html" Order allow,deny Allow from all SetHandler modperl PerlResponseHandler Plack::Handler::Apache2 PerlSetVar psgi_app /rt/sbin/rt-server use Plack::Handler::Apache2; Plack::Handler::Apache2->preload("/rt/sbin/rt-server"); On Thu, Nov 8, 2012 at 1:27 PM, Paul Tomblin wrote: > > > On Thu, Nov 8, 2012 at 12:37 PM, testwreq wreq wrote: > >> Actually now this is my host file. When I restart apache, I get the >> following error: >> PerlResponseHandler', perhaps misspelled or defined by a module not >> included in the server configuration... >> >> > > Do you have your mod_perl handler included in Apache? If you look in > /etc/apache2/mods-enabled, you should see a "perl.load" which should be a > symlink to a file of the same name in ../mods-available. > > > > -- > http://www.linkedin.com/in/paultomblin > http://careers.stackoverflow.com/ptomblin > > > -------- > We're hiring! http://bestpractical.com/jobs > > -------------- next part -------------- An HTML attachment was scrubbed... URL: From arekm at maven.pl Fri Nov 9 04:47:07 2012 From: arekm at maven.pl (Arkadiusz =?utf-8?q?Mi=C5=9Bkiewicz?=) Date: Fri, 9 Nov 2012 10:47:07 +0100 Subject: [rt-users] rt 4.0.8 and unknown charsets Message-ID: <201211091047.07603.arekm@maven.pl> Hi, rt 4.0.8 installation and rt-mailgate script quite often cannot deliver message to rt because: [pid 8672] write(2, "RT server error.\n\nThe RT server which handled your email did not behave as expected. It\nsaid:\n\nUnknown encoding 'iso-8859-8-i' at /usr/share/perl5/vendor_perl/RT/I18N.pm line 542\n\nStack:\n [/usr/share/perl5/5.12.4/Carp.pm:62]\n [/usr/lib/perl5/vendor_perl/5.12.0/i686-pld-linux-thread- multi/Encode.pm:189]\n [/usr/share/perl5/vendor_perl/RT/I18N.pm:542]\n [/usr/share/perl5/vendor_perl/RT/I18N.pm:214]\n [/usr/share/perl5/vendor_perl/RT/I18N.pm:210]\n [/usr/share/perl5/vendor_perl/RT/EmailParser.pm:282]\n [/usr/share/perl5/vendor_perl/RT/Interface/Email.pm:1433]\n [/usr/share/rt/html/REST/1.0/NoAuth/mail-gateway:61]\n\n", 621) = 621 iso-8859-8-i is actually valid encoding (http://en.wikipedia.org/wiki/ISO-8859-8-I) The question is - can rt be configured/changed that way it treats unknown charsets as ascii or utf8? I really prefer to have borked charset than to loose message. -- Arkadiusz Mi?kiewicz, arekm / maven.pl From trs at bestpractical.com Fri Nov 9 05:02:51 2012 From: trs at bestpractical.com (Thomas Sibley) Date: Fri, 09 Nov 2012 02:02:51 -0800 Subject: [rt-users] rt 4.0.8 and unknown charsets In-Reply-To: <201211091047.07603.arekm@maven.pl> References: <201211091047.07603.arekm@maven.pl> Message-ID: <509CD4CB.8040205@bestpractical.com> On 11/09/2012 01:47 AM, Arkadiusz Mi?kiewicz wrote: > iso-8859-8-i is actually valid encoding > (http://en.wikipedia.org/wiki/ISO-8859-8-I) Try putting this in your RT_SiteConfig.pm: use Encode; use Encode::Alias; define_alias("iso-8859-8-i" => "iso-8859-8"); and then restarting RT. The wikipedia page for ISO-8859-8 sheds some light on the difference: Nominally ISO-8859-8 is for ?visual order?, and ISO-8859-8-I is for logical order. But usually in practice, and required for HTML and XML documents, ISO-8859-8 also stands for logical order text. http://en.wikipedia.org/wiki/ISO/IEC_8859-8 From arekm at maven.pl Fri Nov 9 05:49:40 2012 From: arekm at maven.pl (Arkadiusz =?utf-8?q?Mi=C5=9Bkiewicz?=) Date: Fri, 9 Nov 2012 11:49:40 +0100 Subject: [rt-users] rt 4.0.8 and unknown charsets In-Reply-To: <509CD4CB.8040205@bestpractical.com> References: <201211091047.07603.arekm@maven.pl> <509CD4CB.8040205@bestpractical.com> Message-ID: <201211091149.40752.arekm@maven.pl> On Friday 09 of November 2012, Thomas Sibley wrote: > On 11/09/2012 01:47 AM, Arkadiusz Mi?kiewicz wrote: > > iso-8859-8-i is actually valid encoding > > (http://en.wikipedia.org/wiki/ISO-8859-8-I) > > Try putting this in your RT_SiteConfig.pm: > > use Encode; > use Encode::Alias; > define_alias("iso-8859-8-i" => "iso-8859-8"); > > and then restarting RT. That worked for this case, thanks! Now I'm interested in more generic solution, so I won't have to play manually with every (random) charset someone is putting :) -- Arkadiusz Mi?kiewicz, arekm / maven.pl From kristian.davies at gmail.com Fri Nov 9 06:01:04 2012 From: kristian.davies at gmail.com (Kristian Davies) Date: Fri, 9 Nov 2012 11:01:04 +0000 Subject: [rt-users] Custom Field searching Message-ID: I'm sure this is a know issue but I can't find a reference to it (probably looking in the wrong place). Version: 4.0.6 Works: Queue = 'QueueA' AND CF.{FRUIT} = 'APPLE' Does not work: Queue = 'QueueA' AND CF.{FRUIT} != 'APPLE' Seems to work if I add: AND CF.{FRUIT} IS NOT NULL Known issue, meant to be like that, is it fixed in a later version? Cheers, Kristian From arthur_rance at hotmail.com Fri Nov 9 08:45:17 2012 From: arthur_rance at hotmail.com (Arthur Rance) Date: Fri, 9 Nov 2012 14:45:17 +0100 Subject: [rt-users] Perl script list all tickets = zero Message-ID: Hello, zero ticket. why ? #!/usr/bin/env perl use strict;use warnings; use RT; RT::LoadConfig();RT::Init();RT::ConnectToDatabase(); my $tickets = new RT::Tickets( $RT::SystemUser );$tickets->FindAllRows; my $count = $tickets->Count;print "$count\n"; # why zero ? -------------- next part -------------- An HTML attachment was scrubbed... URL: From ruz at bestpractical.com Fri Nov 9 12:12:45 2012 From: ruz at bestpractical.com (Ruslan Zakirov) Date: Fri, 9 Nov 2012 21:12:45 +0400 Subject: [rt-users] Perl script list all tickets = zero In-Reply-To: References: Message-ID: On Fri, Nov 9, 2012 at 5:45 PM, Arthur Rance wrote: > FindAllRows You need UnLimit method. -- Best regards, Ruslan. From falcone at bestpractical.com Fri Nov 9 12:42:45 2012 From: falcone at bestpractical.com (Kevin Falcone) Date: Fri, 9 Nov 2012 12:42:45 -0500 Subject: [rt-users] Custom Field searching In-Reply-To: References: Message-ID: <20121109174245.GA1537@jibsheet.com> On Fri, Nov 09, 2012 at 11:01:04AM +0000, Kristian Davies wrote: > I'm sure this is a know issue but I can't find a reference to it > (probably looking in the wrong place). > > Version: 4.0.6 > > Works: Queue = 'QueueA' AND CF.{FRUIT} = 'APPLE' > > Does not work: > Queue = 'QueueA' AND CF.{FRUIT} != 'APPLE' > > Seems to work if I add: AND CF.{FRUIT} IS NOT NULL You don't mention your database. Also, please describe "doesn't work". -kevin -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 235 bytes Desc: not available URL: From falcone at bestpractical.com Fri Nov 9 13:09:54 2012 From: falcone at bestpractical.com (Kevin Falcone) Date: Fri, 9 Nov 2012 13:09:54 -0500 Subject: [rt-users] rt 4.0.8 and unknown charsets In-Reply-To: <201211091149.40752.arekm@maven.pl> References: <201211091047.07603.arekm@maven.pl> <509CD4CB.8040205@bestpractical.com> <201211091149.40752.arekm@maven.pl> Message-ID: <20121109180954.GB1537@jibsheet.com> On Fri, Nov 09, 2012 at 11:49:40AM +0100, Arkadiusz Mi?kiewicz wrote: > On Friday 09 of November 2012, Thomas Sibley wrote: > > On 11/09/2012 01:47 AM, Arkadiusz Mi?kiewicz wrote: > > > iso-8859-8-i is actually valid encoding > > > (http://en.wikipedia.org/wiki/ISO-8859-8-I) > > > > Try putting this in your RT_SiteConfig.pm: > > > > use Encode; > > use Encode::Alias; > > define_alias("iso-8859-8-i" => "iso-8859-8"); > > > > and then restarting RT. > > That worked for this case, thanks! > > Now I'm interested in more generic solution, so I won't have to play manually > with every (random) charset someone is putting :) There have been a few patches around this and at least one unmerged branch that touches our internationalization code. It should continue to get better in future releases. -kevin -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 235 bytes Desc: not available URL: From kristian.davies at gmail.com Fri Nov 9 13:12:12 2012 From: kristian.davies at gmail.com (Kristian Davies) Date: Fri, 9 Nov 2012 18:12:12 +0000 Subject: [rt-users] Custom Field searching In-Reply-To: <20121109174245.GA1537@jibsheet.com> References: <20121109174245.GA1537@jibsheet.com> Message-ID: > You don't mention your database. Sorry... MySQL 5.1.50-enterprise-gpl-advanced-log > Also, please describe "doesn't work". By not work I mean it doesn't 'filter out' without the 'IS NOT NULL'. It does however work with matching on custom fields. -Kristian From falcone at bestpractical.com Fri Nov 9 13:21:22 2012 From: falcone at bestpractical.com (Kevin Falcone) Date: Fri, 9 Nov 2012 13:21:22 -0500 Subject: [rt-users] Custom Field searching In-Reply-To: References: <20121109174245.GA1537@jibsheet.com> Message-ID: <20121109182122.GC1537@jibsheet.com> On Fri, Nov 09, 2012 at 06:12:12PM +0000, Kristian Davies wrote: > > Also, please describe "doesn't work". > > By not work I mean it doesn't 'filter out' without the 'IS NOT NULL'. > It does however work with matching on custom fields. What type is your test custom field? You should also be checking the web server error logs to make sure you're not getting any errors about your query. -kevin -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 235 bytes Desc: not available URL: From ruz at bestpractical.com Fri Nov 9 14:40:02 2012 From: ruz at bestpractical.com (Ruslan Zakirov) Date: Fri, 9 Nov 2012 23:40:02 +0400 Subject: [rt-users] Custom Field searching In-Reply-To: References: <20121109174245.GA1537@jibsheet.com> Message-ID: On Fri, Nov 9, 2012 at 10:12 PM, Kristian Davies wrote: >> You don't mention your database. > > Sorry... MySQL 5.1.50-enterprise-gpl-advanced-log > >> Also, please describe "doesn't work". > > By not work I mean it doesn't 'filter out' without the 'IS NOT NULL'. > It does however work with matching on custom fields. CF.{X} != 'apple' expected to return tickets without value for CF X. Have I misunderstood you and it actually returns tickets with apple value? > -Kristian > -------- > We're hiring! http://bestpractical.com/jobs -- Best regards, Ruslan. From trs at bestpractical.com Fri Nov 9 15:34:43 2012 From: trs at bestpractical.com (Thomas Sibley) Date: Fri, 09 Nov 2012 12:34:43 -0800 Subject: [rt-users] Perl script list all tickets = zero In-Reply-To: References: Message-ID: <509D68E3.20705@bestpractical.com> On 11/09/2012 09:12 AM, Ruslan Zakirov wrote: > On Fri, Nov 9, 2012 at 5:45 PM, Arthur Rance wrote: >> FindAllRows > > You need UnLimit method. The reason is that FindAllRows just tells the collection to include disabled records: http://bestpractical.com/rt/docs/4.0/RT/SearchBuilder.html#FindAllRows From diaulas.castro at intersolution.inf.br Fri Nov 9 16:46:50 2012 From: diaulas.castro at intersolution.inf.br (Diaulas Castro) Date: Fri, 9 Nov 2012 21:46:50 +0000 Subject: [rt-users] RES: Exchange & rt In-Reply-To: <3E4665E4-289C-4285-B314-6A7B83F2E65C@gmail.com> References: <3E4665E4-289C-4285-B314-6A7B83F2E65C@gmail.com> Message-ID: <3B9178D874F56F47B616AB50C01F7B7740587B04@GRUPRD8002MB111.lamprd80.prod.outlook.com> My two cents, Configure your postfix/sendmail to masquerade entire envelope and sender, Exchange sometimes (at least on Office365) doesn't allow sender differ from authenticated user or someone doesn't exists in his database. If im correct on postfix search for generic tables and sendmail on /etc/sendmail.mc (or .cf always forgot) for MASQUERADE options and generic maps. If you use Debian/Ubuntu just install ssmtp and put your authentication/relay configuration on /etc/ssmtp -----Mensagem original----- De: rt-users-bounces at lists.bestpractical.com [mailto:rt-users-bounces at lists.bestpractical.com] Em nome de Chris Herrmann Enviada em: quarta-feira, 7 de novembro de 2012 19:12 Para: rt-users at lists.bestpractical.com Assunto: [rt-users] Exchange & rt Setup a contact for your desired queue email address - for example: Myqueue at mydomain.com And the contact delivers to: Myqueue at myrtserver.mydomain.com Similarly configure a comment address: Myqueue-comment at mydomain.com --> myqueue-comment at myrtserver.mydomain.com Set the primary domain as the primary address eg myqueue at mydomain.com Configure the queues to the rtserver.mydomain.com addresses. Smart host rt via exchange to send emails out. Regards, Chris Herrmann Far Edge +612 84251400 +614 03393309 http://www.faredge.com.au -------- We're hiring! http://bestpractical.com/jobs From diaulas.castro at intersolution.inf.br Fri Nov 9 16:58:50 2012 From: diaulas.castro at intersolution.inf.br (Diaulas Castro) Date: Fri, 9 Nov 2012 21:58:50 +0000 Subject: [rt-users] RES: RT-4.0.8 Basics and Details menu - css issue? In-Reply-To: References: <509AD407.709@bestpractical.com> Message-ID: <3B9178D874F56F47B616AB50C01F7B7740587B33@GRUPRD8002MB111.lamprd80.prod.outlook.com> Got same problem, but mine was Feed/Star button overlapping. After changing language from PT_BR to US_EN the Feed/Star button come back to right place. De: rt-users-bounces at lists.bestpractical.com [mailto:rt-users-bounces at lists.bestpractical.com] Em nome de Jim Lesinski Enviada em: quarta-feira, 7 de novembro de 2012 19:50 Para: Thomas Sibley Cc: rt-users at lists.bestpractical.com Assunto: Re: [rt-users] RT-4.0.8 Basics and Details menu - css issue? Hmm... When I went to check the version, it updated automatically to Version 23.0.1271.64 m, and now the menu works properly. I was under the impression that Chrome updated automatically in the background so it was always up to date. (I feel silly) So I guess that is solved. Thanks, Jim On Wed, Nov 7, 2012 at 4:35 PM, Thomas Sibley > wrote: On 11/07/2012 01:20 PM, Jim Lesinski wrote: > Does anyone else have an issue with the menu shifting for Basics and > Details in Chrome? > > There's also issues with the menu on display.html. It seems like the > first item gets pushed down a row. I've noticed this recently in development, but it doesn't happen consistently and I haven't tracked down what causes it. It could be either an RT change or a Chrome update which changes rendering. What exact version of Chrome are you seeing this in? I'm using 22.0.1229.94. -------- We're hiring! http://bestpractical.com/jobs -------------- next part -------------- An HTML attachment was scrubbed... URL: From trs at bestpractical.com Fri Nov 9 18:03:52 2012 From: trs at bestpractical.com (Thomas Sibley) Date: Fri, 09 Nov 2012 15:03:52 -0800 Subject: [rt-users] Spreadsheet-esq Web Input In-Reply-To: <344089BE6091124BA4C977E9CDB331CB20FE022F@DENEXCMBP02.vangent.local> References: <344089BE6091124BA4C977E9CDB331CB20FDBFCE@DENEXCMBP02.vangent.local>, <344089BE6091124BA4C977E9CDB331CB20FE008B@DENEXCMBP02.vangent.local> <344089BE6091124BA4C977E9CDB331CB20FE022F@DENEXCMBP02.vangent.local> Message-ID: <509D8BD8.20905@bestpractical.com> On 10/31/2012 01:59 PM, Lake, Seth M (Vangent) wrote: > been playing aorund with this for a few day now. Able to design a table > in the WYSIWYG and have it email out properly (by setting the contect to > html in the templates) and show properly in the history (by pbypassing > the scrubber). still having an issue populating the Description field > on a new ticket though. any help is appreciated. Rather than bypassing the scrubber, push the tags you need into @RT::Interface::Web::SCRUBBER_ALLOWED_TAGS. > I managed to hack together my first callback from Create.html and it > works (yay!) but it's populating the WYSIWYG with unformatted text. if > anyone knows how to make this pop as an actual table please shoot me a line. All message boxes (Elements/MessageBox) start as with <% $Default || '' %><% $signature . "\n\n" %><% $message %> Maciek -- Maciej Dobrzanski PSCE - MySQL Consulting Experts e-mail: maciek at psce.com | skype: psce_skype | url: http:// www.psce.com/ -------------- next part -------------- An HTML attachment was scrubbed... URL: From arnon at easydns.com Thu Nov 29 11:25:00 2012 From: arnon at easydns.com (Arnon Clark) Date: Thu, 29 Nov 2012 11:25:00 -0500 Subject: [rt-users] Request for advice or assistance - rt-validator/upgrade Message-ID: <50B78C5C.5090107@easydns.com> Hi folks, I asked (badly) about this a bit ago, and I'm hoping someone might have a suggestion. I'm trying to run an upgrade from 3.8.7 to the latest, but when I'm running the rt-validator before the database upgrade, I'm hitting multiple errors as follows : Record #600812 in Attachments references not existent record in Attachments Parent => '600810' => id Attachment #600812 -> Txn #1567410, Transaction #1567410 -> object RT::Ticket #187695 I tried using shredder to delete the tickets in question, but am still seeing the error. Does anyone have any recommendations on how to proceed? Many thanks for any assistance Arnon From l.loskot at seznam.cz Thu Nov 29 11:31:33 2012 From: l.loskot at seznam.cz (=?iso-8859-2?Q?Luk=E1=B9_Loskot?=) Date: Thu, 29 Nov 2012 17:31:33 +0100 Subject: [rt-users] Redirection to unexisting page after login with ExternalAuth plugin Message-ID: <000101cdce4e$fed2c810$fc785830$@seznam.cz> Hello, After loging in the RT redirects me to page which ends with HASH(0x87389c8). But this page doesnt existn on the server. It started happending after updating to last RT version 4.0.7. I have found that others solved this with updating the ExternalAuth plugin. (http://www.mail-archive.com/rt-users at lists.bestpractical.com/msg39368.html) I tried it also and cpan installed the last version and restarted the webserver, but it didnt helped. I have also tried to delete the files located /usr/local/share/request-tracker4/plugins/RT-Authen-ExternalAuth and CPAN install the plugin again, but with no luck. Now im using RT 4.0.7 and ExternalAuth 0.12. Thank you for any advices. Regards, Lukas Loskot From l.loskot at seznam.cz Thu Nov 29 11:31:14 2012 From: l.loskot at seznam.cz (=?iso-8859-2?Q?Luk=E1=B9_Loskot?=) Date: Thu, 29 Nov 2012 17:31:14 +0100 Subject: [rt-users] Show HTML tables in tickets Message-ID: <000001cdce4e$fc0bb8d0$f4232a70$@seznam.cz> Hello everyone, Could anyone point me how can I make my RT instalation show HTML tables in tickes. I have configured Set($PreferRichText, 1); Still the tables in tickests are missing, but the text is html formated (colours, links, bolt, ......) I have only found one related answer but it was old and didnt explained what was the issue or how to fix it. (http://www.gossamer-threads.com/lists/rt/users/94028) My instalation is RT 4.0.7 Thank you for your advices. Regards Lukas Loskot From falcone at bestpractical.com Thu Nov 29 11:49:24 2012 From: falcone at bestpractical.com (Kevin Falcone) Date: Thu, 29 Nov 2012 11:49:24 -0500 Subject: [rt-users] RT 4.08 Account creation In-Reply-To: <50B5894F.7070509@msu.edu> References: <50AD1C4B.3090102@msu.edu> <20121127172522.GE1823@jibsheet.com> <50B506D1.9000605@msu.edu> <20121128030744.GI1823@jibsheet.com> <50B5894F.7070509@msu.edu> Message-ID: <20121129164924.GM1823@jibsheet.com> On Tue, Nov 27, 2012 at 10:47:27PM -0500, John Johnston wrote: > Actually no, REMOTE_USER in our institution includes the domain name, so in this example it > would be johnj at msu.edu. I have double checked this by having the form spit out the > variables returned by the Shibboleth IdP. > my $ticket = RT::Client::REST::Ticket->new( > rt => $rt, > queue => "General", > subject => "$your_subject", > requestor => [$your_netid], > cf => { > 'public' => $your_public, > }, > )->store(text => "$your_comments"); > my $newticket = $ticket->id; Unfortunately, I'm not sure what's different between your code and the straight REST interface, but using bin/rt to create a ticket: id: ticket/new Queue: General Requestor: johnj at msu.edu Subject: subject Nets me a new user with your email address as the username and the email address. This is plain RT4. If you're seeing different behavior, I assume there is a modification, go looking for a local definition of CanonicalizeUserInfo. -kevin -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 235 bytes Desc: not available URL: From falcone at bestpractical.com Thu Nov 29 11:51:51 2012 From: falcone at bestpractical.com (Kevin Falcone) Date: Thu, 29 Nov 2012 11:51:51 -0500 Subject: [rt-users] FW: RT 4.0.8 + Fedora 16 - Almost There In-Reply-To: <81579A7D7E41FC44AFD2FB9D8AD8C88201F9EF96D999@mov-srv-central> References: <81579A7D7E41FC44AFD2FB9D8AD8C88201F9EF96D999@mov-srv-central> Message-ID: <20121129165151.GN1823@jibsheet.com> On Wed, Nov 28, 2012 at 01:56:18PM +0000, Walid Haider wrote: > I have tried to follow the instructions in order to configure RT to work with Apache 2 + mod_perl but surely, I am missing some configuration and cannot figure out what it is. It's worth checking your error logs and possibly dialing Apache's error log up to debug if you think there are weird problems. You don't really need to make these two global changes > Any help would be much appreciated. > > #DocumentRoot "/var/www/html" > DocumentRoot "/opt/rt4/share/html" > # > # This should be changed to whatever you set DocumentRoot to. > # > # > Since you're setting DocumentRoot in your VirtualHost directive -kevin -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 235 bytes Desc: not available URL: From falcone at bestpractical.com Thu Nov 29 11:54:29 2012 From: falcone at bestpractical.com (Kevin Falcone) Date: Thu, 29 Nov 2012 11:54:29 -0500 Subject: [rt-users] Redirection to unexisting page after login with ExternalAuth plugin In-Reply-To: <000101cdce4e$fed2c810$fc785830$@seznam.cz> References: <000101cdce4e$fed2c810$fc785830$@seznam.cz> Message-ID: <20121129165429.GO1823@jibsheet.com> On Thu, Nov 29, 2012 at 05:31:33PM +0100, Luk?? Loskot wrote: > It started happending after updating to last RT version 4.0.7. > I have found that others solved this with updating the ExternalAuth plugin. > (http://www.mail-archive.com/rt-users at lists.bestpractical.com/msg39368.html) > I tried it also and cpan installed the last version and restarted the > webserver, but it didnt helped. > I have also tried to delete the files located > /usr/local/share/request-tracker4/plugins/RT-Authen-ExternalAuth and CPAN > install the plugin again, but with no luck. > > Now im using RT 4.0.7 and ExternalAuth 0.12. Clear your mason cache (I'm not sure where it lives on your system, on a standard install it would be /opt/rt4/var/mason_data/obj/*) and restart apache again with RT-Authen-ExternalAuth 0.12 installed. -kevin -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 235 bytes Desc: not available URL: From falcone at bestpractical.com Thu Nov 29 12:00:36 2012 From: falcone at bestpractical.com (Kevin Falcone) Date: Thu, 29 Nov 2012 12:00:36 -0500 Subject: [rt-users] Show HTML tables in tickets In-Reply-To: <000001cdce4e$fc0bb8d0$f4232a70$@seznam.cz> References: <000001cdce4e$fc0bb8d0$f4232a70$@seznam.cz> Message-ID: <20121129170036.GP1823@jibsheet.com> On Thu, Nov 29, 2012 at 05:31:14PM +0100, Luk?? Loskot wrote: > Could anyone point me how can I make my RT instalation show HTML tables in > tickes. > I have configured Set($PreferRichText, 1); RT still scrubs HTML that could cause problems or allow a security vulenrability. You'll need to read about http://bestpractical.com/rt/docs/latest/RT/Interface/Web.html#NewScrubber if you'd like to allow other tags. Keep in mind that allowing and friends allows attackers to inject fake history into your RT ticket display page. Until the scrubber is replaced with a full on parse that can detect that, I feel compelled to warn about this :) -kevin > Still the tables in tickests are missing, but the text is html formated > (colours, links, bolt, ......) > > I have only found one related answer but it was old and didnt explained what > was the issue or how to fix it. > (http://www.gossamer-threads.com/lists/rt/users/94028) > > > My instalation is RT 4.0.7 -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 235 bytes Desc: not available URL: From falcone at bestpractical.com Thu Nov 29 12:05:33 2012 From: falcone at bestpractical.com (Kevin Falcone) Date: Thu, 29 Nov 2012 12:05:33 -0500 Subject: [rt-users] Request for advice or assistance - rt-validator/upgrade In-Reply-To: <50B78C5C.5090107@easydns.com> References: <50B78C5C.5090107@easydns.com> Message-ID: <20121129170533.GQ1823@jibsheet.com> On Thu, Nov 29, 2012 at 11:25:00AM -0500, Arnon Clark wrote: > I'm trying to run an upgrade from 3.8.7 to the latest, but when I'm > running the rt-validator before the database upgrade, I'm hitting > multiple errors as follows : > > Record #600812 in Attachments references not existent record in Attachments > Parent => '600810' => id > Attachment #600812 -> Txn #1567410, Transaction #1567410 -> > object RT::Ticket #187695 > > I tried using shredder to delete the tickets in question, but am > still seeing the error. Does anyone have any recommendations on how > to proceed? It looks like someone manually deleted one part of a multipart attachment (the parent but not the child). You appear to be using the validator from 4.0.4, not 4.0.8 which is the latest. Assuming you have a backup, run rt-validator with --check --resolve and tell it to delete those leftover attachments for you and it'll take care of them. -kevin -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 235 bytes Desc: not available URL: From falcone at bestpractical.com Thu Nov 29 12:07:34 2012 From: falcone at bestpractical.com (Kevin Falcone) Date: Thu, 29 Nov 2012 12:07:34 -0500 Subject: [rt-users] signature position on RT 4.0.8 In-Reply-To: <00e501cdce42$eb205320$c160f960$@bestpractical@posterus.com> References: <50B751DB.8050403@axfone.cz> <00e501cdce42$eb205320$c160f960$@bestpractical@posterus.com> Message-ID: <20121129170734.GR1823@jibsheet.com> On Thu, Nov 29, 2012 at 04:05:07PM +0100, Maciej Dobrzanski wrote: > > my users want to change position of their signature from bottom to top when they reply a > ticket. > > You will probably need to create a complete overlay file for Elements/MessageBox in > local/html/Elements/MessageBox (just copy the original file over to the new directory). In > this new file switch the order of $message and $signature. For example, replace the following > line: It looks like a solution for this will end up in 4.2 (there's a branch named 4.2-on-4.0/message-box-include-signature-before-quote waiting for review to be merged to master). -kevin -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 235 bytes Desc: not available URL: From falcone at bestpractical.com Thu Nov 29 12:08:41 2012 From: falcone at bestpractical.com (Kevin Falcone) Date: Thu, 29 Nov 2012 12:08:41 -0500 Subject: [rt-users] strange issue with deny.hosts and request tracker sorting In-Reply-To: <50B66833.6050604@gmail.com> References: <50B66833.6050604@gmail.com> Message-ID: <20121129170841.GS1823@jibsheet.com> On Wed, Nov 28, 2012 at 11:38:27AM -0800, S P wrote: > When performing certain functions in the web interface, such as > sorting a list of tickets by number or priority, a mystery process > writes the IP address of the user to hosts.deny (blocking access to > all services on the server) and after a short period of time, the > address is purged from hosts.deny and the user doing the sorting can > once again access RT. > > The IPs for these users are already present in hosts.allow (and are > obviously being ignored). Fail2ban is not installed. Denyhosts is > not installed. SELinux is disabled. We only have about 3000 tickets > in RT, and performance is great. Except when you go to sort a list > (could be 10, or 200 tickets) and you're locked out momentarily. > Additionally, OSSEC reports "A web attack returned code 200 > (success)" at the moment the IP is written to hosts.deny and apache > access log reads: You've listed a few modules that this isn't, but RT doesn't write to hosts.deny so presumably this is some feature provided by OSSEC. I'd take it up with them first. -kevin -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 235 bytes Desc: not available URL: From falcone at bestpractical.com Thu Nov 29 12:11:14 2012 From: falcone at bestpractical.com (Kevin Falcone) Date: Thu, 29 Nov 2012 12:11:14 -0500 Subject: [rt-users] Problem with CPAN and prerequisites for RT 4.0.5 In-Reply-To: References: <20121127171546.GA1823@jibsheet.com> Message-ID: <20121129171114.GT1823@jibsheet.com> On Wed, Nov 28, 2012 at 11:53:12PM +0100, Juanjo wrote: > IF i make the make test: > t/05server-header.t .. > not ok 1 > not ok 2 > ok 3 > > # Failed test at t/05server-header.t line 14. > Use of uninitialized value $this in pattern match (m//) at t/05server-header.t line 15. > > # Failed test at t/05server-header.t line 15. > # undef > # doesn't match '(?-xism:Starlet)' > Use of uninitialized value $this in pattern match (m//) at t/05server-header.t line 16. > not ok 4 > > # Failed test at t/05server-header.t line 19. > Use of uninitialized value $this in pattern match (m//) at t/05server-header.t line 20. > ok 5 > Use of uninitialized value $this in pattern match (m//) at t/05server-header.t line 21. > not ok 6 > > # Failed test at t/05server-header.t line 21. > # undef > # doesn't match '(?-xism:Hello)' > [Test::TCP] Child process does not block(PID: 32489, PPID: 32488) at > /usr/local/share/perl5/Test/TCP.pm line 121. > 1..6 > # Looks like you failed 4 tests of 6. > Dubious, test returned 4 (wstat 1024, 0x400) > Failed 4/6 subtests > t/06remote_port.t .... > not ok 1 That implies that nothing is binding to the test port, possibly a restriction of your system (selinux? firewall?). > If there's nothing useful, you may want to diag() out the $port in > that test and pause the test and make sure the test server is actually > starting. You'll need to look at using this method to go deeper. -kevin -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 235 bytes Desc: not available URL: From Jim.Tambling at datatote.co.uk Thu Nov 29 14:37:55 2012 From: Jim.Tambling at datatote.co.uk (Jim Tambling) Date: Thu, 29 Nov 2012 19:37:55 -0000 Subject: [rt-users] Adding CF value to Subject Message-ID: Hello, How would I go about inserting the value of a custom field to the subject line on ticket creation? Regards, Jim -------------- next part -------------- An HTML attachment was scrubbed... URL: From erich.rt at bpisys.com Thu Nov 29 16:44:30 2012 From: erich.rt at bpisys.com (Erich Prinz) Date: Thu, 29 Nov 2012 15:44:30 -0600 Subject: [rt-users] LDAP & Mac OS X Server OD Message-ID: <9E86FB56-A086-49E5-AB60-9B70200A0A87@bpisys.com> Hello All, Brand new to RT here. Background: Installed on Ubuntu 10.04 server and need to authenticate to the OD running on a OS X 10.6.8 server. We currently have the users log into the Ubuntu box via thin clients (LTSP) and utilize kerberos tickets (PAM SASL) from the OD machine. Yet it seems even the simplest of configs breaks RT. I've installed the RT::Authen::ExternalAuth plugin and have done a very basic config. ............ Issue No. 1 Adding Set($LogToFile , 'debug'); to RT_SiteConfig.pm breaks RT. Zero response in the web gui and nothing (RT) gets logged in /var/log/syslog or /var/log/messages after restart of the web server. Issue No. 2 I can't begin to debug the setup w/o debug turned on! (okay, very obvious I know.) For what it's worth, here is the initial error in the log (std out): RT: RT::Authen::ExternalAuth::LDAP::_GetBoundLdapObj Can't bind: LDAP_INVALID_DN_SYNTAX 34 (/opt/rt4/local/plugins/RT-Authen-ExternalAuth/lib/RT/Authen/ExternalAuth/LDAP.pm:495) Desired Outcome To enable users to authenticate against the existing O.D. install with their existing i.d. and pass along with avoiding the additional administrative burden of managing multiple user accounts for access to RT. Relavant bits from the Plugin .pm: Set($ExternalAuthPriority, [ 'My_LDAP' ]); Set($ExternalInfoPriority, ['My_LDAP']); Set($ExternalServiceUsesSSLorTLS, 0); Set($AutoCreateNonExternalUsers, 0); 'My_LDAP' => { ## GENERIC SECTION 'type' => 'ldap', 'server' => 's1-osx.domain.org', 'user' => 'admin', 'pass' => 'xxxxx', 'base' => 'dc=s1-osx,dc=domain,dc=org', 'tls' => 0, 'net_ldap_args' => [ version => 3 ], 'group' => 'cn=admins,ou=Admins,dc=domain,dc=org', 'group_scope' => 'base', 'attr_match_list' => [ 'Name', 'EmailAddress' ], # The mapping of RT attributes on to LDAP attributes 'attr_map' => { 'Name' => 'sAMAccountName', 'EmailAddress' => 'mail', 'Organization' => 'physicalDeliveryOfficeName', 'RealName' => 'cn', 'ExternalAuthId' => 'sAMAccountName', 'Gecos' => 'sAMAccountName', 'WorkPhone' => 'telephoneNumber', 'Address1' => 'streetAddress', 'City' => 'l', 'State' => 'st', 'Zip' => 'postalCode', 'Country' => 'co' } }, 1; ... And the main RT_SiteConfig.pm Set( $rtname, 'domain.org'); Set( $WebDomain, 'rt.domain.org'); Set(@Plugins,(qw(RT::Extension::QuickDelete RT::Extension::CommandByMail))); Set( @Plugins, qw(RT::Authen::ExternalAuth) ); require "/opt/rt4/local/plugins/RT-Authen-ExternalAuth/etc/RT_SiteConfig.pm"; Set( $DatabaseType, 'mysql'); Set( $DatabaseHost, ''); Set( $DatabaseUser, ''); Set( $DatabasePassword, 'xxxx'); Set( $DatabaseName, 'requesttracker'); 1; From qcxhome at gmail.com Thu Nov 29 21:09:06 2012 From: qcxhome at gmail.com (qcxhome at gmail.com) Date: Fri, 30 Nov 2012 10:09:06 +0800 Subject: [rt-users] How to name a custom field? In-Reply-To: <50B729B3.9040609@eve-team.com> References: <50B729B3.9040609@eve-team.com> Message-ID: <1524238.9LshJYoQjM@localhost.localdomain> Hi gfeelon, Thanks for your guide. I just checked our RT system , the URI /Admin/CustomFields/index.html lists all predefined custom fields. Is it possible to set some application-specific custom fields that are not predefined in /Admin/CustomFields/index.html. Chenxiong Qi On Thursday 29 Nov 2012 10:24:03 Gerard FENELON wrote: Hi Do you actually have a Custom Field called EmailAddress (listed in http://your.server.domain/Admin/CustomFields/index.html) or are you trying to set the email address of the requestor/owner/Cc ? Gerard On 2012-11-29 06:42, tkdchen wrote: On Thu, Nov 29, 2012 at 1:18 AM, Kevin Falcone wrote: On Wed, Nov 28, 2012 at 09:49:54PM +0800, tkdchen wrote: > I'm using REST API to create a ticket. And see that I can pass CF_: > to create custom field for that new ticket. However, when I pass Actually, you want CF.{EmailAddress} or the old old style of CF-EmailAddress. I'm not aware of CF_EmailAddress being valid in any part of RT. If you found this documented on the wiki, I'd appreciate it if you fixed the documentation there. CF.{EmailAddress}: qcxhome at gmail.com Above line is included in the post data, and RT still tells me EmailAddress is an invalid custom field name. -kevin > "CF_EmailAddress: [1]tester at company.com" as the part of post data, my company's RT tell me > EmailAddress is not valid. I searched from Internet and no document has more detail about > this. Please give me guide. Thanks! -------------- next part -------------- An HTML attachment was scrubbed... URL: From qcxhome at gmail.com Thu Nov 29 21:09:06 2012 From: qcxhome at gmail.com (qcxhome at gmail.com) Date: Fri, 30 Nov 2012 10:09:06 +0800 Subject: [rt-users] How to name a custom field? In-Reply-To: <50B729B3.9040609@eve-team.com> References: <50B729B3.9040609@eve-team.com> Message-ID: <1524238.9LshJYoQjM@localhost.localdomain> Hi gfeelon, Thanks for your guide. I just checked our RT system , the URI /Admin/CustomFields/index.html lists all predefined custom fields. Is it possible to set some application-specific custom fields that are not predefined in /Admin/CustomFields/index.html. Chenxiong Qi On Thursday 29 Nov 2012 10:24:03 Gerard FENELON wrote: Hi Do you actually have a Custom Field called EmailAddress (listed in http://your.server.domain/Admin/CustomFields/index.html) or are you trying to set the email address of the requestor/owner/Cc ? Gerard On 2012-11-29 06:42, tkdchen wrote: On Thu, Nov 29, 2012 at 1:18 AM, Kevin Falcone wrote: On Wed, Nov 28, 2012 at 09:49:54PM +0800, tkdchen wrote: > I'm using REST API to create a ticket. And see that I can pass CF_: > to create custom field for that new ticket. However, when I pass Actually, you want CF.{EmailAddress} or the old old style of CF-EmailAddress. I'm not aware of CF_EmailAddress being valid in any part of RT. If you found this documented on the wiki, I'd appreciate it if you fixed the documentation there. CF.{EmailAddress}: qcxhome at gmail.com Above line is included in the post data, and RT still tells me EmailAddress is an invalid custom field name. -kevin > "CF_EmailAddress: [1]tester at company.com" as the part of post data, my company's RT tell me > EmailAddress is not valid. I searched from Internet and no document has more detail about > this. Please give me guide. Thanks! -------------- next part -------------- An HTML attachment was scrubbed... URL: From falcone at bestpractical.com Thu Nov 29 22:30:13 2012 From: falcone at bestpractical.com (Kevin Falcone) Date: Thu, 29 Nov 2012 22:30:13 -0500 Subject: [rt-users] How to name a custom field? In-Reply-To: <1524238.9LshJYoQjM@localhost.localdomain> References: <50B729B3.9040609@eve-team.com> <1524238.9LshJYoQjM@localhost.localdomain> Message-ID: <20121130033013.GU1823@jibsheet.com> On Fri, Nov 30, 2012 at 10:09:06AM +0800, qcxhome at gmail.com wrote: > Thanks for your guide. I just checked our RT system , the URI /Admin/CustomFields/index.html > lists all predefined custom fields. Is it possible to set some application-specific custom > fields that are not predefined in /Admin/CustomFields/index.html. There are no predefined custom fields in RT. Anything you see on that page is by definition an application-specific custom field. You make more by clicking on Create. As Gerald asked, it's still relevant to know why you have a custom field named Email Address. Normally Email Addresses would be stored on a Requestor or Cc or some other User. -kevin -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 235 bytes Desc: not available URL: From qcxhome at gmail.com Thu Nov 29 23:16:00 2012 From: qcxhome at gmail.com (tkdchen) Date: Fri, 30 Nov 2012 12:16:00 +0800 Subject: [rt-users] How to name a custom field? In-Reply-To: <20121130033013.GU1823@jibsheet.com> References: <50B729B3.9040609@eve-team.com> <1524238.9LshJYoQjM@localhost.localdomain> <20121130033013.GU1823@jibsheet.com> Message-ID: Hi, EmailAddress is just for testing the creation of custom field, not for other purpose. As what you mentioned, if I create a new ticket with custom fields, that custom fields should be defined in the /Admin/CustomFields/index.html first. Am I right? Thanks! Chenxiong Qi On Fri, Nov 30, 2012 at 11:30 AM, Kevin Falcone wrote: > On Fri, Nov 30, 2012 at 10:09:06AM +0800, qcxhome at gmail.com wrote: > > Thanks for your guide. I just checked our RT system , the URI > /Admin/CustomFields/index.html > > lists all predefined custom fields. Is it possible to set some > application-specific custom > > fields that are not predefined in /Admin/CustomFields/index.html. > > There are no predefined custom fields in RT. > Anything you see on that page is by definition an application-specific > custom field. > > You make more by clicking on Create. > > As Gerald asked, it's still relevant to know why you have a custom > field named Email Address. Normally Email Addresses would be stored > on a Requestor or Cc or some other User. > > -kevin > > -------- > We're hiring! http://bestpractical.com/jobs > > -- A Python developer living in Beijing http://about.me -------------- next part -------------- An HTML attachment was scrubbed... URL: From juanjillo at gmail.com Fri Nov 30 06:36:55 2012 From: juanjillo at gmail.com (Juanjo) Date: Fri, 30 Nov 2012 12:36:55 +0100 Subject: [rt-users] Problem with CPAN and prerequisites for RT 4.0.5 In-Reply-To: <20121129171114.GT1823@jibsheet.com> References: <20121127171546.GA1823@jibsheet.com> <20121129171114.GT1823@jibsheet.com> Message-ID: Selinux is disabled and iptables are disabled too. Sorry, but i don?t know how use this information: If there's nothing useful, you may want to diag() out the $port in that test and pause the test and make sure the test server is actually starting. 2012/11/29 Kevin Falcone > On Wed, Nov 28, 2012 at 11:53:12PM +0100, Juanjo wrote: > > IF i make the make test: > > t/05server-header.t .. > > not ok 1 > > not ok 2 > > ok 3 > > > > # Failed test at t/05server-header.t line 14. > > Use of uninitialized value $this in pattern match (m//) at > t/05server-header.t line 15. > > > > # Failed test at t/05server-header.t line 15. > > # undef > > # doesn't match '(?-xism:Starlet)' > > Use of uninitialized value $this in pattern match (m//) at > t/05server-header.t line 16. > > not ok 4 > > > > # Failed test at t/05server-header.t line 19. > > Use of uninitialized value $this in pattern match (m//) at > t/05server-header.t line 20. > > ok 5 > > Use of uninitialized value $this in pattern match (m//) at > t/05server-header.t line 21. > > not ok 6 > > > > # Failed test at t/05server-header.t line 21. > > # undef > > # doesn't match '(?-xism:Hello)' > > [Test::TCP] Child process does not block(PID: 32489, PPID: 32488) at > > /usr/local/share/perl5/Test/TCP.pm line 121. > > 1..6 > > # Looks like you failed 4 tests of 6. > > Dubious, test returned 4 (wstat 1024, 0x400) > > Failed 4/6 subtests > > t/06remote_port.t .... > > not ok 1 > > That implies that nothing is binding to the test port, possibly a > restriction of your system (selinux? firewall?). > > > If there's nothing useful, you may want to diag() out the $port in > > that test and pause the test and make sure the test server is > actually > > starting. > > You'll need to look at using this method to go deeper. > > -kevin > > -------- > We're hiring! http://bestpractical.com/jobs > > -- Un saludo. Juanjo Corral -------------- next part -------------- An HTML attachment was scrubbed... URL: From rclerkin at gmail.com Fri Nov 30 07:35:11 2012 From: rclerkin at gmail.com (Rory) Date: Fri, 30 Nov 2012 12:35:11 +0000 Subject: [rt-users] Problem with CPAN and prerequisites for RT 4.0.5 In-Reply-To: References: <20121127171546.GA1823@jibsheet.com> <20121129171114.GT1823@jibsheet.com> Message-ID: At a guess I think you might be missing a dependency for Plack::Handler::Starlet Personally, I like to use CPANMINUS as it will install dependencies for the Perl Module you want. Start CPAN and run; install App::cpanminus Once that completes exit CPAN to return to your shell prompt. >From the shell prompt run; cpanm Plack::Handler::Starlet It should then run through all dependencies and install what's needed. Hopefully that will solve your issue. Rory On 30 November 2012 11:36, Juanjo wrote: > Selinux is disabled and iptables are disabled too. > > Sorry, but i don?t know how use this information: > > > If there's nothing useful, you may want to diag() out the $port in > that test and pause the test and make sure the test server is > actually > starting. > > > > 2012/11/29 Kevin Falcone > >> On Wed, Nov 28, 2012 at 11:53:12PM +0100, Juanjo wrote: >> > IF i make the make test: >> > t/05server-header.t .. >> > not ok 1 >> > not ok 2 >> > ok 3 >> > >> > # Failed test at t/05server-header.t line 14. >> > Use of uninitialized value $this in pattern match (m//) at >> t/05server-header.t line 15. >> > >> > # Failed test at t/05server-header.t line 15. >> > # undef >> > # doesn't match '(?-xism:Starlet)' >> > Use of uninitialized value $this in pattern match (m//) at >> t/05server-header.t line 16. >> > not ok 4 >> > >> > # Failed test at t/05server-header.t line 19. >> > Use of uninitialized value $this in pattern match (m//) at >> t/05server-header.t line 20. >> > ok 5 >> > Use of uninitialized value $this in pattern match (m//) at >> t/05server-header.t line 21. >> > not ok 6 >> > >> > # Failed test at t/05server-header.t line 21. >> > # undef >> > # doesn't match '(?-xism:Hello)' >> > [Test::TCP] Child process does not block(PID: 32489, PPID: 32488) at >> > /usr/local/share/perl5/Test/TCP.pm line 121. >> > 1..6 >> > # Looks like you failed 4 tests of 6. >> > Dubious, test returned 4 (wstat 1024, 0x400) >> > Failed 4/6 subtests >> > t/06remote_port.t .... >> > not ok 1 >> >> That implies that nothing is binding to the test port, possibly a >> restriction of your system (selinux? firewall?). >> >> > If there's nothing useful, you may want to diag() out the $port in >> > that test and pause the test and make sure the test server is >> actually >> > starting. >> >> You'll need to look at using this method to go deeper. >> >> -kevin >> >> -------- >> We're hiring! http://bestpractical.com/jobs >> >> > > > -- > Un saludo. > Juanjo Corral > > -------- > We're hiring! http://bestpractical.com/jobs > > -------------- next part -------------- An HTML attachment was scrubbed... URL: From nick.fennell at appliansys.com Fri Nov 30 07:54:26 2012 From: nick.fennell at appliansys.com (Nick Fennell) Date: Fri, 30 Nov 2012 12:54:26 +0000 Subject: [rt-users] On Correspond - Open ticket Message-ID: Hi All, I have a Scrip defined as follows; Description: On correspond Open Ticket Condition: On Correspond Action: Open Tickets Template: Global template: Blank Stage: TransactionCreate This worked on RT3.8.8 but now doesn't work on RT4.0.8 The only item of relevance I can see in the log file; {{{ Skipping Scrip #1 because it didn't Prepare (/opt/rt4/sbin/../lib/RT/Scrips.pm:237) }}} Any ideas? Thanks. -- Nick Fennell ApplianSys Support Team Leader ApplianSys Limited University of Warwick Science Park Business Innovation Centre Harry Weston Road Coventry CV3 2TX t: +44 (0) 870 7707 789 s: nick-fennell www.appliansys.com Our sales team sells by referral: Less time looking for customers, more time looking after them Subscribe: http://eepurl.com/ibKtY -------------- next part -------------- An HTML attachment was scrubbed... URL: From gfenelon at eve-team.com Fri Nov 30 08:00:13 2012 From: gfenelon at eve-team.com (Gerard FENELON (EVE)) Date: Fri, 30 Nov 2012 14:00:13 +0100 Subject: [rt-users] How to name a custom field? In-Reply-To: References: <50B729B3.9040609@eve-team.com> <1524238.9LshJYoQjM@localhost.localdomain> <20121130033013.GU1823@jibsheet.com> Message-ID: <50B8ADDD.8030300@eve-team.com> It is the other way round : 1- you define CustomFields 2- then you apply them to Queues 3- only then, you may create tickets with values in those CustomFields. Gerard On 2012-11-30 05:16, tkdchen wrote: > Hi, > > EmailAddress is just for testing the creation of custom field, not for > other purpose. As what you mentioned, if I create a new ticket with > custom fields, that custom fields should be defined in the > /Admin/CustomFields/index.html first. Am I right? Thanks! > > Chenxiong Qi > > > > On Fri, Nov 30, 2012 at 11:30 AM, Kevin Falcone > > wrote: > > On Fri, Nov 30, 2012 at 10:09:06AM +0800, qcxhome at gmail.com > wrote: > > Thanks for your guide. I just checked our RT system , the URI > /Admin/CustomFields/index.html > > lists all predefined custom fields. Is it possible to set > some application-specific custom > > fields that are not predefined in /Admin/CustomFields/index.html. > > There are no predefined custom fields in RT. > Anything you see on that page is by definition an application-specific > custom field. > > You make more by clicking on Create. > > As Gerald asked, it's still relevant to know why you have a custom > field named Email Address. Normally Email Addresses would be stored > on a Requestor or Cc or some other User. > > -kevin > -------------- next part -------------- An HTML attachment was scrubbed... URL: From nick.fennell at appliansys.com Fri Nov 30 08:00:54 2012 From: nick.fennell at appliansys.com (Nick Fennell) Date: Fri, 30 Nov 2012 13:00:54 +0000 Subject: [rt-users] On Correspond - Open ticket In-Reply-To: References: Message-ID: Actually, some additional information to this. The scrip may in fact be working but from the opposite way to what I want/expect. When customer correspondence is received, the ticket status (on a resolved ticket) is set to Open. However, what I want is when correspondence is added to a ticket with status = New, set it to Open. -- Nick Fennell ApplianSys Support Team Leader ApplianSys Limited University of Warwick Science Park Business Innovation Centre Harry Weston Road Coventry CV3 2TX t: +44 (0) 870 7707 789 s: nick-fennell www.appliansys.com Our sales team sells by referral: Less time looking for customers, more time looking after them Subscribe: http://eepurl.com/ibKtY On 30 Nov 2012, at 12:54, Nick Fennell wrote: > Hi All, > > I have a Scrip defined as follows; > > Description: On correspond Open Ticket > Condition: On Correspond > Action: Open Tickets > Template: Global template: Blank > Stage: TransactionCreate > > This worked on RT3.8.8 but now doesn't work on RT4.0.8 > > The only item of relevance I can see in the log file; > > {{{ > Skipping Scrip #1 because it didn't Prepare (/opt/rt4/sbin/../lib/RT/Scrips.pm:237) > }}} > > Any ideas? > > Thanks. > -- > Nick Fennell > ApplianSys Support Team Leader > > ApplianSys Limited > University of Warwick Science Park > Business Innovation Centre > Harry Weston Road > Coventry CV3 2TX > > t: +44 (0) 870 7707 789 > s: nick-fennell > www.appliansys.com > > Our sales team sells by referral: > Less time looking for customers, more time looking after them > > Subscribe: http://eepurl.com/ibKtY > -------------- next part -------------- An HTML attachment was scrubbed... URL: From juanjillo at gmail.com Fri Nov 30 08:25:55 2012 From: juanjillo at gmail.com (Juanjo) Date: Fri, 30 Nov 2012 14:25:55 +0100 Subject: [rt-users] Problem with CPAN and prerequisites for RT 4.0.5 In-Reply-To: References: <20121127171546.GA1823@jibsheet.com> <20121129171114.GT1823@jibsheet.com> Message-ID: Hi make the RT full installation about 8 times, all with 2 centos isos (CD and DVD), and always on a ESX 5.1 host. Every time i create a new machine and always fails in the same point I make the same installation (i have a text file with all the command lines) with the same iso files on a windows 8 hyper-V and in a ESX 5.0 host and works fine. My opinion, is there somthing strange with ESX 5.1 and CPAN in a GUEST. Or something is wrong on my ESX 5.1, but other machines that works fine. :( 2012/11/30 Rory > At a guess I think you might be missing a dependency for > Plack::Handler::Starlet > > Personally, I like to use CPANMINUS as > it will install dependencies for the Perl Module you want. > > Start CPAN and run; > > install App::cpanminus > > Once that completes exit CPAN to return to your shell prompt. > From the shell prompt run; > > cpanm Plack::Handler::Starlet > > It should then run through all dependencies and install what's needed. > Hopefully that will solve your issue. > > Rory > > > > On 30 November 2012 11:36, Juanjo wrote: > >> Selinux is disabled and iptables are disabled too. >> >> Sorry, but i don?t know how use this information: >> >> >> If there's nothing useful, you may want to diag() out the $port in >> that test and pause the test and make sure the test server is >> actually >> starting. >> >> >> >> 2012/11/29 Kevin Falcone >> >>> On Wed, Nov 28, 2012 at 11:53:12PM +0100, Juanjo wrote: >>> > IF i make the make test: >>> > t/05server-header.t .. >>> > not ok 1 >>> > not ok 2 >>> > ok 3 >>> > >>> > # Failed test at t/05server-header.t line 14. >>> > Use of uninitialized value $this in pattern match (m//) at >>> t/05server-header.t line 15. >>> > >>> > # Failed test at t/05server-header.t line 15. >>> > # undef >>> > # doesn't match '(?-xism:Starlet)' >>> > Use of uninitialized value $this in pattern match (m//) at >>> t/05server-header.t line 16. >>> > not ok 4 >>> > >>> > # Failed test at t/05server-header.t line 19. >>> > Use of uninitialized value $this in pattern match (m//) at >>> t/05server-header.t line 20. >>> > ok 5 >>> > Use of uninitialized value $this in pattern match (m//) at >>> t/05server-header.t line 21. >>> > not ok 6 >>> > >>> > # Failed test at t/05server-header.t line 21. >>> > # undef >>> > # doesn't match '(?-xism:Hello)' >>> > [Test::TCP] Child process does not block(PID: 32489, PPID: 32488) at >>> > /usr/local/share/perl5/Test/TCP.pm line 121. >>> > 1..6 >>> > # Looks like you failed 4 tests of 6. >>> > Dubious, test returned 4 (wstat 1024, 0x400) >>> > Failed 4/6 subtests >>> > t/06remote_port.t .... >>> > not ok 1 >>> >>> That implies that nothing is binding to the test port, possibly a >>> restriction of your system (selinux? firewall?). >>> >>> > If there's nothing useful, you may want to diag() out the $port in >>> > that test and pause the test and make sure the test server is >>> actually >>> > starting. >>> >>> You'll need to look at using this method to go deeper. >>> >>> -kevin >>> >>> -------- >>> We're hiring! http://bestpractical.com/jobs >>> >>> >> >> >> -- >> Un saludo. >> Juanjo Corral >> >> -------- >> We're hiring! http://bestpractical.com/jobs >> >> > > -------- > We're hiring! http://bestpractical.com/jobs > > -- Un saludo. Juanjo Corral -------------- next part -------------- An HTML attachment was scrubbed... URL: From l.loskot at seznam.cz Fri Nov 30 18:52:35 2012 From: l.loskot at seznam.cz (=?iso-8859-2?Q?Luk=E1=B9_Loskot?=) Date: Sat, 1 Dec 2012 00:52:35 +0100 Subject: [rt-users] Redirection to unexisting page after login Message-ID: <000001cdcf55$c5fb6850$51f238f0$@seznam.cz> Hi Kevin, Tank you. Deleting the cache solved my problem. Just to comlete the solution. In my instalation the cache lives here: /var/cache/request-tracker4/mason_data/ I placed folowing command to my favourites and thinking of placing it in the apache2 restart routines: rm -rf /var/cache/request-tracker4/mason_data/obj/* Regards, Lukas Loskot From qcxhome at gmail.com Fri Nov 30 21:22:06 2012 From: qcxhome at gmail.com (tkdchen) Date: Sat, 1 Dec 2012 10:22:06 +0800 Subject: [rt-users] How to name a custom field? In-Reply-To: <50B8ADDD.8030300@eve-team.com> References: <50B729B3.9040609@eve-team.com> <1524238.9LshJYoQjM@localhost.localdomain> <20121130033013.GU1823@jibsheet.com> <50B8ADDD.8030300@eve-team.com> Message-ID: This is clear. Thanks very much! :) On Fri, Nov 30, 2012 at 9:00 PM, Gerard FENELON (EVE) wrote: > It is the other way round : > 1- you define CustomFields > 2- then you apply them to Queues > 3- only then, you may create tickets with values in those CustomFields. > > Gerard > > > On 2012-11-30 05:16, tkdchen wrote: > > Hi, > > EmailAddress is just for testing the creation of custom field, not for > other purpose. As what you mentioned, if I create a new ticket with custom > fields, that custom fields should be defined in the > /Admin/CustomFields/index.html first. Am I right? Thanks! > > Chenxiong Qi > > > > On Fri, Nov 30, 2012 at 11:30 AM, Kevin Falcone > wrote: > >> On Fri, Nov 30, 2012 at 10:09:06AM +0800, qcxhome at gmail.com wrote: >> > Thanks for your guide. I just checked our RT system , the URI >> /Admin/CustomFields/index.html >> > lists all predefined custom fields. Is it possible to set some >> application-specific custom >> > fields that are not predefined in /Admin/CustomFields/index.html. >> >> There are no predefined custom fields in RT. >> Anything you see on that page is by definition an application-specific >> custom field. >> >> You make more by clicking on Create. >> >> As Gerald asked, it's still relevant to know why you have a custom >> field named Email Address. Normally Email Addresses would be stored >> on a Requestor or Cc or some other User. >> >> -kevin > > > > -------- > We're hiring! http://bestpractical.com/jobs > > -- A Python developer living in Beijing http://about.me -------------- next part -------------- An HTML attachment was scrubbed... URL: From qcxhome at gmail.com Fri Nov 30 21:25:09 2012 From: qcxhome at gmail.com (tkdchen) Date: Sat, 1 Dec 2012 10:25:09 +0800 Subject: [rt-users] How to name a custom field? In-Reply-To: <50B8ADDD.8030300@eve-team.com> References: <50B729B3.9040609@eve-team.com> <1524238.9LshJYoQjM@localhost.localdomain> <20121130033013.GU1823@jibsheet.com> <50B8ADDD.8030300@eve-team.com> Message-ID: This is clear. Thanks very much! :) On Fri, Nov 30, 2012 at 9:00 PM, Gerard FENELON (EVE) wrote: > It is the other way round : > 1- you define CustomFields > 2- then you apply them to Queues > 3- only then, you may create tickets with values in those CustomFields. > > Gerard > > > On 2012-11-30 05:16, tkdchen wrote: > > Hi, > > EmailAddress is just for testing the creation of custom field, not for > other purpose. As what you mentioned, if I create a new ticket with custom > fields, that custom fields should be defined in the > /Admin/CustomFields/index.html first. Am I right? Thanks! > > Chenxiong Qi > > > > On Fri, Nov 30, 2012 at 11:30 AM, Kevin Falcone > wrote: > >> On Fri, Nov 30, 2012 at 10:09:06AM +0800, qcxhome at gmail.com wrote: >> > Thanks for your guide. I just checked our RT system , the URI >> /Admin/CustomFields/index.html >> > lists all predefined custom fields. Is it possible to set some >> application-specific custom >> > fields that are not predefined in /Admin/CustomFields/index.html. >> >> There are no predefined custom fields in RT. >> Anything you see on that page is by definition an application-specific >> custom field. >> >> You make more by clicking on Create. >> >> As Gerald asked, it's still relevant to know why you have a custom >> field named Email Address. Normally Email Addresses would be stored >> on a Requestor or Cc or some other User. >> >> -kevin > > > > -------- > We're hiring! http://bestpractical.com/jobs > > -- A Python developer living in Beijing http://about.me -------------- next part -------------- An HTML attachment was scrubbed... URL: