From jenni.wilson at strategicdata.com.au Wed Aug 1 02:27:32 2012 From: jenni.wilson at strategicdata.com.au (Jenni Wilson) Date: Wed, 1 Aug 2012 16:27:32 +1000 Subject: [rt-users] Incrementally Upgrading RT Message-ID: Hello, We are in the process of upgrading RT from version 3.8.7. We are starting with a fresh install on a new server. We have RT set up and the plan is to delete the current database on the new server and reimport the data from our old server and then run the update scripts, we predict this will take 2-3 hours. Collegues have vague memories that when upgrading from version 2 to 3 they were able to upgrade in a similar manner, but in order to minimise the downtime, they were able to use tools that allowed them to do the bulk of the data upgrade during office hours, then take down the old version and do an incremental migration to move any data that has been added since the bulk data extraction. The insert action on the rt-setup-database script mentions a supplementary datafile. Could this action be used to perform the incremental upgrade I describe above? If so what is the format of the datafile and is there any tools we can use to create it? We are using a postgres database. Thanks, Jenni Wilson Strategic Data Tel: 03 9340 9000 Fax: 03 9340 9090 From Torben.Nehmer at cancom.de Wed Aug 1 02:51:10 2012 From: Torben.Nehmer at cancom.de (Nehmer Torben) Date: Wed, 1 Aug 2012 08:51:10 +0200 Subject: [rt-users] RT intermittently fails to send mails after recent Debian Update In-Reply-To: <5018035A.4010403@bestpractical.com> References: <5018035A.4010403@bestpractical.com> Message-ID: Hi there, the various questions in order: > Did any perl modules get updated as part of the upgrade? from dpkg.log: 2012-07-27 15:11:55 upgrade libplack-perl 0.9980-1~bpo60+2 0.9986-1~bpo60+1 > What version of Email::Address is installed? That would be 1.889 (using the Debian package 1.889-2). > Please send your Apache config for RT. Directives exceeding Apache Standard: # RT Include file /etc/request-tracker4/apache-modperl2.conf PerlSetEnv RT_SITE_CONFIG /etc/request-tracker4/RT_SiteConfig.pm SetHandler modperl PerlResponseHandler Plack::Handler::Apache2 PerlSetVar psgi_app /usr/share/request-tracker4/libexec/rt-server Order Allow,Deny Allow from 127.0.0.1 use Plack::Handler::Apache2; Plack::Handler::Apache2->preload("/usr/share/request-tracker4/libexec/rt-server"); Header add X-UA-Compatible "IE=edge" # Some CGI Scripts accessing RT directly ScriptAlias /cgi-bin/ /usr/local/lib/cgi-bin-rt.cancom.de/ AllowOverride None Options +ExecCGI -MultiViews +SymLinksIfOwnerMatch Order allow,deny Allow from all SetHandler perl-script PerlResponseHandler ModPerl::Registry Best regards, Torben Nehmer ------- Torben Nehmer Diplom Informatiker (FH) Business System Developer CANCOM Deutschland GmbH Messerschmittstr. 20 89343 Scheppach Germany Tel.: +49 8225 - 996-1118 Fax: +49 8225 - 996-41118 torben.nehmer at cancom.de www.cancom.de CANCOM Deutschland GmbH Sitz der Gesellschaft: Jettingen-Scheppach HRB 10653 Memmingen Gesch?ftsf?hrer: Martin Mayr, Tobias H?rmann Diese E-Mail und alle mitgesendeten Dateien sind vertraulich und ausschlie?lich f?r den Gebrauch durch den Empf?nger bestimmt! This e-mail and any files transmitted with it are confidential intended solely for the use of the addressee! From andreas.davour at snowmen.se Wed Aug 1 03:15:22 2012 From: andreas.davour at snowmen.se (Andreas Davour) Date: Wed, 01 Aug 2012 09:15:22 +0200 Subject: [rt-users] How to find which queues a user can post to, using the cli or the db In-Reply-To: <20120731173414.GL1496@jibsheet.com> References: <87fw8dy1md.wl@orcus.snowmen.se> <20120731173414.GL1496@jibsheet.com> Message-ID: <87pq7bytf9.wl@orcus.snowmen.se> At Tue, 31 Jul 2012 13:34:14 -0400, Kevin Falcone wrote: > > [1 ] > On Fri, Jul 27, 2012 at 11:50:02AM +0200, Andreas Davour wrote: > > I have searched the wiki and the mailing list archive and not found any hints. > > > > What I'd like to do is create a list of active users, then go over that list or users, showing each and every queue that specific user have rights to post on. > > > > I know how to do it in the GUI, but then I get a lot more information which I don't need, and I'd like to get the data in a way that I could pipe it for further processing on the command line. > > > > Pointers to the documentation appreciated. I have looked around in the db and can't figure out how to tie the data about queue id and user id together. > > The easiest code (although it's a bit complex because of the caching) > is all the checking in Elements/SelectQueue - it loads up an RT::Queue > with the appropriate CurrentUser and then calls CurrentUserHasRight - > there are some other methods like Users' WhoHaveRight that might be > interesting. Doing this by hand in the DB is likely to be really > complex unless you understand all the relationships. The generated > SQL is often quite hairy. Sounds like I will give up on that part of RT. Many thanks for your feedback Kevin! /andreas From olejon at live.com Wed Aug 1 03:43:20 2012 From: olejon at live.com (=?iso-8859-1?B?T2xlIEpvbiBCavhya3Vt?=) Date: Wed, 1 Aug 2012 09:43:20 +0200 Subject: [rt-users] Charset for logs In-Reply-To: <20120731160957.GC1496@jibsheet.com> References: , <20120720151745.GL980@jibsheet.com>, , <20120731160957.GC1496@jibsheet.com> Message-ID: If I create an HTML-file with the name ???.html, and access it through Apache, the access log says "GET /%C3%A6%C3%B8%C3%A5.html". It seems to URL-encode it or something. If I then delete the HTML file an try to access it, the error log says "File does not exist: /var/www/\xc3\xa6\xc3\xb8\xc3\xa5.html". Not at all readable either... Maybe it's Apache's fault. I don't know how I can capture the raw e-mails that RT sends out for dashboard subscriptions. They are sent by RT through Postfix on the local server. Please tell me if you know how. > Date: Tue, 31 Jul 2012 12:09:57 -0400 > From: falcone at bestpractical.com > To: rt-users at lists.bestpractical.com > Subject: Re: [rt-users] Charset for logs > > On Mon, Jul 23, 2012 at 09:36:27AM +0200, Ole Jon Bj?rkum wrote: > > RT is installed from the Ubuntu repository, and the installation seems to log to > > /var/log/syslog and /var/log/apache2/error.log. However, I just discovered that it is only the > > Apache log that has charset problems. The syslog shows all characters correctly. Also, the > > Apache log logs in GMT while the syslog logs in the correct timezone, but I guess that is how > > it's supposed to be. > > RT prints logs in GMT, when those pass through syslog, syslog will add > an additional timestamp. Apache however keeps the RT timestamps. > Is it just RT's messages in the apache logs that are corrupt, or is > something as simple as a request to /Test/latin1pagename.html > corrupted in the access/error log? RT should be pushing out UTF-8 but > I'm not sure if RT is doing something wrong or if apache is corrupting > it. > > > I'm not quite sure what you mean by raw subject line. > > This is what shows up in Outlooks internet headers: Alle nye og ?pne saker > > This is how the subject line looks in Outlook: Alle nye og **pne saker jeg eier > > The question mark should be the character "aa", so the word should be "aapne" > > The message body uses the correct charset (I can see that UTF-8 is specified in the HTML). > > I mean the raw on-disk header. Subject: lines are encoded if they > contain UTF-8, so something like this: > Subject: =?UTF-8?B?4pyIVEhSRUUgQ29vbCBEZWFscyBGcm9tIEFtZXJpY2FuIEFpcmxpbmVz?= > If you have an email that is consistently corrupted when passing > through RT, if you can capture a raw version of the email (so not the > .msg file from Outlook, but something caught further upstream, before > it gets to rt-mailgate preferably) please zip it up and send it into > the RT bug tracker, along with your System Configuration page which > contains a ton of information such as perl module versions, some of > which are known-bad. > > -kevin > > > > > > Date: Fri, 20 Jul 2012 08:17:45 -0700 > > > From: falcone at bestpractical.com > > > To: rt-users at lists.bestpractical.com > > > Subject: Re: [rt-users] Charset for logs > > > > > > On Fri, Jul 20, 2012 at 09:24:22AM +0200, Ole Jon Bjo/rkum wrote: > > > > Ever since we started to use RT (before 3.8.7, now 4.0.4), it doesn't seem to use the > > correct > > > > charset for logging. All norwegian characters (aeo/aa) becomes: **. I can see this because > > we > > > > have scrips that contain norwegian characters, and every time a scrip is launched, it is > > > > logged to the Apache log. > > > > > > How are you logging, Syslog, Screen, File? RT has several different ways > > > to log and it's impossible to test without knowing. > > > > > > > Today I also noticed that if I subscribe to a dashboard with > > > > norwegian characters in its name, the subject of the email sent out also have this problem > > (** > > > > instead of ae, o/ or aa). The email body however, has the correct charset. There is no > > charset > > > > problems in the web UI. How can this be fixed? > > > > > > Please provide a raw Subject: line so we can see what's going on. -------------- next part -------------- An HTML attachment was scrubbed... URL: From esoward at remotedbaexperts.com Wed Aug 1 06:53:04 2012 From: esoward at remotedbaexperts.com (Evan Soward) Date: Wed, 1 Aug 2012 06:53:04 -0400 Subject: [rt-users] unsubscribe Message-ID: <8902ECFB06C73440874A90F82900BA0E1B8FB62FE6@osgood.rdba.remotedbaexperts.com> unsubscribe -------------- next part -------------- An HTML attachment was scrubbed... URL: From Torben.Nehmer at cancom.de Wed Aug 1 10:19:48 2012 From: Torben.Nehmer at cancom.de (Nehmer Torben) Date: Wed, 1 Aug 2012 16:19:48 +0200 Subject: [rt-users] RT intermittently fails to send mails after recent Debian Update In-Reply-To: References: <5018035A.4010403@bestpractical.com> Message-ID: Hi, I have made a few more experiments here: First, I tried to forward a failed message. It failed again, but differently. rt.log says: [Wed Aug 1 14:05:40 2012] [error]: : `/usr/sbin/sendmail -oi -t` exited with code 75 (/usr/share/request-tracker4/lib/RT/Interface/Email.pm:465) [Wed Aug 1 14:05:40 2012] [crit]: : Could not send mail with command `/usr/sbin/sendmail -oi -t`: : `/usr/sbin/sendmail -oi -t` exited with code 75 at /usr/share/request-tracker4/lib/RT/Interface/Email.pm line 466. Stack: [/usr/share/request-tracker4/lib/RT/Interface/Email.pm:466] [/usr/share/request-tracker4/lib/RT/Interface/Email.pm:767] [/usr/share/request-tracker4/lib/RT/Interface/Email.pm:626] [/usr/share/request-tracker4/html/Ticket/Forward.html:98] [/usr/share/request-tracker4/html/Ticket/autohandler:19] [/usr/share/request-tracker4/lib/RT/Interface/Web.pm:568] [/usr/share/request-tracker4/lib/RT/Interface/Web.pm:318] [/usr/share/request-tracker4/html/autohandler:53] (/usr/share/request-tracker4/lib/RT/Interface/Email.pm:470) [Wed Aug 1 14:05:40 2012] [debug]: Encode::Guess guessed encoding: ascii (/usr/share/request-tracker4/lib/RT/I18N.pm:474) [Wed Aug 1 14:05:40 2012] [debug]: Encode::Guess guessed encoding: ascii (/usr/share/request-tracker4/lib/RT/I18N.pm:474) [Wed Aug 1 14:05:40 2012] [debug]: Converting 'ascii' to 'utf-8' for text/plain - Subjectless message (/usr/share/request-tracker4/lib/RT/I18N.pm:240) Postfix says at the same time: Aug 1 16:05:40 jetws003 postfix/sendmail[1741]: fatal: www-data(33): internal protocol error However, this is not reproducible with other failed messages. I am starting to believe that I have two different errors here. What I can reproduce, is a mail triggered by an CGI script which fails all the time. The CGI Script looks like this: http://pastebin.com/qX0SCkW8 When called with testdata, it creates the ticket, returns OK but the mail doesn't get sent, again with the No Recipient error message of Postfix. According to the logs, the mail did have an receiver: [Wed Aug 1 14:11:12 2012] [debug]: Subject: [Leasing #53426] Automatische Antwort: ccd' - test - test - test From: "Leasing Hotline via RT" Reply-To: l.h at domain In-Reply-To: References: Message-ID: Precedence: bulk X-RT-Loop-Prevention: CANCOM Tickets RT-Ticket: CANCOM Tickets #53426 Managed-by: RT 4.0.5 (http://www.bestpractical.com/rt/) Auto-Submitted: auto-replied To: t.n at domain MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Content-Type: text/plain; charset="utf-8" X-RT-Original-Encoding: utf-8 (/usr/share/request-tracker4/lib/RT/Action/SendEmail.pm:667) [Wed Aug 1 14:11:12 2012] [debug]: Removing deferred recipients from Bcc: line (/usr/share/request-tracker4/lib/RT/Action/SendEmail.pm:690) [Wed Aug 1 14:11:12 2012] [debug]: Setting deferred recipients for attribute creation (/usr/share/request-tracker4/lib/RT/Action/SendEmail.pm:699) [Wed Aug 1 14:11:12 2012] [debug]: No recipients found for deferred delivery on transaction #966607 (/usr/share/request-tracker4/lib/RT/Action/SendEmail.pm:712) [Wed Aug 1 14:11:12 2012] [info]: #53426/966607 - Scrip 3 Auto-Reply beim Erstellen an Klient (/usr/share/request-tracker4/lib/RT/Action/SendEmail.pm:301) [Wed Aug 1 14:11:12 2012] [error]: : `/usr/sbin/sendmail -oi -t` exited with code 75 (/usr/share/request-tracker4/lib/RT/Interface/Email.pm:465) [Wed Aug 1 14:11:12 2012] [crit]: : Could not send mail with command `/usr/sbin/sendmail -oi -t`: : `/usr/sbin/sendmail -oi -t` exited with code 75 at /usr/shar [Wed Aug 1 14:11:12 2012] [warning]: No EmailInputEncodings set, fallback to iso-8859-1 (/usr/share/request-tracker4/lib/RT/I18N.pm:431) [Wed Aug 1 14:11:12 2012] [warning]: No EmailInputEncodings set, fallback to iso-8859-1 (/usr/share/request-tracker4/lib/RT/I18N.pm:431) However, forwarding that message to me does work. Please note, that both RTs configuration and the code of that CGI script has been unchanged for weeks (perhaps even months) now and it did work last week before the update. Best regards, Torben Nehmer ------- Torben Nehmer Diplom Informatiker (FH) Business System Developer CANCOM Deutschland GmbH Messerschmittstr. 20 89343 Scheppach Germany Tel.: +49 8225 - 996-1118 Fax: +49 8225 - 996-41118 torben.nehmer at cancom.de www.cancom.de CANCOM Deutschland GmbH Sitz der Gesellschaft: Jettingen-Scheppach HRB 10653 Memmingen Gesch?ftsf?hrer: Martin Mayr, Tobias H?rmann Diese E-Mail und alle mitgesendeten Dateien sind vertraulich und ausschlie?lich f?r den Gebrauch durch den Empf?nger bestimmt! This e-mail and any files transmitted with it are confidential intended solely for the use of the addressee! From esoward at remotedbaexperts.com Wed Aug 1 10:21:29 2012 From: esoward at remotedbaexperts.com (Evan Soward) Date: Wed, 1 Aug 2012 10:21:29 -0400 Subject: [rt-users] unsubscribe Message-ID: <8902ECFB06C73440874A90F82900BA0E1B8FB630BB@osgood.rdba.remotedbaexperts.com> unsubscribe -------------- next part -------------- An HTML attachment was scrubbed... URL: From hamrickdk at ornl.gov Wed Aug 1 10:40:09 2012 From: hamrickdk at ornl.gov (Hamrick, Dennis K.) Date: Wed, 1 Aug 2012 10:40:09 -0400 Subject: [rt-users] unsubscribe In-Reply-To: <8902ECFB06C73440874A90F82900BA0E1B8FB630BB@osgood.rdba.remotedbaexperts.com> References: <8902ECFB06C73440874A90F82900BA0E1B8FB630BB@osgood.rdba.remotedbaexperts.com> Message-ID: <5C691E518F345F4882FAB9E9839E60BA17EC03B8A7@EXCHMB.ornl.gov> unsubscribe -------------- next part -------------- An HTML attachment was scrubbed... URL: From mark at good-stuff.co.uk Wed Aug 1 11:05:23 2012 From: mark at good-stuff.co.uk (Mark Goodge) Date: Wed, 01 Aug 2012 16:05:23 +0100 Subject: [rt-users] unsubscribe In-Reply-To: <5C691E518F345F4882FAB9E9839E60BA17EC03B8A7@EXCHMB.ornl.gov> References: <8902ECFB06C73440874A90F82900BA0E1B8FB630BB@osgood.rdba.remotedbaexperts.com> <5C691E518F345F4882FAB9E9839E60BA17EC03B8A7@EXCHMB.ornl.gov> Message-ID: <501945B3.8080300@good-stuff.co.uk> For the benefit of everyone who wants to unsubscribe, but has misplaced their original information email and can't access the headers of their email: http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users Mark -- Sent from my Turing-Flowers Colossus http://mark.goodge.co.uk From drey111 at gmail.com Wed Aug 1 11:42:04 2012 From: drey111 at gmail.com (Joe Harris) Date: Wed, 1 Aug 2012 11:42:04 -0400 Subject: [rt-users] Incrementally Upgrading RT In-Reply-To: References: Message-ID: What database are you using. I went the exact path you are doing a few months ago from 3.8.7 to 4.0.5 and someone here posted a link with very straightforward instructions. I am using Postgres and just did a pg_dump of the db, created a new one with a different name and loaded my dump file into it. Then on the new server, got everything installed per instructions but instead of initializing database ran: rt-upgrade-database (I think) And it prompts you to step through each version of the db one at a time. If I can find the link, I'll send it to you. I did run into an issue on one of my installations where custom fields are handled a little differently (only if the custom fields are linked to one another) but I put together some scripts with a little help from the list and fixed it. Since I was moving to another server and was able to test a few dry runs, the whole upgrade took about 30 min to an hour to complete. Sent from my mobile device. On Aug 1, 2012, at 2:27 AM, Jenni Wilson wrote: > Hello, > > We are in the process of upgrading RT from version 3.8.7. We are starting with a fresh install on a new server. We have RT set up and the plan is to > delete the current database on the new server and reimport the data from our old server and then run the update scripts, we predict this will take 2-3 hours. > > Collegues have vague memories that when upgrading from version 2 to 3 they were able to upgrade in a similar manner, but in order to minimise the > downtime, they were able to use tools that allowed them to do the bulk of the data upgrade during office hours, then take down the old version and do an incremental migration to move any data that has been added since the bulk data extraction. > > The insert action on the rt-setup-database script mentions a supplementary datafile. Could this action be used to perform the incremental upgrade I describe above? > If so what is the format of the datafile and is there any tools we can use to create it? We are using a postgres database. > > Thanks, > Jenni Wilson > Strategic Data > Tel: 03 9340 9000 > Fax: 03 9340 9090 > > > From mdinatale at hamdenpd.com Wed Aug 1 12:23:17 2012 From: mdinatale at hamdenpd.com (Mario DiNatale) Date: Wed, 1 Aug 2012 16:23:17 +0000 Subject: [rt-users] E-mails not updating History? Message-ID: <6FB2044FB5B76742B683FCDA6CB6041D03498431@hpd-exc1.HAMDENPS.local> Finishing up my virgin RT install today, spent yesterday configuring fetchmail and exchange to play nice... However I'm running into a strange issue that I'm hoping you gentleman can help me out with. When a user opens a ticket and comments on it, emails are sent. When another user uses the web-ui to make a comment, emails are sent and the comment shows up in the ticket history. However, if a user reply's to a ticket email, the comment is received via email to all the users requested, however the comment history is never updated in the ticket itself, it seems to disappear off into the void? Best guess I have is that it has something to do with fetchmail not dropping it into an appropriate queue, so I'm attatching my fetchmailrc below and the results of a manual fetchmail run. ---------------------------------------------------------------------------------------------------------- fetchmail run w/ 2 fake messages: # fetchmail -f /etc/rt3/fetchmailrc fetchmail: No mail for rt at hpd-exc1 2 messages for rt-comment at hpd-exc1 (3886 octets). reading message rt-comment at hpd-exc1.hamdenps.local:1 of 2 (2092 octets) flushed reading message rt-comment at hpd-exc1.hamdenps.local:2 of 2 (1794 octets) flushed ---------------------------------------------------------------------------------------------------------- fetchmailrc: poll hpd-exc1 proto pop3: auth password username "rt" password "******" mda "/usr/local/bin/rt-mailgate --url http://tickets.hamdenps.local --queue I.T --action correspond" username "rt-comment" password "*******" mda "/usr/local/bin/rt-mailgate --url http://tickets.hamdenps.local --queue I.T --action comment" nokeep ssl sslfingerprint "E4:27:FC:15:3E:97:FD:37:00:D9:D2:D9:AF:01:64:4E" ---------------------------------------------------------------------------------------------------------- Any thoughts or suggestions would be most appreciated gentlemen. Thanks again, -m Mario DiNatale Information Technology Manager 2900 Dixwell Avenue Tel: 203-407-3187 Hamden, CT 06518 Fax: 203-230-4097 www.hamden.com -----BEGIN PGP PUBLIC KEY CRYTPO BLOCK----- mQENBE66pkIBCACXZ3ltfLhx2JXg5NCkP2frIWTYTmmQEXXVHjA9gZGSs1YKVO2d RjhpMSICBmYcx5drxDurDaHId0J8+ZomCZhaLgEU7SsLKJCB6qhu47YzoKNuQe/N Yu4pLec6zYfQGpTgeAIOKxkZpHrVT+zaWyUCUnSK685+iVP3a/pt/OlO355wHH9b YHYElp+FWkLOetV0o6wPRbjpqBLIE6sL0alGnHOM23nn8truk4bPjdDB3/q1SpUT CBHPT8at2FAqKwz8fNVdihusVjDln7gGRwecp2RY2yfmT+FA82aYr0pendYMJaUW MN24l6SHzKmKcDwPV8oCXPqSr56dH0OcaKXRABEBAAG0Ik1hcmlvIERpTmF0YWxl IDxtYXJpb2dkQGdtYWlsLmNvbT6JATgEEwECACIFAk66pkICGw8GCwkIBwMCBhUI AgkKCwQWAgMBAh4BAheAAAoJEHiKyXG4XFzjocAH/3F3+39v/rADiulBxdy6Zn4F S0yfbsM2WXxj1m+L1lRfM06Se920xh9G/PQGkd0QiQRMiawnr1voKkKkV2rqH4wJ r116Ff8kwFGFozVbc4kXokA21Ua694/FNmxUfD2eVCNJVfbIl1jdSRU0A6Fy4UgW djesrHYsb1qwqD75ZbVHAmTT+o+AKIhIKr135AE6aG0Qh2rO4bRSOYZE1BfGJ0fV DjM6rMHgTmdxKizPM3eynkrXwcgGYRyl6Bn661FAoyBwhSMmjG9tMNNwZYnFvoxW e15jUPH0k9TmY3+0Yqs/1PMLuNIGQ8GecIBs2y6a6uU6Pwmaes/rAulmVIQkd54= =YGdf -----END PGP PUBLIC KEY CRYTPO BLOCK----- -------------- next part -------------- An HTML attachment was scrubbed... URL: From trs at bestpractical.com Wed Aug 1 12:47:19 2012 From: trs at bestpractical.com (Thomas Sibley) Date: Wed, 01 Aug 2012 09:47:19 -0700 Subject: [rt-users] Incrementally Upgrading RT In-Reply-To: References: Message-ID: <50195D97.9070800@bestpractical.com> On 07/31/2012 11:27 PM, Jenni Wilson wrote: > Collegues have vague memories that when upgrading from version 2 to 3 > they were able to upgrade in a similar manner, but in order to > minimise the downtime, they were able to use tools that allowed them > to do the bulk of the data upgrade during office hours, then take > down the old version and do an incremental migration to move any data > that has been added since the bulk data extraction. There's no way for you to do this going from 3.8 to 4.0 at the moment. > The insert action on the rt-setup-database script mentions a > supplementary datafile. Could this action be used to perform the > incremental upgrade I describe above? No, that datafile is an "initialdata" file and can't be used to do the incremental migration you describe above. (If you're curious what it *can* do, see etc/initialdata or etc/upgrade/*/content for examples. There's newly written doc on initialdata files here: https://github.com/bestpractical/rt/blob/4.0/document-initialdata/docs/initialdata.pod) From chrisdrobison at gmail.com Wed Aug 1 12:59:54 2012 From: chrisdrobison at gmail.com (Chris Robison) Date: Wed, 1 Aug 2012 10:59:54 -0600 Subject: [rt-users] Automatic email reminders Message-ID: We are using the latest RT build. Is there a built in function that alerts when a ticket due date has passed? Chris Robison -------------- next part -------------- An HTML attachment was scrubbed... URL: From dominic.hargreaves at it.ox.ac.uk Wed Aug 1 13:31:09 2012 From: dominic.hargreaves at it.ox.ac.uk (Dominic Hargreaves) Date: Wed, 1 Aug 2012 18:31:09 +0100 Subject: [rt-users] RTFM problem deleting article / CurrentUserCanSee Unimplemented In-Reply-To: <20120731162908.GJ1496@jibsheet.com> References: <500FD8D6.5060609@zmaw.de> <20120731162908.GJ1496@jibsheet.com> Message-ID: <20120801173109.GF5270@gunboat-diplomat.oucs.ox.ac.uk> On Tue, Jul 31, 2012 at 12:29:08PM -0400, Kevin Falcone wrote: > On Wed, Jul 25, 2012 at 01:30:30PM +0200, Gunnar Gorges wrote: > > I encountered a problem with RTFM today: I am not able to delete any > > article without RT throwing an error message "An internal RT error > > has occurred". > > > > The logfile shows this: > > [error]: RT::FM::Article::CurrentUserCanSee Unimplemented in > > RT::Transaction. > > (/usr/share/request-tracker3.8/lib/RT/Transaction_Overlay.pm line > > 1035) > > (/usr/share/request-tracker3.8/lib/RT/Interface/Web/Handler.pm:233) > > > > Has anyone seen this before and can point me to the direction how to > > fix it? It appeared first time after the latest security update. I > > am using RT 3.8.8 and RTFM 2.4.2 on Debian Squeeze. > > Since you're running 3.8.8 from Debian, it has a number of security > fixes. The recently announced updates to RTFM include a fix to > account for these security fixes. > > I believe Dom was looking for folks to test updated RTFM packages, but > I don't have a URL handy because I'm offline. The URL is http://lists.alioth.debian.org/pipermail/pkg-request-tracker-maintainers/2012-July/003280.html I've just got back from a few days away so I'll probably try and push this out one way or another over the weekend. Testing before then would be very welcome. -- 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 trs at bestpractical.com Wed Aug 1 13:37:52 2012 From: trs at bestpractical.com (Thomas Sibley) Date: Wed, 01 Aug 2012 10:37:52 -0700 Subject: [rt-users] Automatic email reminders In-Reply-To: References: Message-ID: <50196970.10301@bestpractical.com> On 08/01/2012 09:59 AM, Chris Robison wrote: > We are using the latest RT build. Is there a built in function that > alerts when a ticket due date has passed? You can do that pretty easily with rt-crontool and a simple template. http://requesttracker.wikia.com/wiki/Reminders From mdinatale at hamdenpd.com Wed Aug 1 14:07:47 2012 From: mdinatale at hamdenpd.com (Mario DiNatale) Date: Wed, 1 Aug 2012 18:07:47 +0000 Subject: [rt-users] E-mails not updating History? Message-ID: <6FB2044FB5B76742B683FCDA6CB6041D03498611@hpd-exc1.HAMDENPS.local> Sorry to bother you guys again, but it actually Appears that this issue is simpler than it initially appeared! The messages ARE making into the comment history, however Neither the poster nor the responder can see it, however When logged in as root, I can see the full history of the messages... Does anyone know how I would go about fixing it so that everyone Involved in a ticket can see the full comment history? -m From: Mario DiNatale Sent: Wednesday, August 01, 2012 12:23 PM To: 'rt-users at lists.bestpractical.com' Subject: E-mails not updating History? Finishing up my virgin RT install today, spent yesterday configuring fetchmail and exchange to play nice... However I'm running into a strange issue that I'm hoping you gentleman can help me out with. When a user opens a ticket and comments on it, emails are sent. When another user uses the web-ui to make a comment, emails are sent and the comment shows up in the ticket history. However, if a user reply's to a ticket email, the comment is received via email to all the users requested, however the comment history is never updated in the ticket itself, it seems to disappear off into the void? Best guess I have is that it has something to do with fetchmail not dropping it into an appropriate queue, so I'm attatching my fetchmailrc below and the results of a manual fetchmail run. ---------------------------------------------------------------------------------------------------------- fetchmail run w/ 2 fake messages: # fetchmail -f /etc/rt3/fetchmailrc fetchmail: No mail for rt at hpd-exc1 2 messages for rt-comment at hpd-exc1 (3886 octets). reading message rt-comment at hpd-exc1.hamdenps.local:1 of 2 (2092 octets) flushed reading message rt-comment at hpd-exc1.hamdenps.local:2 of 2 (1794 octets) flushed ---------------------------------------------------------------------------------------------------------- fetchmailrc: poll hpd-exc1 proto pop3: auth password username "rt" password "******" mda "/usr/local/bin/rt-mailgate --url http://tickets.hamdenps.local --queue I.T --action correspond" username "rt-comment" password "*******" mda "/usr/local/bin/rt-mailgate --url http://tickets.hamdenps.local --queue I.T --action comment" nokeep ssl sslfingerprint "E4:27:FC:15:3E:97:FD:37:00:D9:D2:D9:AF:01:64:4E" ---------------------------------------------------------------------------------------------------------- Any thoughts or suggestions would be most appreciated gentlemen. Thanks again, -m Mario DiNatale Information Technology Manager 2900 Dixwell Avenue Tel: 203-407-3187 Hamden, CT 06518 Fax: 203-230-4097 www.hamden.com -----BEGIN PGP PUBLIC KEY CRYTPO BLOCK----- mQENBE66pkIBCACXZ3ltfLhx2JXg5NCkP2frIWTYTmmQEXXVHjA9gZGSs1YKVO2d RjhpMSICBmYcx5drxDurDaHId0J8+ZomCZhaLgEU7SsLKJCB6qhu47YzoKNuQe/N Yu4pLec6zYfQGpTgeAIOKxkZpHrVT+zaWyUCUnSK685+iVP3a/pt/OlO355wHH9b YHYElp+FWkLOetV0o6wPRbjpqBLIE6sL0alGnHOM23nn8truk4bPjdDB3/q1SpUT CBHPT8at2FAqKwz8fNVdihusVjDln7gGRwecp2RY2yfmT+FA82aYr0pendYMJaUW MN24l6SHzKmKcDwPV8oCXPqSr56dH0OcaKXRABEBAAG0Ik1hcmlvIERpTmF0YWxl IDxtYXJpb2dkQGdtYWlsLmNvbT6JATgEEwECACIFAk66pkICGw8GCwkIBwMCBhUI AgkKCwQWAgMBAh4BAheAAAoJEHiKyXG4XFzjocAH/3F3+39v/rADiulBxdy6Zn4F S0yfbsM2WXxj1m+L1lRfM06Se920xh9G/PQGkd0QiQRMiawnr1voKkKkV2rqH4wJ r116Ff8kwFGFozVbc4kXokA21Ua694/FNmxUfD2eVCNJVfbIl1jdSRU0A6Fy4UgW djesrHYsb1qwqD75ZbVHAmTT+o+AKIhIKr135AE6aG0Qh2rO4bRSOYZE1BfGJ0fV DjM6rMHgTmdxKizPM3eynkrXwcgGYRyl6Bn661FAoyBwhSMmjG9tMNNwZYnFvoxW e15jUPH0k9TmY3+0Yqs/1PMLuNIGQ8GecIBs2y6a6uU6Pwmaes/rAulmVIQkd54= =YGdf -----END PGP PUBLIC KEY CRYTPO BLOCK----- -------------- next part -------------- An HTML attachment was scrubbed... URL: From backus at nlcom.nl Wed Aug 1 14:13:28 2012 From: backus at nlcom.nl (=?utf-8?Q?Mayk_Backus?=) Date: Wed, 1 Aug 2012 20:13:28 +0200 Subject: [rt-users] E-mails not updating History? In-Reply-To: <6FB2044FB5B76742B683FCDA6CB6041D03498611@hpd-exc1.HAMDENPS.local> Message-ID: Hello Mario, Check the permissions of the users (or groups) involved on the queues. My experience is to take a piece of paper and draw out a matrix for the permission structure.. Regards Mayk ? From: Mario DiNatale [mailto:mdinatale at hamdenpd.com] Sent: Wednesday, August 01, 2012 08:07 PM To: rt-users at lists.bestpractical.com Subject: Re: [rt-users] E-mails not updating History? ? Sorry to bother you guys again, but it actually Appears that this issue is simpler than it initially appeared! The messages ARE making into the comment history, however Neither the poster nor the responder can see it, however When logged in as root, I can see the full history of the messages? Does anyone know how I would go about fixing it so that everyone Involved in a ticket can see the full comment history? -m ? From: Mario DiNatale Sent: Wednesday, August 01, 2012 12:23 PM To: 'rt-users at lists.bestpractical.com' Subject: E-mails not updating History? ? Finishing up my virgin RT install today, spent yesterday configuring fetchmail and exchange to play nice? However I?m running into a strange issue that I?m hoping you gentleman can help me out with. When a user opens a ticket and comments on it, emails are sent. When another user uses the web-ui to make a comment, emails are sent and the comment shows up in the ticket history. However, if a user reply?s to a ticket email, the comment is received via email to all the users requested, however the comment history is never updated in the ticket itself, it seems to disappear off into the void? Best guess I have is that it has something to do with fetchmail not dropping it into an appropriate queue, so I?m attatching my fetchmailrc below and the results of a manual fetchmail run. ---------------------------------------------------------------------------------------------------------- fetchmail run w/ 2 fake messages: # fetchmail -f /etc/rt3/fetchmailrc fetchmail: No mail for rt at hpd-exc1 2 messages for rt-comment at hpd-exc1 (3886 octets). reading message rt-comment at hpd-exc1.hamdenps.local:1 of 2 (2092 octets) flushed reading message rt-comment at hpd-exc1.hamdenps.local:2 of 2 (1794 octets) flushed ---------------------------------------------------------------------------------------------------------- fetchmailrc: poll hpd-exc1 proto pop3: auth password username "rt" password "******" mda "/usr/local/bin/rt-mailgate --url http://tickets.hamdenps.local --queue I.T --action correspond" username "rt-comment" password "*******" mda "/usr/local/bin/rt-mailgate --url http://tickets.hamdenps.local --queue I.T --action comment" ? nokeep ssl sslfingerprint "E4:27:FC:15:3E:97:FD:37:00:D9:D2:D9:AF:01:64:4E" ---------------------------------------------------------------------------------------------------------- Any thoughts or suggestions would be most appreciated gentlemen. Thanks again, -m ? ???????????????? Mario DiNatale ?????? Information Technology Manager 2900 Dixwell Avenue?????????? Tel: 203-407-3187 Hamden, CT 06518?????????????? Fax: 203-230-4097 ????????????????????? www.hamden.com ? ??? ???????????????????-----BEGIN PGP PUBLIC KEY CRYTPO BLOCK----- mQENBE66pkIBCACXZ3ltfLhx2JXg5NCkP2frIWTYTmmQEXXVHjA9gZGSs1YKVO2d RjhpMSICBmYcx5drxDurDaHId0J8+ZomCZhaLgEU7SsLKJCB6qhu47YzoKNuQe/N Yu4pLec6zYfQGpTgeAIOKxkZpHrVT+zaWyUCUnSK685+iVP3a/pt/OlO355wHH9b YHYElp+FWkLOetV0o6wPRbjpqBLIE6sL0alGnHOM23nn8truk4bPjdDB3/q1SpUT CBHPT8at2FAqKwz8fNVdihusVjDln7gGRwecp2RY2yfmT+FA82aYr0pendYMJaUW MN24l6SHzKmKcDwPV8oCXPqSr56dH0OcaKXRABEBAAG0Ik1hcmlvIERpTmF0YWxl IDxtYXJpb2dkQGdtYWlsLmNvbT6JATgEEwECACIFAk66pkICGw8GCwkIBwMCBhUI AgkKCwQWAgMBAh4BAheAAAoJEHiKyXG4XFzjocAH/3F3+39v/rADiulBxdy6Zn4F S0yfbsM2WXxj1m+L1lRfM06Se920xh9G/PQGkd0QiQRMiawnr1voKkKkV2rqH4wJ r116Ff8kwFGFozVbc4kXokA21Ua694/FNmxUfD2eVCNJVfbIl1jdSRU0A6Fy4UgW djesrHYsb1qwqD75ZbVHAmTT+o+AKIhIKr135AE6aG0Qh2rO4bRSOYZE1BfGJ0fV DjM6rMHgTmdxKizPM3eynkrXwcgGYRyl6Bn661FAoyBwhSMmjG9tMNNwZYnFvoxW e15jUPH0k9TmY3+0Yqs/1PMLuNIGQ8GecIBs2y6a6uU6Pwmaes/rAulmVIQkd54= =YGdf ?????????????????????? -----END PGP PUBLIC KEY CRYTPO BLOCK----- ? -------------- next part -------------- An HTML attachment was scrubbed... URL: From ktm at rice.edu Wed Aug 1 14:19:42 2012 From: ktm at rice.edu (ktm at rice.edu) Date: Wed, 1 Aug 2012 13:19:42 -0500 Subject: [rt-users] E-mails not updating History? In-Reply-To: References: <6FB2044FB5B76742B683FCDA6CB6041D03498611@hpd-exc1.HAMDENPS.local> Message-ID: <20120801181942.GB15829@aart.rice.edu> On Wed, Aug 01, 2012 at 08:13:28PM +0200, Mayk Backus wrote: > Hello Mario, > > Check the permissions of the users (or groups) involved on the queues. My experience is to take a piece of paper and draw out a matrix for the permission structure.. > > Regards > > Mayk You can also use RTx::RightsMatrix to help investigate. Cheers, Ken From mdinatale at hamdenpd.com Wed Aug 1 15:47:42 2012 From: mdinatale at hamdenpd.com (Mario DiNatale) Date: Wed, 1 Aug 2012 19:47:42 +0000 Subject: [rt-users] 4.0.4 -> 4.0.5 upgrade best practice? Message-ID: <6FB2044FB5B76742B683FCDA6CB6041D034987D3@hpd-exc1.HAMDENPS.local> Is there a best practice upgrade guide anywhere? I'm updating all my cpan modules right now, and Would like to upgrade to take advantage of the new Bug fixes, but the site documentation seems a little thin? -m Mario DiNatale Information Technology Manager 2900 Dixwell Avenue Tel: 203-407-3187 Hamden, CT 06518 Fax: 203-230-4097 www.hamden.com -----BEGIN PGP PUBLIC KEY CRYTPO BLOCK----- mQENBE66pkIBCACXZ3ltfLhx2JXg5NCkP2frIWTYTmmQEXXVHjA9gZGSs1YKVO2d RjhpMSICBmYcx5drxDurDaHId0J8+ZomCZhaLgEU7SsLKJCB6qhu47YzoKNuQe/N Yu4pLec6zYfQGpTgeAIOKxkZpHrVT+zaWyUCUnSK685+iVP3a/pt/OlO355wHH9b YHYElp+FWkLOetV0o6wPRbjpqBLIE6sL0alGnHOM23nn8truk4bPjdDB3/q1SpUT CBHPT8at2FAqKwz8fNVdihusVjDln7gGRwecp2RY2yfmT+FA82aYr0pendYMJaUW MN24l6SHzKmKcDwPV8oCXPqSr56dH0OcaKXRABEBAAG0Ik1hcmlvIERpTmF0YWxl IDxtYXJpb2dkQGdtYWlsLmNvbT6JATgEEwECACIFAk66pkICGw8GCwkIBwMCBhUI AgkKCwQWAgMBAh4BAheAAAoJEHiKyXG4XFzjocAH/3F3+39v/rADiulBxdy6Zn4F S0yfbsM2WXxj1m+L1lRfM06Se920xh9G/PQGkd0QiQRMiawnr1voKkKkV2rqH4wJ r116Ff8kwFGFozVbc4kXokA21Ua694/FNmxUfD2eVCNJVfbIl1jdSRU0A6Fy4UgW djesrHYsb1qwqD75ZbVHAmTT+o+AKIhIKr135AE6aG0Qh2rO4bRSOYZE1BfGJ0fV DjM6rMHgTmdxKizPM3eynkrXwcgGYRyl6Bn661FAoyBwhSMmjG9tMNNwZYnFvoxW e15jUPH0k9TmY3+0Yqs/1PMLuNIGQ8GecIBs2y6a6uU6Pwmaes/rAulmVIQkd54= =YGdf -----END PGP PUBLIC KEY CRYTPO BLOCK----- -------------- next part -------------- An HTML attachment was scrubbed... URL: From methier at CGR.Harvard.edu Wed Aug 1 15:48:03 2012 From: methier at CGR.Harvard.edu (Ethier, Michael) Date: Wed, 1 Aug 2012 15:48:03 -0400 Subject: [rt-users] Upgrade RT from 3.8.8 to 4.0.6 Message-ID: <1B12003244CE894E85B4726023637888010DA514C9@FASXCH01.fasmail.priv> Hello, I want to upgrade our production RT v3.8.8 to the latest v4.0.6. I un-tarred the RT 4.0.6 kit in /opt/rt-4.0.6. on our production RT box. I want to be able to revert back to our current production RT v3.8.8 system if something goes wrong. I also am willing to build a new machine for RT 4.0.6 to make a clean install and separation between RT 3.8.8 and RT 4.0.6, but that causes some possible extra work to our email/dns/apache setup. I have a few questions about the upgrade: 1) RT 4.0.6 complains about several missing perl modules when I run "make testdeps". on the production RT machine. If I then run "make fixdeps" in /opt/rt-4.0.6 and install the missing modules, this will not break the existing production RT 3.8.8 running on the machine, correct ? Or will it ? This is the key to using the existing production box, or to installing on a brand new machine. We can't break the existing production RT system. 2) Although this is an upgrade to 4.0.6, I don't wish to touch any of /opt/rt-3.8.8 so what I am doing is a "new install" and it will install by default into /opt/rt4 I believe. This won't touch the 3.8.8 software correct ? 3) When upgrading the RT database, I will dump the existing production database and load it into a different mysql server for v4.0.6 because the existing mysql server is old. When running the following commands below in /opt/rt-4.0.6, on the production box, it will look at the settings in /opt/rt4/etc/RT_SiteConfig.pm pointing to the new mysql server, and not what's set in /opt/rt-3.8.8/etc/RT_SiteConfig.pm which points to the existing production mysql sever, correct ? I don't want to touch the existing production mysql database. make upgrade-database perl etc/upgrade/vulnerable-passwords perl -I /opt/rt4/local/lib -I /opt/rt4/lib etc/upgrade/shrink_transactions_table.pl I'm going back and forth on what is the best path to go, install on the existing production server or install it on a separate new machine which gives a way to revert back to RT 3.8.8. What do you recommend ? Thanks in advance, Mike From trs at bestpractical.com Wed Aug 1 16:25:01 2012 From: trs at bestpractical.com (Thomas Sibley) Date: Wed, 01 Aug 2012 13:25:01 -0700 Subject: [rt-users] 4.0.4 -> 4.0.5 upgrade best practice? In-Reply-To: <6FB2044FB5B76742B683FCDA6CB6041D034987D3@hpd-exc1.HAMDENPS.local> References: <6FB2044FB5B76742B683FCDA6CB6041D034987D3@hpd-exc1.HAMDENPS.local> Message-ID: <5019909D.2010609@bestpractical.com> On 08/01/2012 12:47 PM, Mario DiNatale wrote: > Is there a best practice upgrade guide anywhere? > I?m updating all my cpan modules right now, and > Would like to upgrade to take advantage of the new > Bug fixes, but the site documentation seems a little thin? We write detailed upgrading documentation for each version and ship it with RT. You should read the README and docs/UPGRADING-4.0. (Note that there are other upgrading files you'd read as well if you were coming up from an older version like 3.8.) Additionally, we outline the upgrade process in a blog post: http://blog.bestpractical.com/2011/07/upgrading-to-rt-4.html From chrisdrobison at gmail.com Wed Aug 1 16:45:56 2012 From: chrisdrobison at gmail.com (Chris Robison) Date: Wed, 1 Aug 2012 14:45:56 -0600 Subject: [rt-users] Automatic email reminders In-Reply-To: <50196970.10301@bestpractical.com> References: <50196970.10301@bestpractical.com> Message-ID: Thanks that helps lot. A related question to that, is there a way to pass in all ticket watchers rather than just the owner for the SendMail action? On Wed, Aug 1, 2012 at 11:37 AM, Thomas Sibley wrote: > On 08/01/2012 09:59 AM, Chris Robison wrote: > > We are using the latest RT build. Is there a built in function that > > alerts when a ticket due date has passed? > > You can do that pretty easily with rt-crontool and a simple template. > > http://requesttracker.wikia.com/wiki/Reminders > -------------- next part -------------- An HTML attachment was scrubbed... URL: From svigano at squaw.com Wed Aug 1 20:33:46 2012 From: svigano at squaw.com (Steffan Vigano) Date: Wed, 1 Aug 2012 17:33:46 -0700 Subject: [rt-users] Queue rename issues Message-ID: <6766D993A346444F87BD3082923C4698C1521E@OLYLADY.squawnet.com> Hello, Trolling through the list archives it seemed pretty clear that many people have renamed queues without issue. Not so for us. Most of the system recognizes that the name has changed but some areas still show the old name. Primarily the old queue name still shows up in all the drop down menus (New Ticket In, Search lists, etc). I've restarted Apache to clear out any cache, but we're still seeing them. The queue was in use with a handful of tickets and all those tickets show the new name. The only things I changed were the queue name within TOOLS > CONFIG > QUEUES and I adjusted the mailgate sendmail entry. Am I missing something? Setup: FreeBSD 8.2-RELEASE RT 4.0.1 Apache 2.2.19 Thanks! -Steffan From trs at bestpractical.com Wed Aug 1 20:42:54 2012 From: trs at bestpractical.com (Thomas Sibley) Date: Wed, 01 Aug 2012 17:42:54 -0700 Subject: [rt-users] Queue rename issues In-Reply-To: <6766D993A346444F87BD3082923C4698C1521E@OLYLADY.squawnet.com> References: <6766D993A346444F87BD3082923C4698C1521E@OLYLADY.squawnet.com> Message-ID: <5019CD0E.2020400@bestpractical.com> On 08/01/2012 05:33 PM, Steffan Vigano wrote: > Trolling through the list archives it seemed pretty clear that many > people have renamed queues without issue. Not so for us. Most of the > system recognizes that the name has changed but some areas still show > the old name. Primarily the old queue name still shows up in all the > drop down menus (New Ticket In, Search lists, etc). I've restarted > Apache to clear out any cache, but we're still seeing them. The queue > was in use with a handful of tickets and all those tickets show the new > name. The only things I changed were the queue name within TOOLS > > CONFIG > QUEUES and I adjusted the mailgate sendmail entry. Am I > missing something? The queue dropdowns are cached for performance, but it seems the queue cache isn't invalidated when the queue Name is updated (only if the queue is disabled or enabled). The cache is per-session, so any affected user should logout and login again to clear their session. Thomas From kenn.crocker at gmail.com Thu Aug 2 02:10:58 2012 From: kenn.crocker at gmail.com (Kenneth Crocker) Date: Wed, 1 Aug 2012 23:10:58 -0700 Subject: [rt-users] E-mails not updating History? In-Reply-To: References: <6FB2044FB5B76742B683FCDA6CB6041D03498611@hpd-exc1.HAMDENPS.local> Message-ID: MArio, I may be wrong, but I believe a user can set up what they want to see in the History with settings. The default is set in the RT_SiteConfig.pm file. You might want to see what your default is. Kenn On Wed, Aug 1, 2012 at 11:13 AM, Mayk Backus wrote: > Hello Mario, > > Check the permissions of the users (or groups) involved on the queues. My > experience is to take a piece of paper and draw out a matrix for the > permission structure.. > > Regards > > Mayk > > *From*: Mario DiNatale [mailto:mdinatale at hamdenpd.com] > *Sent*: Wednesday, August 01, 2012 08:07 PM > *To*: rt-users at lists.bestpractical.com > *Subject*: Re: [rt-users] E-mails not updating History? > > > Sorry to bother you guys again, but it actually**** > > Appears that this issue is simpler than it initially appeared! > The messages ARE making into the comment history, however**** > > Neither the poster nor the responder can see it, however**** > > When logged in as root, I can see the full history of the messages?**** > > Does anyone know how I would go about fixing it so that everyone**** > > Involved in a ticket can see the full comment history? > -m**** > > ** ** > > *From:* Mario DiNatale > *Sent:* Wednesday, August 01, 2012 12:23 PM > *To:* 'rt-users at lists.bestpractical.com' > *Subject:* E-mails not updating History?**** > > ** ** > > Finishing up my virgin RT install today,**** > > spent yesterday configuring fetchmail**** > > and exchange to play nice? However I?m**** > > running into a strange issue that I?m hoping**** > > you gentleman can help me out with. > > When a user opens a ticket and comments on it,**** > > emails are sent. When another user uses the web-ui**** > > to make a comment, emails are sent and the comment**** > > shows up in the ticket history. However, if a user reply?s**** > > to a ticket email, the comment is received via email to**** > > all the users requested, however the comment history**** > > is never updated in the ticket itself, it seems to disappear**** > > off into the void? > > Best guess I have is that it has something to do with fetchmail**** > > not dropping it into an appropriate queue, so I?m attatching**** > > my fetchmailrc below and the results of a manual fetchmail run. > > ---------------------------------------------------------------------------------------------------------- > **** > > *fetchmail run w/ 2 fake messages:* > # fetchmail -f /etc/rt3/fetchmailrc**** > > fetchmail: No mail for rt at hpd-exc1**** > > 2 messages for rt-comment at hpd-exc1 (3886 octets).**** > > reading message rt-comment at hpd-exc1.hamdenps.local:1 of 2 (2092 octets) > flushed**** > > reading message rt-comment at hpd-exc1.hamdenps.local:2 of 2 (1794 octets) > flushed**** > > > ---------------------------------------------------------------------------------------------------------- > **** > > *fetchmailrc: > *poll hpd-exc1**** > > proto pop3:**** > > auth password**** > > username "rt"**** > > password "******"**** > > mda "/usr/local/bin/rt-mailgate --url http://tickets.hamdenps.local--queue I.T > **** > > --action correspond"**** > > username "rt-comment"**** > > password "*******"**** > > mda "/usr/local/bin/rt-mailgate --url http://tickets.hamdenps.local--queue I.T > **** > > --action comment"**** > > ** ** > > nokeep**** > > ssl**** > > sslfingerprint "E4:27:FC:15:3E:97:FD:37:00:D9:D2:D9:AF:01:64:4E"* > * > ---------------------------------------------------------------------------------------------------------- > **** > > Any thoughts or suggestions would be most appreciated gentlemen.**** > > Thanks again,**** > > -m**** > > ** ** > > Mario DiNatale**** > > *Information Technology Manager* > > 2900 Dixwell Avenue Tel: 203-407-3187**** > > Hamden, CT 06518 Fax: 203-230-4097**** > > www.hamden.com**** > > ** ** > > * -----BEGIN PGP PUBLIC KEY CRYTPO BLOCK-----* > > mQENBE66pkIBCACXZ3ltfLhx2JXg5NCkP2frIWTYTmmQEXXVHjA9gZGSs1YKVO2d**** > > RjhpMSICBmYcx5drxDurDaHId0J8+ZomCZhaLgEU7SsLKJCB6qhu47YzoKNuQe/N**** > > Yu4pLec6zYfQGpTgeAIOKxkZpHrVT+zaWyUCUnSK685+iVP3a/pt/OlO355wHH9b**** > > YHYElp+FWkLOetV0o6wPRbjpqBLIE6sL0alGnHOM23nn8truk4bPjdDB3/q1SpUT**** > > CBHPT8at2FAqKwz8fNVdihusVjDln7gGRwecp2RY2yfmT+FA82aYr0pendYMJaUW**** > > MN24l6SHzKmKcDwPV8oCXPqSr56dH0OcaKXRABEBAAG0Ik1hcmlvIERpTmF0YWxl**** > > IDxtYXJpb2dkQGdtYWlsLmNvbT6JATgEEwECACIFAk66pkICGw8GCwkIBwMCBhUI**** > > AgkKCwQWAgMBAh4BAheAAAoJEHiKyXG4XFzjocAH/3F3+39v/rADiulBxdy6Zn4F**** > > S0yfbsM2WXxj1m+L1lRfM06Se920xh9G/PQGkd0QiQRMiawnr1voKkKkV2rqH4wJ**** > > r116Ff8kwFGFozVbc4kXokA21Ua694/FNmxUfD2eVCNJVfbIl1jdSRU0A6Fy4UgW**** > > djesrHYsb1qwqD75ZbVHAmTT+o+AKIhIKr135AE6aG0Qh2rO4bRSOYZE1BfGJ0fV**** > > DjM6rMHgTmdxKizPM3eynkrXwcgGYRyl6Bn661FAoyBwhSMmjG9tMNNwZYnFvoxW**** > > e15jUPH0k9TmY3+0Yqs/1PMLuNIGQ8GecIBs2y6a6uU6Pwmaes/rAulmVIQkd54=**** > > =YGdf**** > > * -----END PGP PUBLIC KEY CRYTPO BLOCK-----* > > ** ** > -------------- next part -------------- An HTML attachment was scrubbed... URL: From martin at uanet.se Thu Aug 2 02:07:17 2012 From: martin at uanet.se (Martin Petersson) Date: Thu, 2 Aug 2012 06:07:17 +0000 Subject: [rt-users] Extracting an article Message-ID: Hello, When i tried to extract an article and get to the page where I should choose which field or transaction to use for the article, there?s only "-" a dash within the dropdown menu. Have I missed something? I followed the docs from docs/customizing/articles_introduction.pod "You can extract the body of a ticket into an article. Within RT, you should now see an "Extract to article" button in the upper right hand corner of RT's UI when working with tickets. When you click that button, RT will ask you which Class to create your new article in. Once you click on a class name, the Ticket's transactions will be displayed, along with a set of select boxes. For each transaction, you can pick which Custom Field that transaction should be extracted to." Med V?nliga H?lsningar/Best Regards -------------------------------------------------------- Martin Petersson *: Office +46 (0)522 98028 *: Fax +46 (0)70 25 79 453 *: www.uanet.se Gustaf Mattssons V?g 2 451 50 Uddevalla Orgnr: 556702-4095 Styrelsens s?te: Uddevalla P Please consider the environment before printing this e-mail. -------------- next part -------------- An HTML attachment was scrubbed... URL: From msah at benintelecoms.bj Thu Aug 2 04:26:15 2012 From: msah at benintelecoms.bj (Marius Angelo SAH) Date: Thu, 2 Aug 2012 09:26:15 +0100 Subject: [rt-users] A/s Upgrade request tracker from version 3.8.10 to the last version (4.0.6) Message-ID: <001901cd7088$7c42fb00$74c8f100$@bj> Hello, I have installed the version 3.8.10 of request tracker. I hope to get the procedure to upgrade to the version 4.0.6 Thanks for your help Marius SAH -------------- next part -------------- An HTML attachment was scrubbed... URL: From gunnar.gorges at zmaw.de Thu Aug 2 07:48:41 2012 From: gunnar.gorges at zmaw.de (Gunnar Gorges) Date: Thu, 2 Aug 2012 13:48:41 +0200 Subject: [rt-users] Extracting an article In-Reply-To: References: Message-ID: <0BDD3503-A6E9-4A1C-B943-828D6B109634@zmaw.de> Hi Martin, since you are talking about RTFM for RT 4.0.x I am not sure my comment applies since I only have experience with RTFM and RT 3.8.8? It might help if you posted your versions anyway. However: I encountered the same problem some time ago until I was told that classes should match your actual queues (e.g. queue-names). That did the trick for me. Of course you also need to asign at least now custom-field to that class (classes -> basics -> "include custom field X"). Hope that helps, best wishes Gunnar > Hello, > > When i tried to extract an article and get to the page where I should choose which field or transaction to use for the article, there?s only ??? a dash within the dropdown menu. > Have I missed something? > > I followed the docs from docs/customizing/articles_introduction.pod > ?You can extract the body of a ticket into an article. Within RT, you > should now see an "Extract to article" button in the upper right hand > corner of RT's UI when working with tickets. When you click that > button, RT will ask you which Class to create your new article in. > Once you click on a class name, the Ticket's transactions will be > displayed, along with a set of select boxes. For each transaction, you > can pick which Custom Field that transaction should be extracted to.? > > > Med V?nliga H?lsningar/Best Regards > -------------------------------------------------------- > Martin Petersson > > (: Office +46 (0)522 98028 > (: Fax +46 (0)70 25 79 453 > :: www.uanet.se > > > Gustaf Mattssons V?g 2 > 451 50 Uddevalla > Orgnr: 556702-4095 > Styrelsens s?te: Uddevalla > P Please consider the environment before printing this e-mail. > From gunnar.gorges at zmaw.de Thu Aug 2 08:19:44 2012 From: gunnar.gorges at zmaw.de (Gunnar Gorges) Date: Thu, 2 Aug 2012 14:19:44 +0200 Subject: [rt-users] RTFM problem deleting article / CurrentUserCanSee Unimplemented In-Reply-To: <20120801173109.GF5270@gunboat-diplomat.oucs.ox.ac.uk> References: <500FD8D6.5060609@zmaw.de> <20120731162908.GJ1496@jibsheet.com> <20120801173109.GF5270@gunboat-diplomat.oucs.ox.ac.uk> Message-ID: <94109FE3-E41C-409A-9D29-81F186953C3E@zmaw.de> Hi Dominic, I just was able to test the updated packages of RTFM (2.4.4) and ExternalAuth (1.1.1). Both work fine. The problem I described below with RTFM is gone. If you need more testing and/or more information just let me know! Thanks and best wishes Gunnar > On Tue, Jul 31, 2012 at 12:29:08PM -0400, Kevin Falcone wrote: >> On Wed, Jul 25, 2012 at 01:30:30PM +0200, Gunnar Gorges wrote: >>> I encountered a problem with RTFM today: I am not able to delete any >>> article without RT throwing an error message "An internal RT error >>> has occurred". >>> >>> The logfile shows this: >>> [error]: RT::FM::Article::CurrentUserCanSee Unimplemented in >>> RT::Transaction. >>> (/usr/share/request-tracker3.8/lib/RT/Transaction_Overlay.pm line >>> 1035) >>> (/usr/share/request-tracker3.8/lib/RT/Interface/Web/Handler.pm:233) >>> >>> Has anyone seen this before and can point me to the direction how to >>> fix it? It appeared first time after the latest security update. I >>> am using RT 3.8.8 and RTFM 2.4.2 on Debian Squeeze. >> >> Since you're running 3.8.8 from Debian, it has a number of security >> fixes. The recently announced updates to RTFM include a fix to >> account for these security fixes. >> >> I believe Dom was looking for folks to test updated RTFM packages, but >> I don't have a URL handy because I'm offline. > > The URL is > > http://lists.alioth.debian.org/pipermail/pkg-request-tracker-maintainers/2012-July/003280.html > > I've just got back from a few days away so I'll probably try and push > this out one way or another over the weekend. Testing before then > would be very welcome. > > -- > Dominic Hargreaves, Systems Development and Support Section > IT Services, University of Oxford From mdinatale at hamdenpd.com Thu Aug 2 08:26:32 2012 From: mdinatale at hamdenpd.com (Mario DiNatale) Date: Thu, 2 Aug 2012 12:26:32 +0000 Subject: [rt-users] 4.0.4 -> 4.0.5 upgrade best practice? In-Reply-To: <5019909D.2010609@bestpractical.com> References: <6FB2044FB5B76742B683FCDA6CB6041D034987D3@hpd-exc1.HAMDENPS.local> <5019909D.2010609@bestpractical.com> Message-ID: <6FB2044FB5B76742B683FCDA6CB6041D03498FD6@hpd-exc1.HAMDENPS.local> Very good, and is it recommended to go 4.0.4 to 4.0.6, or should users go 4.0.4 to 4.0.5 to 4.0.6? -m -----Original Message----- From: rt-users-bounces at lists.bestpractical.com [mailto:rt-users-bounces at lists.bestpractical.com] On Behalf Of Thomas Sibley Sent: Wednesday, August 01, 2012 4:25 PM To: rt-users at lists.bestpractical.com Subject: Re: [rt-users] 4.0.4 -> 4.0.5 upgrade best practice? On 08/01/2012 12:47 PM, Mario DiNatale wrote: > Is there a best practice upgrade guide anywhere? > I?m updating all my cpan modules right now, and Would like to upgrade > to take advantage of the new Bug fixes, but the site documentation > seems a little thin? We write detailed upgrading documentation for each version and ship it with RT. You should read the README and docs/UPGRADING-4.0. (Note that there are other upgrading files you'd read as well if you were coming up from an older version like 3.8.) Additionally, we outline the upgrade process in a blog post: http://blog.bestpractical.com/2011/07/upgrading-to-rt-4.html From o.nash at cs.ucc.ie Thu Aug 2 10:39:43 2012 From: o.nash at cs.ucc.ie (o.nash at cs.ucc.ie) Date: Thu, 2 Aug 2012 15:39:43 +0100 (IST) Subject: [rt-users] fresh install of RT-4.0.6 which JSON to use Message-ID: Hi all, I am building a new install of RT-4.0.6 while going through the perl modules needed I get a choice when selecting a version of JSON. here is the message from the command perl -MCPAN -e 'install JSON' CPAN.pm: Going to build M/MA/MAKAMAKA/JSON-2.53.tar.gz Welcome to JSON (v.2.53) ============================= If you install JSON::XS v.2.27, it makes JSON faster. ************************** CAUTION ************************** * This is 'JSON version 2' and there are many differences * * to version 1.xx * * Please check your applications useing old version. * * See to 'INCOMPATIBLE CHANGES TO OLD VERSION' and 'TIPS' * ************************************************************* Do you want to install JSON::XS?(Y/n) [Y] ----------------------------------------- My question is should I take the new version JSON::XS as offered? -- Oliver Nash CSSG Computer Science UCC ------------------------- From dominic.hargreaves at it.ox.ac.uk Thu Aug 2 11:10:35 2012 From: dominic.hargreaves at it.ox.ac.uk (Dominic Hargreaves) Date: Thu, 2 Aug 2012 16:10:35 +0100 Subject: [rt-users] RTFM problem deleting article / CurrentUserCanSee Unimplemented In-Reply-To: <94109FE3-E41C-409A-9D29-81F186953C3E@zmaw.de> References: <500FD8D6.5060609@zmaw.de> <20120731162908.GJ1496@jibsheet.com> <20120801173109.GF5270@gunboat-diplomat.oucs.ox.ac.uk> <94109FE3-E41C-409A-9D29-81F186953C3E@zmaw.de> Message-ID: <20120802151035.GC3579@gunboat-diplomat.oucs.ox.ac.uk> On Thu, Aug 02, 2012 at 02:19:44PM +0200, Gunnar Gorges wrote: > Hi Dominic, > > I just was able to test the updated packages of RTFM (2.4.4) and ExternalAuth (1.1.1). Both work fine. > > The problem I described below with RTFM is gone. > > If you need more testing and/or more information just let me know! Hi Gunnar, I should possibly have included more information when pointing at message aimed originally at people familiar with the Debian package development cycle. There's no 2.4.4 package targetted at Debian stable; I was after feedback on the Debian packages in our git repository[1]. Can you clarify how you installed RTFM 2.4.4 (and how you had previously installed 2.4.2)? It's useful feedback in any case. Thanks, 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 josh at prorivertech.com Thu Aug 2 12:20:31 2012 From: josh at prorivertech.com (Josh Hopkins) Date: Thu, 2 Aug 2012 11:20:31 -0500 Subject: [rt-users] default format of quick search Message-ID: <689A1933F8EE7743BC101464DD9F3F0403C899B876@MBX30.exg5.exghost.com> Is there somewhere to change the default format of the quick search for all users? -------------- next part -------------- An HTML attachment was scrubbed... URL: From trs at bestpractical.com Thu Aug 2 12:36:39 2012 From: trs at bestpractical.com (Thomas Sibley) Date: Thu, 02 Aug 2012 09:36:39 -0700 Subject: [rt-users] 4.0.4 -> 4.0.5 upgrade best practice? In-Reply-To: <6FB2044FB5B76742B683FCDA6CB6041D03498FD6@hpd-exc1.HAMDENPS.local> References: <6FB2044FB5B76742B683FCDA6CB6041D034987D3@hpd-exc1.HAMDENPS.local> <5019909D.2010609@bestpractical.com> <6FB2044FB5B76742B683FCDA6CB6041D03498FD6@hpd-exc1.HAMDENPS.local> Message-ID: <501AAC97.2030002@bestpractical.com> On 08/02/2012 05:26 AM, Mario DiNatale wrote: > Very good, and is it recommended to go 4.0.4 to 4.0.6, or should users > go 4.0.4 to 4.0.5 to 4.0.6? Going through an intermediate version is not necessary or generally recommended. From gunnar.gorges at zmaw.de Thu Aug 2 12:40:59 2012 From: gunnar.gorges at zmaw.de (Gunnar Gorges) Date: Thu, 2 Aug 2012 18:40:59 +0200 Subject: [rt-users] RTFM problem deleting article / CurrentUserCanSee Unimplemented In-Reply-To: <20120802151035.GC3579@gunboat-diplomat.oucs.ox.ac.uk> References: <500FD8D6.5060609@zmaw.de> <20120731162908.GJ1496@jibsheet.com> <20120801173109.GF5270@gunboat-diplomat.oucs.ox.ac.uk> <94109FE3-E41C-409A-9D29-81F186953C3E@zmaw.de> <20120802151035.GC3579@gunboat-diplomat.oucs.ox.ac.uk> Message-ID: <04282D04-2CA5-48B8-BD67-E86992F9CDB8@zmaw.de> > I should possibly have included more information when pointing at message > aimed originally at people familiar with the Debian package development > cycle. There's no 2.4.4 package targetted at Debian stable; I was after > feedback on the Debian packages in our git repository[1]. > > > > Can you clarify how you installed RTFM 2.4.4 (and how you had previously > installed 2.4.2)? It's useful feedback in any case. Well, I simply purged the RTFM 2.4.2 package (which was installed through the Debian package system) and installed 2.4.4 from the tarball. Worked without problems. I am not familiar with the git repository but I can have a look at it anyway. Cheers, Gunnar From vadud3 at gmail.com Thu Aug 2 14:44:25 2012 From: vadud3 at gmail.com (Asif Iqbal) Date: Thu, 2 Aug 2012 14:44:25 -0400 Subject: [rt-users] how to change email address for all existing users of domain foo.com from userA@foo.com to userA@bar.com? Message-ID: How do I can change the foo.com to bar.com for every users email address in RT ? foo.com is invalid and need to be replaced by bar.com to avoid error like this [Thu Aug 2 17:44:27 2012] [info]: RT::Authen::ExternalAuth::CanonicalizeUserInfo returning Comments: Autocreated on ticket submission, Disabled: , EmailAddress: John.Doe at bar.com, Name: exmend6, Password: , Privileged: , RealName: John Doe (/opt/rt3/local/plugins/RT-Authen-ExternalAuth/lib/RT/Authen/ExternalAuth.pm:651) [Thu Aug 2 17:44:27 2012] [crit]: User creation failed in mailgateway: Name in use (/opt/rt3/bin/../lib/RT/Interface/Email.pm:244) [Thu Aug 2 17:44:28 2012] [warning]: Couldn't load user 'John.Doe at bar.com'.giving up (/opt/rt3/bin/../lib/RT/Interface/Email.pm:806) [Thu Aug 2 17:44:28 2012] [crit]: User 'John.Doe at bar.com' could not be loaded in the mail gateway (/opt/rt3/bin/../lib/RT/Interface/Email.pm:244) [Thu Aug 2 17:44:28 2012] [error]: RT could not load a valid user, and RT's configuration does not allow for the creation of a new user for this email (John.Doe at bar.com). You might need to grant 'Everyone' the right 'CreateTicket' for the queue Help. (/opt/rt3/bin/../lib/RT/Interface/Email.pm:244) <== this is already in place! [Thu Aug 2 17:44:28 2012] [error]: RT could not load a valid user, and RT's configuration does not allow for the creation of a new user for your email. (/opt/rt3/bin/../lib/RT/Interface/Email.pm:244) [Thu Aug 2 17:44:28 2012] [error]: Could not record email: Could not load a valid user (/opt/rt3/share/html/REST/1.0/NoAuth/mail-gateway:75) I had a suggestion from ktm at rice.edu to patch local/lib/RT/User_Local.pm to allow foo.com as well. However since there should not be any foo.com (compnay is bought and moved to bar.com) I think I like to attempt to just change the email address since it works fine when I do it manually for a user. I just want to do it for all foo.com users through script or database? Thanks -- Asif Iqbal PGP Key: 0xE62693C5 KeyServer: pgp.mit.edu A: Because it messes up the order in which people normally read text. Q: Why is top-posting such a bad thing? From svigano at squaw.com Thu Aug 2 14:48:18 2012 From: svigano at squaw.com (Steffan Vigano) Date: Thu, 2 Aug 2012 11:48:18 -0700 Subject: [rt-users] Queue rename issues In-Reply-To: <5019CD0E.2020400@bestpractical.com> References: <6766D993A346444F87BD3082923C4698C1521E@OLYLADY.squawnet.com> <5019CD0E.2020400@bestpractical.com> Message-ID: <6766D993A346444F87BD3082923C4698C152FD@OLYLADY.squawnet.com> > The cache is per-session, so any affected user should logout and login again to clear their session. That did the trick. Thanks for the quick reply. Thanks -S From drey111 at gmail.com Thu Aug 2 19:32:42 2012 From: drey111 at gmail.com (Joe Harris) Date: Thu, 2 Aug 2012 19:32:42 -0400 Subject: [rt-users] Character rendering in tickets Message-ID: I'm sure there is a setting somewhere for this, but we have been getting strange characters in emails. For instance if someone send an email with the word "don't" it shows up as "don???t". This is probably something simple so forgive me if it's something easy to figure out. I haven't really done any research yet and though someone may have a quick answer for me to save some time. Thanks!! Joe Sent from my mobile device. From falcone at bestpractical.com Thu Aug 2 21:34:51 2012 From: falcone at bestpractical.com (Kevin Falcone) Date: Thu, 2 Aug 2012 21:34:51 -0400 Subject: [rt-users] Extracting an article In-Reply-To: <0BDD3503-A6E9-4A1C-B943-828D6B109634@zmaw.de> References: <0BDD3503-A6E9-4A1C-B943-828D6B109634@zmaw.de> Message-ID: <20120803013451.GQ1496@jibsheet.com> On Thu, Aug 02, 2012 at 01:48:41PM +0200, Gunnar Gorges wrote: > Hi Martin, > > since you are talking about RTFM for RT 4.0.x I am not sure my comment applies since I only have experience with RTFM and RT 3.8.8? It might help if you posted your versions anyway. > > However: > I encountered the same problem some time ago until I was told that classes should match your actual queues (e.g. queue-names). That did the trick for me. Classes don't need to match your Queue names. In fact, on 4.0, you can apply Classes globally or per-queue regardless of the name. My guess is you were using the hack we had in 3.8 which mapped articles in a Topic to queues named the same as the Topic (this is no longer required in 4.0 because you can just assign the Class properly). > Of course you also need to asign at least now custom-field to that class (classes -> basics -> "include custom field X"). I'm guessing this is his problem. It's covered earlier in articles_introduction.pod -kevin > > > Hello, > > > > When i tried to extract an article and get to the page where I should choose which field or transaction to use for the article, there?s only ??? a dash within the dropdown menu. > > Have I missed something? > > > > I followed the docs from docs/customizing/articles_introduction.pod > > ?You can extract the body of a ticket into an article. Within RT, you > > should now see an "Extract to article" button in the upper right hand > > corner of RT's UI when working with tickets. When you click that > > button, RT will ask you which Class to create your new article in. > > Once you click on a class name, the Ticket's transactions will be > > displayed, along with a set of select boxes. For each transaction, you > > can pick which Custom Field that transaction should be extracted to.? -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 195 bytes Desc: not available URL: From shrivallabh.deshmukh at sungard.com Fri Aug 3 05:23:35 2012 From: shrivallabh.deshmukh at sungard.com (Shrivallabh Deshmukh) Date: Fri, 3 Aug 2012 14:53:35 +0530 Subject: [rt-users] Unable to use NotifyGroup with rt-crontool Message-ID: Folks, I am unable to use the rt-crontool with NotifyGroup action This is what I am running /opt/rt4/bin/rt-crontool --search RT::Search::ActiveTicketsInQueue --search-arg QueueName --condition RT::Condition::Overdue --action RT::Action::NotifyGroup --action-arg GroupName And this is the error I get [Fri Aug 3 09:03:43 2012] [critical]: Can't call method "CreatorObj" on an undefined value at /opt/rt4/bin/../lib/RT/Action/NotifyGroup.pm line 87. (/opt/rt4/bin/../lib/RT.pm:341) This is the function that is failing sub SetRecipients { my $self = shift; my $arg = $self->Argument; foreach( $self->__SplitArg( $arg ) ) { $self->_HandleArgument( $_ ); } my $creatorObj = $self->TransactionObj->CreatorObj; my $creator = $creatorObj->EmailAddress(); my $TransactionCurrentUser = RT::CurrentUser->new; $TransactionCurrentUser->LoadByName($creatorObj->Name); unless (RT->Config->Get('NotifyActor',$TransactionCurrentUser)) { @{ $self->{'To'} } = grep ( !/^\Q$creator\E$/, @{ $self->{'To'} } ); } $self->{'seen_ueas'} = {}; return 1; } And the line that is failing is my $creatorObj = $self->TransactionObj->CreatorObj; I checked to see that the group is getting loaded correctly. But it is not able to get hold of a transactionObk it seems like. That makes sense since there is no transaction that has occured. Rather this is a cronjob which is triggering the action. -------------- next part -------------- An HTML attachment was scrubbed... URL: From jzabolotnyi at arces.net Fri Aug 3 06:25:52 2012 From: jzabolotnyi at arces.net (Jack Zabolotnyi) Date: Fri, 3 Aug 2012 12:25:52 +0200 Subject: [rt-users] Unable to use NotifyGroup with rt-crontool In-Reply-To: References: Message-ID: i also had same issue some time ago and solved it like this: $CRONTOOL --search RT::Search::ActiveTicketsInQueue --search-arg $QUEUE --condition RT::Condition::UnownedTicket --condition-arg $PERIOD --action RT::Action::Notify --action-arg $EMAIL --transaction first --template $TEMPLATE Notify and notifyGroup seems to work similar. i had an alias on mail server for specific group, so it was acceptable for me to send one message to this alias. but key thing is to use --transaction [first | last | all] to show what transaction you want to process. On Fri, Aug 3, 2012 at 11:23 AM, Shrivallabh Deshmukh < shrivallabh.deshmukh at sungard.com> wrote: > Folks, > > I am unable to use the rt-crontool with NotifyGroup action > > This is what I am running > > /opt/rt4/bin/rt-crontool --search RT::Search::ActiveTicketsInQueue > --search-arg QueueName --condition RT::Condition::Overdue --action > RT::Action::NotifyGroup --action-arg GroupName > > > And this is the error I get > > [Fri Aug 3 09:03:43 2012] [critical]: Can't call method "CreatorObj" on > an undefined value at /opt/rt4/bin/../lib/RT/Action/NotifyGroup.pm line 87. > (/opt/rt4/bin/../lib/RT.pm:341) > > This is the function that is failing > > sub SetRecipients { > my $self = shift; > > my $arg = $self->Argument; > foreach( $self->__SplitArg( $arg ) ) { > $self->_HandleArgument( $_ ); > } > > my $creatorObj = $self->TransactionObj->CreatorObj; > my $creator = $creatorObj->EmailAddress(); > > my $TransactionCurrentUser = RT::CurrentUser->new; > $TransactionCurrentUser->LoadByName($creatorObj->Name); > > unless (RT->Config->Get('NotifyActor',$TransactionCurrentUser)) { > @{ $self->{'To'} } = grep ( !/^\Q$creator\E$/, @{ $self->{'To'} } > ); > } > > $self->{'seen_ueas'} = {}; > > return 1; > } > > And the line that is failing is my $creatorObj = > $self->TransactionObj->CreatorObj; > > > I checked to see that the group is getting loaded correctly. But it is not > able to get hold of a transactionObk it seems like. > > That makes sense since there is no transaction that has occured. Rather > this is a cronjob which is triggering the action. > > > > > -- Jack Zabolotnyi Arces Network, LLC e: jzabolotnyi at arces.net w: http://www.arces.net PGP key: 2048R/7F2AB658 2012-07-02 PGP fingerprint: 4C7E 00A8 5210 F3D9 0509 C70E 87C8 666E 7F2A B658 -------------- next part -------------- An HTML attachment was scrubbed... URL: From alexander.reintzsch at netsystem.de Fri Aug 3 07:12:48 2012 From: alexander.reintzsch at netsystem.de (Alexander Reintzsch) Date: Fri, 3 Aug 2012 13:12:48 +0200 Subject: [rt-users] Missing icon In-Reply-To: References: Message-ID: <501BB230.6030906@netsystem.de> Am 31.07.2012 18:15, schrieb Jose M Vidal: > Hi, > After installing JSGantt plugin (not sure if there's any relationship > though) there's something missing in the ticket's page > (//mydomain/rt/Ticket/Display.html?id=nn) > The link this icon is pointing is > //mydomain/rt/Helpers/Toggle/TicketBookmark?id=nn > If clicking in the missing icon, a stared icon appears, as shown in > the screenshot. > If I click again into the yellow star, it simply dissapears. > Any clues? > Thanks! > The problem is caused by the Mason-Handler. It doesn't bypass the icon file. I have faced the same problem a few days ago too. Check if there is an autohandler or dhandler file in local/html/NoAuth/images and test what happens when you remove them. I don't recall how I fixed it, but in the end I remove these files from there and it worked. Remember to restart your http-server after the change. The icon file, btw, is share/html/NoAuth/images/empty_star.gif -- Mit freundlichen Gr??en/ Sincerely yours Alexander Reinzsch IT-software engineer NetSystem Netzwerk- und Systemtechnik GmbH From o.nash at cs.ucc.ie Fri Aug 3 10:49:13 2012 From: o.nash at cs.ucc.ie (o.nash at cs.ucc.ie) Date: Fri, 3 Aug 2012 15:49:13 +0100 (IST) Subject: [rt-users] fresh install of RT-4.0.6 which JSON to use In-Reply-To: References: Message-ID: To answer my own question. It looks like by taking the default 'Y' to the CPAN prompt:- > Do you want to install JSON::XS?(Y/n) [Y] that both JSON modules were installed. JSON -- 2.53 JSON::XS -- 2.33 -- On Thu, 2 Aug 2012, o.nash at cs.ucc.ie wrote: > Hi all, > I am building a new install of RT-4.0.6 > while going through the perl modules needed I get a choice when selecting a > version of JSON. > here is the message from the command perl -MCPAN -e 'install JSON' > > CPAN.pm: Going to build M/MA/MAKAMAKA/JSON-2.53.tar.gz > > Welcome to JSON (v.2.53) > ============================= > If you install JSON::XS v.2.27, it makes JSON faster. > > ************************** CAUTION ************************** > * This is 'JSON version 2' and there are many differences * > * to version 1.xx * > * Please check your applications useing old version. * > * See to 'INCOMPATIBLE CHANGES TO OLD VERSION' and 'TIPS' * > ************************************************************* > > > Do you want to install JSON::XS?(Y/n) [Y] > > ----------------------------------------- > My question is should I take the new version JSON::XS > as offered? > > -- > Oliver Nash > CSSG Computer Science UCC > ------------------------- > -- Oliver Nash CSSG Computer Science UCC ------------------------- From falcone at bestpractical.com Fri Aug 3 10:54:58 2012 From: falcone at bestpractical.com (Kevin Falcone) Date: Fri, 3 Aug 2012 10:54:58 -0400 Subject: [rt-users] default format of quick search In-Reply-To: <689A1933F8EE7743BC101464DD9F3F0403C899B876@MBX30.exg5.exghost.com> References: <689A1933F8EE7743BC101464DD9F3F0403C899B876@MBX30.exg5.exghost.com> Message-ID: <20120803145458.GR1496@jibsheet.com> On Thu, Aug 02, 2012 at 11:20:31AM -0500, Josh Hopkins wrote: > Is there somewhere to change the default format of the quick search for all users? Do you mean the Simple Search in the upper right corner of RT which you could change with the DefaultSearchResultFormat config option or do you mean the Queue/ticket listing on the homepage? You'd need to tell us about what you want to change. -kevin -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 195 bytes Desc: not available URL: From jmvidalvia at gmail.com Fri Aug 3 12:34:09 2012 From: jmvidalvia at gmail.com (Jose M Vidal) Date: Fri, 3 Aug 2012 18:34:09 +0200 Subject: [rt-users] Missing icon In-Reply-To: <501BB230.6030906@netsystem.de> References: <501BB230.6030906@netsystem.de> Message-ID: Quite strange: I removed autohandler file, restarted apache2, and the problem still happened. Then restored autohandler file again, and now the problem looks solved. Can't understand the reason, but... Thank you very much. From trs at bestpractical.com Fri Aug 3 12:47:22 2012 From: trs at bestpractical.com (Thomas Sibley) Date: Fri, 03 Aug 2012 09:47:22 -0700 Subject: [rt-users] Unable to use NotifyGroup with rt-crontool In-Reply-To: References: Message-ID: <501C009A.5050207@bestpractical.com> On 08/03/2012 02:23 AM, Shrivallabh Deshmukh wrote: > I checked to see that the group is getting loaded correctly. But it is > not able to get hold of a transactionObk it seems like. > > That makes sense since there is no transaction that has occured. Rather > this is a cronjob which is triggering the action. Some actions and conditions require a transaction. See `perldoc bin/rt-crontool` for how to specify one. From josh at prorivertech.com Fri Aug 3 14:37:07 2012 From: josh at prorivertech.com (Josh Hopkins) Date: Fri, 3 Aug 2012 13:37:07 -0500 Subject: [rt-users] default format of quick search In-Reply-To: <20120803145458.GR1496@jibsheet.com> References: <689A1933F8EE7743BC101464DD9F3F0403C899B876@MBX30.exg5.exghost.com> <20120803145458.GR1496@jibsheet.com> Message-ID: <689A1933F8EE7743BC101464DD9F3F0403C8A54FFF@MBX30.exg5.exghost.com> From: rt-users-bounces at lists.bestpractical.com [mailto:rt-users-bounces at lists.bestpractical.com] On Behalf Of Kevin Falcone Sent: Friday, August 03, 2012 8:55 AM To: rt-users at lists.bestpractical.com Subject: Re: [rt-users] default format of quick search On Thu, Aug 02, 2012 at 11:20:31AM -0500, Josh Hopkins wrote: > Is there somewhere to change the default format of the quick search for all users? Do you mean the Simple Search in the upper right corner of RT which you could change with the DefaultSearchResultFormat config option or do you mean the Queue/ticket listing on the homepage? You'd need to tell us about what you want to change. -kevin -----End--Original--Message----- I am using RT 4.06. I did find a few ways to edit the build in searches by trying to edit them and then clicking on the link above that would say something like edit original search "search name". But I am mostly trying to change the look of the results that come back from the quick search widget that is located on the right by default. Where do I find the DefaultSearchResultsFormat config option? What are are trying to have would be something like? ' __id__/TITLE:#', '__CustomField.{ClientOrganization}__', '__Status__', '__Subject__/TITLE:Subject', '__QueueName__', '__TimeWorked__', '__LastUpdatedBy__', '__NEWLINE__', '', '__Requestors__', '__OwnerName__', '__NBSP__', '__CreatedRelative__', '__CustomField.{TimeWorkedOverride}__', '__LastUpdatedRelative__' Does the DefaultSearchResultsFormat config options also contain the default sort options? Is there also a way to remove user customizations that have been made to the formatting to see the new formatting? Thanks, /Josh From ruslan.zakirov at gmail.com Sat Aug 4 09:29:49 2012 From: ruslan.zakirov at gmail.com (Ruslan Zakirov) Date: Sat, 4 Aug 2012 17:29:49 +0400 Subject: [rt-users] fresh install of RT-4.0.6 which JSON to use In-Reply-To: References: Message-ID: Json module uses faster version automatically if it's installed. RT is not a heavy user of the module, so difference is minimal. Version 2.x of the module is ok. You dont need older version. Ruslan from phone. 03.08.2012 18:49 ???????????? ???????: > To answer my own question. > It looks like by taking the default 'Y' > to the CPAN prompt:- > >> Do you want to install JSON::XS?(Y/n) [Y] >> > > that both JSON modules were installed. > JSON -- 2.53 > JSON::XS -- 2.33 > > -- > > On Thu, 2 Aug 2012, o.nash at cs.ucc.ie wrote: > > Hi all, >> I am building a new install of RT-4.0.6 >> while going through the perl modules needed I get a choice when selecting >> a version of JSON. >> here is the message from the command perl -MCPAN -e 'install JSON' >> >> CPAN.pm: Going to build M/MA/MAKAMAKA/JSON-2.53.tar.gz >> >> Welcome to JSON (v.2.53) >> ============================= >> If you install JSON::XS v.2.27, it makes JSON faster. >> >> ************************** CAUTION ************************** >> * This is 'JSON version 2' and there are many differences * >> * to version 1.xx * >> * Please check your applications useing old version. * >> * See to 'INCOMPATIBLE CHANGES TO OLD VERSION' and 'TIPS' * >> ***************************************************************** >> >> >> Do you want to install JSON::XS?(Y/n) [Y] >> >> ------------------------------**----------- >> My question is should I take the new version JSON::XS >> as offered? >> >> -- >> Oliver Nash >> CSSG Computer Science UCC >> ------------------------- >> >> > -- > Oliver Nash > CSSG Computer Science UCC > ------------------------- > -------------- next part -------------- An HTML attachment was scrubbed... URL: From AlexYoung at HousingPartners.co.uk Sun Aug 5 05:24:13 2012 From: AlexYoung at HousingPartners.co.uk (Alex Young) Date: Sun, 5 Aug 2012 10:24:13 +0100 Subject: [rt-users] Adding additional WHOIS searches to RT - Nominet In-Reply-To: <20120731161811.GF1496@jibsheet.com> References: <930F3731A784414087B33E439A55563415F0B7@s-wor-e-001.SCOUTSOFFICE.local><930F3731A784414087B33E439A5556342CCB23@s-wor-e-001.SCOUTSOFFICE.local> <20120731161811.GF1496@jibsheet.com> Message-ID: <930F3731A784414087B33E439A5556343DA97F@s-wor-e-001.SCOUTSOFFICE.local> Hi Kevin, I'm using RT 4.0.5 and RTIR 3.0.0rc1. Shouldn't it pick the override up from the RT_SiteConfig.pm file? I looked at the RTIR_Config.pm file and it isn't named any different. Thanks. -----Original Message----- From: rt-users-bounces at lists.bestpractical.com [mailto:rt-users-bounces at lists.bestpractical.com] On Behalf Of Kevin Falcone Sent: 31 July 2012 17:18 To: rt-users at lists.bestpractical.com Subject: Re: [rt-users] Adding additional WHOIS searches to RT - Nominet On Mon, Jul 23, 2012 at 10:56:59AM +0100, Alex Young wrote: > My RT_SiteConfig.pm: > > Set($whois, { > 6 => { > Host=> "whois.nic.uk", > FriendlyName => "Nominet", > }, > 1 => { > Host=> "whois.iana.org", > FriendlyName => "IANA", > }, > 5 => { > Host=> "whois.ripe.net", > FriendlyName => "RIPE", > }, > 2 => { > Host=> "whois.internic.net", > FriendlyName => "INTERNIC", > }, > 3 => { > Host=> "whois.arin.net", > FriendlyName => "ARIN", > }, > } ); > > The system configuration page is showing the above items under site config. > > It is also showing as RTIR Core config, but without my additional whois server. When it says "RTIR Core config" that means that RT is choosing the settings from RTIR_Config.pm rather than your override in RT_SiteConfig.pm. This is why it doesn't know to run against your preferred server. I don't think you mentioned your RT/RTIR versions which makes it hard to point at the relevant line in the README about the config values. -kevin > > -----Original Message----- > From: ruslan.zakirov at gmail.com [mailto:ruslan.zakirov at gmail.com] On > Behalf Of Ruslan Zakirov > Sent: 25 June 2012 23:13 > To: Alex Young > Cc: rt-users at lists.bestpractical.com > Subject: Re: [rt-users] Adding additional WHOIS searches to RT - > Nominet > > On Mon, Jun 25, 2012 at 8:35 PM, Alex Young wrote: > > Is it possible to add additional WHOIS server providers into RT/RTIR? > > > > None of the included ones will resolve .uk domains, and as most of > > our domains we deal with are .uk it's not ?hugely useful. > > > > Nominet is the ccTLD for .uk domains and they run a normal whois > > service on port 43. Tried just adding new address and details within > > the RTIR config, but it doesn't seem to work. > > > > Any ideas how to get this working with their WHOIS server? > > It should work just fine with regular whois servers. How does config look like? Have you checked system configuration page make sure config changes are active? From reg.bestpractical at posterus.com Mon Aug 6 09:36:58 2012 From: reg.bestpractical at posterus.com (Maciej Dobrzanski) Date: Mon, 6 Aug 2012 15:36:58 +0200 Subject: [rt-users] Privileges for Article CFs Message-ID: <003201cd73d8$8d632e70$a8298b50$@bestpractical@posterus.com> Hi, My RT installation uses several groups where each group only has access to a limited set of queues that they need to see. Now I am creating several classes of articles, one per queue, to implement a simple Q&A and message templates. But in order to use articles, I have to define their content structure through custom fields. The problem I am trying to figure out are access privileges. For example: There are groups G1 and G2. CF1 is a custom field with read/write access from both G1 and G2. G1 has access to Q1 which has article class AC1. CF1 is applied to AC1. G2 has access to Q2 which has article class AC2. CF1 is also applied to AC2. With such configuration, is there any way G1 could access CF1 values that belong to articles from AC2? G1 has access to see or change CF1 values after all. Should I rather create CF2, with access only from G2, and use it for AC2 instead? Best, Maciek From kamber.dalal at verizon.com Tue Aug 7 12:14:50 2012 From: kamber.dalal at verizon.com (Dalal, Kamber Z) Date: Tue, 7 Aug 2012 12:14:50 -0400 Subject: [rt-users] Redundancy for RT4 server Message-ID: <7C3070F471BFF44C8967FEE9CCF0B185B3F2CBD7@FHDP1LUMXC7V42.us.one.verizon.com> Hello, We have RT4 instance running with an external MySQL database. We would like to bring up a second RT server with similar configuration and using the same RT_SiteConfig.pm, going to the same MySQL database. This is for redundancy only and not for load balancing. I would like to know if this would have an adverse effect on the database or not when both systems are running simutaneously. Kamber Dalal -------------- next part -------------- A non-text attachment was scrubbed... Name: winmail.dat Type: application/ms-tnef Size: 3986 bytes Desc: not available URL: From delgado at molbio.mgh.harvard.edu Tue Aug 7 15:25:26 2012 From: delgado at molbio.mgh.harvard.edu (Jonathan Delgado) Date: Tue, 7 Aug 2012 15:25:26 -0400 Subject: [rt-users] Extracting selectable Custom Field values via REST Message-ID: <937ADE2E-62FF-4E9C-A2C1-1031FB3A25BD@molbio.mgh.harvard.edu> Hi, Is there a way, using the REST interface, to get a list of the acceptable values for a custom field that is of the "Select one value" type? My goal is to do some simple reporting outside of the RT system, where someone can select a particular queue and then pull down from that queue a list of the selectable values for a particular custom field and get some simple search results back. Using the REST API would certainly be easiest for me if it was doable. If this isn't possible, I would guess I am limited to the Perl API. Are there some good starting points and sample code to look at for someone who is well versed in Perl but new to the RT API? -Jonathan From keri at bestpractical.com Tue Aug 7 16:43:54 2012 From: keri at bestpractical.com (Keri) Date: Tue, 7 Aug 2012 16:43:54 -0400 Subject: [rt-users] [rt-announce] RT Training in Atlanta, GA - October 23rd & 24th, 2012 Message-ID: Best Practical Solutions provides unparalleled instruction in how to get the most out of RT. Our next and final training for 2012 will be held in Atlanta, GA October 23rd and 24th. As we like to keep class sizes relatively intimate, register soon or we may not be able to guarantee you a seat. This training will introduce you to the new features in RT4 as part of a comprehensive overview of RT. Whether you're an old hand at RT or a recent convert, you'll have a good understanding of all of RT's features and functionality by the end of the session. The first day starts off with a tour of RT's web interface and continues with a detailed exploration and explanation of RT's functionality, aimed at non-programmer RT administrators. We'll walk through setting up a common helpdesk configuration, from rights management, constructing workflows and notifications, and the basics of Lifecycles. The second day of training picks up with server-side RT administration and dives into what you need to safely customize and extend RT. We'll cover upgrading and deploying RT, database tuning, advanced Lifecycle configurations, writing tools with RT's API, building an extension, and demonstrate how to extensibly alter the web UI and internal functions. It goes without saying that you'll get the most out of training if you attend both days of the course, but we've designed the material so that you can step out after the first day with a dramatically improved understanding of how to use RT or show up on the second day and get quickly up to speed on how to make RT do your bidding. Pricing and Payment The cost of the class includes training materials, a continental breakfast and an afternoon snack. Please note that lunch will not be provided. Single Day - USD 995 Both Days - USD 1495 (25% savings) To Register If you'd like to pay with Visa, MasterCard or Discover, please visit Best Practical's online store at https://shop.bestpractical.com. Unfortunately we are unable to accept American Express or PayPal. If you'd prefer to pay with a purchase order, please email us a training at bestpractical.com. Be sure to include: If you want to attend both days or a single day Full names and email addresses of attendees Please also contact us at training at bestpractical.com for discounted pricing if you are from an academic institution or if you'd like to send more than 3 people. _______________________________________________ rt-announce mailing list rt-announce at lists.bestpractical.com http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-announce From falcone at bestpractical.com Tue Aug 7 18:26:53 2012 From: falcone at bestpractical.com (Kevin Falcone) Date: Tue, 7 Aug 2012 18:26:53 -0400 Subject: [rt-users] Character rendering in tickets In-Reply-To: References: Message-ID: <20120807222653.GS1496@jibsheet.com> On Thu, Aug 02, 2012 at 07:32:42PM -0400, Joe Harris wrote: > I'm sure there is a setting somewhere for this, but we have been getting strange characters in emails. For instance if someone send an email with the word "don't" it shows up as "don???t". > > This is probably something simple so forgive me if it's something easy to figure out. I haven't really done any research yet and though someone may have a quick answer for me to save some time. This sounds like someone's mailclient is sending in a bad Content-Type for the actual content. You'd need to provide a raw email that shows the problem. -kevin -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 195 bytes Desc: not available URL: From falcone at bestpractical.com Tue Aug 7 18:29:50 2012 From: falcone at bestpractical.com (Kevin Falcone) Date: Tue, 7 Aug 2012 18:29:50 -0400 Subject: [rt-users] default format of quick search In-Reply-To: <689A1933F8EE7743BC101464DD9F3F0403C8A54FFF@MBX30.exg5.exghost.com> References: <689A1933F8EE7743BC101464DD9F3F0403C899B876@MBX30.exg5.exghost.com> <20120803145458.GR1496@jibsheet.com> <689A1933F8EE7743BC101464DD9F3F0403C8A54FFF@MBX30.exg5.exghost.com> Message-ID: <20120807222950.GT1496@jibsheet.com> On Fri, Aug 03, 2012 at 01:37:07PM -0500, Josh Hopkins wrote: > On Thu, Aug 02, 2012 at 11:20:31AM -0500, Josh Hopkins wrote: > > > Is there somewhere to change the default format of the quick search for all users? > > >Do you mean the Simple Search in the upper right corner of RT which > >you could change with the DefaultSearchResultFormat config option or > >do you mean the Queue/ticket listing on the homepage? You'd need to > >tell us about what you want to change. > > -----End--Original--Message----- > > I am using RT 4.06. I did find a few ways to edit the build in > searches by trying to edit them and then clicking on the link above > that would say something like edit original search "search name". But > I am mostly trying to change the look of the results that come back > from the quick search widget that is located on the right by default. > Where do I find the DefaultSearchResultsFormat config option? DefaultSearchResultsFormat is defined and documents in RT_Config.pm, you make local modifications to it in RT_SiteConfig.pm. You can easily add the format below to it. It will affect the default for all new searches. Clearing user formats would require database level cleanups, and unfortunately DefaultSearchResultsFormat does not affect the sorting. > What are are trying to have would be something like? > > ' __id__/TITLE:#', > '__CustomField.{ClientOrganization}__', > '__Status__', > '__Subject__/TITLE:Subject', > '__QueueName__', > '__TimeWorked__', > '__LastUpdatedBy__', > '__NEWLINE__', > '', > '__Requestors__', > '__OwnerName__', > '__NBSP__', > '__CreatedRelative__', > '__CustomField.{TimeWorkedOverride}__', > '__LastUpdatedRelative__' > > Does the DefaultSearchResultsFormat config options also contain the default sort options? Is there also a way to remove user customizations that have been made to the formatting to see the new formatting? Thanks, -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 195 bytes Desc: not available URL: From falcone at bestpractical.com Tue Aug 7 18:37:29 2012 From: falcone at bestpractical.com (Kevin Falcone) Date: Tue, 7 Aug 2012 18:37:29 -0400 Subject: [rt-users] Adding additional WHOIS searches to RT - Nominet In-Reply-To: <930F3731A784414087B33E439A5556343DA97F@s-wor-e-001.SCOUTSOFFICE.local> References: <930F3731A784414087B33E439A55563415F0B7@s-wor-e-001.SCOUTSOFFICE.local> <930F3731A784414087B33E439A5556342CCB23@s-wor-e-001.SCOUTSOFFICE.local> <20120731161811.GF1496@jibsheet.com> <930F3731A784414087B33E439A5556343DA97F@s-wor-e-001.SCOUTSOFFICE.local> Message-ID: <20120807223729.GU1496@jibsheet.com> On Sun, Aug 05, 2012 at 10:24:13AM +0100, Alex Young wrote: > Hi Kevin, > I'm using RT 4.0.5 and RTIR 3.0.0rc1. > > Shouldn't it pick the override up from the RT_SiteConfig.pm file? I looked at the RTIR_Config.pm file and it isn't named any different. Trying creating an /opt/rt4/etc/RTIR_SiteConfig.pm file and seeing if that picks up the change. If so, it points to some weird "order of loading" thing. There may also be a warning in your logs during startup about it. -kevin > -----Original Message----- > From: rt-users-bounces at lists.bestpractical.com [mailto:rt-users-bounces at lists.bestpractical.com] On Behalf Of Kevin Falcone > Sent: 31 July 2012 17:18 > To: rt-users at lists.bestpractical.com > Subject: Re: [rt-users] Adding additional WHOIS searches to RT - Nominet > > On Mon, Jul 23, 2012 at 10:56:59AM +0100, Alex Young wrote: > > My RT_SiteConfig.pm: > > > > Set($whois, { > > 6 => { > > Host=> "whois.nic.uk", > > FriendlyName => "Nominet", > > }, > > 1 => { > > Host=> "whois.iana.org", > > FriendlyName => "IANA", > > }, > > 5 => { > > Host=> "whois.ripe.net", > > FriendlyName => "RIPE", > > }, > > 2 => { > > Host=> "whois.internic.net", > > FriendlyName => "INTERNIC", > > }, > > 3 => { > > Host=> "whois.arin.net", > > FriendlyName => "ARIN", > > }, > > } ); > > > > The system configuration page is showing the above items under site config. > > > > It is also showing as RTIR Core config, but without my additional whois server. > > When it says "RTIR Core config" that means that RT is choosing the settings from RTIR_Config.pm rather than your override in RT_SiteConfig.pm. This is why it doesn't know to run against your preferred server. > > I don't think you mentioned your RT/RTIR versions which makes it hard to point at the relevant line in the README about the config values. > > -kevin > > > > > -----Original Message----- > > From: ruslan.zakirov at gmail.com [mailto:ruslan.zakirov at gmail.com] On > > Behalf Of Ruslan Zakirov > > Sent: 25 June 2012 23:13 > > To: Alex Young > > Cc: rt-users at lists.bestpractical.com > > Subject: Re: [rt-users] Adding additional WHOIS searches to RT - > > Nominet > > > > On Mon, Jun 25, 2012 at 8:35 PM, Alex Young wrote: > > > Is it possible to add additional WHOIS server providers into RT/RTIR? > > > > > > None of the included ones will resolve .uk domains, and as most of > > > our domains we deal with are .uk it's not ?hugely useful. > > > > > > Nominet is the ccTLD for .uk domains and they run a normal whois > > > service on port 43. Tried just adding new address and details within > > > the RTIR config, but it doesn't seem to work. > > > > > > Any ideas how to get this working with their WHOIS server? > > > > It should work just fine with regular whois servers. How does config look like? Have you checked system configuration page make sure config changes are active? -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 195 bytes Desc: not available URL: From leon at berkers.nu Wed Aug 8 02:31:58 2012 From: leon at berkers.nu (Leon Berkers) Date: Wed, 08 Aug 2012 08:31:58 +0200 Subject: [rt-users] Mail with attachement bounces Message-ID: <502207DE.8060704@berkers.nu> Hi, After an upgrade from RT 3.8.7 to RT 4.0.6 on Centos Linux host 2.6.18-164.11.1.el5.centos.plus #1 SMP Wed Jan 20 18:49:35 EST 2010 x86_64 x86_64 x86_64 GNU/Linux Emails with an attachment are not accepted anymore The mail comes back with "Permission Denied" above the text. I put RT in debug mode but I can not get much further with this info: [Mon Aug 6 11:13:19 2012] [debug]: RT's GnuPG libraries couldn't successfully read your configured GnuPG home directory (/opt/rt4/var/data/gpg). PGP support has been disabled (/opt/rt4/sbin/../lib/RT/Config.pm:595) [Mon Aug 6 11:13:19 2012] [debug]: Encode::Guess guessed encoding: ascii (/opt/rt4/sbin/../lib/RT/I18N.pm:467) [Mon Aug 6 11:13:19 2012] [debug]: Encode::Guess guessed encoding: ascii (/opt/rt4/sbin/../lib/RT/I18N.pm:467) [Mon Aug 6 11:13:19 2012] [debug]: Encode::Guess guessed encoding: ascii (/opt/rt4/sbin/../lib/RT/I18N.pm:467) [Mon Aug 6 11:13:19 2012] [debug]: Encode::Guess guessed encoding: ascii (/opt/rt4/sbin/../lib/RT/I18N.pm:467) [Mon Aug 6 11:13:19 2012] [debug]: Encode::Guess guessed encoding: ascii (/opt/rt4/sbin/../lib/RT/I18N.pm:467) [Mon Aug 6 11:13:19 2012] [debug]: Encode::Guess guessed encoding: ascii (/opt/rt4/sbin/../lib/RT/I18N.pm:467) [Mon Aug 6 11:13:19 2012] [debug]: Found a ticket ID. It's 399869 (/opt/rt4/sbin/../lib/RT/Interface/Email.pm:1231) [Mon Aug 6 11:13:19 2012] [debug]: Mail from user #1220714 (xxxxxxx at gmail.com) (/opt/rt4/sbin/../lib/RT/Interface/Email/Auth/MailFrom.pm:79) [Mon Aug 6 11:13:20 2012] [crit]: Permission Denied (/opt/rt4/sbin/../lib/RT/Interface/Email.pm:245) [Mon Aug 6 11:13:20 2012] [error]: Could not record email: Message not recorded: Permission Denied (/opt/rt4/share/html/REST/1.0/NoAuth/mail-gateway:75) Anybody know what this can be ? Chmod/chown a directory somewhere ? Which one ? Thanks for input Leon -------------- next part -------------- An HTML attachment was scrubbed... URL: From shrivallabh.deshmukh at sungard.com Wed Aug 8 03:55:08 2012 From: shrivallabh.deshmukh at sungard.com (Shrivallabh Deshmukh) Date: Wed, 8 Aug 2012 13:25:08 +0530 Subject: [rt-users] How to configure the default view of unprivileged users Message-ID: Hi All, How do I change the view of unprivileged users? 1. We need to have a home link at the top. 2. We need to have a basic search mechanism where the user can search his or her own tickets on the basis of subject,etc. SO we would like to have a quick search widget. 3. We need have the quick create widget on the home page. Regards, Shrivallabh -------------- next part -------------- An HTML attachment was scrubbed... URL: From labuz.marcin at gmail.com Wed Aug 8 04:09:42 2012 From: labuz.marcin at gmail.com (=?UTF-8?Q?Marcin_=C5=81abuz?=) Date: Wed, 8 Aug 2012 10:09:42 +0200 Subject: [rt-users] wrong date/time (export) Message-ID: Hi there, I have weird problem with my RT (4.0.4) - when I'm trying to use export option to CSV/XML file, my timezone is not taken into account. I was looking for answer for many hours with no success. My actual settings: at RT: Set($Timezone, "Europe/Warsaw"); at SERWER: root at hathor:~# cat /etc/timezone Europe/Warsaw I believe this sets are correct. However, for some reason my(user's) RT is ignoring them and puts incorrect (GMT) timezone value into CSV/XLS files. When searched for the solution throughout forums I saw many users had the same type of problem, unfortunately none of them found the right answer to this issue. I'm having difficulties in finding the cause therefore, any assistance would be helpful. I? m waiting for leads. Regards, Martin From AlexYoung at HousingPartners.co.uk Wed Aug 8 06:33:12 2012 From: AlexYoung at HousingPartners.co.uk (Alex Young) Date: Wed, 8 Aug 2012 11:33:12 +0100 Subject: [rt-users] Adding additional WHOIS searches to RT - Nominet In-Reply-To: <20120807223729.GU1496@jibsheet.com> References: <930F3731A784414087B33E439A55563415F0B7@s-wor-e-001.SCOUTSOFFICE.local><930F3731A784414087B33E439A5556342CCB23@s-wor-e-001.SCOUTSOFFICE.local><20120731161811.GF1496@jibsheet.com><930F3731A784414087B33E439A5556343DA97F@s-wor-e-001.SCOUTSOFFICE.local> <20120807223729.GU1496@jibsheet.com> Message-ID: <930F3731A784414087B33E439A5556343DAE78@s-wor-e-001.SCOUTSOFFICE.local> I created the RTIR_SiteConfig.pm file and tried again with no luck. There is no warning on startup about WHOIS in the apache error.log . In /var/log/apache2/error.log I do see the following: [Wed Aug 8 10:26:37 2012] [warning]: _options: parsed query string: google.co.uk at /opt/rt4/local/plugins/RT-IR/lib/RT/IR.pm line 463 (/usr/share/perl/5.10/Carp.pm:46) [Wed Aug 8 10:26:47 2012] [warning]: disconnecting from whois.nic.uk at /usr/share/perl5/Net/Whois/RIPE/Iterator.pm line 63 (/usr/share/perl/5.10/Carp.pm:46) [Wed Aug 8 10:26:47 2012] [warning]: Destroying Net::Whois::RIPE at /usr/local/share/perl/5.10.1/HTML/Mason/Component.pm line 135 (/usr/share/perl/5.10/Carp.pm:46) -----Original Message----- From: rt-users-bounces at lists.bestpractical.com [mailto:rt-users-bounces at lists.bestpractical.com] On Behalf Of Kevin Falcone Sent: 07 August 2012 23:37 To: rt-users at lists.bestpractical.com Subject: Re: [rt-users] Adding additional WHOIS searches to RT - Nominet On Sun, Aug 05, 2012 at 10:24:13AM +0100, Alex Young wrote: > Hi Kevin, > I'm using RT 4.0.5 and RTIR 3.0.0rc1. > > Shouldn't it pick the override up from the RT_SiteConfig.pm file? I looked at the RTIR_Config.pm file and it isn't named any different. Trying creating an /opt/rt4/etc/RTIR_SiteConfig.pm file and seeing if that picks up the change. If so, it points to some weird "order of loading" thing. There may also be a warning in your logs during startup about it. -kevin > -----Original Message----- > From: rt-users-bounces at lists.bestpractical.com > [mailto:rt-users-bounces at lists.bestpractical.com] On Behalf Of Kevin > Falcone > Sent: 31 July 2012 17:18 > To: rt-users at lists.bestpractical.com > Subject: Re: [rt-users] Adding additional WHOIS searches to RT - > Nominet > > On Mon, Jul 23, 2012 at 10:56:59AM +0100, Alex Young wrote: > > My RT_SiteConfig.pm: > > > > Set($whois, { > > 6 => { > > Host=> "whois.nic.uk", > > FriendlyName => "Nominet", > > }, > > 1 => { > > Host=> "whois.iana.org", > > FriendlyName => "IANA", > > }, > > 5 => { > > Host=> "whois.ripe.net", > > FriendlyName => "RIPE", > > }, > > 2 => { > > Host=> "whois.internic.net", > > FriendlyName => "INTERNIC", > > }, > > 3 => { > > Host=> "whois.arin.net", > > FriendlyName => "ARIN", > > }, > > } ); > > > > The system configuration page is showing the above items under site config. > > > > It is also showing as RTIR Core config, but without my additional whois server. > > When it says "RTIR Core config" that means that RT is choosing the settings from RTIR_Config.pm rather than your override in RT_SiteConfig.pm. This is why it doesn't know to run against your preferred server. > > I don't think you mentioned your RT/RTIR versions which makes it hard to point at the relevant line in the README about the config values. > > -kevin > > > > > -----Original Message----- > > From: ruslan.zakirov at gmail.com [mailto:ruslan.zakirov at gmail.com] On > > Behalf Of Ruslan Zakirov > > Sent: 25 June 2012 23:13 > > To: Alex Young > > Cc: rt-users at lists.bestpractical.com > > Subject: Re: [rt-users] Adding additional WHOIS searches to RT - > > Nominet > > > > On Mon, Jun 25, 2012 at 8:35 PM, Alex Young wrote: > > > Is it possible to add additional WHOIS server providers into RT/RTIR? > > > > > > None of the included ones will resolve .uk domains, and as most of > > > our domains we deal with are .uk it's not ?hugely useful. > > > > > > Nominet is the ccTLD for .uk domains and they run a normal whois > > > service on port 43. Tried just adding new address and details > > > within the RTIR config, but it doesn't seem to work. > > > > > > Any ideas how to get this working with their WHOIS server? > > > > It should work just fine with regular whois servers. How does config look like? Have you checked system configuration page make sure config changes are active? From afuentes at qindel.com Wed Aug 8 08:18:21 2012 From: afuentes at qindel.com (Alberto Fuentes) Date: Wed, 08 Aug 2012 14:18:21 +0200 Subject: [rt-users] RT obscuring /server-status and /server-info In-Reply-To: <502258BB.6050003@qindel.com> References: <502258BB.6050003@qindel.com> Message-ID: <5022590D.7000002@qindel.com> We use the Apache provided /server-status and /server-info for diagnostics, but our RT instance seems to be squashing them. We have rt installed to the root path so when /server-status and /server-info are called the mason handler tries to find them and fails. I tried to switch order in what is called without success I tried to set server status location to /server/server-status so it does not match / without luck either Has anyone else come across this and resolved it? From afuentes at qindel.com Wed Aug 8 08:40:18 2012 From: afuentes at qindel.com (Alberto Fuentes) Date: Wed, 08 Aug 2012 14:40:18 +0200 Subject: [rt-users] RT obscuring /server-status and /server-info In-Reply-To: <5022590D.7000002@qindel.com> References: <502258BB.6050003@qindel.com> <5022590D.7000002@qindel.com> Message-ID: <50225E32.2010308@qindel.com> On 08/08/2012 02:18 PM, Alberto Fuentes wrote: > We use the Apache provided /server-status and /server-info for > diagnostics, but our RT instance seems to be squashing them. We have rt > installed to the root path so when /server-status and /server-info are > called the mason handler tries to find them and fails. s/mason handler/modperl/ the problem is with an rt 4 instance :) From awinteck at gmail.com Wed Aug 8 09:44:53 2012 From: awinteck at gmail.com (Albert Winteck) Date: Wed, 8 Aug 2012 09:44:53 -0400 Subject: [rt-users] Weird issue with ExternalAuth and Ldap ( Have to login Twice every morning ) In-Reply-To: References: Message-ID: I am having this weird issue with ExternalAuth and Ldap and RT 4.0.6 and hopefully someone can help me out. FYI: I have no problems with the local users only the ldap users. 1. First RT 4.0.6 is working fine with no issues 2. Also I successfully installed the ExternalAuth plugin to enable LDAP authentication 3. Clear the session tables and my local cookies 4. Pull up RT and Try to authenticate 5. The first time i tried to authenticate i get a "Wrong Password" message (I entered the password right - all the time see log below) 6. I tried to authenticate again and it goes through in a blink of an eye 7. Now if i log out and log back in, the page spins for about a minutes and a half before letting me in. 8. Also when I log out, a ton of sessions ID are added to the session table. 9. If i clear the sessions table again but not clearing the local cookies, when i tried to log in this time the page spins for a bout a 2 minutes and i am able to log in with no problem. 10. There seem to be some kind of issues between the local cookies and the server sessions that i am not able isolate yet. *A synopsis of the log files:* I keep getting a ton of these entries in my log files: [Tue Aug 7 18:25:41 2012] [debug]: SSO Failed and no user to test with. Nexting (/opt/rt4/local/plugins/RT-Authen-ExternalAuth/lib/RT/Authen/ExternalAuth.pm:214) [Tue Aug 7 18:25:41 2012] [debug]: Attempting to use external auth service: My_SSO_Cookie (/opt/rt4/local/plugins/RT-Authen-ExternalAuth/lib/RT/Authen/ExternalAuth.pm:186) [Tue Aug 7 18:25:41 2012] [warning]: Use of uninitialized value in string eq at /opt/rt4/local/plugins/RT-Authen-ExternalAuth/lib/RT/Authen/ExternalAuth.pm line 196. (/opt/rt4/local/plugins/RT-Authen-ExternalAuth/lib/RT/Authen/ExternalAuth.pm:196) *complete log* ------------------ [Tue Aug 7 18:22:18 2012] [debug]: SSO Failed and no user to test with. Nexting (/opt/rt4/local/plugins/RT-Authen-ExternalAuth/lib/RT/Authen/ExternalAuth.pm:214) [Tue Aug 7 18:22:18 2012] [debug]: Autohandler called ExternalAuth. Response: (0, No User) (/opt/rt4/local/plugins/RT-Authen-ExternalAuth/html/Elements/DoAuth:11) [Tue Aug 7 18:22:25 2012] [debug]: Attempting to use external auth service: My_LDAP (/opt/rt4/local/plugins/RT-Authen-ExternalAuth/lib/RT/Authen/ExternalAuth.pm:186) [Tue Aug 7 18:22:25 2012] [debug]: Calling UserExists with $username (awinteck) and $service (My_LDAP) (/opt/rt4/local/plugins/RT-Authen-ExternalAuth/lib/RT/Authen/ExternalAuth.pm:227) [Tue Aug 7 18:22:25 2012] [debug]: UserExists params: username: awinteck , service: My_LDAP (/opt/rt4/local/plugins/RT-Authen-ExternalAuth/lib/RT/Authen/ExternalAuth/LDAP.pm:299) [Tue Aug 7 18:22:25 2012] [debug]: LDAP Search === Base: ou=people,dc=ad,dc=awinserver,dc=com == Filter: (&(objectClass=user)(sAMAccountName=awinteck)) == Attrs: displayName,userPrincipalName,sAMAccountName (/opt/rt4/local/plugins/RT-Authen-ExternalAuth/lib/RT/Authen/ExternalAuth/LDAP.pm:329) [Tue Aug 7 18:22:25 2012] [debug]: Password validation required for service - Executing... (/opt/rt4/local/plugins/RT-Authen-ExternalAuth/lib/RT/Authen/ExternalAuth.pm:277) [Tue Aug 7 18:22:25 2012] [debug]: Trying external auth service: My_LDAP (/opt/rt4/local/plugins/RT-Authen-ExternalAuth/lib/RT/Authen/ExternalAuth/LDAP.pm:16) *[Tue Aug 7 18:24:25 2012] [critical]: RT::Authen::ExternalAuth::LDAP::_GetBoundLdapObj : Cannot connect to ad.awinserver.com(/opt/rt4/local/plugins/RT-Authen-ExternalAuth/lib/RT/Authen/ExternalAuth/LDAP.pm:462) * [Tue Aug 7 18:24:25 2012] [debug]: LDAP password validation result: 0 (/opt/rt4/local/plugins/RT-Authen-ExternalAuth/lib/RT/Authen/ExternalAuth.pm:463) [Tue Aug 7 18:24:25 2012] [debug]: Password Validation Check Result: 0 (/opt/rt4/local/plugins/RT-Authen-ExternalAuth/lib/RT/Authen/ExternalAuth.pm:281) [Tue Aug 7 18:24:25 2012] [debug]: Attempting to use external auth service: My_SSO_Cookie (/opt/rt4/local/plugins/RT-Authen-ExternalAuth/lib/RT/Authen/ExternalAuth.pm:186) [Tue Aug 7 18:24:25 2012] [warning]: Use of uninitialized value in string eq at /opt/rt4/local/plugins/RT-Authen-ExternalAuth/lib/RT/Authen/ExternalAuth.pm line 196. (/opt/rt4/local/plugins/RT-Authen-ExternalAuth/lib/RT/Authen/ExternalAuth.pm:196) [Tue Aug 7 18:24:25 2012] [debug]: Calling UserExists with $username (awinteck) and $service (My_SSO_Cookie) (/opt/rt4/local/plugins/RT-Authen-ExternalAuth/lib/RT/Authen/ExternalAuth.pm:227) [Tue Aug 7 18:24:25 2012] [warning]: Use of uninitialized value in string eq at /opt/rt4/local/plugins/RT-Authen-ExternalAuth/lib/RT/Authen/ExternalAuth.pm line 485. (/opt/rt4/local/plugins/RT-Authen-ExternalAuth/lib/RT/Authen/ExternalAuth.pm:485) [Tue Aug 7 18:24:25 2012] [warning]: Use of uninitialized value in string eq at /opt/rt4/local/plugins/RT-Authen-ExternalAuth/lib/RT/Authen/ExternalAuth.pm line 487. (/opt/rt4/local/plugins/RT-Authen-ExternalAuth/lib/RT/Authen/ExternalAuth.pm:485) [Tue Aug 7 18:24:25 2012] [debug]: Invalid service type for UserExists: My_SSO_Cookie (/opt/rt4/local/plugins/RT-Authen-ExternalAuth/lib/RT/Authen/ExternalAuth.pm:490) [Tue Aug 7 18:24:25 2012] [debug]: Autohandler called ExternalAuth. Response: (0, Password Invalid) (/opt/rt4/local/plugins/RT-Authen-ExternalAuth/html/Elements/DoAuth:11) [Tue Aug 7 18:24:25 2012] [error]: FAILED LOGIN for awinteck from 145.22.158.201(/opt/rt4/sbin/../lib/RT/Interface/Web.pm:685) [Tue Aug 7 18:24:31 2012] [debug]: Attempting to use external auth service: My_LDAP (/opt/rt4/local/plugins/RT-Authen-ExternalAuth/lib/RT/Authen/ExternalAuth.pm:186) [Tue Aug 7 18:24:31 2012] [debug]: Calling UserExists with $username (awinteck) and $service (My_LDAP) (/opt/rt4/local/plugins/RT-Authen-ExternalAuth/lib/RT/Authen/ExternalAuth.pm:227) [Tue Aug 7 18:24:31 2012] [debug]: UserExists params: username: awinteck , service: My_LDAP (/opt/rt4/local/plugins/RT-Authen-ExternalAuth/lib/RT/Authen/ExternalAuth/LDAP.pm:299) [Tue Aug 7 18:24:31 2012] [debug]: LDAP Search === Base: ou=people,dc=ad,dc=awinserver,dc=com == Filter: (&(objectClass=user)(sAMAccountName=awinteck)) == Attrs: displayName,userPrincipalName,sAMAccountName (/opt/rt4/local/plugins/RT-Authen-ExternalAuth/lib/RT/Authen/ExternalAuth/LDAP.pm:329) [Tue Aug 7 18:24:31 2012] [debug]: Password validation required for service - Executing... (/opt/rt4/local/plugins/RT-Authen-ExternalAuth/lib/RT/Authen/ExternalAuth.pm:277) [Tue Aug 7 18:24:31 2012] [debug]: Trying external auth service: My_LDAP (/opt/rt4/local/plugins/RT-Authen-ExternalAuth/lib/RT/Authen/ExternalAuth/LDAP.pm:16) [Tue Aug 7 18:24:31 2012] [debug]: LDAP Search === Base: ou=people,dc=ad,dc=awinserver,dc=com == Filter: (&(sAMAccountName=awinteck)(objectClass=user)) == Attrs: dn (/opt/rt4/local/plugins/RT-Authen-ExternalAuth/lib/RT/Authen/ExternalAuth/LDAP.pm:48) [Tue Aug 7 18:24:31 2012] [debug]: Found LDAP DN: CN=awinteck,OU=EMPLOYEE,OU=PEOPLE,DC=ad,DC=awinserver,DC=com (/opt/rt4/local/plugins/RT-Authen-ExternalAuth/lib/RT/Authen/ExternalAuth/LDAP.pm:82) *[Tue Aug 7 18:24:31 2012] [info]: RT::Authen::ExternalAuth::LDAP::GetAuth External Auth OK ( My_LDAP ): awinteck (/opt/rt4/local/plugins/RT-Authen-ExternalAuth/lib/RT/Authen/ExternalAuth/LDAP.pm:161) * [Tue Aug 7 18:24:31 2012] [debug]: LDAP password validation result: 1 (/opt/rt4/local/plugins/RT-Authen-ExternalAuth/lib/RT/Authen/ExternalAuth.pm:463) [Tue Aug 7 18:24:31 2012] [debug]: Password Validation Check Result: 1 (/opt/rt4/local/plugins/RT-Authen-ExternalAuth/lib/RT/Authen/ExternalAuth.pm:281) [Tue Aug 7 18:24:31 2012] [debug]: Authentication successful. Now updating user information and attempting login. (/opt/rt4/local/plugins/RT-Authen-ExternalAuth/lib/RT/Authen/ExternalAuth.pm:301) [Tue Aug 7 18:24:31 2012] [debug]: UserExists params: username: awinteck , service: My_LDAP (/opt/rt4/local/plugins/RT-Authen-ExternalAuth/lib/RT/Authen/ExternalAuth/LDAP.pm:299) [Tue Aug 7 18:24:31 2012] [debug]: LDAP Search === Base: ou=people,dc=ad,dc=awinserver,dc=com == Filter: (&(objectClass=user)(sAMAccountName=awinteck)) == Attrs: displayName,userPrincipalName,sAMAccountName (/opt/rt4/local/plugins/RT-Authen-ExternalAuth/lib/RT/Authen/ExternalAuth/LDAP.pm:329) [Tue Aug 7 18:24:31 2012] [debug]: UserExists params: username: awinteck , service: My_LDAP (/opt/rt4/local/plugins/RT-Authen-ExternalAuth/lib/RT/Authen/ExternalAuth/LDAP.pm:299) [Tue Aug 7 18:24:31 2012] [debug]: LDAP Search === Base: ou=people,dc=ad,dc=awinserver,dc=com == Filter: (&(objectClass=user)(sAMAccountName=awinteck)) == Attrs: displayName,userPrincipalName,sAMAccountName (/opt/rt4/local/plugins/RT-Authen-ExternalAuth/lib/RT/Authen/ExternalAuth/LDAP.pm:329) [Tue Aug 7 18:24:31 2012] [warning]: Use of uninitialized value $d_filter in string eq at /opt/rt4/local/plugins/RT-Authen-ExternalAuth/lib/RT/Authen/ExternalAuth/LDAP.pm line 385. (/opt/rt4/local/plugins/RT-Authen-ExternalAuth/lib/RT/Authen/ExternalAuth/LDAP.pm:385) [Tue Aug 7 18:24:31 2012] [debug]: No d_filter specified for this LDAP service ( My_LDAP ), so considering all users enabled (/opt/rt4/local/plugins/RT-Authen-ExternalAuth/lib/RT/Authen/ExternalAuth/LDAP.pm:389) [Tue Aug 7 18:24:31 2012] [debug]: RT::Authen::ExternalAuth::CanonicalizeUserInfo called by RT::Authen::ExternalAuth /opt/rt4/local/plugins/RT-Authen-ExternalAuth/lib/RT/Authen/ExternalAuth.pm 682 with: Name: awinteck (/opt/rt4/local/plugins/RT-Authen-ExternalAuth/lib/RT/Authen/ExternalAuth.pm:579) [Tue Aug 7 18:24:31 2012] [debug]: Attempting to get user info using this external service: My_LDAP (/opt/rt4/local/plugins/RT-Authen-ExternalAuth/lib/RT/Authen/ExternalAuth.pm:587) [Tue Aug 7 18:24:31 2012] [debug]: Attempting to use this canonicalization key: Name (/opt/rt4/local/plugins/RT-Authen-ExternalAuth/lib/RT/Authen/ExternalAuth.pm:601) [Tue Aug 7 18:24:31 2012] [debug]: LDAP Search === Base: ou=people,dc=ad,dc=awinserver,dc=com == Filter: (&(objectClass=user)(sAMAccountName=awinteck)) == Attrs: displayName,userPrincipalName,sAMAccountName (/opt/rt4/local/plugins/RT-Authen-ExternalAuth/lib/RT/Authen/ExternalAuth/LDAP.pm:217) [Tue Aug 7 18:24:31 2012] [info]: RT::Authen::ExternalAuth::CanonicalizeUserInfo returning EmailAddress: awinteck at awinserver.com, Name: awinteck, RealName: Albert Winteck(/opt/rt4/local/plugins/RT-Authen-ExternalAuth/lib/RT/Authen/ExternalAuth.pm:665) [Tue Aug 7 18:24:31 2012] [debug]: UPDATED user ( awinteck ) from External Service (/opt/rt4/local/plugins/RT-Authen-ExternalAuth/lib/RT/Authen/ExternalAuth.pm:436) [Tue Aug 7 18:24:31 2012] [info]: Successful login for awinteck from 145.22.158.201(/opt/rt4/local/plugins/RT-Authen-ExternalAuth/lib/RT/Authen/ExternalAuth.pm:341) [Tue Aug 7 18:24:31 2012] [debug]: Autohandler called ExternalAuth. Response: (1, Successful login) (/opt/rt4/local/plugins/RT-Authen-ExternalAuth/html/Elements/DoAuth:11) [Tue Aug 7 18:25:41 2012] [debug]: Attempting to use external auth service: My_LDAP (/opt/rt4/local/plugins/RT-Authen-ExternalAuth/lib/RT/Authen/ExternalAuth.pm:186) [Tue Aug 7 18:25:41 2012] [debug]: SSO Failed and no user to test with. Nexting (/opt/rt4/local/plugins/RT-Authen-ExternalAuth/lib/RT/Authen/ExternalAuth.pm:214) [Tue Aug 7 18:25:41 2012] [debug]: Attempting to use external auth service: My_SSO_Cookie (/opt/rt4/local/plugins/RT-Authen-ExternalAuth/lib/RT/Authen/ExternalAuth.pm:186) [Tue Aug 7 18:25:41 2012] [warning]: Use of uninitialized value in string eq at /opt/rt4/local/plugins/RT-Authen-ExternalAuth/lib/RT/Authen/ExternalAuth.pm line 196. (/opt/rt4/local/plugins/RT-Authen-ExternalAuth/lib/RT/Authen/ExternalAuth.pm:196) -------------- next part -------------- An HTML attachment was scrubbed... URL: From falcone at bestpractical.com Wed Aug 8 10:26:45 2012 From: falcone at bestpractical.com (Kevin Falcone) Date: Wed, 8 Aug 2012 10:26:45 -0400 Subject: [rt-users] Extracting selectable Custom Field values via REST In-Reply-To: <937ADE2E-62FF-4E9C-A2C1-1031FB3A25BD@molbio.mgh.harvard.edu> References: <937ADE2E-62FF-4E9C-A2C1-1031FB3A25BD@molbio.mgh.harvard.edu> Message-ID: <20120808142645.GV1496@jibsheet.com> On Tue, Aug 07, 2012 at 03:25:26PM -0400, Jonathan Delgado wrote: > Is there a way, using the REST interface, to get a list of the acceptable values for a custom field that is of the "Select one value" type? I'm not aware of one. > My goal is to do some simple reporting outside of the RT system, where > someone can select a particular queue and then pull down from that > queue a list of the selectable values for a particular custom field > and get some simple search results back. Using the REST API would > certainly be easiest for me if it was doable. > > If this isn't possible, I would guess I am limited to the Perl API. > Are there some good starting points and sample code to look at for > someone who is well versed in Perl but new to the RT API? You want to load your CustomField object and call the Values method on it. You can look at what the EditCustomFieldSelect mason component does (although there's a lot of noise around it because of the various pieces of JS involved). -kevin -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 195 bytes Desc: not available URL: From falcone at bestpractical.com Wed Aug 8 10:29:10 2012 From: falcone at bestpractical.com (Kevin Falcone) Date: Wed, 8 Aug 2012 10:29:10 -0400 Subject: [rt-users] Mail with attachement bounces In-Reply-To: <502207DE.8060704@berkers.nu> References: <502207DE.8060704@berkers.nu> Message-ID: <20120808142910.GW1496@jibsheet.com> On Wed, Aug 08, 2012 at 08:31:58AM +0200, Leon Berkers wrote: > After an upgrade from RT 3.8.7 to RT 4.0.6 on > Centos Linux host 2.6.18-164.11.1.el5.centos.plus #1 SMP Wed Jan 20 18:49:35 EST 2010 x86_64 > x86_64 x86_64 GNU/Linux > > Emails with an attachment are not accepted anymore > The mail comes back with "Permission Denied" above the text. Check that the user involved has ReplyToTicket permissions on ticket 399869. Your mail implies that if this user emails in without an attachment it works? -kevin > I put RT in debug mode but I can not get much further with this info: > > [Mon Aug 6 11:13:19 2012] [debug]: RT's GnuPG libraries couldn't successfully read your > configured GnuPG home directory (/opt/rt4/var/data/gpg). PGP support has been disabled > (/opt/rt4/sbin/../lib/RT/Config.pm:595) > [Mon Aug 6 11:13:19 2012] [debug]: Encode::Guess guessed encoding: ascii > (/opt/rt4/sbin/../lib/RT/I18N.pm:467) > [Mon Aug 6 11:13:19 2012] [debug]: Encode::Guess guessed encoding: ascii > (/opt/rt4/sbin/../lib/RT/I18N.pm:467) > [Mon Aug 6 11:13:19 2012] [debug]: Encode::Guess guessed encoding: ascii > (/opt/rt4/sbin/../lib/RT/I18N.pm:467) > [Mon Aug 6 11:13:19 2012] [debug]: Encode::Guess guessed encoding: ascii > (/opt/rt4/sbin/../lib/RT/I18N.pm:467) > [Mon Aug 6 11:13:19 2012] [debug]: Encode::Guess guessed encoding: ascii > (/opt/rt4/sbin/../lib/RT/I18N.pm:467) > [Mon Aug 6 11:13:19 2012] [debug]: Encode::Guess guessed encoding: ascii > (/opt/rt4/sbin/../lib/RT/I18N.pm:467) > [Mon Aug 6 11:13:19 2012] [debug]: Found a ticket ID. It's 399869 > (/opt/rt4/sbin/../lib/RT/Interface/Email.pm:1231) > [Mon Aug 6 11:13:19 2012] [debug]: Mail from user #1220714 ([1]xxxxxxx at gmail.com) > (/opt/rt4/sbin/../lib/RT/Interface/Email/Auth/MailFrom.pm:79) > [Mon Aug 6 11:13:20 2012] [crit]: Permission Denied > (/opt/rt4/sbin/../lib/RT/Interface/Email.pm:245) > [Mon Aug 6 11:13:20 2012] [error]: Could not record email: Message not recorded: Permission > Denied (/opt/rt4/share/html/REST/1.0/NoAuth/mail-gateway:75) -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 195 bytes Desc: not available URL: From falcone at bestpractical.com Wed Aug 8 10:32:55 2012 From: falcone at bestpractical.com (Kevin Falcone) Date: Wed, 8 Aug 2012 10:32:55 -0400 Subject: [rt-users] How to configure the default view of unprivileged users In-Reply-To: References: Message-ID: <20120808143255.GX1496@jibsheet.com> On Wed, Aug 08, 2012 at 01:25:08PM +0530, Shrivallabh Deshmukh wrote: > 1. We need to have a home link at the top. The "Tickets" dropdown menu is clickable and takes you back to the SelfService homepage. > 2. We need to have a basic search mechanism where the user can search his or her own tickets > on the basis of subject,etc. SO we would like to have a quick search widget. > 3. We need have the quick create widget on the home page. These would both require development, you probably want to start reading: http://requesttracker.wikia.com/wiki/Customizing particularly the part about callbacks. -kevin -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 195 bytes Desc: not available URL: From falcone at bestpractical.com Wed Aug 8 10:37:16 2012 From: falcone at bestpractical.com (Kevin Falcone) Date: Wed, 8 Aug 2012 10:37:16 -0400 Subject: [rt-users] wrong date/time (export) In-Reply-To: References: Message-ID: <20120808143716.GY1496@jibsheet.com> On Wed, Aug 08, 2012 at 10:09:42AM +0200, Marcin ?abuz wrote: > I have weird problem with my RT (4.0.4) - when I'm trying to use > export option to CSV/XML file, my timezone is not taken into account. > I was looking for answer for many hours with no success. The spreadsheet link for me provides Created dates in the same timezone (eastern) that my RT is configured for. Are you using some extension? In 3.8, there were bugs around this, but 4.0's builtin spreadsheet export should account for the user's timezone. -kevin > My actual settings: > > at RT: > Set($Timezone, "Europe/Warsaw"); > > at SERWER: > root at hathor:~# cat /etc/timezone > Europe/Warsaw > > I believe this sets are correct. However, for some reason my(user's) > RT is ignoring them and puts incorrect (GMT) timezone value into > CSV/XLS files. > > When searched for the solution throughout forums I saw many users had > the same type of problem, unfortunately none of them found the right > answer to this issue. > I'm having difficulties in finding the cause therefore, any assistance > would be helpful. -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 195 bytes Desc: not available URL: From falcone at bestpractical.com Wed Aug 8 10:45:57 2012 From: falcone at bestpractical.com (Kevin Falcone) Date: Wed, 8 Aug 2012 10:45:57 -0400 Subject: [rt-users] Adding additional WHOIS searches to RT - Nominet In-Reply-To: <930F3731A784414087B33E439A5556343DAE78@s-wor-e-001.SCOUTSOFFICE.local> References: <930F3731A784414087B33E439A55563415F0B7@s-wor-e-001.SCOUTSOFFICE.local> <930F3731A784414087B33E439A5556342CCB23@s-wor-e-001.SCOUTSOFFICE.local> <20120731161811.GF1496@jibsheet.com> <930F3731A784414087B33E439A5556343DA97F@s-wor-e-001.SCOUTSOFFICE.local> <20120807223729.GU1496@jibsheet.com> <930F3731A784414087B33E439A5556343DAE78@s-wor-e-001.SCOUTSOFFICE.local> Message-ID: <20120808144557.GZ1496@jibsheet.com> On Wed, Aug 08, 2012 at 11:33:12AM +0100, Alex Young wrote: > I created the RTIR_SiteConfig.pm file and tried again with no luck. Is $whois is showing up properly under System Configuration? It should read RTIR Site Config. Also, check for the messages about loading during startup. You may want to turn your RT logs up to debug. -kevin > There is no warning on startup about WHOIS in the apache error.log . > > In /var/log/apache2/error.log I do see the following: > > [Wed Aug 8 10:26:37 2012] [warning]: _options: parsed query string: google.co.uk at /opt/rt4/local/plugins/RT-IR/lib/RT/IR.pm line 463 (/usr/share/perl/5.10/Carp.pm:46) > [Wed Aug 8 10:26:47 2012] [warning]: disconnecting from whois.nic.uk at /usr/share/perl5/Net/Whois/RIPE/Iterator.pm line 63 (/usr/share/perl/5.10/Carp.pm:46) > [Wed Aug 8 10:26:47 2012] [warning]: Destroying Net::Whois::RIPE at /usr/local/share/perl/5.10.1/HTML/Mason/Component.pm line 135 (/usr/share/perl/5.10/Carp.pm:46) > -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 195 bytes Desc: not available URL: From aaron.techgeeks at gmail.com Wed Aug 8 10:56:50 2012 From: aaron.techgeeks at gmail.com (Aaron Zuercher) Date: Wed, 8 Aug 2012 09:56:50 -0500 Subject: [rt-users] queue disabled but still getting tickets Message-ID: I have disabled one of my queues to prevent new ticket submission but new tickets are still showing up. How to I stop this? I don't want to remove the queue because I want to reopen it in a month. I disabled it by going to TOOLS > CONFIG > QUEUES and unchecking enabled box. Thanks, Aaron -------------- next part -------------- An HTML attachment was scrubbed... URL: From trs at bestpractical.com Wed Aug 8 12:44:17 2012 From: trs at bestpractical.com (Thomas Sibley) Date: Wed, 08 Aug 2012 09:44:17 -0700 Subject: [rt-users] RT obscuring /server-status and /server-info In-Reply-To: <5022590D.7000002@qindel.com> References: <502258BB.6050003@qindel.com> <5022590D.7000002@qindel.com> Message-ID: <50229761.5020304@bestpractical.com> On 08/08/2012 05:18 AM, Alberto Fuentes wrote: > We use the Apache provided /server-status and /server-info for > diagnostics, but our RT instance seems to be squashing them. We have rt > installed to the root path so when /server-status and /server-info are > called the mason handler tries to find them and fails. > > I tried to switch order in what is called without success > > I tried to set server status location to /server/server-status so it > does not match / without luck either > > Has anyone else come across this and resolved it? The cleanest way to accomplish this is to put RT in a virtual host that isn't bound to localhost and then let the main apache server bind to localhost and serve the status pages. From labuz.marcin at gmail.com Wed Aug 8 13:09:25 2012 From: labuz.marcin at gmail.com (=?UTF-8?Q?Marcin_=C5=81abuz?=) Date: Wed, 8 Aug 2012 19:09:25 +0200 Subject: [rt-users] wrong date/time (export) In-Reply-To: <20120808143716.GY1496@jibsheet.com> References: <20120808143716.GY1496@jibsheet.com> Message-ID: Hi Kevin, We're using this extensions: Set(@Plugins,(qw(RTx::Calendar RT::Extension::ExtractCustomFieldValues RT::Extension::SLA RT::Extension::ActivityReports RT::Extension::JSGantt))); Regards, Martin From al.scotto at reply.it Wed Aug 8 18:21:05 2012 From: al.scotto at reply.it (Scotto Alberto) Date: Wed, 8 Aug 2012 22:21:05 +0000 Subject: [rt-users] R: queue disabled but still getting tickets In-Reply-To: References: Message-ID: I think you should also set the permissions at the queue level accordingly. Alberto Scotto [Blue] Via Cardinal Massaia, 83 10147 - Torino - ITALY phone: +39 011 29100 al.scotto at reply.it www.reply.it ________________________________ Da: rt-users-bounces at lists.bestpractical.com [rt-users-bounces at lists.bestpractical.com] per conto di Aaron Zuercher [aaron.techgeeks at gmail.com] Inviato: mercoled? 8 agosto 2012 16.56 A: RT Users Oggetto: [rt-users] queue disabled but still getting tickets I have disabled one of my queues to prevent new ticket submission but new tickets are still showing up. How to I stop this? I don't want to remove the queue because I want to reopen it in a month. I disabled it by going to TOOLS > CONFIG > QUEUES and unchecking enabled box. Thanks, Aaron ________________________________ -- The information transmitted is intended for the person or entity to which it is addressed and may contain confidential and/or privileged material. Any review, retransmission, dissemination or other use of, or taking of any action in reliance upon, this information by persons or entities other than the intended recipient is prohibited. If you received this in error, please contact the sender and delete the material from any computer. -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: blue.png Type: image/png Size: 2834 bytes Desc: blue.png URL: From robin at redpoint.org.uk Wed Aug 8 22:13:23 2012 From: robin at redpoint.org.uk (Robin Szemeti) Date: Thu, 09 Aug 2012 03:13:23 +0100 Subject: [rt-users] From address set to "Apache" Message-ID: <50231CC3.4020006@redpoint.org.uk> I'm running RT4 and postfix on Centos, mauils are coming into queues fine, but I have an issue with the "From" address, despite setting comment and correspond addresses in my queues, the mails are appearing as from Apache reply-to is set correctly in the mails, but the From address is being set as the process owner ... I'm using sendmailpipe as the delivery, standard Centos install with postfix/ssmtp Any clues? -- Best regards, Robin Szemeti Redpoint Consulting Limited E: robin at redpoint.org.uk T: +44 (0) 1299 405028 M: +44 (0) 7971 883371 CONFIDENTIALITY NOTICE The information contained in this e-mail is intended only for the confidential use of the above named recipient. If you are not the intended recipient or person responsible for delivering it to the intended recipient, you have received this communication in error and must not distribute or copy it. Please accept the sender's apologies, notify the sender immediately by return e-mail and delete this communication. Thank you. From lyka.delgado at smileschat.com Thu Aug 9 01:33:49 2012 From: lyka.delgado at smileschat.com (Lyka Delgado) Date: Thu, 9 Aug 2012 13:33:49 +0800 Subject: [rt-users] Wikitext Formatting Issues In-Reply-To: <20120808134155.GJ1122@jibsheet.com> References: <20120808134155.GJ1122@jibsheet.com> Message-ID: HI, We just started using RT in saving our company information and I was assigned to put all of our information into Articles. We want the articles to look decent so I used the wikitext box for our customfield in our articles. I found your wikia for rt, but the RTFM part does not give complete info of the different formats. Sure you have the basic ones there like bold, italics and underline but for listing items, it doesnt really work. Ive also used the listing options in Help:Wikitext Examples, even if there was already a warning that "Note that formatting rules in this full Wiki are NOT the same as the wikitext custom field in RTFM." but it was not applicable. We are trying to achieve this: 1. Item 1 2. Item 2 a.sub-item a b.sub-item b or 1.Item 1 * sub item1 * sub-item 2 *sub item of sub item2 *sub item of sub-item2 Do you guys have a comprehensive list of applicable wikitext? If you do, can I have a look? Thanks, lyka -------------- next part -------------- An HTML attachment was scrubbed... URL: From wolfram.huettermann at desy.de Thu Aug 9 03:13:43 2012 From: wolfram.huettermann at desy.de (Wolfram Huettermann) Date: Thu, 09 Aug 2012 09:13:43 +0200 Subject: [rt-users] Thanks for the invitation, I must refuse it In-Reply-To: References: Message-ID: <50236327.3050603@desy.de> On 08/08/12 16:29, rt-users-request at lists.bestpractical.com wrote: > > ------------------------------ > > Message: 3 > Date: Tue, 7 Aug 2012 16:43:54 -0400 > From: Keri > To: rt-announce at lists.bestpractical.com > Subject: [rt-users] [rt-announce] RT Training in Atlanta, GA - October > 23rd& 24th, 2012 > Message-ID: > Content-Type: text/plain; charset="us-ascii" > > Best Practical Solutions provides unparalleled instruction in how to get the most out of RT. > > Our next and final training for 2012 will be held in Atlanta, GA October 23rd and 24th. As we like to keep class sizes relatively intimate, register soon or we may not be able to guarantee you a seat. > > This training will introduce you to the new features in RT4 as part of a comprehensive overview of RT. Whether you're an old hand at RT or a recent convert, you'll have a good understanding of all of RT's features and functionality by the end of the session. > > The first day starts off with a tour of RT's web interface and continues with a detailed exploration and explanation of RT's functionality, aimed at non-programmer RT administrators. We'll walk through setting up a common helpdesk configuration, from rights management, constructing workflows and notifications, and the basics of Lifecycles. > > The second day of training picks up with server-side RT administration and dives into what you need to safely customize and extend RT. We'll cover upgrading and deploying RT, database tuning, advanced Lifecycle configurations, writing tools with RT's API, building an extension, and demonstrate how to extensibly alter the web UI and internal functions. > > It goes without saying that you'll get the most out of training if you attend both days of the course, but we've designed the material so that you can step out after the first day with a dramatically improved understanding of how to use RT or show up on the second day and get quickly up to speed on how to make RT do your bidding. > > Pricing and Payment > > The cost of the class includes training materials, a continental breakfast and an afternoon snack. Please note that lunch will not be provided. > > Single Day - USD 995 > Both Days - USD 1495 (25% savings) > > To Register > > If you'd like to pay with Visa, MasterCard or Discover, please visit Best Practical's online store at https://shop.bestpractical.com. Unfortunately we are unable to accept American Express or PayPal. > > If you'd prefer to pay with a purchase order, please email us a training at bestpractical.com. Be sure to include: > > If you want to attend both days or a single day > Full names and email addresses of attendees > > Please also contact us at training at bestpractical.com for discounted pricing if you are from an academic institution or if you'd like to send more than 3 people. > _______________________________________________ > rt-announce mailing list > rt-announce at lists.bestpractical.com > http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-announce > Hello Keri, thanks for that invitation. If I were able to, I would come, really, that is no joke. But unfortunately, my financial situation does not allow me to join that meeting. Perhaps Bjoern Schulz will be able to come, so he will tell me how it was like. So I must refuse, I am sorry, Wolfram From gbuday at gmail.com Thu Aug 9 07:25:09 2012 From: gbuday at gmail.com (Gergely Buday) Date: Thu, 9 Aug 2012 13:25:09 +0200 Subject: [rt-users] putting a custom field in place Message-ID: Hi there, I would like to have a "select multiple values" type custom field in an extension of RT, The previous custom field works, it is about choosing languages, so the same type. I created a custom field following this working example. I set it to Global, following again the example. I put some new code into UserPrefs.html: UserPrefs.html:% my $UserWhenEmail = RT::CustomField->new($session{'CurrentUser'}); UserPrefs.html:% $UserWhenEmail->Load(107); where 107 is the id for this new custom field. Also I wrote <&|/l&>When to e-mail: <& /Elements/EditCustomField, %ARGS, Object => $UserObj, CustomField => $UserWhenEmail &> I cleared the cache and restarted apache but only the "When to e-mail" label appeared but not the multiple checkboxes. What else should I do to make it happen? I filled in the multiple possible options for the custom field. - Gergely From gbuday at gmail.com Thu Aug 9 12:01:33 2012 From: gbuday at gmail.com (Gergely Buday) Date: Thu, 9 Aug 2012 18:01:33 +0200 Subject: [rt-users] testing perl script in RT Message-ID: Hi there, how can I run a perl script through the RT environment so that I can use the database and all the modules, but see the compiler output on my faulty experiments? - Gergely From ptomblin at xcski.com Thu Aug 9 12:03:43 2012 From: ptomblin at xcski.com (Paul Tomblin) Date: Thu, 9 Aug 2012 12:03:43 -0400 Subject: [rt-users] testing perl script in RT In-Reply-To: References: Message-ID: On Thu, Aug 9, 2012 at 12:01 PM, Gergely Buday wrote: > Hi there, > > how can I run a perl script through the RT environment so that I can > use the database and all the modules, but see the compiler output on > my faulty experiments? > > - Gergely > use lib "/opt/rt4/lib"; use RT; That should be enough. -- 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 Aug 9 12:45:12 2012 From: trs at bestpractical.com (Thomas Sibley) Date: Thu, 09 Aug 2012 09:45:12 -0700 Subject: [rt-users] testing perl script in RT In-Reply-To: References: Message-ID: <5023E918.4080903@bestpractical.com> On 08/09/2012 09:03 AM, Paul Tomblin wrote: > use lib "/opt/rt4/lib"; > use RT; > > That should be enough. Don't forget: RT->Init; RT->LoadConfig; From trs at bestpractical.com Thu Aug 9 12:45:48 2012 From: trs at bestpractical.com (Thomas Sibley) Date: Thu, 09 Aug 2012 09:45:48 -0700 Subject: [rt-users] testing perl script in RT In-Reply-To: References: Message-ID: <5023E93C.5000507@bestpractical.com> On 08/09/2012 09:03 AM, Paul Tomblin wrote: > use lib "/opt/rt4/lib"; > use RT; > > That should be enough. Don't forget: use lib "/opt/rt4/local/lib"; and RT->Init; RT->LoadConfig; From ptomblin at xcski.com Thu Aug 9 14:28:08 2012 From: ptomblin at xcski.com (Paul Tomblin) Date: Thu, 9 Aug 2012 14:28:08 -0400 Subject: [rt-users] testing perl script in RT In-Reply-To: <5023E93C.5000507@bestpractical.com> References: <5023E93C.5000507@bestpractical.com> Message-ID: On Thu, Aug 9, 2012 at 12:45 PM, Thomas Sibley wrote: > and > > RT->Init; > RT->LoadConfig; > Looking at my unit test scripts, I seem to have RT::Init; RT::LoadConfig; There shouldn't be a difference, should there? -- 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 Aug 9 14:29:56 2012 From: trs at bestpractical.com (Thomas Sibley) Date: Thu, 09 Aug 2012 11:29:56 -0700 Subject: [rt-users] testing perl script in RT In-Reply-To: <5023E918.4080903@bestpractical.com> References: <5023E918.4080903@bestpractical.com> Message-ID: <502401A4.4020307@bestpractical.com> On 08/09/2012 09:45 AM, Thomas Sibley wrote: > On 08/09/2012 09:03 AM, Paul Tomblin wrote: >> use lib "/opt/rt4/lib"; >> use RT; >> >> That should be enough. > > Don't forget: > > RT->Init; > RT->LoadConfig; Sorry! These are in the wrong order. I shouldn't type before the espresso. RT->LoadConfig; RT->Init; From josh at prorivertech.com Thu Aug 9 16:20:26 2012 From: josh at prorivertech.com (Josh Hopkins) Date: Thu, 9 Aug 2012 15:20:26 -0500 Subject: [rt-users] HTML emails and attachments Message-ID: <689A1933F8EE7743BC101464DD9F3F0403C8AF8C61@MBX30.exg5.exghost.com> We have updated our templates to use HTML but have noticed that now users don't receive attachments when getting responses. I have tried adding the RT-Attach-Message: yes to the top of the template and then adding Content-Type:text/html a few lines below it but that just make the whole email come out in HTML code. Is there a way to have HTML emails work with attachments? -------------- next part -------------- An HTML attachment was scrubbed... URL: From wolfram.huettermann at desy.de Fri Aug 10 03:12:11 2012 From: wolfram.huettermann at desy.de (Wolfram Huettermann) Date: Fri, 10 Aug 2012 09:12:11 +0200 Subject: [rt-users] rt-users Digest, Vol 101, Issue 9 In-Reply-To: References: Message-ID: <5024B44B.6050209@desy.de> On 08/08/12 18:00, rt-users-request at lists.bestpractical.com wrote:------------------------------ Message: 4 Date: Wed, 8 Aug 2012 09:56:50 -0500 From: Aaron Zuercher To: RT Users Subject: [rt-users] queue disabled but still getting tickets Message-ID: Content-Type: text/plain; charset="iso-8859-1" I have disabled one of my queues to prevent new ticket submission but new tickets are still showing up. How to I stop this? I don't want to remove the queue because I want to reopen it in a month. I disabled it by going to TOOLS > CONFIG > QUEUES and unchecking enabled box. Thanks, Aaron -------------- next part -------------- An HTML attachment was scrubbed... URL: ------------------------------ -------- rt-users mailing list rt-users at lists.bestpractical.com http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users End of rt-users Digest, Vol 101, Issue 9 **************************************** Hello Aaron, how are the tickets being created? Otherwise I cannot help you, Greetings, Wolfram From mark at good-stuff.co.uk Fri Aug 10 10:22:52 2012 From: mark at good-stuff.co.uk (Mark Goodge) Date: Fri, 10 Aug 2012 15:22:52 +0100 Subject: [rt-users] Email notification of updates Message-ID: <5025193C.9000006@good-stuff.co.uk> This is possibly a FAQ, but my Google-fu is failing to find me the answer and RTFM isn't helping either, so I'm asking here.... :-) How do I configure RT to notify me by email when someone else updates a ticket that I own? Mark -- Sent from my Turing-Flowers Colossus http://mark.goodge.co.uk From ktm at rice.edu Fri Aug 10 10:32:10 2012 From: ktm at rice.edu (ktm at rice.edu) Date: Fri, 10 Aug 2012 09:32:10 -0500 Subject: [rt-users] Email notification of updates In-Reply-To: <5025193C.9000006@good-stuff.co.uk> References: <5025193C.9000006@good-stuff.co.uk> Message-ID: <20120810143210.GC27500@aart.rice.edu> On Fri, Aug 10, 2012 at 03:22:52PM +0100, Mark Goodge wrote: > This is possibly a FAQ, but my Google-fu is failing to find me the > answer and RTFM isn't helping either, so I'm asking here.... :-) > > How do I configure RT to notify me by email when someone else > updates a ticket that I own? > > Mark It does that in the default configuration that is shipped with the software. Cheers, Ken From mark at good-stuff.co.uk Fri Aug 10 10:44:23 2012 From: mark at good-stuff.co.uk (Mark Goodge) Date: Fri, 10 Aug 2012 15:44:23 +0100 Subject: [rt-users] Email notification of updates In-Reply-To: <20120810143210.GC27500@aart.rice.edu> References: <5025193C.9000006@good-stuff.co.uk> <20120810143210.GC27500@aart.rice.edu> Message-ID: <50251E47.1070705@good-stuff.co.uk> On 10/08/2012 15:32, ktm at rice.edu wrote: > On Fri, Aug 10, 2012 at 03:22:52PM +0100, Mark Goodge wrote: >> This is possibly a FAQ, but my Google-fu is failing to find me the >> answer and RTFM isn't helping either, so I'm asking here.... :-) >> >> How do I configure RT to notify me by email when someone else >> updates a ticket that I own? >> >> Mark > > It does that in the default configuration that is shipped with > the software. OK, then my question needs to be reworded: How do I re-enable it for individual users when it's disabled generally on a sitewide basis? Mark -- Sent from my Turing-Flowers Colossus http://mark.goodge.co.uk From ktm at rice.edu Fri Aug 10 11:23:42 2012 From: ktm at rice.edu (ktm at rice.edu) Date: Fri, 10 Aug 2012 10:23:42 -0500 Subject: [rt-users] Email notification of updates In-Reply-To: <50251E47.1070705@good-stuff.co.uk> References: <5025193C.9000006@good-stuff.co.uk> <20120810143210.GC27500@aart.rice.edu> <50251E47.1070705@good-stuff.co.uk> Message-ID: <20120810152342.GD27500@aart.rice.edu> On Fri, Aug 10, 2012 at 03:44:23PM +0100, Mark Goodge wrote: > On 10/08/2012 15:32, ktm at rice.edu wrote: > >On Fri, Aug 10, 2012 at 03:22:52PM +0100, Mark Goodge wrote: > >>This is possibly a FAQ, but my Google-fu is failing to find me the > >>answer and RTFM isn't helping either, so I'm asking here.... :-) > >> > >>How do I configure RT to notify me by email when someone else > >>updates a ticket that I own? > >> > >>Mark > > > >It does that in the default configuration that is shipped with > >the software. > > OK, then my question needs to be reworded: How do I re-enable it for > individual users when it's disabled generally on a sitewide basis? > > Mark Make a scrip based on the disabled Email change notification scrip to send it only when a particular Email/user is involved. Ken From mark at good-stuff.co.uk Fri Aug 10 11:31:55 2012 From: mark at good-stuff.co.uk (Mark Goodge) Date: Fri, 10 Aug 2012 16:31:55 +0100 Subject: [rt-users] Email notification of updates In-Reply-To: <20120810152342.GD27500@aart.rice.edu> References: <5025193C.9000006@good-stuff.co.uk> <20120810143210.GC27500@aart.rice.edu> <50251E47.1070705@good-stuff.co.uk> <20120810152342.GD27500@aart.rice.edu> Message-ID: <5025296B.7060505@good-stuff.co.uk> On 10/08/2012 16:23, ktm at rice.edu wrote: > On Fri, Aug 10, 2012 at 03:44:23PM +0100, Mark Goodge wrote: >> On 10/08/2012 15:32, ktm at rice.edu wrote: >>> On Fri, Aug 10, 2012 at 03:22:52PM +0100, Mark Goodge wrote: >>>> This is possibly a FAQ, but my Google-fu is failing to find me the >>>> answer and RTFM isn't helping either, so I'm asking here.... :-) >>>> >>>> How do I configure RT to notify me by email when someone else >>>> updates a ticket that I own? >>>> >>>> Mark >>> >>> It does that in the default configuration that is shipped with >>> the software. >> >> OK, then my question needs to be reworded: How do I re-enable it for >> individual users when it's disabled generally on a sitewide basis? >> >> Mark > > Make a scrip based on the disabled Email change notification > scrip to send it only when a particular Email/user is involved. That sounds like an awful lot of effort for something that I would expect to be configurable within the individual users' preferences! Mark -- Sent from my Turing-Flowers Colossus http://mark.goodge.co.uk From leon at berkers.nu Fri Aug 10 11:37:25 2012 From: leon at berkers.nu (Leon Berkers) Date: Fri, 10 Aug 2012 17:37:25 +0200 Subject: [rt-users] incoming mail with attachement Permission Denied Message-ID: <50252AB5.1080201@berkers.nu> Hi, Emails with an attachment are not accepted anymore The mail comes back with "Permission Denied" above the text. I put RT in debug mode but I can not get much further with this info: [Mon Aug 6 11:13:19 2012] [debug]: RT's GnuPG libraries couldn't successfully read your configured GnuPG home directory (/opt/rt4/var/data/gpg). PGP support has been disabled (/opt/rt4/sbin/../lib/RT/Config.pm:595) [Mon Aug 6 11:13:19 2012] [debug]: Encode::Guess guessed encoding: ascii (/opt/rt4/sbin/../lib/RT/I18N.pm:467) [Mon Aug 6 11:13:19 2012] [debug]: Encode::Guess guessed encoding: ascii (/opt/rt4/sbin/../lib/RT/I18N.pm:467) [Mon Aug 6 11:13:19 2012] [debug]: Encode::Guess guessed encoding: ascii (/opt/rt4/sbin/../lib/RT/I18N.pm:467) [Mon Aug 6 11:13:19 2012] [debug]: Encode::Guess guessed encoding: ascii (/opt/rt4/sbin/../lib/RT/I18N.pm:467) [Mon Aug 6 11:13:19 2012] [debug]: Encode::Guess guessed encoding: ascii (/opt/rt4/sbin/../lib/RT/I18N.pm:467) [Mon Aug 6 11:13:19 2012] [debug]: Encode::Guess guessed encoding: ascii (/opt/rt4/sbin/../lib/RT/I18N.pm:467) [Mon Aug 6 11:13:19 2012] [debug]: Found a ticket ID. It's 399869 (/opt/rt4/sbin/../lib/RT/Interface/Email.pm:1231) [Mon Aug 6 11:13:19 2012] [debug]: Mail from user #1220714 (xxxxxxx at gmail.com) (/opt/rt4/sbin/../lib/RT/Interface/Email/Auth/MailFrom.pm:79) [Mon Aug 6 11:13:20 2012] [crit]: Permission Denied (/opt/rt4/sbin/../lib/RT/Interface/Email.pm:245) [Mon Aug 6 11:13:20 2012] [error]: Could not record email: Message not recorded: Permission Denied (/opt/rt4/share/html/REST/1.0/NoAuth/mail-gateway:75) Anybody know what this can be ? Chmod/chown a directory somewhere ? Which one ? Thanks for input Leon -------------- next part -------------- An HTML attachment was scrubbed... URL: From falcone at bestpractical.com Fri Aug 10 19:47:41 2012 From: falcone at bestpractical.com (Kevin Falcone) Date: Fri, 10 Aug 2012 19:47:41 -0400 Subject: [rt-users] incoming mail with attachement Permission Denied In-Reply-To: <50252AB5.1080201@berkers.nu> References: <50252AB5.1080201@berkers.nu> Message-ID: <20120810234741.GA1496@jibsheet.com> On Fri, Aug 10, 2012 at 05:37:25PM +0200, Leon Berkers wrote: > Emails with an attachment are not accepted anymore > The mail comes back with "Permission Denied" above the text. I replied the last time you posted this exact message to the list. http://lists.bestpractical.com/pipermail/rt-users/2012-August/077471.html > I put RT in debug mode but I can not get much further with this info: > > [Mon Aug 6 11:13:19 2012] [debug]: RT's GnuPG libraries couldn't successfully read your > configured GnuPG home directory (/opt/rt4/var/data/gpg). PGP support has been disabled > (/opt/rt4/sbin/../lib/RT/Config.pm:595) > [Mon Aug 6 11:13:19 2012] [debug]: Encode::Guess guessed encoding: ascii > (/opt/rt4/sbin/../lib/RT/I18N.pm:467) > [Mon Aug 6 11:13:19 2012] [debug]: Encode::Guess guessed encoding: ascii > (/opt/rt4/sbin/../lib/RT/I18N.pm:467) > [Mon Aug 6 11:13:19 2012] [debug]: Encode::Guess guessed encoding: ascii > (/opt/rt4/sbin/../lib/RT/I18N.pm:467) > [Mon Aug 6 11:13:19 2012] [debug]: Encode::Guess guessed encoding: ascii > (/opt/rt4/sbin/../lib/RT/I18N.pm:467) > [Mon Aug 6 11:13:19 2012] [debug]: Encode::Guess guessed encoding: ascii > (/opt/rt4/sbin/../lib/RT/I18N.pm:467) > [Mon Aug 6 11:13:19 2012] [debug]: Encode::Guess guessed encoding: ascii > (/opt/rt4/sbin/../lib/RT/I18N.pm:467) > [Mon Aug 6 11:13:19 2012] [debug]: Found a ticket ID. It's 399869 > (/opt/rt4/sbin/../lib/RT/Interface/Email.pm:1231) > [Mon Aug 6 11:13:19 2012] [debug]: Mail from user #1220714 ([1]xxxxxxx at gmail.com) > (/opt/rt4/sbin/../lib/RT/Interface/Email/Auth/MailFrom.pm:79) > [Mon Aug 6 11:13:20 2012] [crit]: Permission Denied > (/opt/rt4/sbin/../lib/RT/Interface/Email.pm:245) > [Mon Aug 6 11:13:20 2012] [error]: Could not record email: Message not recorded: Permission > Denied (/opt/rt4/share/html/REST/1.0/NoAuth/mail-gateway:75) -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 195 bytes Desc: not available URL: From falcone at bestpractical.com Fri Aug 10 19:48:18 2012 From: falcone at bestpractical.com (Kevin Falcone) Date: Fri, 10 Aug 2012 19:48:18 -0400 Subject: [rt-users] HTML emails and attachments In-Reply-To: <689A1933F8EE7743BC101464DD9F3F0403C8AF8C61@MBX30.exg5.exghost.com> References: <689A1933F8EE7743BC101464DD9F3F0403C8AF8C61@MBX30.exg5.exghost.com> Message-ID: <20120810234818.GB1496@jibsheet.com> On Thu, Aug 09, 2012 at 03:20:26PM -0500, Josh Hopkins wrote: > We have updated our templates to use HTML but have noticed that now users don't receive > attachments when getting responses. > > I have tried adding the RT-Attach-Message: yes to the top of the template and then adding > Content-Type:text/html a few lines below it but that just make the whole email come out in > HTML code. > > Is there a way to have HTML emails work with attachments? HTML emails and attachments work fine together. Please post your template, I assume you have blank lines in the wrong places. -kevin -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 195 bytes Desc: not available URL: From wolfram.huettermann at desy.de Mon Aug 13 03:17:33 2012 From: wolfram.huettermann at desy.de (Wolfram Huettermann) Date: Mon, 13 Aug 2012 09:17:33 +0200 Subject: [rt-users] rt-users Digest, Vol 101, Issue 11 In-Reply-To: References: Message-ID: <5028AA0D.5040106@desy.de> On 08/10/12 18:00, rt-users-request at lists.bestpractical.com wrote: > Send rt-users mailing list submissions to > rt-users at lists.bestpractical.com > > To subscribe or unsubscribe via the World Wide Web, visit > http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users > or, via email, send a message with subject or body 'help' to > rt-users-request at lists.bestpractical.com > > You can reach the person managing the list at > rt-users-owner at lists.bestpractical.com > > When replying, please edit your Subject line so it is more specific > than "Re: Contents of rt-users digest..." > > > Today's Topics: > > 1. testing perl script in RT (Gergely Buday) > 2. Re: testing perl script in RT (Paul Tomblin) > 3. Re: testing perl script in RT (Thomas Sibley) > 4. Re: testing perl script in RT (Thomas Sibley) > 5. Re: testing perl script in RT (Paul Tomblin) > 6. Re: testing perl script in RT (Thomas Sibley) > 7. HTML emails and attachments (Josh Hopkins) > 8. Re: rt-users Digest, Vol 101, Issue 9 (Wolfram Huettermann) > 9. Email notification of updates (Mark Goodge) > 10. Re: Email notification of updates (ktm at rice.edu) > 11. Re: Email notification of updates (Mark Goodge) > 12. Re: Email notification of updates (ktm at rice.edu) > 13. Re: Email notification of updates (Mark Goodge) > 14. incoming mail with attachement Permission Denied (Leon Berkers) > > > ---------------------------------------------------------------------- > > Message: 1 > Date: Thu, 9 Aug 2012 18:01:33 +0200 > From: Gergely Buday > To: rt-users at lists.bestpractical.com > Subject: [rt-users] testing perl script in RT > Message-ID: > > Content-Type: text/plain; charset=ISO-8859-1 > > Hi there, > > how can I run a perl script through the RT environment so that I can > use the database and all the modules, but see the compiler output on > my faulty experiments? > > - Gergely > > > ------------------------------ > > Message: 2 > Date: Thu, 9 Aug 2012 12:03:43 -0400 > From: Paul Tomblin > To: Gergely Buday > Cc: rt-users at lists.bestpractical.com > Subject: Re: [rt-users] testing perl script in RT > Message-ID: > > Content-Type: text/plain; charset="iso-8859-1" > > On Thu, Aug 9, 2012 at 12:01 PM, Gergely Buday wrote: > >> Hi there, >> >> how can I run a perl script through the RT environment so that I can >> use the database and all the modules, but see the compiler output on >> my faulty experiments? >> >> - Gergely >> > use lib "/opt/rt4/lib"; > use RT; > > That should be enough. > Hello I use a perl template like this: #!/usr/bin/perl -w # notwendige Header Anfang use strict; use lib "/opt/rt4/local/lib", "/opt/rt4/lib"; use RT; use RT::Interface::Web; # Load the config file use RT::Interface::CLI "GetCurrentUser", "loc", ; RT::LoadConfig(); # Connect to the database and get RT::SystemUser # loaded RT::Init(); ### Put here all other PERL modules you need or whereever you want. Greetings, Wolfram From gbuday at gmail.com Mon Aug 13 07:22:50 2012 From: gbuday at gmail.com (Gergely Buday) Date: Mon, 13 Aug 2012 13:22:50 +0200 Subject: [rt-users] RT::User problem Message-ID: Hi there, I would like to create a User object through the Load method. The documentation writes: "Load a user object from the database. Takes a single argument. If the argument is numerical, load by the column 'id'. If a user object or its subclass passed then loads the same user by id. Otherwise, load by the "Name" column which is the user's textual username." #!/usr/bin/perl use strict; use lib "/opt/rt4/lib"; use lib "/opt/rt4/local/lib"; use RT; use RT::User; RT->LoadConfig; RT->Init; my $test_user = RT::User::Load('bg at buday-rd.hu'); printf "\$test_user=", $test_user; my @to = $test_user->EmailAddress; for $a (0 .. $#to) { print $to[$a], "\n"; } Running this script with sudo makes it say [Mon Aug 13 11:16:47 2012] [crit]: Can't call method "EmailAddress" on an undefined value at ./email.pl line 13. (/opt/rt4/lib/RT.pm:341) Can't call method "EmailAddress" on an undefined value at ./email.pl line 13. The username I used in the place of me at company.com is indeed a valid user name. What is the problem then? - Gergely From gbuday at gmail.com Mon Aug 13 07:38:13 2012 From: gbuday at gmail.com (Gergely Buday) Date: Mon, 13 Aug 2012 13:38:13 +0200 Subject: [rt-users] accessing custom fields Message-ID: Hi, I have created a custom field for a User. How can I access it from a perl script? I have the CF id, that's clear, but some of the code I have found had referred to some queue which I wonder about as I want a core User custom field, not related to any queue. - Gergely From varun.v.naik at gmail.com Mon Aug 13 07:45:18 2012 From: varun.v.naik at gmail.com (Varun Naik) Date: Mon, 13 Aug 2012 17:15:18 +0530 Subject: [rt-users] Active Directory Integration With Request Tracker 3.8.7 Message-ID: Hi Folks, Please help me to integrate RT 3.8.7 with Windows Server 2008 Active Directory. If anyone have any proper documentation please share it. I have tried many documents which is there in internet, but could not succeeded. Please let me how to configure it. -- Thanks & Regard, Varun.V.Naik -------------- next part -------------- An HTML attachment was scrubbed... URL: From bjoern.schulz at desy.de Mon Aug 13 07:54:33 2012 From: bjoern.schulz at desy.de (=?ISO-8859-1?Q?Bj=F6rn_Schulz?=) Date: Mon, 13 Aug 2012 13:54:33 +0200 Subject: [rt-users] Result after On queue change Message-ID: <5028EAF9.5000909@desy.de> Hi, I try to build a scrip to avoid a queue change from a specific queue (general (1)) if a Cf (Text1) isn't set on a rt3.8 box. In principal it work as a global scrip, but the result field didn't say the truth. ;-) After the not possible queue change the ticket is in the old queue, but results tells me: Ticket 30: Queue changed from General to TQ-1 Any ideas to fix this? Cheers, Bj?rn P.S. Here is my global scrip. On queue level (general) it doesn't work for me. Description: Queue Change only if Text1 is set Condition: On Queue Change Action: User Defined Template: Global template Blank Stage: TransactionCreate ------------------------------------------------------- Custom action preparation code: return 1; ------------------------------------------------------- Custom action cleanup code: my $OV = $self->TransactionObj->OldValue; $RT::Logger->crit("The old value is: ".$OV); if ($OV != 1) { return 0; } if (!$self->TicketObj->FirstCustomFieldValue("Text1")) { $self->TicketObj->SetQueue($OV); } return 1; ------------------------------------------------------- In pricipal From dteklavya at gmail.com Mon Aug 13 08:00:15 2012 From: dteklavya at gmail.com (Rajesh Kumar) Date: Mon, 13 Aug 2012 17:30:15 +0530 Subject: [rt-users] accessing custom fields In-Reply-To: References: Message-ID: <5028EC4F.5060803@gmail.com> On Monday 13 August 2012 05:08 PM, Gergely Buday wrote: > Hi, > > I have created a custom field for a User. How can I access it from a > perl script? I have the CF id, that's clear, but some of the code I > have found had referred to some queue which I wonder about as I want a > core User custom field, not related to any queue. > > - Gergely > my $cf_value = $self->TransactionObj->CreatorObj->FirstCustomFieldValue('Client'); I used above in OnCreate scrip. Hope that helps. -- Rajesh From ruz at bestpractical.com Mon Aug 13 08:02:37 2012 From: ruz at bestpractical.com (Ruslan Zakirov) Date: Mon, 13 Aug 2012 16:02:37 +0400 Subject: [rt-users] Active Directory Integration With Request Tracker 3.8.7 In-Reply-To: References: Message-ID: Hi, Start from ExternalAuth extension and its documentation. On Mon, Aug 13, 2012 at 3:45 PM, Varun Naik wrote: > Hi Folks, > > Please help me to integrate RT 3.8.7 with Windows Server 2008 Active > Directory. > > If anyone have any proper documentation please share it. I have tried many > documents which is there in internet, but could not succeeded. Please let me > how to configure it. > > -- > Thanks & Regard, > Varun.V.Naik > -- Best regards, Ruslan. From gbuday at gmail.com Mon Aug 13 08:04:53 2012 From: gbuday at gmail.com (Gergely Buday) Date: Mon, 13 Aug 2012 14:04:53 +0200 Subject: [rt-users] accessing custom fields In-Reply-To: <5028EC4F.5060803@gmail.com> References: <5028EC4F.5060803@gmail.com> Message-ID: >> I have created a custom field for a User. How can I access it from a >> perl script? I have the CF id, that's clear, but some of the code I >> have found had referred to some queue which I wonder about as I want a >> core User custom field, not related to any queue. > > my $cf_value = > $self->TransactionObj->CreatorObj->FirstCustomFieldValue('Client'); > > I used above in OnCreate scrip. Hope that helps. Seems fine, but what is the $self? I guess it is set by the general scrip beginning but how can I create it from a standalone scrip_t_? - Gergely From ruz at bestpractical.com Mon Aug 13 08:34:05 2012 From: ruz at bestpractical.com (Ruslan Zakirov) Date: Mon, 13 Aug 2012 16:34:05 +0400 Subject: [rt-users] RT::User problem In-Reply-To: References: Message-ID: On Mon, Aug 13, 2012 at 3:22 PM, Gergely Buday wrote: > Hi there, > > I would like to create a User object through the Load method. The > documentation writes: > > "Load a user object from the database. Takes a single argument. If > the argument is numerical, load by the column 'id'. If a user object > or its subclass passed then loads the same user by id. Otherwise, > load by the "Name" column which is the user's textual username." > > #!/usr/bin/perl > use strict; > use lib "/opt/rt4/lib"; > use lib "/opt/rt4/local/lib"; > use RT; > use RT::User; > > > RT->LoadConfig; > RT->Init; > > my $test_user = RT::User::Load('bg at buday-rd.hu'); In theory load could act as an object instance creator, but it doesn't. To create an object you use ->new call first and then load record into it: my $user = RT::User->new( RT->SystemUser ); $user->Load('xxxxxxx'); About argument of Load methods. The bottom variant only accepts id. For some objects that have unique parameters besides id it also accepts string. For example queue name or user name (login). For such objects Load looks at argument and if it contains any not number character then load lookups by name not id. This the reason why RT doesn't support user names containing only digits. Users have more than one unique parameter, EmailAddress is also unique. Load in RT::User doesn't do more checks to decide whether argument is email address or not, so you have to use different Load* methods which exist. A little bit about Perl's way to call things: 1) RT::User::Load(...) - function call in other package - call "Load" sub in RT::User package without emplicit arguments ignoring any inheritance that may exist 2) RT::User->Load(...) - class method call - call "Load" sub starting from RT::User package and accounting inheritance with "RT::User" class name as implicit first argument 3) $user_obj->Load(...) - instance method call - previous, but with object as implicit first argument In RT you mostly use third variant. Second variant is also used, for example: XXX->new call returns object instance of XXX class; RT->SystemUser returns global object (one for the whole system); RT->Config->Get(...); First variant should be avoided, it only helpful if you do magic or in some historical places. For example we used to write RT::Init(), but now move towards RT->Init, likely for us Init ignores arguments and doesn't care how it's called. > printf "\$test_user=", $test_user; > my @to = $test_user->EmailAddress; > > for $a (0 .. $#to) > { > print $to[$a], "\n"; > } > > Running this script with sudo makes it say > > [Mon Aug 13 11:16:47 2012] [crit]: Can't call method "EmailAddress" on > an undefined value at ./email.pl line 13. (/opt/rt4/lib/RT.pm:341) > Can't call method "EmailAddress" on an undefined value at ./email.pl line 13. > > The username I used in the place of me at company.com is indeed a valid > user name. What is the problem then? > > - Gergely -- Best regards, Ruslan. From drasar at ics.muni.cz Mon Aug 13 08:39:19 2012 From: drasar at ics.muni.cz (Martin Drasar) Date: Mon, 13 Aug 2012 14:39:19 +0200 Subject: [rt-users] Extending the RT UI Message-ID: <5028F577.2070104@ics.muni.cz> Hi, with the move from RT 3.8.7 to 4.0.6, I have decided (or was forced to by changes in RT html code) to ditch onload scripts that extended RT Ticket UI with some functionality (getting abuse contacts by clicking on ip, etc.). I would, however, still like to have that functionality, but this time in a saner manner as a server side perl script. I have browsed the RT source and it seems to me, that the final processing of ticket attachments to display is done in the Ticket/Element/ShowMessageStanza component. There is a callback called that passes a reference to an attachment content, so it seems to me that providing my callback to alter it would be the best way to do it. My questions are following: - Is this the right approach to extend the UI? - If not, what would you suggest? - If so, how can I create/hook/use the callback? According to the documentation of lib/RT/Interface/Web/Request.pm that defines the callback function, all callbacks are in /Callbacks//CallbackPage/CallbackName. Should the /Callbacks dir be in main RT directory or could it be somewhere in the /rt_dir/local? Also what is the true purpose of ? The documentation uses MyExtension as an example, but the name 'MyExtension' is apparently not used as a discriminator or anything... Thank you, Martin From andy.jewell at sysmicro.co.uk Mon Aug 13 09:24:25 2012 From: andy.jewell at sysmicro.co.uk (Andy D'Arcy Jewell) Date: Mon, 13 Aug 2012 14:24:25 +0100 Subject: [rt-users] Incoming mail subject with first word starting with "re" gets chopped in 3.8.8 Message-ID: <50290009.6060502@sysmicro.co.uk> Hi all, We are seeing a problem where the ticket subject gets mangled when it starts with "re", for example "remote" gets mangled to "mote". I know 3.8.8 is pretty old, and I'm planning to upgrade, but I can't do it immediately. I assume this is happening due to some regex intended to strip off "Re: " prefixes from the subject, but I can't find it anywhere in the code.... So, I have a few questions: 1. Is there a config parameter I can change to avoid this? 2. Does the 4.x branch have this same problem? 3. If none of the above, does anyone know what code I need to look at? (I've tried the RT::Interface::Email::Gateway module, but I can't see it filtering the "re" out anywhere). Regards, -- Andy D'Arcy Jewell SysMicro Limited Linux Support E: andy.jewell at sysmicro.co.uk W: www.sysmicro.co.uk From andy.jewell at sysmicro.co.uk Mon Aug 13 09:47:07 2012 From: andy.jewell at sysmicro.co.uk (Andy D'Arcy Jewell) Date: Mon, 13 Aug 2012 14:47:07 +0100 Subject: [rt-users] Correction: Re: Incoming mail subject with first word starting with "re" gets chopped in 3.8.8 In-Reply-To: <50290009.6060502@sysmicro.co.uk> References: <50290009.6060502@sysmicro.co.uk> Message-ID: <5029055B.4000508@sysmicro.co.uk> On 13/08/12 14:24, Andy D'Arcy Jewell wrote: > Hi all, > > We are seeing a problem where the ticket subject gets mangled when it > starts with "re", for example "remote" gets mangled to "mote". I know > 3.8.8 is pretty old, and I'm planning to upgrade, but I can't do it > immediately. > > I assume this is happening due to some regex intended to strip off > "Re: " prefixes from the subject, but I can't find it anywhere in the > code.... > > So, I have a few questions: > > 1. Is there a config parameter I can change to avoid this? > 2. Does the 4.x branch have this same problem? > 3. If none of the above, does anyone know what code I need to look at? > (I've tried the RT::Interface::Email::Gateway module, but I can't see > it filtering the "re" out anywhere). > > Regards, > I've now done some more tests, and it only seems to happen when making comments on a ticket with a subject that starts with "re". I'm still digging... -- Andy D'Arcy Jewell SysMicro Limited Linux Support T: 0844 9918804 M: 07961605631 E: andy.jewell at sysmicro.co.uk W: www.sysmicro.co.uk From pacija at gmail.com Mon Aug 13 10:08:12 2012 From: pacija at gmail.com (=?UTF-8?B?TWFya28gQ3VwYcSH?=) Date: Mon, 13 Aug 2012 16:08:12 +0200 Subject: [rt-users] ldap info update over e-mail Message-ID: <50290A4C.6070400@gmail.com> Dear list readers, I have rt-4.0.6 with p5-RT-Authen-ExternalAuth-0.11. 100% (~300) of my requesters use RT over e-mail, never logging into web interface. 9 staff members use web interface. This works very nice. Now, more than 100 requesters are changing e-mail addresses, moving from one company within the organization to anther one. I am starting to see messages like these: -- Aug 9 14:45:53 rsbgyucnix02 RT: RT could not load a valid user, and RT's configuration does not allow for the creation of a new user for this email (name.surname at newcompany.tld). You might need to grant 'Everyone' the right 'CreateTicket' for the queue General. (/usr/local/lib/perl5/site_perl/5.12.4/RT/Interface/Email.pm:245) -- So, what do I do? What is the most convenient way to update their e-mails in RT? Do these messages mean that RT is rejecting their e-mails at the moment? Thank you in advance, Marko Cupa? From falcone at bestpractical.com Mon Aug 13 10:23:10 2012 From: falcone at bestpractical.com (Kevin Falcone) Date: Mon, 13 Aug 2012 10:23:10 -0400 Subject: [rt-users] Correction: Re: Incoming mail subject with first word starting with "re" gets chopped in 3.8.8 In-Reply-To: <5029055B.4000508@sysmicro.co.uk> References: <50290009.6060502@sysmicro.co.uk> <5029055B.4000508@sysmicro.co.uk> Message-ID: <20120813142310.GC1496@jibsheet.com> On Mon, Aug 13, 2012 at 02:47:07PM +0100, Andy D'Arcy Jewell wrote: > On 13/08/12 14:24, Andy D'Arcy Jewell wrote: > >We are seeing a problem where the ticket subject gets mangled > >when it starts with "re", for example "remote" gets mangled to > >"mote". I know 3.8.8 is pretty old, and I'm planning to upgrade, > >but I can't do it immediately. > > > >I assume this is happening due to some regex intended to strip off > >"Re: " prefixes from the subject, but I can't find it anywhere in > >the code.... > > > >So, I have a few questions: > > > >1. Is there a config parameter I can change to avoid this? > >2. Does the 4.x branch have this same problem? > >3. If none of the above, does anyone know what code I need to look > >at? (I've tried the RT::Interface::Email::Gateway module, but I > >can't see it filtering the "re" out anywhere). > > > >Regards, > > > I've now done some more tests, and it only seems to happen when > making comments on a ticket with a subject that starts with "re". > I'm still digging... I believe you want to grab a copy of the Admin Comment template from 3.8.9 or later and update it through the web UI. -kevin -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 195 bytes Desc: not available URL: From hesan.y at sussexstudent.com Mon Aug 13 10:35:27 2012 From: hesan.y at sussexstudent.com (Hesan D Yousif) Date: Mon, 13 Aug 2012 15:35:27 +0100 Subject: [rt-users] Relay Access Denied on incoming email postfix. (RT 4.0.6) In-Reply-To: <5029055B.4000508@sysmicro.co.uk> References: <50290009.6060502@sysmicro.co.uk> <5029055B.4000508@sysmicro.co.uk> Message-ID: <502910AF.8030209@sussexstudent.com> Hi all, Getting annoyingly frustrated with relay access denied errors on my rt 4.0.6 instllation. Specifically: NOQUEUE: reject: RCPT postconf -n gives: alias_database = hash:/etc/aliases alias_maps = hash:/etc/aliases command_directory = /usr/sbin config_directory = /etc/postfix daemon_directory = /usr/libexec/postfix data_directory = /var/lib/postfix debug_peer_level = 2 html_directory = no inet_interfaces = all inet_protocols = all local_recipient_maps = mail_owner = postfix mailq_path = /usr/bin/mailq.postfix manpage_directory = /usr/share/man mydestination = xxx.com, localhost.xxx.com, $myhostname, localhost.$mydomain, localhost mydomain = yyy.yy.yy.yy myhostname = rtsu.yyyy.yyyy.yy.yy mynetworks = 13x.xxx.150.0/28, 127.0.0.0/8 newaliases_path = /usr/bin/newaliases.postfix queue_directory = /var/spool/postfix readme_directory = /usr/share/doc/postfix-2.6.6/README_FILES relayhost = [smtp.gmail.com]:587 sample_directory = /usr/share/doc/postfix-2.6.6/samples sendmail_path = /usr/sbin/sendmail.postfix setgid_group = postdrop smtp_sasl_auth_enable = yes smtp_sasl_password_maps = hash:/etc/postfix/sasl_passwd smtp_sasl_security_options = noanonymous smtp_sasl_tls_security_options = noanonymous smtp_tls_CApath = /etc/ssl/certs smtp_tls_loglevel = 1 smtp_tls_security_level = encrypt smtp_tls_session_cache_database = btree:${data_directory}/smtp_scache smtp_use_tls = yes smtpd_recipient_restrictions = permit_sasl_authenticated,permit_mynetworks,reject_unauth_destination smtpd_sasl_auth_enable = yes smtpd_sasl_local_domain = $myhostname smtpd_tls_auth_only = no smtpd_tls_cert_file = /etc/pki/tls/certs/rtsu.yyyy.yyyy.yy.yy.crt smtpd_tls_key_file = /etc/pki/tls/private/rtsu.yyyy.yyyy.yy.yy.key smtpd_tls_loglevel = 1 smtpd_tls_security_level = may smtpd_tls_session_cache_database = btree:${data_directory}/smtpd_scache smtpd_use_tls = yes unknown_local_recipient_reject_code = 450 It seems to occur only on incoming emails, not outgoing. I am relaying email on all outbound emails, but not when they come into the rt server. Any help would be greatly appreciated. Regards, Hesan From falcone at bestpractical.com Mon Aug 13 10:37:21 2012 From: falcone at bestpractical.com (Kevin Falcone) Date: Mon, 13 Aug 2012 10:37:21 -0400 Subject: [rt-users] Result after On queue change In-Reply-To: <5028EAF9.5000909@desy.de> References: <5028EAF9.5000909@desy.de> Message-ID: <20120813143721.GD1496@jibsheet.com> On Mon, Aug 13, 2012 at 01:54:33PM +0200, Bj?rn Schulz wrote: > I try to build a scrip to avoid a queue change from a specific queue > (general (1)) if a Cf (Text1) isn't set on a rt3.8 box. > > In principal it work as a global scrip, but the result field didn't say > the truth. ;-) > > After the not possible queue change the ticket is in the old queue, but > results tells me: > > Ticket 30: Queue changed from General to TQ-1 > > Any ideas to fix this? Unfortunately, the Scrip runs after the queue has been changed (it's triggered by the transaction of the change), and Scrips can't hand data back to the Messages in the UI. You'll need to do this with a callback, probably BeforeUpdate in Update.html. That callback lets you set a $skip_update boolean as well as push a message onto @results. It will also prevent the queue change, so it won't be a change and a change back. -kevin > > P.S. Here is my global scrip. On queue level (general) it doesn't work > for me. > > > Description: Queue Change only if Text1 is set > Condition: On Queue Change > Action: User Defined > Template: Global template Blank > Stage: TransactionCreate > > > ------------------------------------------------------- > Custom action preparation code: > > return 1; > ------------------------------------------------------- > Custom action cleanup code: > > my $OV = > $self->TransactionObj->OldValue; > $RT::Logger->crit("The old value is: ".$OV); > if ($OV != 1) > { > return 0; > } > if (!$self->TicketObj->FirstCustomFieldValue("Text1")) > { > $self->TicketObj->SetQueue($OV); > } > return 1; > ------------------------------------------------------- > > In pricipal -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 195 bytes Desc: not available URL: From andy.jewell at sysmicro.co.uk Mon Aug 13 10:38:23 2012 From: andy.jewell at sysmicro.co.uk (Andy D'Arcy Jewell) Date: Mon, 13 Aug 2012 15:38:23 +0100 Subject: [rt-users] Correction: Re: Incoming mail subject with first word starting with "re" gets chopped in 3.8.8 In-Reply-To: <20120813142310.GC1496@jibsheet.com> References: <50290009.6060502@sysmicro.co.uk> <5029055B.4000508@sysmicro.co.uk> <20120813142310.GC1496@jibsheet.com> Message-ID: <5029115F.5060101@sysmicro.co.uk> On 13/08/12 15:23, Kevin Falcone wrote: > I believe you want to grab a copy of the Admin Comment template from > 3.8.9 or later and update it through the web UI. -kevin Thanks, Kevin. I've had a look at that and it is the culprit! I've modified the scrip to use "s/^Re[:]*\s//" instead, and it now works. Now I'll have a look at the 3.8.9 version and see what that does... -- Andy D'Arcy Jewell SysMicro Limited Linux Support E: andy.jewell at sysmicro.co.uk W: www.sysmicro.co.uk From falcone at bestpractical.com Mon Aug 13 10:44:41 2012 From: falcone at bestpractical.com (Kevin Falcone) Date: Mon, 13 Aug 2012 10:44:41 -0400 Subject: [rt-users] Relay Access Denied on incoming email postfix. (RT 4.0.6) In-Reply-To: <502910AF.8030209@sussexstudent.com> References: <502910AF.8030209@sussexstudent.com> Message-ID: <20120813144441.GE1496@jibsheet.com> On Mon, Aug 13, 2012 at 03:35:27PM +0100, Hesan D Yousif wrote: > Getting annoyingly frustrated with relay access denied errors on my > rt 4.0.6 instllation. Specifically: > > NOQUEUE: reject: RCPT > > It seems to occur only on incoming emails, not outgoing. I am > relaying email on all outbound emails, but not when they come into > the rt server. This usually points to misconfigured aliases or not listing the hostname that mail is being delivered to in the list of hostnames postfix knows about. However, you've cut all the useful pieces out of your error message so we're just guessing. -kevin -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 195 bytes Desc: not available URL: From falcone at bestpractical.com Mon Aug 13 10:45:58 2012 From: falcone at bestpractical.com (Kevin Falcone) Date: Mon, 13 Aug 2012 10:45:58 -0400 Subject: [rt-users] ldap info update over e-mail In-Reply-To: <50290A4C.6070400@gmail.com> References: <50290A4C.6070400@gmail.com> Message-ID: <20120813144558.GF1496@jibsheet.com> On Mon, Aug 13, 2012 at 04:08:12PM +0200, Marko Cupa? wrote: > I have rt-4.0.6 with p5-RT-Authen-ExternalAuth-0.11. 100% (~300) of > my requesters use RT over e-mail, never logging into web interface. > 9 staff members use web interface. This works very nice. > > Now, more than 100 requesters are changing e-mail addresses, moving > from one company within the organization to anther one. I am > starting to see messages like these: I suspect you want to use RT-Extension-LDAPImport one-time to update user information from LDAP keying on usernames (it may be hard if you only have out-of-date email addresses). If all you have are emails, you may need to script the update with some perl. > -- > Aug 9 14:45:53 rsbgyucnix02 RT: RT could not load a valid user, and > RT's configuration does not allow for the creation of a new user for > this email (name.surname at newcompany.tld). You might need to grant > 'Everyone' the right 'CreateTicket' for the queue General. > (/usr/local/lib/perl5/site_perl/5.12.4/RT/Interface/Email.pm:245) > -- > > So, what do I do? What is the most convenient way to update their > e-mails in RT? Do these messages mean that RT is rejecting their > e-mails at the moment? Your mail logs will answer this, but most likely yes. -kevin -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 195 bytes Desc: not available URL: From hesan.y at sussexstudent.com Mon Aug 13 10:47:00 2012 From: hesan.y at sussexstudent.com (Hesan D Yousif) Date: Mon, 13 Aug 2012 15:47:00 +0100 Subject: [rt-users] Relay Access Denied on incoming email postfix. (RT 4.0.6) In-Reply-To: <20120813144441.GE1496@jibsheet.com> References: <502910AF.8030209@sussexstudent.com> <20120813144441.GE1496@jibsheet.com> Message-ID: <50291364.4050500@sussexstudent.com> Hi Kevin, Apologies, its: alias_database = hash:/etc/aliases alias_maps = hash:/etc/aliases command_directory = /usr/sbin config_directory = /etc/postfix daemon_directory = /usr/libexec/postfix data_directory = /var/lib/postfix debug_peer_level = 2 html_directory = no inet_interfaces = all inet_protocols = all local_recipient_maps = mail_owner = postfix mailq_path = /usr/bin/mailq.postfix manpage_directory = /usr/share/man mydestination = sussexstudent.com, localhost.sussexstudent.com, $myhostname, localhost.$mydomain, localhost mydomain = ussu.susx.ac.uk myhostname = mail.ussusupport.co.uk mynetworks = 139.184.150.0/28, 127.0.0.0/8 newaliases_path = /usr/bin/newaliases.postfix queue_directory = /var/spool/postfix readme_directory = /usr/share/doc/postfix-2.6.6/README_FILES relayhost = [smtp.gmail.com]:587 sample_directory = /usr/share/doc/postfix-2.6.6/samples sendmail_path = /usr/sbin/sendmail.postfix setgid_group = postdrop smtp_sasl_auth_enable = yes smtp_sasl_password_maps = hash:/etc/postfix/sasl_passwd smtp_sasl_security_options = noanonymous smtp_sasl_tls_security_options = noanonymous smtp_tls_CApath = /etc/ssl/certs smtp_tls_loglevel = 1 smtp_tls_security_level = encrypt smtp_tls_session_cache_database = btree:${data_directory}/smtp_scache smtp_use_tls = yes smtpd_recipient_restrictions = permit_sasl_authenticated,permit_mynetworks,reject_unauth_destination smtpd_sasl_auth_enable = yes smtpd_sasl_local_domain = $myhostname smtpd_tls_auth_only = no smtpd_tls_cert_file = /etc/pki/tls/certs/rtsu.ussu.susx.ac.uk.crt smtpd_tls_key_file = /etc/pki/tls/private/rtsu.ussu.susx.ac.uk.key smtpd_tls_loglevel = 1 smtpd_tls_security_level = may smtpd_tls_session_cache_database = btree:${data_directory}/smtpd_scache smtpd_use_tls = yes unknown_local_recipient_reject_code = 450 I have tried a variety of hostname combinations -but I've been getting nowhere for a while now. Hesan On 13/08/2012 15:44, Kevin Falcone wrote: > o This usually points to misconfigured aliases or not listing the > hostname that mail is being delivered to in the list of hostnames > postfix knows about. However, you've cut all the useful pieces out of > your error message so we're just guessing. > > -kevin From andy.jewell at sysmicro.co.uk Mon Aug 13 10:47:12 2012 From: andy.jewell at sysmicro.co.uk (Andy D'Arcy Jewell) Date: Mon, 13 Aug 2012 15:47:12 +0100 Subject: [rt-users] Correction: Re: Incoming mail subject with first word starting with "re" gets chopped in 3.8.8 In-Reply-To: <20120813142310.GC1496@jibsheet.com> References: <50290009.6060502@sysmicro.co.uk> <5029055B.4000508@sysmicro.co.uk> <20120813142310.GC1496@jibsheet.com> Message-ID: <50291370.30106@sysmicro.co.uk> On 13/08/12 15:23, Kevin Falcone wrote: > > I believe you want to grab a copy of the Admin Comment template from 3.8.9 or > later and update it through the web UI. > > -kevin I'm not yet that familiar with git or github... could you give me a hint of where to find it please? I'm assuming that scrips are stored in the database (perhaps I'm wrong!) so I thought it would be part of the installer/db init code bundle... -Andy -- Andy D'Arcy Jewell SysMicro Limited Linux Support T: 0844 9918804 M: 07961605631 E: andy.jewell at sysmicro.co.uk W: www.sysmicro.co.uk From falcone at bestpractical.com Mon Aug 13 10:48:19 2012 From: falcone at bestpractical.com (Kevin Falcone) Date: Mon, 13 Aug 2012 10:48:19 -0400 Subject: [rt-users] Extending the RT UI In-Reply-To: <5028F577.2070104@ics.muni.cz> References: <5028F577.2070104@ics.muni.cz> Message-ID: <20120813144819.GG1496@jibsheet.com> On Mon, Aug 13, 2012 at 02:39:19PM +0200, Martin Drasar wrote: > I have browsed the RT source and it seems to me, that the final > processing of ticket attachments to display is done in the > Ticket/Element/ShowMessageStanza component. There is a callback called > that passes a reference to an attachment content, so it seems to me that > providing my callback to alter it would be the best way to do it. > > My questions are following: > - Is this the right approach to extend the UI? > - If not, what would you suggest? > - If so, how can I create/hook/use the callback? > According to the documentation of lib/RT/Interface/Web/Request.pm that > defines the callback function, all callbacks are in > /Callbacks//CallbackPage/CallbackName. Should the /Callbacks > dir be in main RT directory or could it be somewhere in the > /rt_dir/local? Also what is the true purpose of ? The > documentation uses MyExtension as an example, but the name 'MyExtension' > is apparently not used as a discriminator or anything... You're on the right track, you may find this useful: http://requesttracker.wikia.com/wiki/CustomizingWithCallbacks In general, if you're not writing an extension, your callbacks go in /opt/rt4/local/html/Callbacks/YourUniqueCallbackName/path/to/callback As you've noted, YourUniqueCallbackName isn't tied to anything, it's just there because two extensions can use the same callback, but they need to be in distinct paths for mason to find them. -kevin -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 195 bytes Desc: not available URL: From falcone at bestpractical.com Mon Aug 13 10:49:29 2012 From: falcone at bestpractical.com (Kevin Falcone) Date: Mon, 13 Aug 2012 10:49:29 -0400 Subject: [rt-users] wrong date/time (export) In-Reply-To: References: <20120808143716.GY1496@jibsheet.com> Message-ID: <20120813144929.GH1496@jibsheet.com> Please reply to the list, there's no need to send me private mail. On Wed, Aug 08, 2012 at 07:09:25PM +0200, Marcin ?abuz wrote: > We're using this extensions: > > Set(@Plugins,(qw(RTx::Calendar > RT::Extension::ExtractCustomFieldValues > RT::Extension::SLA > RT::Extension::ActivityReports > RT::Extension::JSGantt))); None of these should override the spreadsheet download. I'd go looking for local customizations, RT4 should obey user timezones when outputting dates/times. -kevin -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 195 bytes Desc: not available URL: From hesan.y at sussexstudent.com Mon Aug 13 10:51:39 2012 From: hesan.y at sussexstudent.com (Hesan D Yousif) Date: Mon, 13 Aug 2012 15:51:39 +0100 Subject: [rt-users] Relay Access Denied on incoming email postfix. (RT 4.0.6) In-Reply-To: <20120813144441.GE1496@jibsheet.com> References: <502910AF.8030209@sussexstudent.com> <20120813144441.GE1496@jibsheet.com> Message-ID: <5029147B.8000002@sussexstudent.com> BTW, the hostname its currently configured to should actually be: rtsu.ussu.susx.ac.uk and not mail.ussusupport.co.uk, (that was for a test). Hesan On 13/08/2012 15:44, Kevin Falcone wrote: > On Mon, Aug 13, 2012 at 03:35:27PM +0100, Hesan D Yousif wrote: >> Getting annoyingly frustrated with relay access denied errors on my >> rt 4.0.6 instllation. Specifically: >> >> NOQUEUE: reject: RCPT >> >> It seems to occur only on incoming emails, not outgoing. I am >> relaying email on all outbound emails, but not when they come into >> the rt server. > This usually points to misconfigured aliases or not listing the > hostname that mail is being delivered to in the list of hostnames > postfix knows about. However, you've cut all the useful pieces out of > your error message so we're just guessing. > > -kevin From gbuday at gmail.com Mon Aug 13 10:55:34 2012 From: gbuday at gmail.com (Gergely Buday) Date: Mon, 13 Aug 2012 16:55:34 +0200 Subject: [rt-users] getting a multiple valued custom field Message-ID: Hi there, how can I get the values from a "select multiple values" typed checkbox in a scrip condition? If possible, I would be interested in doing the same in a standalone script. How can I access a user object from a standalone script? - Gergely From falcone at bestpractical.com Mon Aug 13 10:55:41 2012 From: falcone at bestpractical.com (Kevin Falcone) Date: Mon, 13 Aug 2012 10:55:41 -0400 Subject: [rt-users] queue disabled but still getting tickets In-Reply-To: References: Message-ID: <20120813145541.GI1496@jibsheet.com> On Wed, Aug 08, 2012 at 09:56:50AM -0500, Aaron Zuercher wrote: > I have disabled one of my queues to prevent new ticket submission but new tickets are still > showing up. How to I stop this? I don't want to remove the queue because I want to reopen it > in a month. > > I disabled it by going to TOOLS > CONFIG > QUEUES and unchecking enabled box. Currently in RT, disabled queues still allow ticket creation. This is because of a historical quirk where the ___Approvals queue is disabled but still allows ticket creation. It's likely that this will change in 4.2. I assume that these new tickets are coming via rt-mailgate? You can remove or re-route those aliases or remove the CreateTicket rights on that queue (although this won't work if you've granted CreateTicket too widely). -kevin -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 195 bytes Desc: not available URL: From falcone at bestpractical.com Mon Aug 13 10:57:19 2012 From: falcone at bestpractical.com (Kevin Falcone) Date: Mon, 13 Aug 2012 10:57:19 -0400 Subject: [rt-users] From address set to "Apache" In-Reply-To: <50231CC3.4020006@redpoint.org.uk> References: <50231CC3.4020006@redpoint.org.uk> Message-ID: <20120813145719.GJ1496@jibsheet.com> On Thu, Aug 09, 2012 at 03:13:23AM +0100, Robin Szemeti wrote: > I'm running RT4 and postfix on Centos, mauils are coming into queues > fine, but I have an issue with the "From" address, despite setting > comment and correspond addresses in my queues, the mails are > appearing as from Apache reply-to is > set correctly in the mails, but the From address is being set as the > process owner ... > > I'm using sendmailpipe as the delivery, standard Centos install with > postfix/ssmtp You want to read about $SetOutgoingMailFrom in RT_Config.pm (including the important warning) and then make any changes you want to this or the config option right after it in your RT_SiteConfig.pm -kevin -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 195 bytes Desc: not available URL: From falcone at bestpractical.com Mon Aug 13 10:58:25 2012 From: falcone at bestpractical.com (Kevin Falcone) Date: Mon, 13 Aug 2012 10:58:25 -0400 Subject: [rt-users] Wikitext Formatting Issues In-Reply-To: References: <20120808134155.GJ1122@jibsheet.com> Message-ID: <20120813145825.GK1496@jibsheet.com> On Thu, Aug 09, 2012 at 01:33:49PM +0800, Lyka Delgado wrote: > We just started using RT in saving our company information and I was assigned to put all of > our information into Articles. We want the articles to look decent so I used the wikitext > box for our customfield in our articles. I found your wikia for rt, but the RTFM part does > not give complete info of the different formats. Sure you have the basic ones there like > bold, italics and underline but for listing items, it doesnt really work. Ive also used the > listing options in Help:Wikitext Examples, even if there was already a warning that "Note > that formatting rules in this full Wiki are NOT the same as the wikitext custom field in > RTFM." but it was not applicable. RT's WikiText custom fields user Text::WikiFormat - you can read about the module with perldoc Text::WikiFormat or by looking it up on http://metacpan.org -kevin -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 195 bytes Desc: not available URL: From drasar at ics.muni.cz Mon Aug 13 10:58:45 2012 From: drasar at ics.muni.cz (Martin Drasar) Date: Mon, 13 Aug 2012 16:58:45 +0200 Subject: [rt-users] Extending the RT UI In-Reply-To: <20120813144819.GG1496@jibsheet.com> References: <5028F577.2070104@ics.muni.cz> <20120813144819.GG1496@jibsheet.com> Message-ID: <50291625.8010101@ics.muni.cz> On 13.8.2012 16:48, Kevin Falcone wrote: > You're on the right track, you may find this useful: > http://requesttracker.wikia.com/wiki/CustomizingWithCallbacks > > In general, if you're not writing an extension, your callbacks go in > /opt/rt4/local/html/Callbacks/YourUniqueCallbackName/path/to/callback > > As you've noted, YourUniqueCallbackName isn't tied to anything, it's > just there because two extensions can use the same callback, but they > need to be in distinct paths for mason to find them. > > -kevin Hi Kevin, thanks a lot. This is definitely what I was looking for. Martin From falcone at bestpractical.com Mon Aug 13 11:01:02 2012 From: falcone at bestpractical.com (Kevin Falcone) Date: Mon, 13 Aug 2012 11:01:02 -0400 Subject: [rt-users] putting a custom field in place In-Reply-To: References: Message-ID: <20120813150102.GL1496@jibsheet.com> On Thu, Aug 09, 2012 at 01:25:09PM +0200, Gergely Buday wrote: > The previous custom field works, it is about choosing languages, so > the same type. I created a custom field following this working > example. I set it to Global, following again the example. I put some > new code into UserPrefs.html: > > UserPrefs.html:% my $UserWhenEmail = > RT::CustomField->new($session{'CurrentUser'}); > UserPrefs.html:% $UserWhenEmail->Load(107); > > where 107 is the id for this new custom field. Also I wrote > > > <&|/l&>When to e-mail: > > <& /Elements/EditCustomField, %ARGS, Object => $UserObj, CustomField > => $UserWhenEmail &> > > > > I cleared the cache and restarted apache but only the "When to e-mail" > label appeared but not the multiple checkboxes. What else should I do > to make it happen? I filled in the multiple possible options for the > custom field. I suggest adding some error checking around your Load and checking the apache error logs. Also, ensure that the CF is applied globally and that rights have been granted to allow editing. -kevin -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 195 bytes Desc: not available URL: From falcone at bestpractical.com Mon Aug 13 11:02:22 2012 From: falcone at bestpractical.com (Kevin Falcone) Date: Mon, 13 Aug 2012 11:02:22 -0400 Subject: [rt-users] Correction: Re: Incoming mail subject with first word starting with "re" gets chopped in 3.8.8 In-Reply-To: <50291370.30106@sysmicro.co.uk> References: <50290009.6060502@sysmicro.co.uk> <5029055B.4000508@sysmicro.co.uk> <20120813142310.GC1496@jibsheet.com> <50291370.30106@sysmicro.co.uk> Message-ID: <20120813150222.GM1496@jibsheet.com> On Mon, Aug 13, 2012 at 03:47:12PM +0100, Andy D'Arcy Jewell wrote: > On 13/08/12 15:23, Kevin Falcone wrote: > > > >I believe you want to grab a copy of the Admin Comment template from 3.8.9 or > >later and update it through the web UI. > > I'm not yet that familiar with git or github... could you give me a > hint of where to find it please? I'm assuming that scrips are stored > in the database (perhaps I'm wrong!) so I thought it would be part > of the installer/db init code bundle... You can always just download the tarball, we host all the historical releases. The data is stored in the etc/initialdata file. The version in 4.0 on github will also work just fine, that template hasn't changed materially for 4.0. -kevin -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 195 bytes Desc: not available URL: From gbuday at gmail.com Mon Aug 13 11:02:38 2012 From: gbuday at gmail.com (Gergely Buday) Date: Mon, 13 Aug 2012 17:02:38 +0200 Subject: [rt-users] putting a custom field in place In-Reply-To: <20120813150102.GL1496@jibsheet.com> References: <20120813150102.GL1496@jibsheet.com> Message-ID: Kevin Falcone wrote: >> I cleared the cache and restarted apache but only the "When to e-mail" >> label appeared but not the multiple checkboxes. What else should I do >> to make it happen? I filled in the multiple possible options for the >> custom field. > > I suggest adding some error checking around your Load and checking the > apache error logs. Also, ensure that the CF is applied globally and > that rights have been granted to allow editing. You are right, the rights were missing. - Gergely From falcone at bestpractical.com Mon Aug 13 11:04:37 2012 From: falcone at bestpractical.com (Kevin Falcone) Date: Mon, 13 Aug 2012 11:04:37 -0400 Subject: [rt-users] Relay Access Denied on incoming email postfix. (RT 4.0.6) In-Reply-To: <5029147B.8000002@sussexstudent.com> References: <502910AF.8030209@sussexstudent.com> <20120813144441.GE1496@jibsheet.com> <5029147B.8000002@sussexstudent.com> Message-ID: <20120813150437.GN1496@jibsheet.com> On Mon, Aug 13, 2012 at 03:51:39PM +0100, Hesan D Yousif wrote: > BTW, the hostname its currently configured to should actually be: > rtsu.ussu.susx.ac.uk and not mail.ussusupport.co.uk, (that was for a > test). Unfortunately, you still haven't produced a full error message, which means even with a full config we're guessing. Also, check your aliases file. > On 13/08/2012 15:44, Kevin Falcone wrote: > >On Mon, Aug 13, 2012 at 03:35:27PM +0100, Hesan D Yousif wrote: > >>Getting annoyingly frustrated with relay access denied errors on my > >>rt 4.0.6 instllation. Specifically: > >> > >>NOQUEUE: reject: RCPT > >> > >>It seems to occur only on incoming emails, not outgoing. I am > >>relaying email on all outbound emails, but not when they come into > >>the rt server. > >This usually points to misconfigured aliases or not listing the > >hostname that mail is being delivered to in the list of hostnames > >postfix knows about. However, you've cut all the useful pieces out of > >your error message so we're just guessing. -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 195 bytes Desc: not available URL: From andy.jewell at sysmicro.co.uk Mon Aug 13 11:08:36 2012 From: andy.jewell at sysmicro.co.uk (Andy D'Arcy Jewell) Date: Mon, 13 Aug 2012 16:08:36 +0100 Subject: [rt-users] Correction: Re: Incoming mail subject with first word starting with "re" gets chopped in 3.8.8 In-Reply-To: <20120813150222.GM1496@jibsheet.com> References: <50290009.6060502@sysmicro.co.uk> <5029055B.4000508@sysmicro.co.uk> <20120813142310.GC1496@jibsheet.com> <50291370.30106@sysmicro.co.uk> <20120813150222.GM1496@jibsheet.com> Message-ID: <50291874.3060003@sysmicro.co.uk> > You can always just download the tarball, we host all the historical > releases. The data is stored in the etc/initialdata file. The > version in 4.0 on github will also work just fine, that template > hasn't changed materially for 4.0. > > -kevin Thanks! Got it now. -- Andy D'Arcy Jewell SysMicro Limited Linux Support E: andy.jewell at sysmicro.co.uk W: www.sysmicro.co.uk From hesan.y at sussexstudent.com Mon Aug 13 11:08:46 2012 From: hesan.y at sussexstudent.com (Hesan D Yousif) Date: Mon, 13 Aug 2012 16:08:46 +0100 Subject: [rt-users] Relay Access Denied on incoming email postfix. (RT 4.0.6) In-Reply-To: <20120813150437.GN1496@jibsheet.com> References: <502910AF.8030209@sussexstudent.com> <20120813144441.GE1496@jibsheet.com> <5029147B.8000002@sussexstudent.com> <20120813150437.GN1496@jibsheet.com> Message-ID: <5029187E.8080005@sussexstudent.com> /var/log/maillog gives the following response: Aug 13 15:36:00 rtsu postfix/smtpd[2985]: NOQUEUE: reject: RCPT from sivits.uscs.susx.ac.uk[139.184.14.88]: 554 5.7.1 : Relay access denied; from= to= proto=ESMTP helo= Aug 13 15:36:00 rtsu postfix/smtpd[2985]: disconnect from sivits.uscs.susx.ac.uk[139.184.14.88] Aug 13 15:39:20 rtsu postfix/anvil[2987]: statistics: max connection rate 1/60s for (smtp:139.184.14.85) at Aug 13 15:34:36 Aug 13 15:39:20 rtsu postfix/anvil[2987]: statistics: max connection count 1 for (smtp:139.184.14.85) at Aug 13 15:34:36 Aug 13 15:39:20 rtsu postfix/anvil[2987]: statistics: max cache size 1 at Aug 13 15:34:36 output of aliases file is: # # Aliases in this file will NOT be expanded in the header from # Mail, but WILL be visible over networks or from /bin/mail. # # >>>>>>>>>> The program "newaliases" must be run after # >> NOTE >> this file is updated for any changes to # >>>>>>>>>> show through to sendmail. # # Basic system aliases -- these MUST be present. mailer-daemon: postmaster postmaster: root rt-su-activities: "|/usr/local/rt/bin/rt-mailgate -- queue rt-su-activities --action correspond --url https://rtsu.ussu.susx.ac.uk/rt" rt-su-activities-comment: "|/usr/local/rt/bin/rt-mailgate --queue rt-su-activities --action comment --url https://rtsu.ussu.susx.ac.uk/rt" # General redirections for pseudo accounts. bin: root daemon: root adm: root lp: root sync: root shutdown: root halt: root mail: root news: root uucp: root operator: root games: root gopher: root ftp: root nobody: root radiusd: root nut: root dbus: root vcsa: root canna: root wnn: root rpm: root nscd: root pcap: root apache: root webalizer: root dovecot: root fax: root quagga: root radvd: root pvm: root amanda: root privoxy: root ident: root named: root xfs: root gdm: root mailnull: root postgres: root sshd: root smmsp: root postfix: root netdump: root ldap: root squid: root ntp: root mysql: root desktop: root rpcuser: root rpc: root nfsnobody: root ingres: root system: root toor: root manager: root dumper: root abuse: root newsadm: news newsadmin: news usenet: news ftpadm: ftp ftpadmin: ftp ftp-adm: ftp ftp-admin: ftp www: webmaster webmaster: root noc: root security: root hostmaster: root info: postmaster marketing: postmaster sales: postmaster support: postmaster # trap decode to catch security attacks decode: root # Person who should get root's mail root: myemail at email.com Hesan On 13/08/2012 16:04, Kevin Falcone wrote: > On Mon, Aug 13, 2012 at 03:51:39PM +0100, Hesan D Yousif wrote: >> BTW, the hostname its currently configured to should actually be: >> rtsu.ussu.susx.ac.uk and not mail.ussusupport.co.uk, (that was for a >> test). > Unfortunately, you still haven't produced a full error message, which > means even with a full config we're guessing. Also, check your > aliases file. > >> On 13/08/2012 15:44, Kevin Falcone wrote: >>> On Mon, Aug 13, 2012 at 03:35:27PM +0100, Hesan D Yousif wrote: >>>> Getting annoyingly frustrated with relay access denied errors on my >>>> rt 4.0.6 instllation. Specifically: >>>> >>>> NOQUEUE: reject: RCPT >>>> >>>> It seems to occur only on incoming emails, not outgoing. I am >>>> relaying email on all outbound emails, but not when they come into >>>> the rt server. >>> This usually points to misconfigured aliases or not listing the >>> hostname that mail is being delivered to in the list of hostnames >>> postfix knows about. However, you've cut all the useful pieces out of >>> your error message so we're just guessing. From gbuday at gmail.com Mon Aug 13 11:28:49 2012 From: gbuday at gmail.com (Gergely Buday) Date: Mon, 13 Aug 2012 17:28:49 +0200 Subject: [rt-users] scrip not logging Message-ID: Hi there, my scrip is logged, but my logging commands do not result in a log line. Here is the log the system prints upon its start: Aug 13 17:23:04 dox RT: #2211/33968 - Scrip 23 Email dummy (/opt/rt4/sbin/../lib/RT/Action/SendEmail.pm:301) But the following condition does not write the any log: $RT::Logger->info("Hello RT World!"); my $cf=$self->TransactionObj->CreatorObj->LoadCustomFieldByIdentifier('107'); my $cf2 = $session->{'CurrentUser'}->UserObj->FirstCustomFieldValue('107'); $RT::Logger->info("cf=$cf"); $RT::Logger->info("cf2=$cf2"); return 1; What is the problem with the above code? - Gergely From ruz at bestpractical.com Mon Aug 13 11:42:15 2012 From: ruz at bestpractical.com (Ruslan Zakirov) Date: Mon, 13 Aug 2012 19:42:15 +0400 Subject: [rt-users] scrip not logging In-Reply-To: References: Message-ID: On Mon, Aug 13, 2012 at 7:28 PM, Gergely Buday wrote: > Hi there, > > my scrip is logged, but my logging commands do not result in a log > line. Here is the log the system prints upon its start: > > Aug 13 17:23:04 dox RT: > > #2211/33968 - Scrip 23 Email dummy > (/opt/rt4/sbin/../lib/RT/Action/SendEmail.pm:301) > > But the following condition does not write the any log: > > $RT::Logger->info("Hello RT World!"); > > my $cf=$self->TransactionObj->CreatorObj->LoadCustomFieldByIdentifier('107'); > > my $cf2 = $session->{'CurrentUser'}->UserObj->FirstCustomFieldValue('107'); > > $RT::Logger->info("cf=$cf"); > $RT::Logger->info("cf2=$cf2"); > > return 1; > > What is the problem with the above code? Have you picked user defined condition for the scrip? Custom condition code you write in the UI only works with "User Defined". > - Gergely -- Best regards, Ruslan. From falcone at bestpractical.com Mon Aug 13 11:47:02 2012 From: falcone at bestpractical.com (Kevin Falcone) Date: Mon, 13 Aug 2012 11:47:02 -0400 Subject: [rt-users] Relay Access Denied on incoming email postfix. (RT 4.0.6) In-Reply-To: <5029187E.8080005@sussexstudent.com> References: <502910AF.8030209@sussexstudent.com> <20120813144441.GE1496@jibsheet.com> <5029147B.8000002@sussexstudent.com> <20120813150437.GN1496@jibsheet.com> <5029187E.8080005@sussexstudent.com> Message-ID: <20120813154702.GO1496@jibsheet.com> On Mon, Aug 13, 2012 at 04:08:46PM +0100, Hesan D Yousif wrote: > /var/log/maillog gives the following response: > > Aug 13 15:36:00 rtsu postfix/smtpd[2985]: NOQUEUE: reject: RCPT from > sivits.uscs.susx.ac.uk[139.184.14.88]: 554 5.7.1 > : Relay access denied; > from= > to= proto=ESMTP > helo= You don't appear to have told postfix that it accepts mail for ussupport.co.uk. This makes postfix think that you're asking it to relay, and it's set up to deny relaying, hence the bounce. There are a half dozen ways to configure postfix to accept mail for ussupport.co.uk depending on what you're doing. The simplest may be setting mydestination, but review the postfix docs so you know if you want that vs a virtual host. -kevin -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 195 bytes Desc: not available URL: From gbuday at gmail.com Tue Aug 14 03:27:37 2012 From: gbuday at gmail.com (Gergely Buday) Date: Tue, 14 Aug 2012 09:27:37 +0200 Subject: [rt-users] CustomFieldValues Message-ID: Hi there, I was able to log a custom field value in a scrip: my $user=$self->TransactionObj->CreatorObj; my $cfvs = $user->CustomFieldValues('107'); while(my $cfv = $cfvs->Next) { $RT::Logger->info("cfv->Content=" . $cfv->Content) if length $cfv->Content; } return 1; Beside ->Content, is there a field that gives back the number I set in the custom field definition? It would be more robust to handle. - Gergely From wolfram.huettermann at desy.de Tue Aug 14 03:29:12 2012 From: wolfram.huettermann at desy.de (Wolfram Huettermann) Date: Tue, 14 Aug 2012 09:29:12 +0200 Subject: [rt-users] User only load by E-mail or by id In-Reply-To: References: Message-ID: <5029FE48.2010508@desy.de> ------------------------------ Message: 2 Date: Mon, 13 Aug 2012 13:22:50 +0200 From: Gergely Buday To: rt-users at lists.bestpractical.com Subject: [rt-users] RT::User problem Message-ID: Content-Type: text/plain; charset=ISO-8859-1 Hi there, I would like to create a User object through the Load method. The documentation writes: "Load a user object from the database. Takes a single argument. If the argument is numerical, load by the column 'id'. If a user object or its subclass passed then loads the same user by id. Otherwise, load by the "Name" column which is the user's textual username." #!/usr/bin/perl use strict; use lib "/opt/rt4/lib"; use lib "/opt/rt4/local/lib"; use RT; use RT::User; RT->LoadConfig; RT->Init; my $test_user = RT::User::Load('bg at buday-rd.hu'); printf "\$test_user=", $test_user; my @to = $test_user->EmailAddress; for $a (0 .. $#to) { print $to[$a], "\n"; } Running this script with sudo makes it say [Mon Aug 13 11:16:47 2012] [crit]: Can't call method "EmailAddress" on an undefined value at ./email.pl line 13. (/opt/rt4/lib/RT.pm:341) Can't call method "EmailAddress" on an undefined value at ./email.pl line 13. The username I used in the place of me at company.com is indeed a valid user name. What is the problem then? - Gergely Hello Gergely, you can only load a user by id or by E-mail address. The routine is LoadByEmail. Greetings, Wolfram -------------- next part -------------- An HTML attachment was scrubbed... URL: From gbuday at gmail.com Tue Aug 14 03:45:41 2012 From: gbuday at gmail.com (Gergely Buday) Date: Tue, 14 Aug 2012 09:45:41 +0200 Subject: [rt-users] User only load by E-mail or by id In-Reply-To: <5029FE48.2010508@desy.de> References: <5029FE48.2010508@desy.de> Message-ID: > you can only load a user by id or by E-mail address. The routine is > LoadByEmail. At last a friend suggested my $user = RT::User->new( RT->SystemUser ); $user->Load('test_user'); and it worked. - Gergely From ptomblin at xcski.com Tue Aug 14 07:05:33 2012 From: ptomblin at xcski.com (Paul Tomblin) Date: Tue, 14 Aug 2012 07:05:33 -0400 Subject: [rt-users] CustomFieldValues In-Reply-To: References: Message-ID: On Tue, Aug 14, 2012 at 3:27 AM, Gergely Buday wrote: > Hi there, > > I was able to log a custom field value in a scrip: > > my $user=$self->TransactionObj->CreatorObj; > > my $cfvs = $user->CustomFieldValues('107'); > while(my $cfv = $cfvs->Next) { > $RT::Logger->info("cfv->Content=" . $cfv->Content) if length > $cfv->Content; > } > > return 1; > > Beside ->Content, is there a field that gives back the number I set in > the custom field definition? It would be more robust to handle. > > I just use $value = $ticket->FirstCustomFieldValue("field_name"); -- http://www.linkedin.com/in/paultomblin http://careers.stackoverflow.com/ptomblin -------------- next part -------------- An HTML attachment was scrubbed... URL: From bjoern.schulz at desy.de Tue Aug 14 09:13:01 2012 From: bjoern.schulz at desy.de (=?ISO-8859-1?Q?Bj=F6rn_Schulz?=) Date: Tue, 14 Aug 2012 15:13:01 +0200 Subject: [rt-users] Result after On queue change In-Reply-To: <20120813143721.GD1496@jibsheet.com> References: <5028EAF9.5000909@desy.de> <20120813143721.GD1496@jibsheet.com> Message-ID: <502A4EDD.6000001@desy.de> Hi Kevin, So it's clear that we have to use our not-change-queue-extension for that. ;-) My hope was that we can do it in a scrip. Thanks a lot for your advice. Have a great day. Cheers, Bj?rn On 13.08.12 16:37, Kevin Falcone wrote: > On Mon, Aug 13, 2012 at 01:54:33PM +0200, Bj?rn Schulz wrote: >> I try to build a scrip to avoid a queue change from a specific queue >> (general (1)) if a Cf (Text1) isn't set on a rt3.8 box. >> >> In principal it work as a global scrip, but the result field didn't say >> the truth. ;-) >> >> After the not possible queue change the ticket is in the old queue, but >> results tells me: >> >> Ticket 30: Queue changed from General to TQ-1 >> >> Any ideas to fix this? > > Unfortunately, the Scrip runs after the queue has been changed (it's > triggered by the transaction of the change), and Scrips can't hand data > back to the Messages in the UI. > > You'll need to do this with a callback, probably BeforeUpdate in > Update.html. That callback lets you set a $skip_update boolean as > well as push a message onto @results. It will also prevent the queue > change, so it won't be a change and a change back. > > -kevin > > >> >> P.S. Here is my global scrip. On queue level (general) it doesn't work >> for me. >> >> >> Description: Queue Change only if Text1 is set >> Condition: On Queue Change >> Action: User Defined >> Template: Global template Blank >> Stage: TransactionCreate >> >> >> ------------------------------------------------------- >> Custom action preparation code: >> >> return 1; >> ------------------------------------------------------- >> Custom action cleanup code: >> >> my $OV = >> $self->TransactionObj->OldValue; >> $RT::Logger->crit("The old value is: ".$OV); >> if ($OV != 1) >> { >> return 0; >> } >> if (!$self->TicketObj->FirstCustomFieldValue("Text1")) >> { >> $self->TicketObj->SetQueue($OV); >> } >> return 1; >> ------------------------------------------------------- >> >> In pricipal From jzabolotnyi at arces.net Tue Aug 14 09:23:57 2012 From: jzabolotnyi at arces.net (Jack Zabolotnyi) Date: Tue, 14 Aug 2012 15:23:57 +0200 Subject: [rt-users] No mail is sent for AdminCC recepients Message-ID: Hi everyone. I have a little trouble: recepients set in AdminCC don't receive any mails on ticket update (or any other events). Any other notification is doing well. Should there be some permissions defined for this, or i miss something else? Thanks in advance for any help. :) -- Jack Zabolotnyi Arces Network, LLC e: jzabolotnyi at arces.net w: http://www.arces.net PGP key: 2048R/7F2AB658 2012-07-02 PGP fingerprint: 4C7E 00A8 5210 F3D9 0509 C70E 87C8 666E 7F2A B658 -------------- next part -------------- An HTML attachment was scrubbed... URL: From mike.johnson at nosm.ca Tue Aug 14 10:19:33 2012 From: mike.johnson at nosm.ca (Mike Johnson) Date: Tue, 14 Aug 2012 10:19:33 -0400 Subject: [rt-users] Subject Tag Usage Message-ID: Hi all, I just want to be sure I'm understanding the use of "Subject Tag" for a queue. I can put whatever I want in this, and it'll change the tag in the subject line of outgoing messages. By default rt puts the RT instance name [rt.here.com #12345] If I put FOO in the subject tag for a queue, the tag would be [FOO #12345] If I change that tag to BAR, I have to put FOO in the regular expression in the Site config to ensure it recognizes the old tag. Is there any other things I should be aware of? I've tested a bunch, but I just want to make sure I'm not missing anything. Thanks! Mike. -- Mike Johnson Datatel Programmer/Analyst Northern Ontario School of Medicine 955 Oliver Road Thunder Bay, ON P7B 5E1 Phone: (807) 766-7331 Email: mike.johnson at nosm.ca -------------- next part -------------- An HTML attachment was scrubbed... URL: From mike.johnson at nosm.ca Tue Aug 14 10:24:42 2012 From: mike.johnson at nosm.ca (Mike Johnson) Date: Tue, 14 Aug 2012 10:24:42 -0400 Subject: [rt-users] No mail is sent for AdminCC recepients In-Reply-To: References: Message-ID: You need a scrip to do that action I believe. Mike. On Tue, Aug 14, 2012 at 9:23 AM, Jack Zabolotnyi wrote: > Hi everyone. > > I have a little trouble: recepients set in AdminCC don't receive any mails > on ticket update (or any other events). Any other notification is doing > well. Should there be some permissions defined for this, or i miss > something else? > > Thanks in advance for any help. :) > > -- > Jack Zabolotnyi > Arces Network, LLC > > e: jzabolotnyi at arces.net > w: http://www.arces.net > > PGP key: 2048R/7F2AB658 2012-07-02 > PGP fingerprint: 4C7E 00A8 5210 F3D9 0509 C70E 87C8 666E 7F2A B658 > > -- Mike Johnson Datatel Programmer/Analyst Northern Ontario School of Medicine 955 Oliver Road Thunder Bay, ON P7B 5E1 Phone: (807) 766-7331 Email: mike.johnson at nosm.ca -------------- next part -------------- An HTML attachment was scrubbed... URL: From jzabolotnyi at arces.net Tue Aug 14 10:43:44 2012 From: jzabolotnyi at arces.net (Jack Zabolotnyi) Date: Tue, 14 Aug 2012 16:43:44 +0200 Subject: [rt-users] No mail is sent for AdminCC recepients In-Reply-To: References: Message-ID: I thought it should be a default (built-in) action. Otherwise why is it called AdminCC? On Tue, Aug 14, 2012 at 4:24 PM, Mike Johnson wrote: > You need a scrip to do that action I believe. > > Mike. > > > On Tue, Aug 14, 2012 at 9:23 AM, Jack Zabolotnyi wrote: > >> Hi everyone. >> >> I have a little trouble: recepients set in AdminCC don't receive any >> mails on ticket update (or any other events). Any other notification is >> doing well. Should there be some permissions defined for this, or i miss >> something else? >> >> Thanks in advance for any help. :) >> >> -- >> Jack Zabolotnyi >> Arces Network, LLC >> >> e: jzabolotnyi at arces.net >> w: http://www.arces.net >> >> PGP key: 2048R/7F2AB658 2012-07-02 >> PGP fingerprint: 4C7E 00A8 5210 F3D9 0509 C70E 87C8 666E 7F2A B658 >> >> > > > -- > Mike Johnson > Datatel Programmer/Analyst > Northern Ontario School of Medicine > 955 Oliver Road > Thunder Bay, ON P7B 5E1 > Phone: (807) 766-7331 > Email: mike.johnson at nosm.ca > -- Jack Zabolotnyi Arces Network, LLC e: jzabolotnyi at arces.net w: http://www.arces.net PGP key: 2048R/7F2AB658 2012-07-02 PGP fingerprint: 4C7E 00A8 5210 F3D9 0509 C70E 87C8 666E 7F2A B658 -------------- next part -------------- An HTML attachment was scrubbed... URL: From rtusers-20090205 at billmail.scconsult.com Tue Aug 14 11:01:31 2012 From: rtusers-20090205 at billmail.scconsult.com (Bill Cole) Date: Tue, 14 Aug 2012 11:01:31 -0400 Subject: [rt-users] No mail is sent for AdminCC recepients In-Reply-To: References: Message-ID: <51D0AD0B-DBB5-45F1-BA65-B94ECD229FFE@billmail.scconsult.com> On 14 Aug 2012, at 10:43, Jack Zabolotnyi wrote: > I thought it should be a default (built-in) action. Otherwise why is > it > called AdminCC? There isn't really such a thing as "built-in" notification in RT: it is all Scrips. The default Scrips DO send AdminCC's updates, specifically via these Scrips: On Create Notify AdminCcs On Correspond Notify AdminCcs On Comment Notify AdminCcs as Comment From mike.johnson at nosm.ca Tue Aug 14 11:28:04 2012 From: mike.johnson at nosm.ca (Mike Johnson) Date: Tue, 14 Aug 2012 11:28:04 -0400 Subject: [rt-users] No mail is sent for AdminCC recepients In-Reply-To: References: Message-ID: I don't believe Best Practical "built-in" any actions. They leave it to clients to customize the RT instance to their own personal preferences. It is easy to put the scrips on to do what you are asking though. Mike. On Tue, Aug 14, 2012 at 10:43 AM, Jack Zabolotnyi wrote: > I thought it should be a default (built-in) action. Otherwise why is it > called AdminCC? > > > On Tue, Aug 14, 2012 at 4:24 PM, Mike Johnson wrote: > >> You need a scrip to do that action I believe. >> >> Mike. >> >> >> On Tue, Aug 14, 2012 at 9:23 AM, Jack Zabolotnyi wrote: >> >>> Hi everyone. >>> >>> I have a little trouble: recepients set in AdminCC don't receive any >>> mails on ticket update (or any other events). Any other notification is >>> doing well. Should there be some permissions defined for this, or i miss >>> something else? >>> >>> Thanks in advance for any help. :) >>> >>> -- >>> Jack Zabolotnyi >>> Arces Network, LLC >>> >>> e: jzabolotnyi at arces.net >>> w: http://www.arces.net >>> >>> PGP key: 2048R/7F2AB658 2012-07-02 >>> PGP fingerprint: 4C7E 00A8 5210 F3D9 0509 C70E 87C8 666E 7F2A B658 >>> >>> >> >> >> -- >> Mike Johnson >> Datatel Programmer/Analyst >> Northern Ontario School of Medicine >> 955 Oliver Road >> Thunder Bay, ON P7B 5E1 >> Phone: (807) 766-7331 >> Email: mike.johnson at nosm.ca >> > > > > -- > Jack Zabolotnyi > Arces Network, LLC > > e: jzabolotnyi at arces.net > w: http://www.arces.net > > PGP key: 2048R/7F2AB658 2012-07-02 > PGP fingerprint: 4C7E 00A8 5210 F3D9 0509 C70E 87C8 666E 7F2A B658 > > -- Mike Johnson Datatel Programmer/Analyst Northern Ontario School of Medicine 955 Oliver Road Thunder Bay, ON P7B 5E1 Phone: (807) 766-7331 Email: mike.johnson at nosm.ca -------------- next part -------------- An HTML attachment was scrubbed... URL: From methier at CGR.Harvard.edu Tue Aug 14 12:29:10 2012 From: methier at CGR.Harvard.edu (Ethier, Michael) Date: Tue, 14 Aug 2012 12:29:10 -0400 Subject: [rt-users] warnings from make upgrade-database from v3.8.8 to 4.0.6 Message-ID: <1B12003244CE894E85B4726023637888010DCC7C4B@FASXCH01.fasmail.priv> Hello, I executed "make upgrade-database" and I get warnings, see below. "make testdeps" says all the modules are installed. Can these warning be ignored and if not has someone hit this before and what was the fix ? This was executed with a new version of perl installed in /usr/local/perl. If I try this with the system /usr/bin/perl (also has all the modules needed), its complains less. Thanks, Mike [root at rt1 rt-4.0.6]# make upgrade-database /usr/local/perl/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 db.rc.fas.harvard.edu 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: mysql.rc.fas.harvard.edu Name: rt388 User: rtuser DBA: root Enter RT version you're upgrading from: 3.8.8 Going to apply following upgrades: * 3.8.9 * 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: IT'S VERY IMPORTANT TO BACK UP BEFORE THIS STEP Proceed [y/N]:y Processing 3.8.9 Now inserting data. [Tue Aug 14 14:38:45 2012] [warning]: Use of uninitialized value in subroutine entry at /opt/rt-4.0.6/sbin/../lib/RT/Record.pm line 643, <> line 1. (/opt/rt-4.0.6/sbin/../lib /RT/Record.pm:641) [Tue Aug 14 14:38:45 2012] [warning]: Use of uninitialized value in subroutine entry at /opt/rt-4.0.6/sbin/../lib/RT/Record.pm line 643, <> line 1. (/opt/rt-4.0.6/sbin/../lib /RT/Record.pm:641) [Tue Aug 14 14:38:45 2012] [warning]: Use of uninitialized value in subroutine entry at /opt/rt-4.0.6/sbin/../lib/RT/Record.pm line 643, <> line 1. (/opt/rt-4.0.6/sbin/../lib /RT/Record.pm:641) [Tue Aug 14 14:38:45 2012] [warning]: Use of uninitialized value in subroutine entry at /opt/rt-4.0.6/sbin/../lib/RT/Record.pm line 643, <> line 1. (/opt/rt-4.0.6/sbin/../lib /RT/Record.pm:641) Processing 3.9.1 Now inserting data. [Tue Aug 14 14:38:56 2012] [warning]: Use of uninitialized value in subroutine entry at /opt/rt-4.0.6/sbin/../lib/RT/Record.pm line 643, <> line 1. (/opt/rt-4.0.6/sbin/../lib /RT/Record.pm:641) [Tue Aug 14 14:38:56 2012] [warning]: Use of uninitialized value in subroutine entry at /opt/rt-4.0.6/sbin/../lib/RT/Record.pm line 643, <> line 1. (/opt/rt-4.0.6/sbin/../lib /RT/Record.pm:641) [Tue Aug 14 14:38:56 2012] [warning]: Use of uninitialized value in subroutine entry at /opt/rt-4.0.6/sbin/../lib/RT/Record.pm line 643, <> line 1. (/opt/rt-4.0.6/sbin/../lib /RT/Record.pm:641) [Tue Aug 14 14:38:56 2012] [warning]: Use of uninitialized value in subroutine entry at /opt/rt-4.0.6/sbin/../lib/RT/Record.pm line 643, <> line 1. (/opt/rt-4.0.6/sbin/../lib /RT/Record.pm:641) [Tue Aug 14 14:38:56 2012] [warning]: Use of uninitialized value in subroutine entry at /opt/rt-4.0.6/sbin/../lib/RT/Record.pm line 643, <> line 1. (/opt/rt-4.0.6/sbin/../lib /RT/Record.pm:641) [Tue Aug 14 14:38:56 2012] [warning]: Use of uninitialized value in subroutine entry at /opt/rt-4.0.6/sbin/../lib/RT/Record.pm line 643, <> line 1. (/opt/rt-4.0.6/sbin/../lib /RT/Record.pm:641) [Tue Aug 14 14:38:56 2012] [warning]: Use of uninitialized value in subroutine entry at /opt/rt-4.0.6/sbin/../lib/RT/Record.pm line 643, <> line 1. (/opt/rt-4.0.6/sbin/../lib /RT/Record.pm:641) [Tue Aug 14 14:38:56 2012] [warning]: Use of uninitialized value in subroutine entry at /opt/rt-4.0.6/sbin/../lib/RT/Record.pm line 643, <> line 1. (/opt/rt-4.0.6/sbin/../lib /RT/Record.pm:641) [Tue Aug 14 14:38:56 2012] [warning]: Use of uninitialized value in subroutine entry at /opt/rt-4.0.6/sbin/../lib/RT/Record.pm line 643, <> line 1. (/opt/rt-4.0.6/sbin/../lib /RT/Record.pm:641) [Tue Aug 14 14:38:56 2012] [warning]: Use of uninitialized value in subroutine entry at /opt/rt-4.0.6/sbin/../lib/RT/Record.pm line 643, <> line 1. (/opt/rt-4.0.6/sbin/../lib /RT/Record.pm:641) [Tue Aug 14 14:38:56 2012] [warning]: Use of uninitialized value in subroutine entry at /opt/rt-4.0.6/sbin/../lib/RT/Record.pm line 643, <> line 1. (/opt/rt-4.0.6/sbin/../lib /RT/Record.pm:641) [Tue Aug 14 14:38:56 2012] [warning]: Use of uninitialized value in subroutine entry at /opt/rt-4.0.6/sbin/../lib/RT/Record.pm line 643, <> line 1. (/opt/rt-4.0.6/sbin/../lib /RT/Record.pm:641) [Tue Aug 14 14:38:56 2012] [warning]: Use of uninitialized value in subroutine entry at /opt/rt-4.0.6/sbin/../lib/RT/Record.pm line 643, <> line 1. (/opt/rt-4.0.6/sbin/../lib /RT/Record.pm:641) [Tue Aug 14 14:38:56 2012] [warning]: Use of uninitialized value in subroutine entry at /opt/rt-4.0.6/sbin/../lib/RT/Record.pm line 643, <> line 1. (/opt/rt-4.0.6/sbin/../lib /RT/Record.pm:641) [Tue Aug 14 14:38:56 2012] [warning]: Use of uninitialized value in subroutine entry at /opt/rt-4.0.6/sbin/../lib/RT/Record.pm line 643, <> line 1. (/opt/rt-4.0.6/sbin/../lib /RT/Record.pm:641) [Tue Aug 14 14:38:56 2012] [warning]: Use of uninitialized value in subroutine entry at /opt/rt-4.0.6/sbin/../lib/RT/Record.pm line 643, <> line 1. (/opt/rt-4.0.6/sbin/../lib /RT/Record.pm:641) [Tue Aug 14 14:38:56 2012] [warning]: Use of uninitialized value in subroutine entry at /opt/rt-4.0.6/sbin/../lib/RT/Record.pm line 643, <> line 1. (/opt/rt-4.0.6/sbin/../lib /RT/Record.pm:641) [Tue Aug 14 14:38:56 2012] [warning]: Use of uninitialized value in subroutine entry at /opt/rt-4.0.6/sbin/../lib/RT/Record.pm line 643, <> line 1. (/opt/rt-4.0.6/sbin/../lib /RT/Record.pm:641) [Tue Aug 14 14:38:56 2012] [warning]: Use of uninitialized value in subroutine entry at /opt/rt-4.0.6/sbin/../lib/RT/Record.pm line 643, <> line 1. (/opt/rt-4.0.6/sbin/../lib /RT/Record.pm:641) [Tue Aug 14 14:38:56 2012] [warning]: Use of uninitialized value in subroutine entry at /opt/rt-4.0.6/sbin/../lib/RT/Record.pm line 643, <> line 1. (/opt/rt-4.0.6/sbin/../lib /RT/Record.pm:641) [Tue Aug 14 14:38:56 2012] [warning]: Use of uninitialized value in subroutine entry at /opt/rt-4.0.6/sbin/../lib/RT/Record.pm line 643, <> line 1. (/opt/rt-4.0.6/sbin/../lib /RT/Record.pm:641) [Tue Aug 14 14:38:56 2012] [warning]: Use of uninitialized value in subroutine entry at /opt/rt-4.0.6/sbin/../lib/RT/Record.pm line 643, <> line 1. (/opt/rt-4.0.6/sbin/../lib /RT/Record.pm:641) [Tue Aug 14 14:38:56 2012] [warning]: Use of uninitialized value in subroutine entry at /opt/rt-4.0.6/sbin/../lib/RT/Record.pm line 643, <> line 1. (/opt/rt-4.0.6/sbin/../lib /RT/Record.pm:641) [Tue Aug 14 14:38:56 2012] [warning]: Use of uninitialized value in subroutine entry at /opt/rt-4.0.6/sbin/../lib/RT/Record.pm line 643, <> line 1. (/opt/rt-4.0.6/sbin/../lib /RT/Record.pm:641) [Tue Aug 14 14:38:56 2012] [warning]: Use of uninitialized value in subroutine entry at /opt/rt-4.0.6/sbin/../lib/RT/Record.pm line 643, <> line 1. (/opt/rt-4.0.6/sbin/../lib /RT/Record.pm:641) [Tue Aug 14 14:38:56 2012] [warning]: Use of uninitialized value in subroutine entry at /opt/rt-4.0.6/sbin/../lib/RT/Record.pm line 643, <> line 1. (/opt/rt-4.0.6/sbin/../lib /RT/Record.pm:641) [Tue Aug 14 14:38:56 2012] [warning]: Use of uninitialized value in subroutine entry at /opt/rt-4.0.6/sbin/../lib/RT/Record.pm line 643, <> line 1. (/opt/rt-4.0.6/sbin/../lib /RT/Record.pm:641) [Tue Aug 14 14:38:56 2012] [warning]: Use of uninitialized value in subroutine entry at /opt/rt-4.0.6/sbin/../lib/RT/Record.pm line 643, <> line 1. (/opt/rt-4.0.6/sbin/../lib /RT/Record.pm:641) [Tue Aug 14 14:38:56 2012] [warning]: Use of uninitialized value in subroutine entry at /opt/rt-4.0.6/sbin/../lib/RT/Record.pm line 643, <> line 1. (/opt/rt-4.0.6/sbin/../lib /RT/Record.pm:641) [Tue Aug 14 14:38:56 2012] [warning]: Use of uninitialized value in subroutine entry at /opt/rt-4.0.6/sbin/../lib/RT/Record.pm line 643, <> line 1. (/opt/rt-4.0.6/sbin/../lib /RT/Record.pm:641) [Tue Aug 14 14:38:56 2012] [warning]: Use of uninitialized value in subroutine entry at /opt/rt-4.0.6/sbin/../lib/RT/Record.pm line 643, <> line 1. (/opt/rt-4.0.6/sbin/../lib /RT/Record.pm:641) [Tue Aug 14 14:38:56 2012] [warning]: Use of uninitialized value in subroutine entry at /opt/rt-4.0.6/sbin/../lib/RT/Record.pm line 643, <> line 1. (/opt/rt-4.0.6/sbin/../lib /RT/Record.pm:641) [Tue Aug 14 14:38:56 2012] [warning]: Use of uninitialized value in subroutine entry at /opt/rt-4.0.6/sbin/../lib/RT/Record.pm line 643, <> line 1. (/opt/rt-4.0.6/sbin/../lib /RT/Record.pm:641) [Tue Aug 14 14:38:56 2012] [warning]: Use of uninitialized value in subroutine entry at /opt/rt-4.0.6/sbin/../lib/RT/Record.pm line 643, <> line 1. (/opt/rt-4.0.6/sbin/../lib /RT/Record.pm:641) [Tue Aug 14 14:38:56 2012] [warning]: Use of uninitialized value in subroutine entry at /opt/rt-4.0.6/sbin/../lib/RT/Record.pm line 643, <> line 1. (/opt/rt-4.0.6/sbin/../lib /RT/Record.pm:641) [Tue Aug 14 14:38:56 2012] [warning]: Use of uninitialized value in subroutine entry at /opt/rt-4.0.6/sbin/../lib/RT/Record.pm line 643, <> line 1. (/opt/rt-4.0.6/sbin/../lib /RT/Record.pm:641) [Tue Aug 14 14:38:56 2012] [warning]: Use of uninitialized value in subroutine entry at /opt/rt-4.0.6/sbin/../lib/RT/Record.pm line 643, <> line 1. (/opt/rt-4.0.6/sbin/../lib /RT/Record.pm:641) [Tue Aug 14 14:38:56 2012] [warning]: Use of uninitialized value in subroutine entry at /opt/rt-4.0.6/sbin/../lib/RT/Record.pm line 643, <> line 1. (/opt/rt-4.0.6/sbin/../lib /RT/Record.pm:641) [Tue Aug 14 14:38:56 2012] [warning]: Use of uninitialized value in subroutine entry at /opt/rt-4.0.6/sbin/../lib/RT/Record.pm line 643, <> line 1. (/opt/rt-4.0.6/sbin/../lib /RT/Record.pm:641) [Tue Aug 14 14:38:56 2012] [warning]: Use of uninitialized value in subroutine entry at /opt/rt-4.0.6/sbin/../lib/RT/Record.pm line 643, <> line 1. (/opt/rt-4.0.6/sbin/../lib /RT/Record.pm:641) [Tue Aug 14 14:38:56 2012] [warning]: Use of uninitialized value in subroutine entry at /opt/rt-4.0.6/sbin/../lib/RT/Record.pm line 643, <> line 1. (/opt/rt-4.0.6/sbin/../lib /RT/Record.pm:641) [Tue Aug 14 14:38:56 2012] [warning]: Use of uninitialized value in subroutine entry at /opt/rt-4.0.6/sbin/../lib/RT/Record.pm line 643, <> line 1. (/opt/rt-4.0.6/sbin/../lib /RT/Record.pm:641) [Tue Aug 14 14:38:56 2012] [warning]: Use of uninitialized value in subroutine entry at /opt/rt-4.0.6/sbin/../lib/RT/Record.pm line 643, <> line 1. (/opt/rt-4.0.6/sbin/../lib /RT/Record.pm:641) [Tue Aug 14 14:38:56 2012] [warning]: Use of uninitialized value in subroutine entry at /opt/rt-4.0.6/sbin/../lib/RT/Record.pm line 643, <> line 1. (/opt/rt-4.0.6/sbin/../lib /RT/Record.pm:641) [Tue Aug 14 14:38:56 2012] [warning]: Use of uninitialized value in subroutine entry at /opt/rt-4.0.6/sbin/../lib/RT/Record.pm line 643, <> line 1. (/opt/rt-4.0.6/sbin/../lib /RT/Record.pm:641) [Tue Aug 14 14:38:56 2012] [warning]: Use of uninitialized value in subroutine entry at /opt/rt-4.0.6/sbin/../lib/RT/Record.pm line 643, <> line 1. (/opt/rt-4.0.6/sbin/../lib /RT/Record.pm:641) [Tue Aug 14 14:38:56 2012] [warning]: Use of uninitialized value in subroutine entry at /opt/rt-4.0.6/sbin/../lib/RT/Record.pm line 643, <> line 1. (/opt/rt-4.0.6/sbin/../lib /RT/Record.pm:641) [Tue Aug 14 14:38:56 2012] [warning]: Use of uninitialized value in subroutine entry at /opt/rt-4.0.6/sbin/../lib/RT/Record.pm line 643, <> line 1. (/opt/rt-4.0.6/sbin/../lib /RT/Record.pm:641) [Tue Aug 14 14:38:56 2012] [warning]: Use of uninitialized value in subroutine entry at /opt/rt-4.0.6/sbin/../lib/RT/Record.pm line 643, <> line 1. (/opt/rt-4.0.6/sbin/../lib /RT/Record.pm:641) [Tue Aug 14 14:38:56 2012] [warning]: Use of uninitialized value in subroutine entry at /opt/rt-4.0.6/sbin/../lib/RT/Record.pm line 643, <> line 1. (/opt/rt-4.0.6/sbin/../lib /RT/Record.pm:641) [Tue Aug 14 14:38:56 2012] [warning]: Use of uninitialized value in subroutine entry at /opt/rt-4.0.6/sbin/../lib/RT/Record.pm line 643, <> line 1. (/opt/rt-4.0.6/sbin/../lib /RT/Record.pm:641) [Tue Aug 14 14:38:56 2012] [warning]: Use of uninitialized value in subroutine entry at /opt/rt-4.0.6/sbin/../lib/RT/Record.pm line 643, <> line 1. (/opt/rt-4.0.6/sbin/../lib /RT/Record.pm:641) [Tue Aug 14 14:38:56 2012] [warning]: Use of uninitialized value in subroutine entry at /opt/rt-4.0.6/sbin/../lib/RT/Record.pm line 643, <> line 1. (/opt/rt-4.0.6/sbin/../lib /RT/Record.pm:641) [Tue Aug 14 14:38:56 2012] [warning]: Use of uninitialized value in subroutine entry at /opt/rt-4.0.6/sbin/../lib/RT/Record.pm line 643, <> line 1. (/opt/rt-4.0.6/sbin/../lib /RT/Record.pm:641) [Tue Aug 14 14:38:56 2012] [warning]: Use of uninitialized value in subroutine entry at /opt/rt-4.0.6/sbin/../lib/RT/Record.pm line 643, <> line 1. (/opt/rt-4.0.6/sbin/../lib /RT/Record.pm:641) [Tue Aug 14 14:38:56 2012] [warning]: Use of uninitialized value in subroutine entry at /opt/rt-4.0.6/sbin/../lib/RT/Record.pm line 643, <> line 1. (/opt/rt-4.0.6/sbin/../lib /RT/Record.pm:641) [Tue Aug 14 14:38:56 2012] [warning]: Use of uninitialized value in subroutine entry at /opt/rt-4.0.6/sbin/../lib/RT/Record.pm line 643, <> line 1. (/opt/rt-4.0.6/sbin/../lib /RT/Record.pm:641) [Tue Aug 14 14:38:56 2012] [warning]: Use of uninitialized value in subroutine entry at /opt/rt-4.0.6/sbin/../lib/RT/Record.pm line 643, <> line 1. (/opt/rt-4.0.6/sbin/../lib /RT/Record.pm:641) [Tue Aug 14 14:38:56 2012] [warning]: Use of uninitialized value in subroutine entry at /opt/rt-4.0.6/sbin/../lib/RT/Record.pm line 643, <> line 1. (/opt/rt-4.0.6/sbin/../lib /RT/Record.pm:641) [Tue Aug 14 14:38:56 2012] [warning]: Use of uninitialized value in subroutine entry at /opt/rt-4.0.6/sbin/../lib/RT/Record.pm line 643, <> line 1. (/opt/rt-4.0.6/sbin/../lib /RT/Record.pm:641) [Tue Aug 14 14:38:56 2012] [warning]: Use of uninitialized value in subroutine entry at /opt/rt-4.0.6/sbin/../lib/RT/Record.pm line 643, <> line 1. (/opt/rt-4.0.6/sbin/../lib /RT/Record.pm:641) [Tue Aug 14 14:38:56 2012] [warning]: Use of uninitialized value in subroutine entry at /opt/rt-4.0.6/sbin/../lib/RT/Record.pm line 643, <> line 1. (/opt/rt-4.0.6/sbin/../lib /RT/Record.pm:641) [Tue Aug 14 14:38:56 2012] [warning]: Use of uninitialized value in subroutine entry at /opt/rt-4.0.6/sbin/../lib/RT/Record.pm line 643, <> line 1. (/opt/rt-4.0.6/sbin/../lib /RT/Record.pm:641) [Tue Aug 14 14:38:56 2012] [warning]: Use of uninitialized value in subroutine entry at /opt/rt-4.0.6/sbin/../lib/RT/Record.pm line 643, <> line 1. (/opt/rt-4.0.6/sbin/../lib /RT/Record.pm:641) [Tue Aug 14 14:38:56 2012] [warning]: Use of uninitialized value in subroutine entry at /opt/rt-4.0.6/sbin/../lib/RT/Record.pm line 643, <> line 1. (/opt/rt-4.0.6/sbin/../lib /RT/Record.pm:641) [Tue Aug 14 14:38:56 2012] [warning]: Use of uninitialized value in subroutine entry at /opt/rt-4.0.6/sbin/../lib/RT/Record.pm line 643, <> line 1. (/opt/rt-4.0.6/sbin/../lib /RT/Record.pm:641) [Tue Aug 14 14:38:56 2012] [warning]: Use of uninitialized value in subroutine entry at /opt/rt-4.0.6/sbin/../lib/RT/Record.pm line 643, <> line 1. (/opt/rt-4.0.6/sbin/../lib /RT/Record.pm:641) [Tue Aug 14 14:38:56 2012] [warning]: Use of uninitialized value in subroutine entry at /opt/rt-4.0.6/sbin/../lib/RT/Record.pm line 643, <> line 1. (/opt/rt-4.0.6/sbin/../lib /RT/Record.pm:641) [Tue Aug 14 14:38:56 2012] [warning]: Use of uninitialized value in subroutine entry at /opt/rt-4.0.6/sbin/../lib/RT/Record.pm line 643, <> line 1. (/opt/rt-4.0.6/sbin/../lib /RT/Record.pm:641) [Tue Aug 14 14:38:56 2012] [warning]: Use of uninitialized value in subroutine entry at /opt/rt-4.0.6/sbin/../lib/RT/Record.pm line 643, <> line 1. (/opt/rt-4.0.6/sbin/../lib /RT/Record.pm:641) [Tue Aug 14 14:38:56 2012] [warning]: Use of uninitialized value in subroutine entry at /opt/rt-4.0.6/sbin/../lib/RT/Record.pm line 643, <> line 1. (/opt/rt-4.0.6/sbin/../lib /RT/Record.pm:641) [Tue Aug 14 14:38:56 2012] [warning]: Use of uninitialized value in subroutine entry at /opt/rt-4.0.6/sbin/../lib/RT/Record.pm line 643, <> line 1. (/opt/rt-4.0.6/sbin/../lib /RT/Record.pm:641) [Tue Aug 14 14:38:56 2012] [warning]: Use of uninitialized value in subroutine entry at /opt/rt-4.0.6/sbin/../lib/RT/Record.pm line 643, <> line 1. (/opt/rt-4.0.6/sbin/../lib /RT/Record.pm:641) Processing 3.9.2 Now inserting data. [Tue Aug 14 14:39:02 2012] [warning]: Use of uninitialized value in subroutine entry at /opt/rt-4.0.6/sbin/../lib/RT/Record.pm line 643, <> line 1. (/opt/rt-4.0.6/sbin/../lib /RT/Record.pm:641) Processing 3.9.3 Now populating database schema. Processing 3.9.5 Now populating database schema. Processing 3.9.6 Now populating database schema. Processing 3.9.7 Now populating database schema. Now inserting data. [Tue Aug 14 14:39:26 2012] [warning]: Use of uninitialized value in subroutine entry at /opt/rt-4.0.6/sbin/../lib/RT/Record.pm line 643. (/opt/rt-4.0.6/sbin/../lib/RT/Record. pm:641) [Tue Aug 14 14:39:26 2012] [warning]: Use of uninitialized value in subroutine entry at /opt/rt-4.0.6/sbin/../lib/RT/Record.pm line 643. (/opt/rt-4.0.6/sbin/../lib/RT/Record. pm:641) [Tue Aug 14 14:39:26 2012] [warning]: Use of uninitialized value in subroutine entry at /opt/rt-4.0.6/sbin/../lib/RT/Record.pm line 643. (/opt/rt-4.0.6/sbin/../lib/RT/Record. pm:641) [Tue Aug 14 14:39:26 2012] [warning]: Use of uninitialized value in subroutine entry at /opt/rt-4.0.6/sbin/../lib/RT/Record.pm line 643. (/opt/rt-4.0.6/sbin/../lib/RT/Record. pm:641) Processing 3.9.8 Now populating database schema. Now inserting data. Processing 4.0.0rc2 Now populating database schema. Processing 4.0.0rc4 Now populating database schema. Processing 4.0.0rc7 Now inserting data. [Tue Aug 14 14:39:37 2012] [warning]: Use of uninitialized value in subroutine entry at /opt/rt-4.0.6/sbin/../lib/RT/Record.pm line 643. (/opt/rt-4.0.6/sbin/../lib/RT/Record. pm:641) [Tue Aug 14 14:39:37 2012] [warning]: Use of uninitialized value in subroutine entry at /opt/rt-4.0.6/sbin/../lib/RT/Record.pm line 643. (/opt/rt-4.0.6/sbin/../lib/RT/Record. pm:641) [Tue Aug 14 14:39:38 2012] [warning]: Use of uninitialized value in subroutine entry at /opt/rt-4.0.6/sbin/../lib/RT/Record.pm line 643. (/opt/rt-4.0.6/sbin/../lib/RT/Record. pm:641) [Tue Aug 14 14:39:38 2012] [warning]: Use of uninitialized value in subroutine entry at /opt/rt-4.0.6/sbin/../lib/RT/Record.pm line 643. (/opt/rt-4.0.6/sbin/../lib/RT/Record. pm:641) [Tue Aug 14 14:39:38 2012] [warning]: Use of uninitialized value in subroutine entry at /opt/rt-4.0.6/sbin/../lib/RT/Record.pm line 643. (/opt/rt-4.0.6/sbin/../lib/RT/Record. pm:641) Processing 4.0.1 Now inserting data. [Tue Aug 14 14:39:43 2012] [warning]: Use of uninitialized value in subroutine entry at /opt/rt-4.0.6/sbin/../lib/RT/Record.pm line 643. (/opt/rt-4.0.6/sbin/../lib/RT/Record. pm:641) Processing 4.0.3 Now inserting data. [Tue Aug 14 14:39:50 2012] [warning]: Use of uninitialized value in subroutine entry at /opt/rt-4.0.6/sbin/../lib/RT/Record.pm line 643. (/opt/rt-4.0.6/sbin/../lib/RT/Record. pm:641) Processing 4.0.4 Now inserting data. Processing 4.0.6 Now populating database schema. Now inserting data. Done. With system perl in /usr/bin/perl instead: [root at rt1 rt-4.0.6]# 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 db.rc.fas.harvard.edu 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: mysql.rc.fas.harvard.edu Name: rt388 User: rtuser DBA: root Enter RT version you're upgrading from: 3.8.8 Going to apply following upgrades: * 3.8.9 * 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: IT'S VERY IMPORTANT TO BACK UP BEFORE THIS STEP Proceed [y/N]:y Processing 3.8.9 Now inserting data. [Tue Aug 14 16:16:05 2012] [warning]: Use of uninitialized value in string eq at /opt/rt-4.0.6/sbin/../lib/RT/Template.pm line 651, <> line 1. (/opt/rt-4.0.6/sbin/../lib/RT/Template.pm:651) [Tue Aug 14 16:16:05 2012] [warning]: Use of uninitialized value in string eq at /opt/rt-4.0.6/sbin/../lib/RT/Template.pm line 651, <> line 1. (/opt/rt-4.0.6/sbin/../lib/RT/Template.pm:651) [Tue Aug 14 16:16:05 2012] [warning]: Use of uninitialized value in string eq at /opt/rt-4.0.6/sbin/../lib/RT/Template.pm line 651, <> line 1. (/opt/rt-4.0.6/sbin/../lib/RT/Template.pm:651) Processing 3.9.1 Now inserting data. Processing 3.9.2 Now inserting data. Processing 3.9.3 Now populating database schema. Processing 3.9.5 Now populating database schema. Processing 3.9.6 Now populating database schema. Processing 3.9.7 Now populating database schema. Now inserting data. Processing 3.9.8 Now populating database schema. Now inserting data. Processing 4.0.0rc2 Now populating database schema. Processing 4.0.0rc4 Now populating database schema. Processing 4.0.0rc7 Now inserting data. Processing 4.0.1 Now inserting data. Processing 4.0.3 Now inserting data. Processing 4.0.4 Now inserting data. Processing 4.0.6 Now populating database schema. Now inserting data. Done. -------------- next part -------------- An HTML attachment was scrubbed... URL: From falcone at bestpractical.com Tue Aug 14 13:00:51 2012 From: falcone at bestpractical.com (Kevin Falcone) Date: Tue, 14 Aug 2012 13:00:51 -0400 Subject: [rt-users] Subject Tag Usage In-Reply-To: References: Message-ID: <20120814170051.GP1496@jibsheet.com> On Tue, Aug 14, 2012 at 10:19:33AM -0400, Mike Johnson wrote: > I just want to be sure I'm understanding the use of "Subject Tag" for a queue. > I can put whatever I want in this, and it'll change the tag in the subject line of outgoing > messages. > By default rt puts the RT instance name [[1]rt.here.com #12345] > If I put FOO in the subject tag for a queue, the tag would be [FOO #12345] > If I change that tag to BAR, I have to put FOO in the regular expression in the Site config to > ensure it recognizes the old tag. > Is there any other things I should be aware of? I've tested a bunch, but I just want to make > sure I'm not missing anything. This sounds like a good summary. If you've upgraded RT, ensure your templates are in sync with what we ship in the current version, otherwise it won't pull the subject tag. -kevin -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 195 bytes Desc: not available URL: From falcone at bestpractical.com Tue Aug 14 13:01:53 2012 From: falcone at bestpractical.com (Kevin Falcone) Date: Tue, 14 Aug 2012 13:01:53 -0400 Subject: [rt-users] No mail is sent for AdminCC recepients In-Reply-To: References: Message-ID: <20120814170153.GQ1496@jibsheet.com> On Tue, Aug 14, 2012 at 11:28:04AM -0400, Mike Johnson wrote: > I don't believe Best Practical "built-in" any actions. They leave it to clients to customize > the RT instance to their own personal preferences. > It is easy to put the scrips on to do what you are asking though. We don't build any in, but we do ship some defaults, as noted by Bill. My assumption is that the OP disabled some along the way. > On Tue, Aug 14, 2012 at 10:43 AM, Jack Zabolotnyi <[1]jzabolotnyi at arces.net> wrote: > > I thought it should be a default (built-in) action. Otherwise why is it called AdminCC? > > On Tue, Aug 14, 2012 at 4:24 PM, Mike Johnson <[2]mike.johnson at nosm.ca> wrote: > > You need a scrip to do that action I believe. > Mike. > > On Tue, Aug 14, 2012 at 9:23 AM, Jack Zabolotnyi <[3]jzabolotnyi at arces.net> wrote: > > Hi everyone. > > I have a little trouble: recepients set in AdminCC don't receive any mails on ticket > update (or any other events). Any other notification is doing well. Should there be some > permissions defined for this, or i miss something else? > > Thanks in advance for any help. :) -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 195 bytes Desc: not available URL: From falcone at bestpractical.com Tue Aug 14 13:05:30 2012 From: falcone at bestpractical.com (Kevin Falcone) Date: Tue, 14 Aug 2012 13:05:30 -0400 Subject: [rt-users] warnings from make upgrade-database from v3.8.8 to 4.0.6 In-Reply-To: <1B12003244CE894E85B4726023637888010DCC7C4B@FASXCH01.fasmail.priv> References: <1B12003244CE894E85B4726023637888010DCC7C4B@FASXCH01.fasmail.priv> Message-ID: <20120814170530.GR1496@jibsheet.com> On Tue, Aug 14, 2012 at 12:29:10PM -0400, Ethier, Michael wrote: > I executed "make upgrade-database" and I get warnings, see below. "make testdeps" says all > the modules are installed. Can these warning be ignored and if not has someone hit this before > and what was the fix ? This was executed with a new version of perl installed in /usr/local/perl. Which "new version of perl" ? > [Tue Aug 14 14:38:45 2012] [warning]: Use of uninitialized value in subroutine entry at /opt/rt-4.0.6/sbin/../lib/RT/Record.pm line 643, <> line 1. (/opt/rt-4.0.6/sbin/../lib /RT/Record.pm:641) This is probably caused by your perl version or a module version, but it's hard to debug without knowing the perl involved. > [Tue Aug 14 16:16:05 2012] [warning]: Use of uninitialized value in string eq at /opt/rt-4.0.6/sbin/../lib/RT/Template.pm line 651, <> line 1. (/opt/rt-4.0.6/sbin/../lib/RT/Template.pm:651) This is completely ignorable. -kevin -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 195 bytes Desc: not available URL: From methier at CGR.Harvard.edu Tue Aug 14 13:44:25 2012 From: methier at CGR.Harvard.edu (Ethier, Michael) Date: Tue, 14 Aug 2012 13:44:25 -0400 Subject: [rt-users] warnings from make upgrade-database from v3.8.8 to 4.0.6 In-Reply-To: <20120814170530.GR1496@jibsheet.com> References: <1B12003244CE894E85B4726023637888010DCC7C4B@FASXCH01.fasmail.priv> <20120814170530.GR1496@jibsheet.com> Message-ID: <1B12003244CE894E85B4726023637888010DCC7C7A@FASXCH01.fasmail.priv> Hi Kevin, The "new version of perl" a very recent stable version 5.16.0. I just re-installed this version of perl and all the required modules and I still get the warnings. Should I just use the system version of perl to do the upgrade with ? System perl is v5.10.1. This was done on a development box. However the production rt4 server will be running a different machine with perl 5.16.0 and the database upgraded by the dev box above. Thanks, Mike [root at rt1 rt-4.0.6]# perl -v This is perl 5, version 16, subversion 0 (v5.16.0) built for x86_64-linux Copyright 1987-2012, Larry Wall Perl may be copied only under the terms of either the Artistic License or the GNU General Public License, which may be found in the Perl 5 source kit. Complete documentation for Perl, including FAQ lists, should be found on this system using "man perl" or "perldoc perl". If you have access to the Internet, point your browser at http://www.perl.org/, the Perl Home Page. [root at rt1 rt-4.0.6]# make upgrade-database /usr/local/perl/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 db.rc.fas.harvard.edu 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: db.rc.fas.harvard.edu Name: rt388 User: rt3_user DBA: root Enter RT version you're upgrading from: 3.8.8 Going to apply following upgrades: * 3.8.9 * 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: IT'S VERY IMPORTANT TO BACK UP BEFORE THIS STEP Proceed [y/N]:y Processing 3.8.9 Now inserting data. [Tue Aug 14 17:36:26 2012] [warning]: Use of uninitialized value in subroutine entry at /opt/rt-4.0.6/sbin/../lib/RT/Record.pm line 643, <> line 1. (/opt/rt-4.0.6/sbin/../lib/RT/Record.pm:641) [Tue Aug 14 17:36:26 2012] [warning]: Use of uninitialized value in subroutine entry at /opt/rt-4.0.6/sbin/../lib/RT/Record.pm line 643, <> line 1. (/opt/rt-4.0.6/sbin/../lib/RT/Record.pm:641) [Tue Aug 14 17:36:26 2012] [warning]: Use of uninitialized value in subroutine entry at /opt/rt-4.0.6/sbin/../lib/RT/Record.pm line 643, <> line 1. (/opt/rt-4.0.6/sbin/../lib/RT/Record.pm:641) [Tue Aug 14 17:36:26 2012] [warning]: Use of uninitialized value in subroutine entry at /opt/rt-4.0.6/sbin/../lib/RT/Record.pm line 643, <> line 1. (/opt/rt-4.0.6/sbin/../lib/RT/Record.pm:641) Processing 3.9.1 Now inserting data. [Tue Aug 14 17:36:36 2012] [warning]: Use of uninitialized value in subroutine entry at /opt/rt-4.0.6/sbin/../lib/RT/Record.pm line 643, <> line 1. (/opt/rt-4.0.6/sbin/../lib/RT/Record.pm:641) [Tue Aug 14 17:36:36 2012] [warning]: Use of uninitialized value in subroutine entry at /opt/rt-4.0.6/sbin/../lib/RT/Record.pm line 643, <> line 1. (/opt/rt-4.0.6/sbin/../lib/RT/Record.pm:641) [Tue Aug 14 17:36:36 2012] [warning]: Use of uninitialized value in subroutine entry at /opt/rt-4.0.6/sbin/../lib/RT/Record.pm line 643, <> line 1. (/opt/rt-4.0.6/sbin/../lib/RT/Record.pm:641) [Tue Aug 14 17:36:36 2012] [warning]: Use of uninitialized value in subroutine entry at /opt/rt-4.0.6/sbin/../lib/RT/Record.pm line 643, <> line 1. (/opt/rt-4.0.6/sbin/../lib/RT/Record.pm:641) [Tue Aug 14 17:36:36 2012] [warning]: Use of uninitialized value in subroutine entry at /opt/rt-4.0.6/sbin/../lib/RT/Record.pm line 643, <> line 1. (/opt/rt-4.0.6/sbin/../lib/RT/Record.pm:641) [Tue Aug 14 17:36:36 2012] [warning]: Use of uninitialized value in subroutine entry at /opt/rt-4.0.6/sbin/../lib/RT/Record.pm line 643, <> line 1. (/opt/rt-4.0.6/sbin/../lib/RT/Record.pm:641) [Tue Aug 14 17:36:36 2012] [warning]: Use of uninitialized value in subroutine entry at /opt/rt-4.0.6/sbin/../lib/RT/Record.pm line 643, <> line 1. (/opt/rt-4.0.6/sbin/../lib/RT/Record.pm:641) [Tue Aug 14 17:36:36 2012] [warning]: Use of uninitialized value in subroutine entry at /opt/rt-4.0.6/sbin/../lib/RT/Record.pm line 643, <> line 1. (/opt/rt-4.0.6/sbin/../lib/RT/Record.pm:641) [Tue Aug 14 17:36:36 2012] [warning]: Use of uninitialized value in subroutine entry at /opt/rt-4.0.6/sbin/../lib/RT/Record.pm line 643, <> line 1. (/opt/rt-4.0.6/sbin/../lib/RT/Record.pm:641) [Tue Aug 14 17:36:36 2012] [warning]: Use of uninitialized value in subroutine entry at /opt/rt-4.0.6/sbin/../lib/RT/Record.pm line 643, <> line 1. (/opt/rt-4.0.6/sbin/../lib/RT/Record.pm:641) [Tue Aug 14 17:36:36 2012] [warning]: Use of uninitialized value in subroutine entry at /opt/rt-4.0.6/sbin/../lib/RT/Record.pm line 643, <> line 1. (/opt/rt-4.0.6/sbin/../lib/RT/Record.pm:641) [Tue Aug 14 17:36:36 2012] [warning]: Use of uninitialized value in subroutine entry at /opt/rt-4.0.6/sbin/../lib/RT/Record.pm line 643, <> line 1. (/opt/rt-4.0.6/sbin/../lib/RT/Record.pm:641) [Tue Aug 14 17:36:36 2012] [warning]: Use of uninitialized value in subroutine entry at /opt/rt-4.0.6/sbin/../lib/RT/Record.pm line 643, <> line 1. (/opt/rt-4.0.6/sbin/../lib/RT/Record.pm:641) [Tue Aug 14 17:36:36 2012] [warning]: Use of uninitialized value in subroutine entry at /opt/rt-4.0.6/sbin/../lib/RT/Record.pm line 643, <> line 1. (/opt/rt-4.0.6/sbin/../lib/RT/Record.pm:641) [Tue Aug 14 17:36:36 2012] [warning]: Use of uninitialized value in subroutine entry at /opt/rt-4.0.6/sbin/../lib/RT/Record.pm line 643, <> line 1. (/opt/rt-4.0.6/sbin/../lib/RT/Record.pm:641) [Tue Aug 14 17:36:36 2012] [warning]: Use of uninitialized value in subroutine entry at /opt/rt-4.0.6/sbin/../lib/RT/Record.pm line 643, <> line 1. (/opt/rt-4.0.6/sbin/../lib/RT/Record.pm:641) [Tue Aug 14 17:36:36 2012] [warning]: Use of uninitialized value in subroutine entry at /opt/rt-4.0.6/sbin/../lib/RT/Record.pm line 643, <> line 1. (/opt/rt-4.0.6/sbin/../lib/RT/Record.pm:641) [Tue Aug 14 17:36:36 2012] [warning]: Use of uninitialized value in subroutine entry at /opt/rt-4.0.6/sbin/../lib/RT/Record.pm line 643, <> line 1. (/opt/rt-4.0.6/sbin/../lib/RT/Record.pm:641) [Tue Aug 14 17:36:36 2012] [warning]: Use of uninitialized value in subroutine entry at /opt/rt-4.0.6/sbin/../lib/RT/Record.pm line 643, <> line 1. (/opt/rt-4.0.6/sbin/../lib/RT/Record.pm:641) [Tue Aug 14 17:36:36 2012] [warning]: Use of uninitialized value in subroutine entry at /opt/rt-4.0.6/sbin/../lib/RT/Record.pm line 643, <> line 1. (/opt/rt-4.0.6/sbin/../lib/RT/Record.pm:641) [Tue Aug 14 17:36:36 2012] [warning]: Use of uninitialized value in subroutine entry at /opt/rt-4.0.6/sbin/../lib/RT/Record.pm line 643, <> line 1. (/opt/rt-4.0.6/sbin/../lib/RT/Record.pm:641) [Tue Aug 14 17:36:36 2012] [warning]: Use of uninitialized value in subroutine entry at /opt/rt-4.0.6/sbin/../lib/RT/Record.pm line 643, <> line 1. (/opt/rt-4.0.6/sbin/../lib/RT/Record.pm:641) [Tue Aug 14 17:36:36 2012] [warning]: Use of uninitialized value in subroutine entry at /opt/rt-4.0.6/sbin/../lib/RT/Record.pm line 643, <> line 1. (/opt/rt-4.0.6/sbin/../lib/RT/Record.pm:641) [Tue Aug 14 17:36:36 2012] [warning]: Use of uninitialized value in subroutine entry at /opt/rt-4.0.6/sbin/../lib/RT/Record.pm line 643, <> line 1. (/opt/rt-4.0.6/sbin/../lib/RT/Record.pm:641) [Tue Aug 14 17:36:36 2012] [warning]: Use of uninitialized value in subroutine entry at /opt/rt-4.0.6/sbin/../lib/RT/Record.pm line 643, <> line 1. (/opt/rt-4.0.6/sbin/../lib/RT/Record.pm:641) [Tue Aug 14 17:36:36 2012] [warning]: Use of uninitialized value in subroutine entry at /opt/rt-4.0.6/sbin/../lib/RT/Record.pm line 643, <> line 1. (/opt/rt-4.0.6/sbin/../lib/RT/Record.pm:641) [Tue Aug 14 17:36:36 2012] [warning]: Use of uninitialized value in subroutine entry at /opt/rt-4.0.6/sbin/../lib/RT/Record.pm line 643, <> line 1. (/opt/rt-4.0.6/sbin/../lib/RT/Record.pm:641) [Tue Aug 14 17:36:36 2012] [warning]: Use of uninitialized value in subroutine entry at /opt/rt-4.0.6/sbin/../lib/RT/Record.pm line 643, <> line 1. (/opt/rt-4.0.6/sbin/../lib/RT/Record.pm:641) [Tue Aug 14 17:36:36 2012] [warning]: Use of uninitialized value in subroutine entry at /opt/rt-4.0.6/sbin/../lib/RT/Record.pm line 643, <> line 1. (/opt/rt-4.0.6/sbin/../lib/RT/Record.pm:641) [Tue Aug 14 17:36:36 2012] [warning]: Use of uninitialized value in subroutine entry at /opt/rt-4.0.6/sbin/../lib/RT/Record.pm line 643, <> line 1. (/opt/rt-4.0.6/sbin/../lib/RT/Record.pm:641) [Tue Aug 14 17:36:36 2012] [warning]: Use of uninitialized value in subroutine entry at /opt/rt-4.0.6/sbin/../lib/RT/Record.pm line 643, <> line 1. (/opt/rt-4.0.6/sbin/../lib/RT/Record.pm:641) [Tue Aug 14 17:36:36 2012] [warning]: Use of uninitialized value in subroutine entry at /opt/rt-4.0.6/sbin/../lib/RT/Record.pm line 643, <> line 1. (/opt/rt-4.0.6/sbin/../lib/RT/Record.pm:641) [Tue Aug 14 17:36:36 2012] [warning]: Use of uninitialized value in subroutine entry at /opt/rt-4.0.6/sbin/../lib/RT/Record.pm line 643, <> line 1. (/opt/rt-4.0.6/sbin/../lib/RT/Record.pm:641) [Tue Aug 14 17:36:36 2012] [warning]: Use of uninitialized value in subroutine entry at /opt/rt-4.0.6/sbin/../lib/RT/Record.pm line 643, <> line 1. (/opt/rt-4.0.6/sbin/../lib/RT/Record.pm:641) [Tue Aug 14 17:36:36 2012] [warning]: Use of uninitialized value in subroutine entry at /opt/rt-4.0.6/sbin/../lib/RT/Record.pm line 643, <> line 1. (/opt/rt-4.0.6/sbin/../lib/RT/Record.pm:641) [Tue Aug 14 17:36:36 2012] [warning]: Use of uninitialized value in subroutine entry at /opt/rt-4.0.6/sbin/../lib/RT/Record.pm line 643, <> line 1. (/opt/rt-4.0.6/sbin/../lib/RT/Record.pm:641) [Tue Aug 14 17:36:36 2012] [warning]: Use of uninitialized value in subroutine entry at /opt/rt-4.0.6/sbin/../lib/RT/Record.pm line 643, <> line 1. (/opt/rt-4.0.6/sbin/../lib/RT/Record.pm:641) [Tue Aug 14 17:36:36 2012] [warning]: Use of uninitialized value in subroutine entry at /opt/rt-4.0.6/sbin/../lib/RT/Record.pm line 643, <> line 1. (/opt/rt-4.0.6/sbin/../lib/RT/Record.pm:641) [Tue Aug 14 17:36:36 2012] [warning]: Use of uninitialized value in subroutine entry at /opt/rt-4.0.6/sbin/../lib/RT/Record.pm line 643, <> line 1. (/opt/rt-4.0.6/sbin/../lib/RT/Record.pm:641) [Tue Aug 14 17:36:36 2012] [warning]: Use of uninitialized value in subroutine entry at /opt/rt-4.0.6/sbin/../lib/RT/Record.pm line 643, <> line 1. (/opt/rt-4.0.6/sbin/../lib/RT/Record.pm:641) [Tue Aug 14 17:36:36 2012] [warning]: Use of uninitialized value in subroutine entry at /opt/rt-4.0.6/sbin/../lib/RT/Record.pm line 643, <> line 1. (/opt/rt-4.0.6/sbin/../lib/RT/Record.pm:641) [Tue Aug 14 17:36:36 2012] [warning]: Use of uninitialized value in subroutine entry at /opt/rt-4.0.6/sbin/../lib/RT/Record.pm line 643, <> line 1. (/opt/rt-4.0.6/sbin/../lib/RT/Record.pm:641) [Tue Aug 14 17:36:36 2012] [warning]: Use of uninitialized value in subroutine entry at /opt/rt-4.0.6/sbin/../lib/RT/Record.pm line 643, <> line 1. (/opt/rt-4.0.6/sbin/../lib/RT/Record.pm:641) [Tue Aug 14 17:36:36 2012] [warning]: Use of uninitialized value in subroutine entry at /opt/rt-4.0.6/sbin/../lib/RT/Record.pm line 643, <> line 1. (/opt/rt-4.0.6/sbin/../lib/RT/Record.pm:641) [Tue Aug 14 17:36:36 2012] [warning]: Use of uninitialized value in subroutine entry at /opt/rt-4.0.6/sbin/../lib/RT/Record.pm line 643, <> line 1. (/opt/rt-4.0.6/sbin/../lib/RT/Record.pm:641) [Tue Aug 14 17:36:36 2012] [warning]: Use of uninitialized value in subroutine entry at /opt/rt-4.0.6/sbin/../lib/RT/Record.pm line 643, <> line 1. (/opt/rt-4.0.6/sbin/../lib/RT/Record.pm:641) [Tue Aug 14 17:36:36 2012] [warning]: Use of uninitialized value in subroutine entry at /opt/rt-4.0.6/sbin/../lib/RT/Record.pm line 643, <> line 1. (/opt/rt-4.0.6/sbin/../lib/RT/Record.pm:641) [Tue Aug 14 17:36:36 2012] [warning]: Use of uninitialized value in subroutine entry at /opt/rt-4.0.6/sbin/../lib/RT/Record.pm line 643, <> line 1. (/opt/rt-4.0.6/sbin/../lib/RT/Record.pm:641) [Tue Aug 14 17:36:36 2012] [warning]: Use of uninitialized value in subroutine entry at /opt/rt-4.0.6/sbin/../lib/RT/Record.pm line 643, <> line 1. (/opt/rt-4.0.6/sbin/../lib/RT/Record.pm:641) [Tue Aug 14 17:36:37 2012] [warning]: Use of uninitialized value in subroutine entry at /opt/rt-4.0.6/sbin/../lib/RT/Record.pm line 643, <> line 1. (/opt/rt-4.0.6/sbin/../lib/RT/Record.pm:641) [Tue Aug 14 17:36:37 2012] [warning]: Use of uninitialized value in subroutine entry at /opt/rt-4.0.6/sbin/../lib/RT/Record.pm line 643, <> line 1. (/opt/rt-4.0.6/sbin/../lib/RT/Record.pm:641) [Tue Aug 14 17:36:37 2012] [warning]: Use of uninitialized value in subroutine entry at /opt/rt-4.0.6/sbin/../lib/RT/Record.pm line 643, <> line 1. (/opt/rt-4.0.6/sbin/../lib/RT/Record.pm:641) [Tue Aug 14 17:36:37 2012] [warning]: Use of uninitialized value in subroutine entry at /opt/rt-4.0.6/sbin/../lib/RT/Record.pm line 643, <> line 1. (/opt/rt-4.0.6/sbin/../lib/RT/Record.pm:641) [Tue Aug 14 17:36:37 2012] [warning]: Use of uninitialized value in subroutine entry at /opt/rt-4.0.6/sbin/../lib/RT/Record.pm line 643, <> line 1. (/opt/rt-4.0.6/sbin/../lib/RT/Record.pm:641) [Tue Aug 14 17:36:37 2012] [warning]: Use of uninitialized value in subroutine entry at /opt/rt-4.0.6/sbin/../lib/RT/Record.pm line 643, <> line 1. (/opt/rt-4.0.6/sbin/../lib/RT/Record.pm:641) [Tue Aug 14 17:36:37 2012] [warning]: Use of uninitialized value in subroutine entry at /opt/rt-4.0.6/sbin/../lib/RT/Record.pm line 643, <> line 1. (/opt/rt-4.0.6/sbin/../lib/RT/Record.pm:641) [Tue Aug 14 17:36:37 2012] [warning]: Use of uninitialized value in subroutine entry at /opt/rt-4.0.6/sbin/../lib/RT/Record.pm line 643, <> line 1. (/opt/rt-4.0.6/sbin/../lib/RT/Record.pm:641) [Tue Aug 14 17:36:37 2012] [warning]: Use of uninitialized value in subroutine entry at /opt/rt-4.0.6/sbin/../lib/RT/Record.pm line 643, <> line 1. (/opt/rt-4.0.6/sbin/../lib/RT/Record.pm:641) [Tue Aug 14 17:36:37 2012] [warning]: Use of uninitialized value in subroutine entry at /opt/rt-4.0.6/sbin/../lib/RT/Record.pm line 643, <> line 1. (/opt/rt-4.0.6/sbin/../lib/RT/Record.pm:641) [Tue Aug 14 17:36:37 2012] [warning]: Use of uninitialized value in subroutine entry at /opt/rt-4.0.6/sbin/../lib/RT/Record.pm line 643, <> line 1. (/opt/rt-4.0.6/sbin/../lib/RT/Record.pm:641) [Tue Aug 14 17:36:37 2012] [warning]: Use of uninitialized value in subroutine entry at /opt/rt-4.0.6/sbin/../lib/RT/Record.pm line 643, <> line 1. (/opt/rt-4.0.6/sbin/../lib/RT/Record.pm:641) [Tue Aug 14 17:36:37 2012] [warning]: Use of uninitialized value in subroutine entry at /opt/rt-4.0.6/sbin/../lib/RT/Record.pm line 643, <> line 1. (/opt/rt-4.0.6/sbin/../lib/RT/Record.pm:641) [Tue Aug 14 17:36:37 2012] [warning]: Use of uninitialized value in subroutine entry at /opt/rt-4.0.6/sbin/../lib/RT/Record.pm line 643, <> line 1. (/opt/rt-4.0.6/sbin/../lib/RT/Record.pm:641) [Tue Aug 14 17:36:37 2012] [warning]: Use of uninitialized value in subroutine entry at /opt/rt-4.0.6/sbin/../lib/RT/Record.pm line 643, <> line 1. (/opt/rt-4.0.6/sbin/../lib/RT/Record.pm:641) [Tue Aug 14 17:36:37 2012] [warning]: Use of uninitialized value in subroutine entry at /opt/rt-4.0.6/sbin/../lib/RT/Record.pm line 643, <> line 1. (/opt/rt-4.0.6/sbin/../lib/RT/Record.pm:641) [Tue Aug 14 17:36:37 2012] [warning]: Use of uninitialized value in subroutine entry at /opt/rt-4.0.6/sbin/../lib/RT/Record.pm line 643, <> line 1. (/opt/rt-4.0.6/sbin/../lib/RT/Record.pm:641) [Tue Aug 14 17:36:37 2012] [warning]: Use of uninitialized value in subroutine entry at /opt/rt-4.0.6/sbin/../lib/RT/Record.pm line 643, <> line 1. (/opt/rt-4.0.6/sbin/../lib/RT/Record.pm:641) [Tue Aug 14 17:36:37 2012] [warning]: Use of uninitialized value in subroutine entry at /opt/rt-4.0.6/sbin/../lib/RT/Record.pm line 643, <> line 1. (/opt/rt-4.0.6/sbin/../lib/RT/Record.pm:641) [Tue Aug 14 17:36:37 2012] [warning]: Use of uninitialized value in subroutine entry at /opt/rt-4.0.6/sbin/../lib/RT/Record.pm line 643, <> line 1. (/opt/rt-4.0.6/sbin/../lib/RT/Record.pm:641) [Tue Aug 14 17:36:37 2012] [warning]: Use of uninitialized value in subroutine entry at /opt/rt-4.0.6/sbin/../lib/RT/Record.pm line 643, <> line 1. (/opt/rt-4.0.6/sbin/../lib/RT/Record.pm:641) [Tue Aug 14 17:36:37 2012] [warning]: Use of uninitialized value in subroutine entry at /opt/rt-4.0.6/sbin/../lib/RT/Record.pm line 643, <> line 1. (/opt/rt-4.0.6/sbin/../lib/RT/Record.pm:641) [Tue Aug 14 17:36:37 2012] [warning]: Use of uninitialized value in subroutine entry at /opt/rt-4.0.6/sbin/../lib/RT/Record.pm line 643, <> line 1. (/opt/rt-4.0.6/sbin/../lib/RT/Record.pm:641) [Tue Aug 14 17:36:37 2012] [warning]: Use of uninitialized value in subroutine entry at /opt/rt-4.0.6/sbin/../lib/RT/Record.pm line 643, <> line 1. (/opt/rt-4.0.6/sbin/../lib/RT/Record.pm:641) Processing 3.9.2 Now inserting data. [Tue Aug 14 17:36:43 2012] [warning]: Use of uninitialized value in subroutine entry at /opt/rt-4.0.6/sbin/../lib/RT/Record.pm line 643, <> line 1. (/opt/rt-4.0.6/sbin/../lib/RT/Record.pm:641) Processing 3.9.3 Now populating database schema. Processing 3.9.5 Now populating database schema. Processing 3.9.6 Now populating database schema. Processing 3.9.7 Now populating database schema. Now inserting data. [Tue Aug 14 17:37:02 2012] [warning]: Use of uninitialized value in subroutine entry at /opt/rt-4.0.6/sbin/../lib/RT/Record.pm line 643. (/opt/rt-4.0.6/sbin/../lib/RT/Record.pm:641) [Tue Aug 14 17:37:02 2012] [warning]: Use of uninitialized value in subroutine entry at /opt/rt-4.0.6/sbin/../lib/RT/Record.pm line 643. (/opt/rt-4.0.6/sbin/../lib/RT/Record.pm:641) [Tue Aug 14 17:37:02 2012] [warning]: Use of uninitialized value in subroutine entry at /opt/rt-4.0.6/sbin/../lib/RT/Record.pm line 643. (/opt/rt-4.0.6/sbin/../lib/RT/Record.pm:641) [Tue Aug 14 17:37:02 2012] [warning]: Use of uninitialized value in subroutine entry at /opt/rt-4.0.6/sbin/../lib/RT/Record.pm line 643. (/opt/rt-4.0.6/sbin/../lib/RT/Record.pm:641) Processing 3.9.8 Now populating database schema. Now inserting data. Processing 4.0.0rc2 Now populating database schema. Processing 4.0.0rc4 Now populating database schema. Processing 4.0.0rc7 Now inserting data. [Tue Aug 14 17:37:14 2012] [warning]: Use of uninitialized value in subroutine entry at /opt/rt-4.0.6/sbin/../lib/RT/Record.pm line 643. (/opt/rt-4.0.6/sbin/../lib/RT/Record.pm:641) [Tue Aug 14 17:37:14 2012] [warning]: Use of uninitialized value in subroutine entry at /opt/rt-4.0.6/sbin/../lib/RT/Record.pm line 643. (/opt/rt-4.0.6/sbin/../lib/RT/Record.pm:641) [Tue Aug 14 17:37:14 2012] [warning]: Use of uninitialized value in subroutine entry at /opt/rt-4.0.6/sbin/../lib/RT/Record.pm line 643. (/opt/rt-4.0.6/sbin/../lib/RT/Record.pm:641) [Tue Aug 14 17:37:14 2012] [warning]: Use of uninitialized value in subroutine entry at /opt/rt-4.0.6/sbin/../lib/RT/Record.pm line 643. (/opt/rt-4.0.6/sbin/../lib/RT/Record.pm:641) [Tue Aug 14 17:37:14 2012] [warning]: Use of uninitialized value in subroutine entry at /opt/rt-4.0.6/sbin/../lib/RT/Record.pm line 643. (/opt/rt-4.0.6/sbin/../lib/RT/Record.pm:641) Processing 4.0.1 Now inserting data. [Tue Aug 14 17:37:20 2012] [warning]: Use of uninitialized value in subroutine entry at /opt/rt-4.0.6/sbin/../lib/RT/Record.pm line 643. (/opt/rt-4.0.6/sbin/../lib/RT/Record.pm:641) Processing 4.0.3 Now inserting data. [Tue Aug 14 17:37:26 2012] [warning]: Use of uninitialized value in subroutine entry at /opt/rt-4.0.6/sbin/../lib/RT/Record.pm line 643. (/opt/rt-4.0.6/sbin/../lib/RT/Record.pm:641) Processing 4.0.4 Now inserting data. Processing 4.0.6 Now populating database schema. Now inserting data. Done. -----Original Message----- From: rt-users-bounces at lists.bestpractical.com [mailto:rt-users-bounces at lists.bestpractical.com] On Behalf Of Kevin Falcone Sent: Tuesday, August 14, 2012 1:06 PM To: rt-users at lists.bestpractical.com Subject: Re: [rt-users] warnings from make upgrade-database from v3.8.8 to 4.0.6 On Tue, Aug 14, 2012 at 12:29:10PM -0400, Ethier, Michael wrote: > I executed "make upgrade-database" and I get warnings, see below. > "make testdeps" says all the modules are installed. Can these warning > be ignored and if not has someone hit this before and what was the fix ? This was executed with a new version of perl installed in /usr/local/perl. Which "new version of perl" ? > [Tue Aug 14 14:38:45 2012] [warning]: Use of uninitialized value in subroutine entry at /opt/rt-4.0.6/sbin/../lib/RT/Record.pm line 643, <> line 1. (/opt/rt-4.0.6/sbin/../lib /RT/Record.pm:641) This is probably caused by your perl version or a module version, but it's hard to debug without knowing the perl involved. > [Tue Aug 14 16:16:05 2012] [warning]: Use of uninitialized value in string eq at /opt/rt-4.0.6/sbin/../lib/RT/Template.pm line 651, <> line 1. (/opt/rt-4.0.6/sbin/../lib/RT/Template.pm:651) This is completely ignorable. -kevin From falcone at bestpractical.com Tue Aug 14 13:52:57 2012 From: falcone at bestpractical.com (Kevin Falcone) Date: Tue, 14 Aug 2012 13:52:57 -0400 Subject: [rt-users] warnings from make upgrade-database from v3.8.8 to 4.0.6 In-Reply-To: <1B12003244CE894E85B4726023637888010DCC7C7A@FASXCH01.fasmail.priv> References: <1B12003244CE894E85B4726023637888010DCC7C4B@FASXCH01.fasmail.priv> <20120814170530.GR1496@jibsheet.com> <1B12003244CE894E85B4726023637888010DCC7C7A@FASXCH01.fasmail.priv> Message-ID: <20120814175257.GS1496@jibsheet.com> On Tue, Aug 14, 2012 at 01:44:25PM -0400, Ethier, Michael wrote: > The "new version of perl" a very recent stable version 5.16.0. I just re-installed this version of perl > and all the required modules and I still get the warnings. Should I just use the system version > of perl to do the upgrade with ? System perl is v5.10.1. This was done on a development box. > > However the production rt4 server will be running a different machine with perl 5.16.0 and the > database upgraded by the dev box above. There are some warning fixes on 4.0-trunk that will be in 4.0.7 that quiet those warnings (they're new with 5.16). They should just be warnings though, not actual problems. -kevin -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 195 bytes Desc: not available URL: From methier at CGR.Harvard.edu Tue Aug 14 13:57:38 2012 From: methier at CGR.Harvard.edu (Ethier, Michael) Date: Tue, 14 Aug 2012 13:57:38 -0400 Subject: [rt-users] warnings from make upgrade-database from v3.8.8 to 4.0.6 In-Reply-To: <20120814175257.GS1496@jibsheet.com> References: <1B12003244CE894E85B4726023637888010DCC7C4B@FASXCH01.fasmail.priv> <20120814170530.GR1496@jibsheet.com> <1B12003244CE894E85B4726023637888010DCC7C7A@FASXCH01.fasmail.priv> <20120814175257.GS1496@jibsheet.com> Message-ID: <1B12003244CE894E85B4726023637888010DCC7C7D@FASXCH01.fasmail.priv> Hi Kevin, Ok so these warnings can be ignored and we can proceed with going to production as is ? Or should I revert to the system perl and use that to do the database update ? These warnings are the last thing stopping me from cutting over to v4.0.6. When is v 4.0.7 coming out ? We want to cut over tomorrow if possible. Thanks, Mike -----Original Message----- From: rt-users-bounces at lists.bestpractical.com [mailto:rt-users-bounces at lists.bestpractical.com] On Behalf Of Kevin Falcone Sent: Tuesday, August 14, 2012 1:53 PM To: rt-users at lists.bestpractical.com Subject: Re: [rt-users] warnings from make upgrade-database from v3.8.8 to 4.0.6 On Tue, Aug 14, 2012 at 01:44:25PM -0400, Ethier, Michael wrote: > The "new version of perl" a very recent stable version 5.16.0. I just > re-installed this version of perl and all the required modules and I > still get the warnings. Should I just use the system version of perl to do the upgrade with ? System perl is v5.10.1. This was done on a development box. > > However the production rt4 server will be running a different machine > with perl 5.16.0 and the database upgraded by the dev box above. There are some warning fixes on 4.0-trunk that will be in 4.0.7 that quiet those warnings (they're new with 5.16). They should just be warnings though, not actual problems. -kevin From joseph85750 at yahoo.com Tue Aug 14 14:03:57 2012 From: joseph85750 at yahoo.com (Joseph Spenner) Date: Tue, 14 Aug 2012 11:03:57 -0700 (PDT) Subject: [rt-users] RT, and the "priority" flag in Outlook? Message-ID: <1344967437.32318.YahooMailNeo@web162701.mail.bf1.yahoo.com> Is there a way to create a ticket, or some code I can apply to my existing RT installation such that I can create a ticket in RT and have it display the priority "!" in Outlook?? I'm using RT 3.8.8. Thanks! ? ______________________________________________________________________ If life gives you lemons, keep them-- because hey.. free lemons. "? Sticker" fixer:? http://microflush.org/stuff/stickers/heartFix.html -------------- next part -------------- An HTML attachment was scrubbed... URL: From ktm at rice.edu Tue Aug 14 14:16:39 2012 From: ktm at rice.edu (ktm at rice.edu) Date: Tue, 14 Aug 2012 13:16:39 -0500 Subject: [rt-users] RT, and the "priority" flag in Outlook? In-Reply-To: <1344967437.32318.YahooMailNeo@web162701.mail.bf1.yahoo.com> References: <1344967437.32318.YahooMailNeo@web162701.mail.bf1.yahoo.com> Message-ID: <20120814181639.GQ27500@aart.rice.edu> On Tue, Aug 14, 2012 at 11:03:57AM -0700, Joseph Spenner wrote: > Is there a way to create a ticket, or some code I can apply to my existing RT installation such that I can create a ticket in RT and have it display the priority "!" in Outlook?? I'm using RT 3.8.8. > > > Thanks! > Hi Joseph, I think you need to add one or more of the following mail headers to your template: X-Priority: 1 (Highest) X-MSMail-Priority: High They are what Outlook/Outlook Express use to determine a high priority message. Cheers, Ken From mike.johnson at nosm.ca Tue Aug 14 14:48:09 2012 From: mike.johnson at nosm.ca (Mike Johnson) Date: Tue, 14 Aug 2012 14:48:09 -0400 Subject: [rt-users] Subject Tag Usage In-Reply-To: <20120814170051.GP1496@jibsheet.com> References: <20120814170051.GP1496@jibsheet.com> Message-ID: Is this what you are referring to Kevin? This is from the Global Autoreply template "There is no need to reply to this message right now. Your ticket has been assigned an ID of [{$rtname} #{$Ticket->id()}]." I'm assuming you would want that to be something else? Do you have a {$Ticket->Tag} or something like that? Thanks! Mike. On Tue, Aug 14, 2012 at 1:00 PM, Kevin Falcone wrote: > On Tue, Aug 14, 2012 at 10:19:33AM -0400, Mike Johnson wrote: > > I just want to be sure I'm understanding the use of "Subject Tag" for > a queue. > > I can put whatever I want in this, and it'll change the tag in the > subject line of outgoing > > messages. > > By default rt puts the RT instance name [[1]rt.here.com #12345] > > If I put FOO in the subject tag for a queue, the tag would be [FOO > #12345] > > If I change that tag to BAR, I have to put FOO in the regular > expression in the Site config to > > ensure it recognizes the old tag. > > Is there any other things I should be aware of? I've tested a bunch, > but I just want to make > > sure I'm not missing anything. > > This sounds like a good summary. > > If you've upgraded RT, ensure your templates are in sync with what we > ship in the current version, otherwise it won't pull the subject tag. > > -kevin > -- Mike Johnson Datatel Programmer/Analyst Northern Ontario School of Medicine 955 Oliver Road Thunder Bay, ON P7B 5E1 Phone: (807) 766-7331 Email: mike.johnson at nosm.ca -------------- next part -------------- An HTML attachment was scrubbed... URL: From jzabolotnyi at arces.net Tue Aug 14 15:40:12 2012 From: jzabolotnyi at arces.net (Jack Zabolotnyi) Date: Tue, 14 Aug 2012 21:40:12 +0200 Subject: [rt-users] No mail is sent for AdminCC recepients In-Reply-To: <20120814170153.GQ1496@jibsheet.com> References: <20120814170153.GQ1496@jibsheet.com> Message-ID: Ah, thanks everyone. I'll check configuration and look for this scrips (seems like someone before me already worked with them....) On Tue, Aug 14, 2012 at 7:01 PM, Kevin Falcone wrote: > On Tue, Aug 14, 2012 at 11:28:04AM -0400, Mike Johnson wrote: > > I don't believe Best Practical "built-in" any actions. They leave it > to clients to customize > > the RT instance to their own personal preferences. > > It is easy to put the scrips on to do what you are asking though. > > We don't build any in, but we do ship some defaults, as noted by Bill. > My assumption is that the OP disabled some along the way. > > > On Tue, Aug 14, 2012 at 10:43 AM, Jack Zabolotnyi <[1] > jzabolotnyi at arces.net> wrote: > > > > I thought it should be a default (built-in) action. Otherwise why > is it called AdminCC? > > > > On Tue, Aug 14, 2012 at 4:24 PM, Mike Johnson <[2] > mike.johnson at nosm.ca> wrote: > > > > You need a scrip to do that action I believe. > > Mike. > > > > On Tue, Aug 14, 2012 at 9:23 AM, Jack Zabolotnyi <[3] > jzabolotnyi at arces.net> wrote: > > > > Hi everyone. > > > > I have a little trouble: recepients set in AdminCC don't > receive any mails on ticket > > update (or any other events). Any other notification is doing > well. Should there be some > > permissions defined for this, or i miss something else? > > > > Thanks in advance for any help. :) > -- Jack Zabolotnyi Arces Network, LLC e: jzabolotnyi at arces.net w: http://www.arces.net PGP key: 2048R/7F2AB658 2012-07-02 PGP fingerprint: 4C7E 00A8 5210 F3D9 0509 C70E 87C8 666E 7F2A B658 -------------- next part -------------- An HTML attachment was scrubbed... URL: From joseph85750 at yahoo.com Tue Aug 14 16:07:24 2012 From: joseph85750 at yahoo.com (Joseph Spenner) Date: Tue, 14 Aug 2012 13:07:24 -0700 (PDT) Subject: [rt-users] RT, and the "priority" flag in Outlook? In-Reply-To: <20120814181639.GQ27500@aart.rice.edu> References: <1344967437.32318.YahooMailNeo@web162701.mail.bf1.yahoo.com> <20120814181639.GQ27500@aart.rice.edu> Message-ID: <1344974844.44223.YahooMailNeo@web162701.mail.bf1.yahoo.com> ________________________________ From: "ktm at rice.edu" To: Joseph Spenner Cc: "RT- Users at lists.bestpractical.com" Sent: Tuesday, August 14, 2012 11:16 AM Subject: Re: [rt-users] RT, and the "priority" flag in Outlook? On Tue, Aug 14, 2012 at 11:03:57AM -0700, Joseph Spenner wrote: > Is there a way to create a ticket, or some code I can apply to my existing RT installation such that I can create a ticket in RT and have it display the priority "!" in Outlook?? I'm using RT 3.8.8. I think you need to add one or more of the following mail headers to your template: X-Priority: 1 (Highest) X-MSMail-Priority: High They are what Outlook/Outlook Express use to determine a high priority message. === Ken, thanks for the info! Ideally, the user could set the priority value in the ticket during creation. I think I could intercept the email in /etc/aliases and insert those headers if a priority is exceeded.? But how can I determine the priority (as set in RT) from the headers?? Is there anything in the headers with RT priority info? -------------- next part -------------- An HTML attachment was scrubbed... URL: From ktm at rice.edu Tue Aug 14 16:11:40 2012 From: ktm at rice.edu (ktm at rice.edu) Date: Tue, 14 Aug 2012 15:11:40 -0500 Subject: [rt-users] RT, and the "priority" flag in Outlook? In-Reply-To: <1344974844.44223.YahooMailNeo@web162701.mail.bf1.yahoo.com> References: <1344967437.32318.YahooMailNeo@web162701.mail.bf1.yahoo.com> <20120814181639.GQ27500@aart.rice.edu> <1344974844.44223.YahooMailNeo@web162701.mail.bf1.yahoo.com> Message-ID: <20120814201140.GR27500@aart.rice.edu> On Tue, Aug 14, 2012 at 01:07:24PM -0700, Joseph Spenner wrote: > > ________________________________ > From: "ktm at rice.edu" > To: Joseph Spenner > Cc: "RT- Users at lists.bestpractical.com" > Sent: Tuesday, August 14, 2012 11:16 AM > Subject: Re: [rt-users] RT, and the "priority" flag in Outlook? > > On Tue, Aug 14, 2012 at 11:03:57AM -0700, Joseph Spenner wrote: > > Is there a way to create a ticket, or some code I can apply to my existing RT installation such that I can create a ticket in RT and have it display the priority "!" in Outlook?? I'm using RT 3.8.8. > > I think you need to add one or more of the following mail headers to your > template: > > X-Priority: 1 (Highest) > X-MSMail-Priority: High > > They are what Outlook/Outlook Express use to determine a high priority > message. > > === > > Ken, thanks for the info! > Ideally, the user could set the priority value in the ticket during creation. > I think I could intercept the email in /etc/aliases and insert those headers if a priority is exceeded.? But how can I determine the priority (as set in RT) from the headers?? Is there anything in the headers with RT priority info? You should probably add the headers conditionally when you send them from RT using conditional template code that checks for priority. Cheers, Ken From joseph85750 at yahoo.com Tue Aug 14 16:26:16 2012 From: joseph85750 at yahoo.com (Joseph Spenner) Date: Tue, 14 Aug 2012 13:26:16 -0700 (PDT) Subject: [rt-users] RT, and the "priority" flag in Outlook? In-Reply-To: <20120814201140.GR27500@aart.rice.edu> References: <1344967437.32318.YahooMailNeo@web162701.mail.bf1.yahoo.com> <20120814181639.GQ27500@aart.rice.edu> <1344974844.44223.YahooMailNeo@web162701.mail.bf1.yahoo.com> <20120814201140.GR27500@aart.rice.edu> Message-ID: <1344975976.60399.YahooMailNeo@web162701.mail.bf1.yahoo.com> ? If life gives you lemons, keep them-- because hey.. free lemons. "~heart~ Sticker"? fixer:? http://microflush.org/stuff/stickers/heartFix.html ________________________________ From: "ktm at rice.edu" To: Joseph Spenner Cc: "RT- Users at lists.bestpractical.com" Sent: Tuesday, August 14, 2012 1:11 PM Subject: Re: [rt-users] RT, and the "priority" flag in Outlook? On Tue, Aug 14, 2012 at 01:07:24PM -0700, Joseph Spenner wrote: > On Tue, Aug 14, 2012 at 11:03:57AM -0700, Joseph Spenner wrote: > > Is there a way to create a ticket, or some code I can apply to my existing RT installation such that I can create a ticket in RT and have it display the priority "!" in Outlook?? I'm using RT 3.8.8. > > I think you need to add one or more of the following mail headers to your > template: > > X-Priority: 1 (Highest) > X-MSMail-Priority: High > > They are what Outlook/Outlook Express use to determine a high priority > message. > > === > > Ken, thanks for the info! > Ideally, the user could set the priority value in the ticket during creation. > I think I could intercept the email in /etc/aliases and insert those headers if a priority is exceeded.? But how can I determine the priority (as set in RT) from the headers?? Is there anything in the headers with RT priority info? You should probably add the headers conditionally when you send them from RT using conditional template code that checks for priority. Cheers, Ken ==== Ken, not being a template code guru, I'm not sure where to begin. Are there some samples?? Or if it's only a few lines could you provide? Thanks! -------------- next part -------------- An HTML attachment was scrubbed... URL: From ktm at rice.edu Tue Aug 14 16:48:16 2012 From: ktm at rice.edu (ktm at rice.edu) Date: Tue, 14 Aug 2012 15:48:16 -0500 Subject: [rt-users] RT, and the "priority" flag in Outlook? In-Reply-To: <1344975976.60399.YahooMailNeo@web162701.mail.bf1.yahoo.com> References: <1344967437.32318.YahooMailNeo@web162701.mail.bf1.yahoo.com> <20120814181639.GQ27500@aart.rice.edu> <1344974844.44223.YahooMailNeo@web162701.mail.bf1.yahoo.com> <20120814201140.GR27500@aart.rice.edu> <1344975976.60399.YahooMailNeo@web162701.mail.bf1.yahoo.com> Message-ID: <20120814204816.GS27500@aart.rice.edu> On Tue, Aug 14, 2012 at 01:26:16PM -0700, Joseph Spenner wrote: > > Ken, thanks for the info! > > Ideally, the user could set the priority value in the ticket during creation. > > I think I could intercept the email in /etc/aliases and insert those headers if a priority is exceeded.? But how can I determine the priority (as set in RT) from the headers?? Is there anything in the headers with RT priority info? > > You should probably add the headers conditionally when you send them from > RT using conditional template code that checks for priority. > > Cheers, > Ken > > ==== > Ken, not being a template code guru, I'm not sure where to begin. > Are there some samples?? Or if it's only a few lines could you provide? > > Thanks! The Best Practical wiki is a good place to start: http://requesttracker.wikia.com/wiki/Template Cheers, Ken From falcone at bestpractical.com Tue Aug 14 17:21:44 2012 From: falcone at bestpractical.com (Kevin Falcone) Date: Tue, 14 Aug 2012 17:21:44 -0400 Subject: [rt-users] Subject Tag Usage In-Reply-To: References: <20120814170051.GP1496@jibsheet.com> Message-ID: <20120814212144.GT1496@jibsheet.com> On Tue, Aug 14, 2012 at 02:48:09PM -0400, Mike Johnson wrote: > Is this what you are referring to Kevin? > This is from the Global Autoreply template > "There is no need to reply to this message right now. Your ticket has been > assigned an ID of [{$rtname} #{$Ticket->id()}]." > I'm assuming you would want that to be something else? > Do you have a {$Ticket->Tag} or something like that? This is the 4.0 version of the Autoreply template, which has the relevant SubjectTag method in use that you can crib off https://github.com/bestpractical/rt/blob/stable/etc/initialdata#L218 > On Tue, Aug 14, 2012 at 1:00 PM, Kevin Falcone <[1]falcone at bestpractical.com> wrote: > > On Tue, Aug 14, 2012 at 10:19:33AM -0400, Mike Johnson wrote: > > I just want to be sure I'm understanding the use of "Subject Tag" for a queue. > > I can put whatever I want in this, and it'll change the tag in the subject line of > outgoing > > messages. > > By default rt puts the RT instance name [[1][2]rt.here.com #12345] > > If I put FOO in the subject tag for a queue, the tag would be [FOO #12345] > > If I change that tag to BAR, I have to put FOO in the regular expression in the Site > config to > > ensure it recognizes the old tag. > > Is there any other things I should be aware of? I've tested a bunch, but I just want to > make > > sure I'm not missing anything. > > This sounds like a good summary. > > If you've upgraded RT, ensure your templates are in sync with what we > ship in the current version, otherwise it won't pull the subject tag. -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 195 bytes Desc: not available URL: From gsollazz at sgul.ac.uk Wed Aug 15 07:12:21 2012 From: gsollazz at sgul.ac.uk (Giuseppe Sollazzo) Date: Wed, 15 Aug 2012 12:12:21 +0100 Subject: [rt-users] Batch user add to group Message-ID: <502B8415.3040109@sgul.ac.uk> -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Hi there, I was wondering if there's any command line utility or API call that I can use to add users to a group in bulk, in RT4. I have something like user1 at domain user2 at domain user3 at domain user4 at domain they are already on the system, but unprivileged. I want to make them privileged and add to a group. Has anyone done this before? Thanks, G - -- ____________________________________ 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 -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.10 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iQEcBAEBAgAGBQJQK4QVAAoJEAqigArPBfJX1T4H/2pJliIKQqrTFaIQHNBPCyuF oPTTbLAtv3l2xur0/f7/ev8SQmwDgvjfzZ1K+Tqm3uEzR/s7U8M6luik+2UTZ3EE QB9RHJ0KnObqUr80LVsvesuDkCXNTcSPZ5pcjs/PqSk9QPiGqo2p/NR2iM1tutq7 BaWrUPowWzD+RmXL+4tR3OFLJunM+jSgXia9XdcKd1KpuKP0hoqlVPWg1X5E/Jnv EGvCfF5uIP4mzFstWGaaKrI9et5aLDUmBC+21VNjJbMbGbNnf0daxwT3KWq/aJUF HZcnX3mvagAKoaZ3Ia6RALXL7u9hNkA/sCLI8d0yvojylecKUVZt5lyWo6kJ2Bg= =I5rd -----END PGP SIGNATURE----- From drasar at ics.muni.cz Wed Aug 15 11:37:18 2012 From: drasar at ics.muni.cz (Martin Drasar) Date: Wed, 15 Aug 2012 17:37:18 +0200 Subject: [rt-users] Using Ajax with Mason in RT Message-ID: <502BC22E.9060505@ics.muni.cz> Hi, I have used MakeClicky actions to extend the RT UI and now I would like my extensions to do some ajax stuff on click. I would like to know, how I can create new Mason component and set it as a valid target for the ajax request. Any help is really appreciated. Thanks, Martin From ptomblin at xcski.com Wed Aug 15 11:44:35 2012 From: ptomblin at xcski.com (Paul Tomblin) Date: Wed, 15 Aug 2012 11:44:35 -0400 Subject: [rt-users] Using Ajax with Mason in RT In-Reply-To: <502BC22E.9060505@ics.muni.cz> References: <502BC22E.9060505@ics.muni.cz> Message-ID: On Wed, Aug 15, 2012 at 11:37 AM, Martin Drasar wrote: > I have used MakeClicky actions to extend the RT UI and now I would like > my extensions to do some ajax stuff on click. I would like to know, how > I can create new Mason component and set it as a valid target for the > ajax request. > > Any help is really appreciated. > If you want your AJAX to return JSON, you need to do the following: 1. Do all the work of building the return component in the <%init>. I make it a hashref called $ret. 2. In the "web" section of the file (the part that isn't enclosed in <%init> or other Mason tags: % $r->content_type('application/json'); % $m->clear_buffer; <% JSON::to_json( $ret, { utf8 => 1, allow_blessed => 1, convert_blessed => 1, } ) |n %> % $m->abort; 3. Declare as <%args> all the parameters you pass it 4. Turn off any inheritance with <%flags> inherit => undef 5. Call it in your Javascript like so: jQuery.ajax({ type: 'POST', url: 'assign_ticket.mas', data: { 'ticketid': ticketId, 'assignTo': rt_user_id, 'reason': reason, 'currentUserId': <% $session{'CurrentUser'}->id %> }, dataType: 'json', traditional: true, success: changeStatusSuccessCallback, error: changeStatusErrorCallback }); function changeStatusSuccessCallback(json) { if (json.status == 'error') { alert('Error: ' + json.error_msg); } else { document.location.reload(true); } } function changeStatusErrorCallback(jqXHR, textStatus, errorThrown) { alert(textStatus + ": " + errorThrown); } I'll leave it to you to figure out something better to do with the return callbacks. -- http://www.linkedin.com/in/paultomblin http://careers.stackoverflow.com/ptomblin -------------- next part -------------- An HTML attachment was scrubbed... URL: From drasar at ics.muni.cz Wed Aug 15 11:50:08 2012 From: drasar at ics.muni.cz (Martin Drasar) Date: Wed, 15 Aug 2012 17:50:08 +0200 Subject: [rt-users] Using Ajax with Mason in RT In-Reply-To: References: <502BC22E.9060505@ics.muni.cz> Message-ID: <502BC530.3000007@ics.muni.cz> On 15.8.2012 17:44, Paul Tomblin wrote: > If you want your AJAX to return JSON, you need to do the following: > > ... Wow, thanks a lot for your superquick reply! Martin From trs at bestpractical.com Wed Aug 15 12:00:37 2012 From: trs at bestpractical.com (Thomas Sibley) Date: Wed, 15 Aug 2012 09:00:37 -0700 Subject: [rt-users] Using Ajax with Mason in RT In-Reply-To: References: <502BC22E.9060505@ics.muni.cz> Message-ID: <502BC7A5.9080404@bestpractical.com> On 08/15/2012 08:44 AM, Paul Tomblin wrote: > 4. Turn off any inheritance with > <%flags> > inherit => undef > Please note that this step completely bypasses any authentication and request setup that RT normally does. Users who are *not logged in* will be able to request your ajax endpoint, regardless of where it is in the directory tree (i.e. it doesn't have to be under /NoAuth/). It it not necessary to simply return JSON (see the autocomplete endpoints under share/html/Helpers/Autocomplete/). From joseph85750 at yahoo.com Wed Aug 15 12:27:54 2012 From: joseph85750 at yahoo.com (Joseph Spenner) Date: Wed, 15 Aug 2012 09:27:54 -0700 (PDT) Subject: [rt-users] RT, and the "priority" flag in Outlook? In-Reply-To: <20120814204816.GS27500@aart.rice.edu> References: <1344967437.32318.YahooMailNeo@web162701.mail.bf1.yahoo.com> <20120814181639.GQ27500@aart.rice.edu> <1344974844.44223.YahooMailNeo@web162701.mail.bf1.yahoo.com> <20120814201140.GR27500@aart.rice.edu> <1344975976.60399.YahooMailNeo@web162701.mail.bf1.yahoo.com> <20120814204816.GS27500@aart.rice.edu> Message-ID: <1345048074.90699.YahooMailNeo@web162704.mail.bf1.yahoo.com> Ok, as a simple test, I made a custom template for correspondence named Correspondence High Priority: -- RT-Attach-Message: yes X-Priority: 1 (Highest) X-MSMail-Priority: High {$Transaction->Content()} -- Basically, I copied the "Correspondence" template and added the 2 X-priority lines. I added a custom scrip to my test queue to use the above template on correspondence: On Correspond Notify AdminCCs Correspondence High Priority However, it doesn't set the flag.? When I view the headers, I don't see the 2 lines at all.? It's as if RT is stripping them off or not including them. I do know the 2 lines will work to set the flag though, because I tested this outside of RT by constructing an email with the 2 lines-- and it worked. If I have other default scrips, such as "On Correspond Notify AdminCCs Correspondence", could that be taking priority and ignoring my custom scrip? Here are the relevant headers I received from the above test, which do not include the missing desired header lines: == Subject: [rt.foo.com #4142] test of priority From: "root via RT" Reply-To: testing at foo.com In-Reply-To: <20120815161345.AA31115053D at rt.foo.com> References: <20120815161345.AA31115053D at rt.foo.com> Message-ID: Precedence: bulk X-RT-Loop-Prevention: rt.foo.com RT-Ticket: rt.foo.com #4142 Managed-by: RT 3.8.8 (http://www.bestpractical.com/rt/) RT-Originator: root at rt.foo.com To: nobody at rt.foo.com MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Content-Type: text/plain; charset="utf-8" X-RT-Original-Encoding: utf-8 Date: Wed, 15 Aug 2012 16:13:46 +0000 X-Scanned-By: MIMEDefang 2.56 on 192.81.123.24 Return-Path: apache at rt.foo.com X-OriginalArrivalTime: 15 Aug 2012 16:13:48.0488 (UTC) FILETIME=[F3D87C80:01CD7B00] Wed Aug 15 16:13:46 2012: Request 4142 was acted upon. -------------- next part -------------- An HTML attachment was scrubbed... URL: From trs at bestpractical.com Wed Aug 15 12:40:49 2012 From: trs at bestpractical.com (Thomas Sibley) Date: Wed, 15 Aug 2012 09:40:49 -0700 Subject: [rt-users] RT, and the "priority" flag in Outlook? In-Reply-To: <1345048074.90699.YahooMailNeo@web162704.mail.bf1.yahoo.com> References: <1344967437.32318.YahooMailNeo@web162701.mail.bf1.yahoo.com> <20120814181639.GQ27500@aart.rice.edu> <1344974844.44223.YahooMailNeo@web162701.mail.bf1.yahoo.com> <20120814201140.GR27500@aart.rice.edu> <1344975976.60399.YahooMailNeo@web162701.mail.bf1.yahoo.com> <20120814204816.GS27500@aart.rice.edu> <1345048074.90699.YahooMailNeo@web162704.mail.bf1.yahoo.com> Message-ID: <502BD111.309@bestpractical.com> On 08/15/2012 09:27 AM, Joseph Spenner wrote: > Ok, as a simple test, I made a custom template for correspondence named > Correspondence High Priority: > > -- > RT-Attach-Message: yes > X-Priority: 1 (Highest) > X-MSMail-Priority: High > > {$Transaction->Content()} > -- > > Basically, I copied the "Correspondence" template and added the 2 > X-priority lines. > I added a custom scrip to my test queue to use the above template on > correspondence: > > On Correspond Notify AdminCCs Correspondence High Priority You should see [info] log lines about this scrip triggering and sending mail if it's supposed to fire. > However, it doesn't set the flag. When I view the headers, I don't see > the 2 lines at all. It's as if RT is stripping them off or not > including them. RT doesn't strip those headers. > If I have other default scrips, such as "On Correspond Notify AdminCCs > Correspondence", could that be taking priority and ignoring my custom scrip? Nope, scrips are cumulative, they don't override each other. > Here are the relevant headers I received from the above test, which do > not include the missing desired header lines: Those headers look like they're from RT's default On Create Notify AdminCcs with Transaction scrip. Are you creating a ticket to test? That's not a correspondence and so your priority scrip/template above won't trigger. Thomas From joseph85750 at yahoo.com Wed Aug 15 12:52:17 2012 From: joseph85750 at yahoo.com (Joseph Spenner) Date: Wed, 15 Aug 2012 09:52:17 -0700 (PDT) Subject: [rt-users] RT, and the "priority" flag in Outlook? In-Reply-To: <502BD111.309@bestpractical.com> References: <1344967437.32318.YahooMailNeo@web162701.mail.bf1.yahoo.com> <20120814181639.GQ27500@aart.rice.edu> <1344974844.44223.YahooMailNeo@web162701.mail.bf1.yahoo.com> <20120814201140.GR27500@aart.rice.edu> <1344975976.60399.YahooMailNeo@web162701.mail.bf1.yahoo.com> <20120814204816.GS27500@aart.rice.edu> <1345048074.90699.YahooMailNeo@web162704.mail.bf1.yahoo.com> <502BD111.309@bestpractical.com> Message-ID: <1345049537.73408.YahooMailNeo@web162706.mail.bf1.yahoo.com> ________________________________ From: Thomas Sibley To: rt-users at lists.bestpractical.com Sent: Wednesday, August 15, 2012 9:40 AM Subject: Re: [rt-users] RT, and the "priority" flag in Outlook? On 08/15/2012 09:27 AM, Joseph Spenner wrote: > Ok, as a simple test, I made a custom template for correspondence named > Correspondence High Priority: > > -- > RT-Attach-Message: yes > X-Priority: 1 (Highest) > X-MSMail-Priority: High > > {$Transaction->Content()} > -- > > Basically, I copied the "Correspondence" template and added the 2 > X-priority lines. > I added a custom scrip to my test queue to use the above template on > correspondence: > > Here are the relevant headers I received from the above test, which do > not include the missing desired header lines: Those headers look like they're from RT's default On Create Notify AdminCcs with Transaction scrip.? Are you creating a ticket to test? That's not a correspondence and so your priority scrip/template above won't trigger. Thomas === Ah ha!? Yes, I didn't think of that.? You're right, and after I corresponded (replied) to my ticket, the flag DID get set. Thanks for spotting that one! -------------- next part -------------- An HTML attachment was scrubbed... URL: From ptomblin at xcski.com Wed Aug 15 13:59:50 2012 From: ptomblin at xcski.com (Paul Tomblin) Date: Wed, 15 Aug 2012 13:59:50 -0400 Subject: [rt-users] Using Ajax with Mason in RT In-Reply-To: References: <502BC22E.9060505@ics.muni.cz> Message-ID: I don't know why I had the problem before with my ajax files when I didn't have the inherit => undef before, but I took them all out and all my ajax calls appear to still be working. So I guess you don't need that <%flags> section. -- http://www.linkedin.com/in/paultomblin http://careers.stackoverflow.com/ptomblin -------------- next part -------------- An HTML attachment was scrubbed... URL: From ktm at rice.edu Wed Aug 15 14:08:12 2012 From: ktm at rice.edu (ktm at rice.edu) Date: Wed, 15 Aug 2012 13:08:12 -0500 Subject: [rt-users] RT, and the "priority" flag in Outlook? In-Reply-To: <1345048074.90699.YahooMailNeo@web162704.mail.bf1.yahoo.com> References: <1344967437.32318.YahooMailNeo@web162701.mail.bf1.yahoo.com> <20120814181639.GQ27500@aart.rice.edu> <1344974844.44223.YahooMailNeo@web162701.mail.bf1.yahoo.com> <20120814201140.GR27500@aart.rice.edu> <1344975976.60399.YahooMailNeo@web162701.mail.bf1.yahoo.com> <20120814204816.GS27500@aart.rice.edu> <1345048074.90699.YahooMailNeo@web162704.mail.bf1.yahoo.com> Message-ID: <20120815180812.GB17175@aart.rice.edu> On Wed, Aug 15, 2012 at 09:27:54AM -0700, Joseph Spenner wrote: > Ok, as a simple test, I made a custom template for correspondence named Correspondence High Priority: > > -- > RT-Attach-Message: yes > X-Priority: 1 (Highest) > X-MSMail-Priority: High > > {$Transaction->Content()} > -- > > Basically, I copied the "Correspondence" template and added the 2 X-priority lines. > I added a custom scrip to my test queue to use the above template on correspondence: > > On Correspond Notify AdminCCs Correspondence High Priority > > > However, it doesn't set the flag.? When I view the headers, I don't see the 2 lines at all.? It's as if RT is stripping them off or not including them. > I do know the 2 lines will work to set the flag though, because I tested this outside of RT by constructing an email with the 2 lines-- and it worked. > > If I have other default scrips, such as "On Correspond Notify AdminCCs Correspondence", could that be taking priority and ignoring my custom scrip? > > > Here are the relevant headers I received from the above test, which do not include the missing desired header lines: > > == > > Subject: [rt.foo.com #4142] test of priority > From: "root via RT" > Reply-To: testing at foo.com > In-Reply-To: <20120815161345.AA31115053D at rt.foo.com> > References: <20120815161345.AA31115053D at rt.foo.com> > Message-ID: > Precedence: bulk > X-RT-Loop-Prevention: rt.foo.com > RT-Ticket: rt.foo.com #4142 > Managed-by: RT 3.8.8 (http://www.bestpractical.com/rt/) > RT-Originator: root at rt.foo.com > To: nobody at rt.foo.com > MIME-Version: 1.0 > Content-Transfer-Encoding: 8bit > Content-Type: text/plain; charset="utf-8" > X-RT-Original-Encoding: utf-8 > Date: Wed, 15 Aug 2012 16:13:46 +0000 > X-Scanned-By: MIMEDefang 2.56 on 192.81.123.24 > Return-Path: apache at rt.foo.com > X-OriginalArrivalTime: 15 Aug 2012 16:13:48.0488 (UTC) FILETIME=[F3D87C80:01CD7B00] Wed Aug 15 16:13:46 2012: Request 4142 was acted upon. Does the Email message that RT records have the two headers? The problem could be with the MTA and not RT, if RT has them in its outgoing message. Cheers, Ken From ruz at bestpractical.com Wed Aug 15 17:32:45 2012 From: ruz at bestpractical.com (Ruslan Zakirov) Date: Thu, 16 Aug 2012 01:32:45 +0400 Subject: [rt-users] Using Ajax with Mason in RT In-Reply-To: References: <502BC22E.9060505@ics.muni.cz> Message-ID: On Wed, Aug 15, 2012 at 9:59 PM, Paul Tomblin wrote: > I don't know why I had the problem before with my ajax files when I didn't > have the inherit => undef before, but I took them all out and all my ajax > calls appear to still be working. So I guess you don't need that <%flags> > section. May be you didn't have ->abort calls and RT was adding footer. -- Best regards, Ruslan. From drasar at ics.muni.cz Thu Aug 16 05:22:20 2012 From: drasar at ics.muni.cz (Martin Drasar) Date: Thu, 16 Aug 2012 11:22:20 +0200 Subject: [rt-users] Using Ajax with Mason in RT In-Reply-To: References: <502BC22E.9060505@ics.muni.cz> Message-ID: <502CBBCC.6040605@ics.muni.cz> Hi, it appears I've reached a dead end... This is my javascript ajax call (practically identical to the one Paul posted): > jQuery.ajax > ( > { > type: 'POST', > url: 'Elements/TestComponent', > data: > { > 'ip': ip > }, > dataType: 'json', > traditional: true, > success: successCallback, > error: errorCallback > } > ); According to Tamper Data, it gets sent and it looks like it contains the right data. This is my component: > % $r->content_type('application/json'); > <% JSON( \@something ) |n %> > % $m->abort(); > > <%init> > my @something; > push (@something, 'something'); > > > <%flags> > inherit => undef; > The problem is, when I remove the flags section, the ajax call fails with 403. If I keep it, I get back following error: "syntax error at /home/RT/RT-4.0.6/local/html/Ticket/Elements/TestComponent line 15, at EOF" Anyone got any idea? Thanks, Martin From ptomblin at xcski.com Thu Aug 16 07:15:02 2012 From: ptomblin at xcski.com (Paul Tomblin) Date: Thu, 16 Aug 2012 07:15:02 -0400 Subject: [rt-users] Using Ajax with Mason in RT In-Reply-To: <502CBBCC.6040605@ics.muni.cz> References: <502BC22E.9060505@ics.muni.cz> <502CBBCC.6040605@ics.muni.cz> Message-ID: On Thu, Aug 16, 2012 at 5:22 AM, Martin Drasar wrote: > > The problem is, when I remove the flags section, the ajax call fails > with 403. If I keep it, I get back following error: "syntax error at > /home/RT/RT-4.0.6/local/html/Ticket/Elements/TestComponent line 15, at EOF" > Do you see anything in the logs? -- http://www.linkedin.com/in/paultomblin http://careers.stackoverflow.com/ptomblin -------------- next part -------------- An HTML attachment was scrubbed... URL: From drasar at ics.muni.cz Thu Aug 16 07:24:21 2012 From: drasar at ics.muni.cz (Martin Drasar) Date: Thu, 16 Aug 2012 13:24:21 +0200 Subject: [rt-users] Using Ajax with Mason in RT In-Reply-To: References: <502BC22E.9060505@ics.muni.cz> <502CBBCC.6040605@ics.muni.cz> Message-ID: <502CD865.7080705@ics.muni.cz> On 16.8.2012 13:15, Paul Tomblin wrote: > > > On Thu, Aug 16, 2012 at 5:22 AM, Martin Drasar > wrote: > > > The problem is, when I remove the flags section, the ajax call fails > with 403. If I keep it, I get back following error: "syntax error at > /home/RT/RT-4.0.6/local/html/Ticket/Elements/TestComponent line 15, > at EOF" > > > Do you see anything in the logs? Nope... rt.log is empty, apache error log as well and the only thing I see in access log is '"POST /Ticket/Elements/TestComponent HTTP/1.1" 200 1322' I can post the code stack, but I am afraid that there is not much that can help... Martin From ptomblin at xcski.com Thu Aug 16 07:37:37 2012 From: ptomblin at xcski.com (Paul Tomblin) Date: Thu, 16 Aug 2012 07:37:37 -0400 Subject: [rt-users] Using Ajax with Mason in RT In-Reply-To: <502CD865.7080705@ics.muni.cz> References: <502BC22E.9060505@ics.muni.cz> <502CBBCC.6040605@ics.muni.cz> <502CD865.7080705@ics.muni.cz> Message-ID: On Thu, Aug 16, 2012 at 7:24 AM, Martin Drasar wrote: > On 16.8.2012 13:15, Paul Tomblin wrote: > > > > > > On Thu, Aug 16, 2012 at 5:22 AM, Martin Drasar > > wrote: > > > > > > The problem is, when I remove the flags section, the ajax call fails > > with 403. If I keep it, I get back following error: "syntax error at > > /home/RT/RT-4.0.6/local/html/Ticket/Elements/TestComponent line 15, > > at EOF" > > > > > > Do you see anything in the logs? > > Nope... > > rt.log is empty, apache error log as well and the only thing I see in > access log is '"POST /Ticket/Elements/TestComponent HTTP/1.1" 200 1322' > > I can post the code stack, but I am afraid that there is not much that > can help... > > Martin > Unfortunately somewhere between RT and Mason and perl a lot of the errors go unreported - you just have to narrow down where the problem is with a lot of calls to $RT::Logger->debug. But first things first, you need to turn up the logging in /opt/rt4/etc/RT_SiteConfig.pm Set( $LogToScreen, "debug"); Set( $LogToSyslog, "debug"); You also need to have a look at line 15 and before in your component. -- http://www.linkedin.com/in/paultomblin http://careers.stackoverflow.com/ptomblin -------------- next part -------------- An HTML attachment was scrubbed... URL: From drasar at ics.muni.cz Thu Aug 16 08:00:41 2012 From: drasar at ics.muni.cz (Martin Drasar) Date: Thu, 16 Aug 2012 14:00:41 +0200 Subject: [rt-users] Using Ajax with Mason in RT In-Reply-To: References: <502BC22E.9060505@ics.muni.cz> <502CBBCC.6040605@ics.muni.cz> <502CD865.7080705@ics.muni.cz> Message-ID: <502CE0E9.8060705@ics.muni.cz> On 16.8.2012 13:37, Paul Tomblin wrote: > Unfortunately somewhere between RT and Mason and perl a lot of the > errors go unreported - you just have to narrow down where the problem is > with a lot of calls to $RT::Logger->debug. But first things first, you > need to turn up the logging in /opt/rt4/etc/RT_SiteConfig.pm > Set( $LogToScreen, "debug"); > Set( $LogToSyslog, "debug"); > You also need to have a look at line 15 and before in your component. When I said that I saw nothing in rt.log I meant nothing of importance. I have the debug logging turned on. As for the line 15 - I have posted the entire component two mails before. It only has 12! lines and the reported error is at EOF. That would indicate that there might be something unfinished like missing bracket or such. However, by looking at the code, I can't see anything wrong. First it was almost direct copy of the code you sent at first and then when it did not work I used component from share/html/Helpers/Autocomplete/ by Thomas advice as a template. But nothing seems to work. I have made even smaller component, in fact smallest that does not 403 on me: > <%flags> > inherit => undef; > Ajax request on this component fails with this error: Error during compilation of /home/RT/RT-4.0.6/local/html/Ticket/Elements/TestComponent:
syntax error at (eval 1164) line 12, at EOF It is as before, the error should be at line 12, but the component itself has only 3 lines. There is something fishy going on... Martin From drey111 at gmail.com Thu Aug 16 08:22:19 2012 From: drey111 at gmail.com (Joe Harris) Date: Thu, 16 Aug 2012 08:22:19 -0400 Subject: [rt-users] Using Ajax with Mason in RT In-Reply-To: <502CE0E9.8060705@ics.muni.cz> References: <502BC22E.9060505@ics.muni.cz> <502CBBCC.6040605@ics.muni.cz> <502CD865.7080705@ics.muni.cz> <502CE0E9.8060705@ics.muni.cz> Message-ID: <854CA1E5-556D-4122-A3C9-60F74EE72145@gmail.com> It may be a shot in the dark. But are you by chance editing the files in a windows text editor and copying them over? Or more specifically was it originally created on a windows box? There may be carriage returns in the file that are causing issues. If that is the case you can dos2unix the file and clean it up. I may be way off, but I have run into that in the past quite a bit with other *nix apps when users edit files in winworld. Sent from my mobile device. On Aug 16, 2012, at 8:00 AM, Martin Drasar wrote: > On 16.8.2012 13:37, Paul Tomblin wrote: > >> Unfortunately somewhere between RT and Mason and perl a lot of the >> errors go unreported - you just have to narrow down where the problem is >> with a lot of calls to $RT::Logger->debug. But first things first, you >> need to turn up the logging in /opt/rt4/etc/RT_SiteConfig.pm >> Set( $LogToScreen, "debug"); >> Set( $LogToSyslog, "debug"); >> You also need to have a look at line 15 and before in your component. > > When I said that I saw nothing in rt.log I meant nothing of importance. > I have the debug logging turned on. > > As for the line 15 - I have posted the entire component two mails > before. It only has 12! lines and the reported error is at EOF. That > would indicate that there might be something unfinished like missing > bracket or such. However, by looking at the code, I can't see anything > wrong. First it was almost direct copy of the code you sent at first and > then when it did not work I used component from > share/html/Helpers/Autocomplete/ by Thomas advice as a template. But > nothing seems to work. > > I have made even smaller component, in fact smallest that does not 403 > on me: > >> <%flags> >> inherit => undef; >> > > Ajax request on this component fails with this error: > Error during compilation of > /home/RT/RT-4.0.6/local/html/Ticket/Elements/TestComponent:
syntax > error at (eval 1164) line 12, at EOF > > It is as before, the error should be at line 12, but the component > itself has only 3 lines. > > There is something fishy going on... > > Martin From ptomblin at xcski.com Thu Aug 16 08:27:55 2012 From: ptomblin at xcski.com (Paul Tomblin) Date: Thu, 16 Aug 2012 08:27:55 -0400 Subject: [rt-users] Using Ajax with Mason in RT In-Reply-To: <502CE0E9.8060705@ics.muni.cz> References: <502BC22E.9060505@ics.muni.cz> <502CBBCC.6040605@ics.muni.cz> <502CD865.7080705@ics.muni.cz> <502CE0E9.8060705@ics.muni.cz> Message-ID: On Thu, Aug 16, 2012 at 8:00 AM, Martin Drasar wrote: > Ajax request on this component fails with this error: > Error during compilation of > /home/RT/RT-4.0.6/local/html/Ticket/Elements/TestComponent:
syntax > error at (eval 1164) line 12, at EOF > I copied your code into my web app, and it worked fine. Firebug shows me that the ajax call returned ["something"] I'd go with Joe's suggestion, or maybe something in an autohandler or dhandler that is screwing things up. -- http://www.linkedin.com/in/paultomblin http://careers.stackoverflow.com/ptomblin -------------- next part -------------- An HTML attachment was scrubbed... URL: From drasar at ics.muni.cz Thu Aug 16 09:21:39 2012 From: drasar at ics.muni.cz (Martin Drasar) Date: Thu, 16 Aug 2012 15:21:39 +0200 Subject: [rt-users] Using Ajax with Mason in RT In-Reply-To: References: <502BC22E.9060505@ics.muni.cz> <502CBBCC.6040605@ics.muni.cz> <502CD865.7080705@ics.muni.cz> <502CE0E9.8060705@ics.muni.cz> Message-ID: <502CF3E3.5060309@ics.muni.cz> On 16.8.2012 14:27, Paul Tomblin wrote: > I copied your code into my web app, and it worked fine. Firebug shows > me that the ajax call returned ["something"] > > I'd go with Joe's suggestion, or maybe something in an autohandler or > dhandler that is screwing things up. Thank you both for suggestions... I am editting the file via putty through ssh. As I don't use any special characters, I don't think this could be the reason. I have tried to move working script ./share/html/Helpers/Autocomplete/Groups to my local directory local/html/Ticket/Elements/ and the symptoms are the same. Not having inherit set to undef cause it to 403. Having it set results in the typical compilation error. I have also tried to move my component from local directory to share/html/Ticket/Elements, but that did not change anything. My question is - how can I diagnose, whether there is a problem with (auto|d)handlers? I haven't touched any of them since the installation. Martin From proth at cnsny.net Thu Aug 16 09:35:24 2012 From: proth at cnsny.net (Paul Roth) Date: Thu, 16 Aug 2012 09:35:24 -0400 Subject: [rt-users] Correct user email address Message-ID: <022401cd7bb3$fda824f0$f8f86ed0$@net> I accidently set up a user and make a typo on the email address. How do you correct it (RT-4.0.6) or delete the user so I can re-add him. This user has not been associated with any tickets. Thanks in advance for your assistance. Paul -------------- next part -------------- An HTML attachment was scrubbed... URL: From drasar at ics.muni.cz Thu Aug 16 09:53:15 2012 From: drasar at ics.muni.cz (Martin Drasar) Date: Thu, 16 Aug 2012 15:53:15 +0200 Subject: [rt-users] Correct user email address In-Reply-To: <022401cd7bb3$fda824f0$f8f86ed0$@net> References: <022401cd7bb3$fda824f0$f8f86ed0$@net> Message-ID: <502CFB4B.40206@ics.muni.cz> On 16.8.2012 15:35, Paul Roth wrote: > I accidently set up a user and make a typo on the email address. How do > you correct it (RT-4.0.6) or delete the user so I can re-add him. This > user has not been associated with any tickets. Hi, Tools -> Configuration -> Users Find all users whose [Name \/] [matches \/] [write_name_here] Go! Chose the user from the table below and just change the mail and save. Cheers, Martin From simmons at ama-inc.com Thu Aug 16 10:02:53 2012 From: simmons at ama-inc.com (Thomas Simmons) Date: Thu, 16 Aug 2012 14:02:53 +0000 Subject: [rt-users] MinPasswordLength Not Working Message-ID: <05D7DBFA8FD02D4BB48D5F71903C1C045DB005@BY2PRD0410MB390.namprd04.prod.outlook.com> Hello, I am unable to get minimum password length enforcement working on a new 4.0.4 install. I have added: Set($MinPasswordLength , '10'); -------------- next part -------------- An HTML attachment was scrubbed... URL: From ptomblin at xcski.com Thu Aug 16 10:04:53 2012 From: ptomblin at xcski.com (Paul Tomblin) Date: Thu, 16 Aug 2012 10:04:53 -0400 Subject: [rt-users] Using Ajax with Mason in RT In-Reply-To: <502CF3E3.5060309@ics.muni.cz> References: <502BC22E.9060505@ics.muni.cz> <502CBBCC.6040605@ics.muni.cz> <502CD865.7080705@ics.muni.cz> <502CE0E9.8060705@ics.muni.cz> <502CF3E3.5060309@ics.muni.cz> Message-ID: On Thu, Aug 16, 2012 at 9:21 AM, Martin Drasar wrote: > > My question is - how can I diagnose, whether there is a problem with > (auto|d)handlers? I haven't touched any of them since the installation. Ok, this is a real desperation measure, but I modified /opt/rt4/lib/RT.pm and added a call to Carp::cluck in both the $SIG{__WARN__} and $SIG{__DIE__} handlers. It adds a tiny bit more information in a few cases that normally go unremarked by RT. Also, make sure and restart your server after making changes, because the code that is supposed to pick up changes doesn't always do so. -- http://www.linkedin.com/in/paultomblin http://careers.stackoverflow.com/ptomblin -------------- next part -------------- An HTML attachment was scrubbed... URL: From simmons at ama-inc.com Thu Aug 16 10:17:49 2012 From: simmons at ama-inc.com (Thomas Simmons) Date: Thu, 16 Aug 2012 14:17:49 +0000 Subject: [rt-users] MinPasswordLength Not Working Message-ID: <05D7DBFA8FD02D4BB48D5F71903C1C045DB02C@BY2PRD0410MB390.namprd04.prod.outlook.com> Apologies, my message was sent before I finished it. I am unable to get minimum password length enforcement working on a new 4.0.4 install. I have added: Set($MinPasswordLength , '10'); to my RT_SiteConfig.pm, stopped Apache, cleared the mason cache and restarted Apache, however the new settings do not take effect. RT still accepts a 5 character password and if I try a password with less than 5 characters, RT still states the minimum length is still 5. While searching online, I found this old thread where someone was experiencing the same problem with 3.8.2. http://old.nabble.com/MinPasswordLength-and-additional-password-rules-td23560536.html Can someone advise - is this a long-standing bug? Was support for MinPasswordLength removed at some point? I appreciate any input. Thanks, Thomas From: Thomas Simmons Sent: Thursday, August 16, 2012 10:03 AM To: 'rt-users at lists.bestpractical.com' Subject: MinPasswordLength Not Working Hello, I am unable to get minimum password length enforcement working on a new 4.0.4 install. I have added: Set($MinPasswordLength , '10'); -------------- next part -------------- An HTML attachment was scrubbed... URL: From drasar at ics.muni.cz Thu Aug 16 10:34:39 2012 From: drasar at ics.muni.cz (Martin Drasar) Date: Thu, 16 Aug 2012 16:34:39 +0200 Subject: [rt-users] Using Ajax with Mason in RT In-Reply-To: References: <502BC22E.9060505@ics.muni.cz> <502CBBCC.6040605@ics.muni.cz> <502CD865.7080705@ics.muni.cz> <502CE0E9.8060705@ics.muni.cz> <502CF3E3.5060309@ics.muni.cz> Message-ID: <502D04FF.80305@ics.muni.cz> On 16.8.2012 16:04, Paul Tomblin wrote: > > > On Thu, Aug 16, 2012 at 9:21 AM, Martin Drasar > wrote: > > > My question is - how can I diagnose, whether there is a problem with > (auto|d)handlers? I haven't touched any of them since the installation. > > > Ok, this is a real desperation measure, but I modified > /opt/rt4/lib/RT.pm and added a call to Carp::cluck in both the > $SIG{__WARN__} and $SIG{__DIE__} handlers. It adds a tiny bit more > information in a few cases that normally go unremarked by RT. Also, > make sure and restart your server after making changes, because the code > that is supposed to pick up changes doesn't always do so. > Thank you for not giving up... My first attempt - putting cluck outside the block in handler that checks for being inside eval. Looking inside the log and finding bazillion of stack traces. Thinking about switching careers... My second attempt - putting it in correct place. Looking inside the log and finding nothing. Thinking about switching careers... I always restart the apache server and reload the page before trying something new. Working in debug mode, mason cache is empty. Martin From drasar at ics.muni.cz Thu Aug 16 12:01:13 2012 From: drasar at ics.muni.cz (Martin Drasar) Date: Thu, 16 Aug 2012 18:01:13 +0200 Subject: [rt-users] Using Ajax with Mason in RT In-Reply-To: <502D04FF.80305@ics.muni.cz> References: <502BC22E.9060505@ics.muni.cz> <502CBBCC.6040605@ics.muni.cz> <502CD865.7080705@ics.muni.cz> <502CE0E9.8060705@ics.muni.cz> <502CF3E3.5060309@ics.muni.cz> <502D04FF.80305@ics.muni.cz> Message-ID: <502D1949.9020107@ics.muni.cz> Just a quick update - Paul tried to run files from my machine on his and the result was that everything was working ok. So the situation is as follows: - brand new installation of RT-4.0.6 - database moved from RT-3.8.7, upgrade went well - only local changes are those mentioned in this thread, plus the RT_SiteConfig.pm and an import of one css file via css/base/main.css/End callback - $ uname -a > Linux rt-mirror 2.6.32-5-686 #1 SMP Sun May 6 04:01:19 UTC 2012 i686 GNU/Linux Any ideas are welcome Thanks, Martin From trs at bestpractical.com Thu Aug 16 12:48:06 2012 From: trs at bestpractical.com (Thomas Sibley) Date: Thu, 16 Aug 2012 09:48:06 -0700 Subject: [rt-users] Using Ajax with Mason in RT In-Reply-To: <502CBBCC.6040605@ics.muni.cz> References: <502BC22E.9060505@ics.muni.cz> <502CBBCC.6040605@ics.muni.cz> Message-ID: <502D2446.7080604@bestpractical.com> On 08/16/2012 02:22 AM, Martin Drasar wrote: > This is my component: > >> % $r->content_type('application/json'); >> <% JSON( \@something ) |n %> >> % $m->abort(); >> >> <%init> >> my @something; >> push (@something, 'something'); >> >> >> <%flags> >> inherit => undef; >> > > The problem is, when I remove the flags section, the ajax call fails > with 403. 403 is Forbidden. RT denies direct requests to /Elements/ directories (among other internal components). This denial happens in RT's normal request handling phase, which doesn't get called when you set inherit => undef. Please just remove the <%flags> section all together. You also lose things like encoding handling, not to mention authentication, when you disable RT's request handling. > If I keep it, I get back following error: "syntax error at > /home/RT/RT-4.0.6/local/html/Ticket/Elements/TestComponent line 15, at EOF" I'm betting it's the semicolon in the <%flags> section. Remove it. The line number being off is Mason getting it wrong (I'll bet it's the line # of the Mason object file). From falcone at bestpractical.com Thu Aug 16 13:04:45 2012 From: falcone at bestpractical.com (Kevin Falcone) Date: Thu, 16 Aug 2012 13:04:45 -0400 Subject: [rt-users] MinPasswordLength Not Working In-Reply-To: <05D7DBFA8FD02D4BB48D5F71903C1C045DB02C@BY2PRD0410MB390.namprd04.prod.outlook.com> References: <05D7DBFA8FD02D4BB48D5F71903C1C045DB005@BY2PRD0410MB390.namprd04.prod.outlook.com> <05D7DBFA8FD02D4BB48D5F71903C1C045DB02C@BY2PRD0410MB390.namprd04.prod.outlook.com> Message-ID: <20120816170445.GU1496@jibsheet.com> On Thu, Aug 16, 2012 at 02:17:49PM +0000, Thomas Simmons wrote: > I am unable to get minimum password length enforcement working on a new 4.0.4 install. I have > added: > > Set($MinPasswordLength , '10'); > > to my RT_SiteConfig.pm, stopped Apache, cleared the mason cache and restarted Apache, however > the new settings do not take effect. RT still accepts a 5 character password and if I try a > password with less than 5 characters, RT still states the minimum length is still 5. > > > > While searching online, I found this old thread where someone was experiencing the same > problem with 3.8.2. > > [1]http://old.nabble.com/MinPasswordLength-and-additional-password-rules-td23560536.html > > > > Can someone advise - is this a long-standing bug? Was support for MinPasswordLength removed at > some point? I appreciate any input. The config option is called MinimumPasswordLength, not MinPasswordLength. It works fine for me. -kevin -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 195 bytes Desc: not available URL: From ptomblin at xcski.com Thu Aug 16 13:08:23 2012 From: ptomblin at xcski.com (Paul Tomblin) Date: Thu, 16 Aug 2012 13:08:23 -0400 Subject: [rt-users] MinPasswordLength Not Working In-Reply-To: <20120816170445.GU1496@jibsheet.com> References: <05D7DBFA8FD02D4BB48D5F71903C1C045DB005@BY2PRD0410MB390.namprd04.prod.outlook.com> <05D7DBFA8FD02D4BB48D5F71903C1C045DB02C@BY2PRD0410MB390.namprd04.prod.outlook.com> <20120816170445.GU1496@jibsheet.com> Message-ID: On Thu, Aug 16, 2012 at 1:04 PM, Kevin Falcone wrote: > The config option is called MinimumPasswordLength, not > MinPasswordLength. It works fine for me. > And just as an aside, if you force your users to use 10 character passwords, I can *guarantee* that most of them will have them written down on a post-it note, either right on their screen, or under their desk drawer. Hackers know this. Heck, even janitors know this. -- http://www.linkedin.com/in/paultomblin http://careers.stackoverflow.com/ptomblin -------------- next part -------------- An HTML attachment was scrubbed... URL: From simmons at ama-inc.com Thu Aug 16 14:08:29 2012 From: simmons at ama-inc.com (Thomas Simmons) Date: Thu, 16 Aug 2012 18:08:29 +0000 Subject: [rt-users] MinPasswordLength Not Working In-Reply-To: <20120816170445.GU1496@jibsheet.com> References: <05D7DBFA8FD02D4BB48D5F71903C1C045DB005@BY2PRD0410MB390.namprd04.prod.outlook.com> <05D7DBFA8FD02D4BB48D5F71903C1C045DB02C@BY2PRD0410MB390.namprd04.prod.outlook.com> <20120816170445.GU1496@jibsheet.com> Message-ID: <05D7DBFA8FD02D4BB48D5F71903C1C045DB113@BY2PRD0410MB390.namprd04.prod.outlook.com> Thank you, Kevin. That works! All of the documentation I found stated MinPasswordLength. Do you have the ability to correct this information on the page below? The first one looks like it was last updated by you, but it's "wiki-archive", so I don't know if it can be updated at all? http://wiki-archive.bestpractical.com/view/SiteConfig/4819 Also here (I don't know if this is "Official RT documentation") http://requesttracker.wikia.com/wiki/SiteConfig And there is this random page? http://requesttracker.wikia.com/wiki/MinPasswordLength Again, thanks for your help. -----Original Message----- From: rt-users-bounces at lists.bestpractical.com [mailto:rt-users-bounces at lists.bestpractical.com] On Behalf Of Kevin Falcone Sent: Thursday, August 16, 2012 1:05 PM To: rt-users at lists.bestpractical.com Subject: Re: [rt-users] MinPasswordLength Not Working On Thu, Aug 16, 2012 at 02:17:49PM +0000, Thomas Simmons wrote: > I am unable to get minimum password length enforcement working on a new 4.0.4 install. I have > added: > > Set($MinPasswordLength , '10'); > > to my RT_SiteConfig.pm, stopped Apache, cleared the mason cache and restarted Apache, however > the new settings do not take effect. RT still accepts a 5 character password and if I try a > password with less than 5 characters, RT still states the minimum length is still 5. > > > > While searching online, I found this old thread where someone was experiencing the same > problem with 3.8.2. > > > [1]http://old.nabble.com/MinPasswordLength-and-additional-password-rul > es-td23560536.html > > > > Can someone advise - is this a long-standing bug? Was support for MinPasswordLength removed at > some point? I appreciate any input. The config option is called MinimumPasswordLength, not MinPasswordLength. It works fine for me. -kevin From drasar at ics.muni.cz Fri Aug 17 03:26:30 2012 From: drasar at ics.muni.cz (Martin Drasar) Date: Fri, 17 Aug 2012 09:26:30 +0200 Subject: [rt-users] Using Ajax with Mason in RT In-Reply-To: <502D2446.7080604@bestpractical.com> References: <502BC22E.9060505@ics.muni.cz> <502CBBCC.6040605@ics.muni.cz> <502D2446.7080604@bestpractical.com> Message-ID: <502DF226.3070801@ics.muni.cz> On 16.8.2012 18:48, Thomas Sibley wrote: > 403 is Forbidden. RT denies direct requests to /Elements/ directories > (among other internal components). This denial happens in RT's normal > request handling phase, which doesn't get called when you set inherit => > undef. Hi Thomas, thank you, moving it outside of elements to custom directory did the trick. It finally works! > Please just remove the <%flags> section all together. You also lose > things like encoding handling, not to mention authentication, when you > disable RT's request handling. I have gladly thrown it away... >> If I keep it, I get back following error: "syntax error at >> /home/RT/RT-4.0.6/local/html/Ticket/Elements/TestComponent line 15, at EOF" > > I'm betting it's the semicolon in the <%flags> section. Remove it. The > line number being off is Mason getting it wrong (I'll bet it's the line > # of the Mason object file). Heh, I am used to missing semicolon, not the other way round. Anyway this was really the cause. Removing it made it worked, although it is no longer necessary because of what was written before. Still, I wonder how come that Paul could successfully run my scripts... Anyway, big thanks to you. Martin From o.nash at cs.ucc.ie Fri Aug 17 04:48:15 2012 From: o.nash at cs.ucc.ie (o.nash at cs.ucc.ie) Date: Fri, 17 Aug 2012 09:48:15 +0100 (IST) Subject: [rt-users] RT 4 Book advice please Message-ID: I am looking for information on configuring RT 4.0.6, as it seems to be quite a lot different than 3.8. I have the RT Essentials [2005] bokk but perhaps there is something out now that is targeting RT4? thanks oliver -- Oliver Nash From drasar at ics.muni.cz Fri Aug 17 05:23:21 2012 From: drasar at ics.muni.cz (Martin Drasar) Date: Fri, 17 Aug 2012 11:23:21 +0200 Subject: [rt-users] Accessing Ticket from MakeClicky callback Message-ID: <502E0D89.9080003@ics.muni.cz> Hi, is it possible to access ticket object from MakeClicky callback? For example, I have a callback that recognizes an IP and allows to perform set of actions on click. And for one of that action, I need to have current ticket subject. How can I get access to such information? Thanks, Martin From shrivallabh.deshmukh at sungard.com Fri Aug 17 06:52:55 2012 From: shrivallabh.deshmukh at sungard.com (Shrivallabh Deshmukh) Date: Fri, 17 Aug 2012 16:22:55 +0530 Subject: [rt-users] Use Query builder to find tickets which were closed after the became over due Message-ID: HI. Can I compare 2 fields using query builder? For example, can I do a query which says display all fields which are closed after their due date? Regards, Shrivallabh -------------- next part -------------- An HTML attachment was scrubbed... URL: From ptomblin at xcski.com Fri Aug 17 07:30:14 2012 From: ptomblin at xcski.com (Paul Tomblin) Date: Fri, 17 Aug 2012 07:30:14 -0400 Subject: [rt-users] Using Ajax with Mason in RT In-Reply-To: <502DF226.3070801@ics.muni.cz> References: <502BC22E.9060505@ics.muni.cz> <502CBBCC.6040605@ics.muni.cz> <502D2446.7080604@bestpractical.com> <502DF226.3070801@ics.muni.cz> Message-ID: On Fri, Aug 17, 2012 at 3:26 AM, Martin Drasar wrote: > > Still, I wonder how come that Paul could successfully run my scripts... > > Because I didn't put it in Elements, I put it in the directory with the code I was working on, and because I didn't try it with <%flags>. If there is one thing that's annoyed me about my whole experience with RT it's the way errors either get eaten up or mis-reported. I don't know if that's the fault of Perl, Mason or RT, but I frequently find myself having to put RT::Logger->debug statements every other line just so I can figure out where it's silently failing, and then minutely examining the line to discover that (as happened yesterday) I had an extra $ in front of a variable name. -- http://www.linkedin.com/in/paultomblin http://careers.stackoverflow.com/ptomblin -------------- next part -------------- An HTML attachment was scrubbed... URL: From Simon.Dray at antplc.com Fri Aug 17 07:40:52 2012 From: Simon.Dray at antplc.com (Simon Dray) Date: Fri, 17 Aug 2012 12:40:52 +0100 Subject: [rt-users] REST API and Saved Searches Message-ID: <3AE0BAB745543E46A98392EE60FC5F769C76C4BEC7@cam-mail2k7.ant.local> Greetings I am trying to use REAST API from excel and can do simple queries but want to use a saved search does anyone know of REST command line that can do this, I want to import the saved search out into a spreadsheet TIA Simon -------------- next part -------------- An HTML attachment was scrubbed... URL: From trs at bestpractical.com Fri Aug 17 11:50:03 2012 From: trs at bestpractical.com (Thomas Sibley) Date: Fri, 17 Aug 2012 08:50:03 -0700 Subject: [rt-users] Using Ajax with Mason in RT In-Reply-To: References: <502BC22E.9060505@ics.muni.cz> <502CBBCC.6040605@ics.muni.cz> <502D2446.7080604@bestpractical.com> <502DF226.3070801@ics.muni.cz> Message-ID: <502E682B.8010501@bestpractical.com> On 08/17/2012 04:30 AM, Paul Tomblin wrote: > If there is one thing that's annoyed me about my whole experience with > RT it's the way errors either get eaten up or mis-reported. I don't > know if that's the fault of Perl, Mason or RT, but I frequently find > myself having to put RT::Logger->debug statements every other line just > so I can figure out where it's silently failing, and then minutely > examining the line to discover that (as happened yesterday) I had an > extra $ in front of a variable name. Rarely in my experience do things completely silently fail. If you run across such reproducible cases where an error completely disappears, file a bug report. Mason often gets line numbers right, but sometimes doesn't because of the way it's implemented. If you're not in a Mason special block (<%args>, <%flags>), most pure Perl errors (from % lines or <%perl> or <%init>) are fairly explanatory. The special blocks are, well, special and Not Quite Perl. From aprilr at yelp.com Fri Aug 17 14:27:03 2012 From: aprilr at yelp.com (April Rosenberg) Date: Fri, 17 Aug 2012 11:27:03 -0700 Subject: [rt-users] AutoRejectRequest Template not working? Message-ID: <9a703d406b7fe81d124b8730c7b243f1@mail.gmail.com> All, I have RT 4.0.5 set up to accept mail and not create new users. I am using RT::Authen::ExternalAuth. I have a problem where some of my users are not using their original email address to send emails to RT. When they send an email into an RT monitored address they get three emails, ?Could not load a valid user?, ?User could not be loaded?, and ?User could not be created?. I have added Set($LookupSenderInExternalDatabase, 1); Set($SenderMustExistInExternalDatabase, 1); But I do not think those are relevant to ExternalAuth. I have added the AutoRejectRequest Template globally, hoping that it would give my users a more graceful error message. Is there anyone to change the outgoing error messages so that a user doesn?t get three, and that the, hopefully, one message they get has more info in it? Anything I have found on this seems to be old, deprecated, or not using ExternalAuth. Thanks! April -------------- next part -------------- An HTML attachment was scrubbed... URL: From al.scotto at reply.it Fri Aug 17 19:35:18 2012 From: al.scotto at reply.it (Scotto Alberto) Date: Fri, 17 Aug 2012 23:35:18 +0000 Subject: [rt-users] R: Use Query builder to find tickets which were closed after the became over due In-Reply-To: References: Message-ID: Hi I'm afraid you can't. I've had the same problem, and I solved with some creativity, involving escalation. I decided that FinalPriority = 89 and, once LinearEscalate has brought one's ticket Priority to 89, then a rt-crontool job increments Priority by some value. So, in my searches, I can distinguish overdue/not overdue tickets by Priority, in this way: Priority > 89 => overdue Priority <= 89 => not overdue Hope this helps. Anyway I'd like to hear other (better) solutions to this problem. Regards Alberto Scotto [Blue] Via Cardinal Massaia, 83 10147 - Torino - ITALY phone: +39 011 29100 al.scotto at reply.it www.reply.it ________________________________ Da: rt-users-bounces at lists.bestpractical.com [rt-users-bounces at lists.bestpractical.com] per conto di Shrivallabh Deshmukh [shrivallabh.deshmukh at sungard.com] Inviato: venerd? 17 agosto 2012 12.52 A: rt-users at lists.bestpractical.com Oggetto: [rt-users] Use Query builder to find tickets which were closed after the became over due HI. Can I compare 2 fields using query builder? For example, can I do a query which says display all fields which are closed after their due date? Regards, Shrivallabh ________________________________ -- The information transmitted is intended for the person or entity to which it is addressed and may contain confidential and/or privileged material. Any review, retransmission, dissemination or other use of, or taking of any action in reliance upon, this information by persons or entities other than the intended recipient is prohibited. If you received this in error, please contact the sender and delete the material from any computer. -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: blue.png Type: image/png Size: 2834 bytes Desc: blue.png URL: From falcone at bestpractical.com Mon Aug 20 10:35:05 2012 From: falcone at bestpractical.com (Kevin Falcone) Date: Mon, 20 Aug 2012 10:35:05 -0400 Subject: [rt-users] MinPasswordLength Not Working In-Reply-To: <05D7DBFA8FD02D4BB48D5F71903C1C045DB113@BY2PRD0410MB390.namprd04.prod.outlook.com> References: <05D7DBFA8FD02D4BB48D5F71903C1C045DB005@BY2PRD0410MB390.namprd04.prod.outlook.com> <05D7DBFA8FD02D4BB48D5F71903C1C045DB02C@BY2PRD0410MB390.namprd04.prod.outlook.com> <20120816170445.GU1496@jibsheet.com> <05D7DBFA8FD02D4BB48D5F71903C1C045DB113@BY2PRD0410MB390.namprd04.prod.outlook.com> Message-ID: <20120820143505.GA14091@jibsheet.com> On Thu, Aug 16, 2012 at 06:08:29PM +0000, Thomas Simmons wrote: > All of the documentation I found stated MinPasswordLength. The official documentation that ships with RT is /opt/rt4/etc/RT_Config.pm for config options. > Do you have the ability to correct this information on the page below? > The first one looks like it was last updated by you, but it's "wiki- > archive", so I don't know if it can be updated at all? > > http://wiki-archive.bestpractical.com/view/SiteConfig/4819 As you noted, this is old and out of date > Also here (I don't know if this is "Official RT documentation") > > http://requesttracker.wikia.com/wiki/SiteConfig > > http://requesttracker.wikia.com/wiki/MinPasswordLength These can both be updated by anyone since they're wiki pages. You don't even need to make a wikia account to fix them. -kevin > > -----Original Message----- > From: rt-users-bounces at lists.bestpractical.com [mailto:rt-users-bounces at lists.bestpractical.com] On Behalf Of Kevin Falcone > Sent: Thursday, August 16, 2012 1:05 PM > To: rt-users at lists.bestpractical.com > Subject: Re: [rt-users] MinPasswordLength Not Working > > On Thu, Aug 16, 2012 at 02:17:49PM +0000, Thomas Simmons wrote: > > I am unable to get minimum password length enforcement working on a new 4.0.4 install. I have > > added: > > > > Set($MinPasswordLength , '10'); > > > > to my RT_SiteConfig.pm, stopped Apache, cleared the mason cache and restarted Apache, however > > the new settings do not take effect. RT still accepts a 5 character password and if I try a > > password with less than 5 characters, RT still states the minimum length is still 5. > > > > > > > > While searching online, I found this old thread where someone was experiencing the same > > problem with 3.8.2. > > > > > > [1]http://old.nabble.com/MinPasswordLength-and-additional-password-rul > > es-td23560536.html > > > > > > > > Can someone advise - is this a long-standing bug? Was support for MinPasswordLength removed at > > some point? I appreciate any input. > > The config option is called MinimumPasswordLength, not MinPasswordLength. It works fine for me. > > -kevin > -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 195 bytes Desc: not available URL: From falcone at bestpractical.com Mon Aug 20 10:38:55 2012 From: falcone at bestpractical.com (Kevin Falcone) Date: Mon, 20 Aug 2012 10:38:55 -0400 Subject: [rt-users] Accessing Ticket from MakeClicky callback In-Reply-To: <502E0D89.9080003@ics.muni.cz> References: <502E0D89.9080003@ics.muni.cz> Message-ID: <20120820143855.GB14091@jibsheet.com> On Fri, Aug 17, 2012 at 11:23:21AM +0200, Martin Drasar wrote: > is it possible to access ticket object from MakeClicky callback? For > example, I have a callback that recognizes an IP and allows to perform > set of actions on click. And for one of that action, I need to have > current ticket subject. How can I get access to such information? This sounds a lot like what RTIR is doing by using the ticket object which is passed to the callback. Have a look at the RTIR callback to get a sense of how to access it. -kevin -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 195 bytes Desc: not available URL: From falcone at bestpractical.com Mon Aug 20 10:39:32 2012 From: falcone at bestpractical.com (Kevin Falcone) Date: Mon, 20 Aug 2012 10:39:32 -0400 Subject: [rt-users] REST API and Saved Searches In-Reply-To: <3AE0BAB745543E46A98392EE60FC5F769C76C4BEC7@cam-mail2k7.ant.local> References: <3AE0BAB745543E46A98392EE60FC5F769C76C4BEC7@cam-mail2k7.ant.local> Message-ID: <20120820143932.GC14091@jibsheet.com> On Fri, Aug 17, 2012 at 12:40:52PM +0100, Simon Dray wrote: > I am trying to use REAST API from excel and can do simple queries but want to use a saved > search does anyone know of REST command line that can do this, I want to import the saved > search out into a spreadsheet You cannot access saved searches via the REST API. Save searches can be exported out to spreadsheets from the Feeds tab in the web UI. -kevin -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 195 bytes Desc: not available URL: From falcone at bestpractical.com Mon Aug 20 10:42:42 2012 From: falcone at bestpractical.com (Kevin Falcone) Date: Mon, 20 Aug 2012 10:42:42 -0400 Subject: [rt-users] AutoRejectRequest Template not working? In-Reply-To: <9a703d406b7fe81d124b8730c7b243f1@mail.gmail.com> References: <9a703d406b7fe81d124b8730c7b243f1@mail.gmail.com> Message-ID: <20120820144242.GD14091@jibsheet.com> On Fri, Aug 17, 2012 at 11:27:03AM -0700, April Rosenberg wrote: > I have RT 4.0.5 set up to accept mail and not create new users. I am using > RT::Authen::ExternalAuth. I have a problem where some of my users are not using their original > email address to send emails to RT. When they send an email into an RT monitored address they > get three emails, *Could not load a valid user*, *User could not be loaded*, and *User could > not be created*. I have added > > Set($LookupSenderInExternalDatabase, 1); > > Set($SenderMustExistInExternalDatabase, 1); > > But I do not think those are relevant to ExternalAuth. I have added the AutoRejectRequest > Template globally, hoping that it would give my users a more graceful error message. These options were removed from the config in e3d012c1165fbdf5954ecd760c25e8830e01d273 because there was never any code implemented in core to use them. They've been deleted from the documentation since 3.8.9. > Is there anyone to change the outgoing error messages so that a user doesn*t get three, and > that the, hopefully, one message they get has more info in it? I'm not sure why they're getting three messages, I'd expect one. Unfortunately, most of the error messages are handle in the library code and are hard to change. You can look at lib/RT/Interface/Email.pm to get an idea of what methods you'd need to overlay. -kevin -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 195 bytes Desc: not available URL: From falcone at bestpractical.com Mon Aug 20 10:44:04 2012 From: falcone at bestpractical.com (Kevin Falcone) Date: Mon, 20 Aug 2012 10:44:04 -0400 Subject: [rt-users] Batch user add to group In-Reply-To: <502B8415.3040109@sgul.ac.uk> References: <502B8415.3040109@sgul.ac.uk> Message-ID: <20120820144404.GE14091@jibsheet.com> On Wed, Aug 15, 2012 at 12:12:21PM +0100, Giuseppe Sollazzo wrote: > Hi there, > I was wondering if there's any command line utility or API call that I > can use to add users to a group in bulk, in RT4. > > I have something like > user1 at domain > user2 at domain > user3 at domain > user4 at domain > > they are already on the system, but unprivileged. > > I want to make them privileged and add to a group. There is no existing command line utility, but it's mostly a matter of a small perl script to load the user, calling SetPrivileged on it and then calling AddMember on the relevant group object. -kevin -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 195 bytes Desc: not available URL: From Simon.Dray at antplc.com Mon Aug 20 11:02:27 2012 From: Simon.Dray at antplc.com (Simon Dray) Date: Mon, 20 Aug 2012 16:02:27 +0100 Subject: [rt-users] REST API and Saved Searches In-Reply-To: <20120820143932.GC14091@jibsheet.com> References: <3AE0BAB745543E46A98392EE60FC5F769C76C4BEC7@cam-mail2k7.ant.local> <20120820143932.GC14091@jibsheet.com> Message-ID: <3AE0BAB745543E46A98392EE60FC5F769C76C4BFCB@cam-mail2k7.ant.local> Kevin Hi Thanks for taking the time to answer but the RSS feed doesn't give me the data and formatting I wanted, the result I was trying to get was the same as an output directly to the spreadsheet. My SQL is not good enough to stitch all the bits together. I am trying to make easy for management to just run the spreadsheet and then use excel to extract the data locally, I know the correct way is to do a MYSQL query and then do joins for the tables but my knowledge stops at getting one table let alone 7 or 8 Best regards Simon -----Original Message----- From: Kevin Falcone [mailto:falcone at bestpractical.com] Sent: 20 August 2012 15:40 To: rt-users at lists.bestpractical.com Subject: Re: [rt-users] REST API and Saved Searches On Fri, Aug 17, 2012 at 12:40:52PM +0100, Simon Dray wrote: > I am trying to use REAST API from excel and can do simple queries but want to use a saved > search does anyone know of REST command line that can do this, I want to import the saved > search out into a spreadsheet You cannot access saved searches via the REST API. Save searches can be exported out to spreadsheets from the Feeds tab in the web UI. -kevin From josh at prorivertech.com Mon Aug 20 11:21:32 2012 From: josh at prorivertech.com (Josh Hopkins) Date: Mon, 20 Aug 2012 10:21:32 -0500 Subject: [rt-users] HTML emails and attachments In-Reply-To: <20120810234818.GB1496@jibsheet.com> References: <689A1933F8EE7743BC101464DD9F3F0403C8AF8C61@MBX30.exg5.exghost.com> <20120810234818.GB1496@jibsheet.com> Message-ID: <689A1933F8EE7743BC101464DD9F3F0403C8BAF247@MBX30.exg5.exghost.com> > -----Original Message----- > From: rt-users-bounces at lists.bestpractical.com [mailto:rt-users- > bounces at lists.bestpractical.com] On Behalf Of Kevin Falcone > Sent: Friday, August 10, 2012 5:48 PM > To: rt-users at lists.bestpractical.com > Subject: Re: [rt-users] HTML emails and attachments > > On Thu, Aug 09, 2012 at 03:20:26PM -0500, Josh Hopkins wrote: > > We have updated our templates to use HTML but have noticed that now > users don't receive > > attachments when getting responses. > > > > I have tried adding the RT-Attach-Message: yes to the top of the > template and then adding > > Content-Type:text/html a few lines below it but that just make the whole > email come out in > > HTML code. > > > > Is there a way to have HTML emails work with attachments? > > HTML emails and attachments work fine together. > Please post your template, I assume you have blank lines in the wrong > places. > > -kevin Here is the template. RT-Attach-Message: yes Content-Type:text/html

Subject: Updated: {$Ticket->Subject}


Your request: { $Ticket->SubjectTag } has been updated or responded to.

{$Transaction->Content()}


Please keep the subject line { $Ticket->SubjectTag } for future correspondence relating to this request. Details about your request are at the end of this message. You may call your Pro River Support Team at 719-425-2148 then (Option 2) for support.

You will receive further emails as your request is addressed by our support staff.


------------------------Original Message------------------------
Date: {$Transaction->Attachments->First->GetHeader('Date')}
To: {$Transaction->Attachments->First->GetHeader('To')}
From: {$Transaction->Attachments->First->GetHeader('From')}
Cc: {$Transaction->Attachments->First->GetHeader('Cc')}
Subject: {$Ticket->Subject}


{$Ticket->Transactions->First->Content()}

[Josh Hopkins] From mgarman at peakehealthcare.com Mon Aug 20 12:41:32 2012 From: mgarman at peakehealthcare.com (ikeusmaximus) Date: Mon, 20 Aug 2012 09:41:32 -0700 (PDT) Subject: [rt-users] Custome Page will not display properly (PHP) Message-ID: <34325389.post@talk.nabble.com> Greetings all, I am attempting to create a custom page that will serve as a directory listing for a few folders that contain reports generated through BIRT. I have already modified the left-side navigation bar, and I have also gotten to the point when I can make the new custom page display all the RT bars and interface. The issue is that the page will not display properly when the php code for listing the directory is put in. Only the raw code displays on the webpage, not the contents of the directory. The php code (along with HTML for the page) consists of approximately 8 php functions which are all contained inside the tags. I have tested the code without the RT commands at the top of the file: <& /Elements/Header, Title => loc("Analytics") &> <& /Elements/Tabs &> <& /Elements/ListActions &> and the code works fine. It is only when I add these three lines does the php not work. The code has been placed in ".index.php" (which is the index file for the custom page) and that file is located in the parent directory for all the reports. This directory is not under the RT source, a symbolic link has been created to point to the .index file from within the RT source. Any ideas on how to get the php to work properly? -- View this message in context: http://old.nabble.com/Custome-Page-will-not-display-properly-%28PHP%29-tp34325389p34325389.html Sent from the Request Tracker - User mailing list archive at Nabble.com. From falcone at bestpractical.com Mon Aug 20 12:42:10 2012 From: falcone at bestpractical.com (Kevin Falcone) Date: Mon, 20 Aug 2012 12:42:10 -0400 Subject: [rt-users] REST API and Saved Searches In-Reply-To: <3AE0BAB745543E46A98392EE60FC5F769C76C4BFCB@cam-mail2k7.ant.local> References: <3AE0BAB745543E46A98392EE60FC5F769C76C4BEC7@cam-mail2k7.ant.local> <20120820143932.GC14091@jibsheet.com> <3AE0BAB745543E46A98392EE60FC5F769C76C4BFCB@cam-mail2k7.ant.local> Message-ID: <20120820164210.GF14091@jibsheet.com> On Mon, Aug 20, 2012 at 04:02:27PM +0100, Simon Dray wrote: > Thanks for taking the time to answer but the RSS feed doesn't give me > the data and formatting I wanted, the result I was trying to get was > the same as an output directly to the spreadsheet. My SQL is not good > enough to stitch all the bits together. I am trying to make easy for > management to just run the spreadsheet and then use excel to extract > the data locally, I know the correct way is to do a MYSQL query and > then do joins for the tables but my knowledge stops at getting one > table let alone 7 or 8 I wasn't suggesting the RSS feed, I was suggesting the Spreadsheet Feed. -kevin > > -----Original Message----- > From: Kevin Falcone [mailto:falcone at bestpractical.com] > Sent: 20 August 2012 15:40 > To: rt-users at lists.bestpractical.com > Subject: Re: [rt-users] REST API and Saved Searches > > On Fri, Aug 17, 2012 at 12:40:52PM +0100, Simon Dray wrote: > > I am trying to use REAST API from excel and can do simple queries but want to use a saved > > search does anyone know of REST command line that can do this, I want to import the saved > > search out into a spreadsheet > > You cannot access saved searches via the REST API. > Save searches can be exported out to spreadsheets from the Feeds tab in the web UI. > > -kevin -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 195 bytes Desc: not available URL: From falcone at bestpractical.com Mon Aug 20 12:43:11 2012 From: falcone at bestpractical.com (Kevin Falcone) Date: Mon, 20 Aug 2012 12:43:11 -0400 Subject: [rt-users] HTML emails and attachments In-Reply-To: <689A1933F8EE7743BC101464DD9F3F0403C8BAF247@MBX30.exg5.exghost.com> References: <689A1933F8EE7743BC101464DD9F3F0403C8AF8C61@MBX30.exg5.exghost.com> <20120810234818.GB1496@jibsheet.com> <689A1933F8EE7743BC101464DD9F3F0403C8BAF247@MBX30.exg5.exghost.com> Message-ID: <20120820164311.GG14091@jibsheet.com> On Mon, Aug 20, 2012 at 10:21:32AM -0500, Josh Hopkins wrote: > > HTML emails and attachments work fine together. > > Please post your template, I assume you have blank lines in the wrong > > places. > > Here is the template. > RT-Attach-Message: yes > > > Content-Type:text/html See those two blank lines? You can't have those, it has to be RT-Attach-Message: yes and Content-Type: text/html as the very first two lines in your template, followed by a blank line, followed by your HTML. -kevin > > >
>
>

>
>
> > > > > > > > > > > > > > >

Subject: Updated: {$Ticket->Subject}

>
Your request: { $Ticket->SubjectTag } has been updated or responded to. >
>

{$Transaction->Content()}

>

> Please keep the subject line { $Ticket->SubjectTag } for future correspondence relating to this request. Details about your request are at the end of this message. You may call your Pro River Support Team at 719-425-2148 then (Option 2) for support.
>
You will receive further emails as your request is addressed by our support staff.
> >
> >
> > > > >
>
>
> > > > >
>
>

------------------------Original Message------------------------
> Date: {$Transaction->Attachments->First->GetHeader('Date')}
> To: {$Transaction->Attachments->First->GetHeader('To')}
> From: {$Transaction->Attachments->First->GetHeader('From')}
> Cc: {$Transaction->Attachments->First->GetHeader('Cc')}
> Subject: {$Ticket->Subject}
>
>
> {$Ticket->Transactions->First->Content()}

>
>
> > > > [Josh Hopkins] > > > > -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 195 bytes Desc: not available URL: From falcone at bestpractical.com Mon Aug 20 12:44:08 2012 From: falcone at bestpractical.com (Kevin Falcone) Date: Mon, 20 Aug 2012 12:44:08 -0400 Subject: [rt-users] Custome Page will not display properly (PHP) In-Reply-To: <34325389.post@talk.nabble.com> References: <34325389.post@talk.nabble.com> Message-ID: <20120820164408.GH14091@jibsheet.com> On Mon, Aug 20, 2012 at 09:41:32AM -0700, ikeusmaximus wrote: > > I am attempting to create a custom page that will serve as a directory > listing for a few folders that contain reports generated through BIRT. > > I have already modified the left-side navigation bar, and I have also gotten > to the point when I can make the new custom page display all the RT bars and > interface. The issue is that the page will not display properly when the > php code for listing the directory is put in. Only the raw code displays on > the webpage, not the contents of the directory. > > The php code (along with HTML for the page) consists of approximately 8 php > functions which are all contained inside the tags. I have > tested the code without the RT commands at the top of the file: > > <& /Elements/Header, Title => loc("Analytics") &> > <& /Elements/Tabs &> > <& /Elements/ListActions &> > > and the code works fine. It is only when I add these three lines does the > php not work. That code isn't PHP, which is probably why it doesn't load properly. RT is written in perl using HTML::Mason. -kevin > The code has been placed in ".index.php" (which is the index file for the > custom page) and that file is located in the parent directory for all the > reports. This directory is not under the RT source, a symbolic link has > been created to point to the .index file from within the RT source. -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 195 bytes Desc: not available URL: From mgarman at peakehealthcare.com Mon Aug 20 12:51:58 2012 From: mgarman at peakehealthcare.com (ikeusmaximus) Date: Mon, 20 Aug 2012 09:51:58 -0700 (PDT) Subject: [rt-users] Custome Page will not display properly (PHP) In-Reply-To: <20120820164408.GH14091@jibsheet.com> References: <34325389.post@talk.nabble.com> <20120820164408.GH14091@jibsheet.com> Message-ID: <34325429.post@talk.nabble.com> Kevin Falcone-2 wrote: > > That code isn't PHP, which is probably why it doesn't load properly. > RT is written in perl using HTML::Mason. > I realize that the three lines that I posted are not PHP, I was just posting them as a reference, because those three lines cause the new page to look like an RT page and are ultimately what cause the php code to break. But that does not explain why the rest of my code (which is PHP and html) is not working. Unless RT cannot handle PHP, which does not sound right. -ikeusmaxmus Kevin Falcone-2 wrote: > > On Mon, Aug 20, 2012 at 09:41:32AM -0700, ikeusmaximus wrote: >> >> I am attempting to create a custom page that will serve as a directory >> listing for a few folders that contain reports generated through BIRT. >> >> I have already modified the left-side navigation bar, and I have also >> gotten >> to the point when I can make the new custom page display all the RT bars >> and >> interface. The issue is that the page will not display properly when the >> php code for listing the directory is put in. Only the raw code displays >> on >> the webpage, not the contents of the directory. >> >> The php code (along with HTML for the page) consists of approximately 8 >> php >> functions which are all contained inside the tags. I have >> tested the code without the RT commands at the top of the file: >> >> <& /Elements/Header, Title => loc("Analytics") &> >> <& /Elements/Tabs &> >> <& /Elements/ListActions &> >> >> and the code works fine. It is only when I add these three lines does >> the >> php not work. > > That code isn't PHP, which is probably why it doesn't load properly. > RT is written in perl using HTML::Mason. > > -kevin > >> The code has been placed in ".index.php" (which is the index file for the >> custom page) and that file is located in the parent directory for all the >> reports. This directory is not under the RT source, a symbolic link has >> been created to point to the .index file from within the RT source. > > > -- View this message in context: http://old.nabble.com/Custome-Page-will-not-display-properly-%28PHP%29-tp34325389p34325429.html Sent from the Request Tracker - User mailing list archive at Nabble.com. From falcone at bestpractical.com Mon Aug 20 13:08:09 2012 From: falcone at bestpractical.com (Kevin Falcone) Date: Mon, 20 Aug 2012 13:08:09 -0400 Subject: [rt-users] Custome Page will not display properly (PHP) In-Reply-To: <34325429.post@talk.nabble.com> References: <34325389.post@talk.nabble.com> <20120820164408.GH14091@jibsheet.com> <34325429.post@talk.nabble.com> Message-ID: <20120820170809.GI14091@jibsheet.com> On Mon, Aug 20, 2012 at 09:51:58AM -0700, ikeusmaximus wrote: > > > Kevin Falcone-2 wrote: > > > > That code isn't PHP, which is probably why it doesn't load properly. > > RT is written in perl using HTML::Mason. > > > I realize that the three lines that I posted are not PHP, I was just posting > them as a reference, because those three lines cause the new page to look > like an RT page and are ultimately what cause the php code to break. But > that does not explain why the rest of my code (which is PHP and html) is not > working. Unless RT cannot handle PHP, which does not sound right. Why do you believe RT can "handle PHP"? It is written in Perl, not PHP. -kevin -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 195 bytes Desc: not available URL: From jzabolotnyi at arces.net Mon Aug 20 14:21:23 2012 From: jzabolotnyi at arces.net (Jack Zabolotnyi) Date: Mon, 20 Aug 2012 20:21:23 +0200 Subject: [rt-users] Gather multiple tickets in one message by rt-crontool Message-ID: Hi. I'd like to notify my customers if they have unanswered (by them) tickets. I do it via rt-crontool and almost finished, but there is one little issue i'd like to fix: normally, client will get one email for every ticket that match criteria, and I'd like to gather all tickets (subjects with links) in one email and send only this one message to client. Is it possible to do? Thanks. -- Jack Zabolotnyi Arces Network, LLC e: jzabolotnyi at arces.net w: http://www.arces.net PGP key: 2048R/7F2AB658 2012-07-02 PGP fingerprint: 4C7E 00A8 5210 F3D9 0509 C70E 87C8 666E 7F2A B658 -------------- next part -------------- An HTML attachment was scrubbed... URL: From aprilr at yelp.com Mon Aug 20 19:16:45 2012 From: aprilr at yelp.com (April Rosenberg) Date: Mon, 20 Aug 2012 16:16:45 -0700 Subject: [rt-users] AutoRejectRequest Template not working? In-Reply-To: <20120820144242.GD14091@jibsheet.com> References: <9a703d406b7fe81d124b8730c7b243f1@mail.gmail.com> <20120820144242.GD14091@jibsheet.com> Message-ID: <3438c2c5a733e851a4695fb40f411d57@mail.gmail.com> Kevin, Thanks for pointing me at the right files. I found the three places mail is going out. Sub createUser sends out two of the emails as the unless statements that call mailError then don't seem to error out of the sub. The third message is coming from further down in sub _NoAuthorizedUserFound. April -----Original Message----- From: rt-users-bounces at lists.bestpractical.com [mailto:rt-users-bounces at lists.bestpractical.com] On Behalf Of Kevin Falcone Sent: Monday, August 20, 2012 7:43 AM To: rt-users at lists.bestpractical.com Subject: Re: [rt-users] AutoRejectRequest Template not working? On Fri, Aug 17, 2012 at 11:27:03AM -0700, April Rosenberg wrote: > I have RT 4.0.5 set up to accept mail and not create new users. I am using > RT::Authen::ExternalAuth. I have a problem where some of my users are not using their original > email address to send emails to RT. When they send an email into an RT monitored address they > get three emails, *Could not load a valid user*, *User could not be loaded*, and *User could > not be created*. I have added > > Set($LookupSenderInExternalDatabase, 1); > > Set($SenderMustExistInExternalDatabase, 1); > > But I do not think those are relevant to ExternalAuth. I have added the AutoRejectRequest > Template globally, hoping that it would give my users a more graceful error message. These options were removed from the config in e3d012c1165fbdf5954ecd760c25e8830e01d273 because there was never any code implemented in core to use them. They've been deleted from the documentation since 3.8.9. > Is there anyone to change the outgoing error messages so that a user doesn*t get three, and > that the, hopefully, one message they get has more info in it? I'm not sure why they're getting three messages, I'd expect one. Unfortunately, most of the error messages are handle in the library code and are hard to change. You can look at lib/RT/Interface/Email.pm to get an idea of what methods you'd need to overlay. -kevin From ptomblin at xcski.com Mon Aug 20 20:11:25 2012 From: ptomblin at xcski.com (Paul Tomblin) Date: Mon, 20 Aug 2012 20:11:25 -0400 Subject: [rt-users] Set up problems Message-ID: I send a copy of my latest code to my client. He followed my installation instructions (added the plugin name to RT_SiteConfig.pm @Plugins, do a "perl Makefile.pm; make; make initdb; make install", restart the server), but when he tries to go to the first page of my code http://hisdomain.com/rt/cf/change_request.html, it redirects him to https://hisdomain.com/rt/SelfService/ Unfortunately he isn't allowed to give me a look at their config file or their web server configuration or anything. So what do I tell him to look for? He did verify that my web page does appear to be in /opt/rt4/local/plugins/cf/html/cf. In spite of the fact that the won't let me poke around, saying "It works for me on two of my computers" isn't going to be good enough for them. So how do I help them figure out what's going wrong? -- http://www.linkedin.com/in/paultomblin http://careers.stackoverflow.com/ptomblin -------------- next part -------------- An HTML attachment was scrubbed... URL: From slicer at onthenet.com.au Mon Aug 20 20:40:50 2012 From: slicer at onthenet.com.au (Slicer085) Date: Mon, 20 Aug 2012 17:40:50 -0700 (PDT) Subject: [rt-users] RT_SiteConfig.pm issues after upgrade to 4.0.6 Message-ID: <34327124.post@talk.nabble.com> Hi, I've encountered a few issues since my recent upgrade from 4.0.4 to 4.0.6. It would seem some of the variables I have set in RT_SiteConfig.pm don't appear to be pushing through to RT_Config.pm. As such, I am forced to modify RT_Config.pm direct before some changes actually work. ie. Set($SetOutGoingMailFrom,1); (Some emails were bouncing as the domain was incorrect (Internal system only) and Set( $WebDomaiin, 'rt.xxx.xxx' ); Where there any significant changes since this update that I may have missed? -- View this message in context: http://old.nabble.com/RT_SiteConfig.pm-issues-after-upgrade-to-4.0.6-tp34327124p34327124.html Sent from the Request Tracker - User mailing list archive at Nabble.com. From Simon.Dray at antplc.com Tue Aug 21 03:18:18 2012 From: Simon.Dray at antplc.com (Simon Dray) Date: Tue, 21 Aug 2012 08:18:18 +0100 Subject: [rt-users] REST API and Saved Searches In-Reply-To: <20120820164210.GF14091@jibsheet.com> References: <3AE0BAB745543E46A98392EE60FC5F769C76C4BEC7@cam-mail2k7.ant.local> <20120820143932.GC14091@jibsheet.com> <3AE0BAB745543E46A98392EE60FC5F769C76C4BFCB@cam-mail2k7.ant.local> <20120820164210.GF14091@jibsheet.com> Message-ID: <3AE0BAB745543E46A98392EE60FC5F769C76C4C000@cam-mail2k7.ant.local> Kevin Hi The spreadsheet feed is how we extract the data currently, what I am trying to end up with is a fully automated spreadsheet, where the manager opens the spreadsheet the data is collected using data import inside the spreadsheet and the data is then presented in various ways. I have tried various ways either with the REST API and also by using the URL used by RT to generate the spreadsheet but excel complains that the URL is too long. I am beginning to think that this is not possible without using SQL and joining all the tables together. Again thank you for your help and patience Simon -----Original Message----- From: Kevin Falcone [mailto:falcone at bestpractical.com] Sent: 20 August 2012 17:42 To: rt-users at lists.bestpractical.com Subject: Re: [rt-users] REST API and Saved Searches On Mon, Aug 20, 2012 at 04:02:27PM +0100, Simon Dray wrote: > Thanks for taking the time to answer but the RSS feed doesn't give me > the data and formatting I wanted, the result I was trying to get was > the same as an output directly to the spreadsheet. My SQL is not good > enough to stitch all the bits together. I am trying to make easy for > management to just run the spreadsheet and then use excel to extract > the data locally, I know the correct way is to do a MYSQL query and > then do joins for the tables but my knowledge stops at getting one > table let alone 7 or 8 I wasn't suggesting the RSS feed, I was suggesting the Spreadsheet Feed. -kevin > > -----Original Message----- > From: Kevin Falcone [mailto:falcone at bestpractical.com] > Sent: 20 August 2012 15:40 > To: rt-users at lists.bestpractical.com > Subject: Re: [rt-users] REST API and Saved Searches > > On Fri, Aug 17, 2012 at 12:40:52PM +0100, Simon Dray wrote: > > I am trying to use REAST API from excel and can do simple queries but want to use a saved > > search does anyone know of REST command line that can do this, I want to import the saved > > search out into a spreadsheet > > You cannot access saved searches via the REST API. > Save searches can be exported out to spreadsheets from the Feeds tab in the web UI. > > -kevin From limitless at yourtrip.ro Tue Aug 21 08:58:14 2012 From: limitless at yourtrip.ro (Limit Less) Date: Tue, 21 Aug 2012 14:58:14 +0200 Subject: [rt-users] LDAP-Active Directory external authentification search/authentificate users in a subtree Message-ID: Hello, I have set up a new Request Tracker server, that uses the RT::Authen::*ExternalAuth *extension. Everything is working fine, and i am able to authenticate users account from the Active Directory into RT, the problem is that i have is that my organisation has a complicated structure, with many OU, and the ldap search for users from what i could figure it out is made having as a scope just one level, what would i need is to have as a scope a whole Subtree. So let me give you an example. My base is in my RT_SiteConfig.pm file is : dc=mydomain, dc=local I am able to log into Request Tracker with a user account contain in CN=Users, DC=mydomain, DC=local But i am unable to log into Request Tracker with a user account contain in OU=Users,OU=DepartmentName,DC=mydomain,DC=local Many thanks for your future responses, or hints, i really appreciate them. -------------- next part -------------- An HTML attachment was scrubbed... URL: From falcone at bestpractical.com Tue Aug 21 09:06:40 2012 From: falcone at bestpractical.com (Kevin Falcone) Date: Tue, 21 Aug 2012 09:06:40 -0400 Subject: [rt-users] RT_SiteConfig.pm issues after upgrade to 4.0.6 In-Reply-To: <34327124.post@talk.nabble.com> References: <34327124.post@talk.nabble.com> Message-ID: <20120821130640.GJ14091@jibsheet.com> On Mon, Aug 20, 2012 at 05:40:50PM -0700, Slicer085 wrote: > I've encountered a few issues since my recent upgrade from 4.0.4 to 4.0.6. > > It would seem some of the variables I have set in RT_SiteConfig.pm don't > appear to be pushing through to RT_Config.pm. > > As such, I am forced to modify RT_Config.pm direct before some changes > actually work. > > ie. > Set($SetOutGoingMailFrom,1); > (Some emails were bouncing as the domain was incorrect (Internal system > only) The config option is named SetOutgoingMailFrom not SetOutGoingMailFrom > Set( $WebDomaiin, 'rt.xxx.xxx' ); The config option is named WebDomain not WebDomaiin -kevin -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 195 bytes Desc: not available URL: From methier at CGR.Harvard.edu Tue Aug 21 09:59:46 2012 From: methier at CGR.Harvard.edu (Ethier, Michael) Date: Tue, 21 Aug 2012 09:59:46 -0400 Subject: [rt-users] rt-mailgate problem - certificate verify failure ? Message-ID: <1B12003244CE894E85B4726023637888010DF84289@FASXCH01.fasmail.priv> Hello, The rt-mailgate program acts differently between v 3.8.8 and v 4.0.6. The v 3.8.8 version works fine using https, and even when I have v 4.0.6 running with the /etc/aliases point to the v 3.8.8 version of rtmailgate, email get sent to the queue. But the v 4.0.6 version fails with certificate verify failed, output from mailq: (temporary failure. Command output: An Error Occurred ================= 500 Can't connect to testrt.rc.fas.harvard.edu:443 (certificate verify failed)) rt at testrt.rc.fas.harvard.edu Any ideas as to the verification of my RT/ssl setup, on how to fix this ? Apparently the RT 4.0.6 is less forgiving about the ssl setup and config. I ran RT configure with the --enable-ssl-mailgate option and installed all perl modules required with "make fixdeps" in RT 4.0.6. Thanks, Mike This is in /etc/aliases: # rt3 rt: "|/opt/rt-3.8.8/bin/rt-mailgate --queue 'General' --action correspond --url https://testrt.rc.fas.harvard.edu/" rt-comment: "|/opt/rt-3.8.8/bin/rt-mailgate --queue 'General' --action comment --url https://testrt.rc.fas.harvard.edu/" # rt4 #rt: "|/opt/rt4/bin/rt-mailgate --queue 'General' --ca-file /etc/pki/tls/certs/ca-bundle.crt --action correspond --url https://testrt.rc.fas.harvard.edu/" #rt-comment: "|/opt/rt4/bin/rt-mailgate --queue 'General' --ca-file /etc/pki/tls/certs/ca-bundle.crt --action comment --url https://testrt.rc.fas.harvard.edu/" -------------- next part -------------- An HTML attachment was scrubbed... URL: From drasar at ics.muni.cz Tue Aug 21 10:11:16 2012 From: drasar at ics.muni.cz (Martin Drasar) Date: Tue, 21 Aug 2012 16:11:16 +0200 Subject: [rt-users] rt-mailgate problem - certificate verify failure ? In-Reply-To: <1B12003244CE894E85B4726023637888010DF84289@FASXCH01.fasmail.priv> References: <1B12003244CE894E85B4726023637888010DF84289@FASXCH01.fasmail.priv> Message-ID: <50339704.9030103@ics.muni.cz> On 21.8.2012 15:59, Ethier, Michael wrote: > Hello, > > > > The rt-mailgate program acts differently between v 3.8.8 and v 4.0.6. > The v 3.8.8 version works > > fine using https, and even when I have v 4.0.6 running with the > /etc/aliases point to the v 3.8.8 version of rtmailgate, email > > get sent to the queue. But the v 4.0.6 version fails with certificate > verify failed, output from mailq: > > > > (temporary failure. Command output: An Error Occurred ================= > 500 Can't connect to testrt.rc.fas.harvard.edu:443 (certificate verify > failed)) > > rt at testrt.rc.fas.harvard.edu > > > > Any ideas as to the verification of my RT/ssl setup, on how to fix this > ? Apparently the RT 4.0.6 is less forgiving about the ssl setup and config. > > I ran RT configure with the --enable-ssl-mailgate option and installed > all perl modules required with ?make fixdeps? in RT 4.0.6. > > > > Thanks, > > Mike > > > > This is in /etc/aliases: > > # rt3 > > rt: "|/opt/rt-3.8.8/bin/rt-mailgate --queue 'General' --action > correspond --url https://testrt.rc.fas.harvard.edu/" > > rt-comment: "|/opt/rt-3.8.8/bin/rt-mailgate --queue 'General' --action > comment --url https://testrt.rc.fas.harvard.edu/" > > > > # rt4 > > #rt: "|/opt/rt4/bin/rt-mailgate --queue 'General' --ca-file > /etc/pki/tls/certs/ca-bundle.crt --action correspond --url > https://testrt.rc.fas.harvard.edu/" > > #rt-comment: "|/opt/rt4/bin/rt-mailgate --queue 'General' --ca-file > /etc/pki/tls/certs/ca-bundle.crt --action comment --url > https://testrt.rc.fas.harvard.edu/" > Hi Mike, add this option to your aliases if you want to bypass certificate validation: --no-verify-ssl So your rt entry in /etc/aliases would look like this: #rt: "|/opt/rt4/bin/rt-mailgate --queue 'General' --ca-file /etc/pki/tls/certs/ca-bundle.crt --action correspond --url https://testrt.rc.fas.harvard.edu/ --no-verify-ssl" Martin From methier at CGR.Harvard.edu Tue Aug 21 10:16:39 2012 From: methier at CGR.Harvard.edu (Ethier, Michael) Date: Tue, 21 Aug 2012 10:16:39 -0400 Subject: [rt-users] rt-mailgate problem - certificate verify failure ? In-Reply-To: <50339704.9030103@ics.muni.cz> References: <1B12003244CE894E85B4726023637888010DF84289@FASXCH01.fasmail.priv> <50339704.9030103@ics.muni.cz> Message-ID: <1B12003244CE894E85B4726023637888010DF84297@FASXCH01.fasmail.priv> Hi Martin, Thanks for the suggestion but if I enable --no-ssl I will be creating a security vulnerability no ? Thanks, Mike -----Original Message----- From: rt-users-bounces at lists.bestpractical.com [mailto:rt-users-bounces at lists.bestpractical.com] On Behalf Of Martin Drasar Sent: Tuesday, August 21, 2012 10:11 AM To: rt-users at lists.bestpractical.com Subject: Re: [rt-users] rt-mailgate problem - certificate verify failure ? On 21.8.2012 15:59, Ethier, Michael wrote: > Hello, > > > > The rt-mailgate program acts differently between v 3.8.8 and v 4.0.6. > The v 3.8.8 version works > > fine using https, and even when I have v 4.0.6 running with the > /etc/aliases point to the v 3.8.8 version of rtmailgate, email > > get sent to the queue. But the v 4.0.6 version fails with certificate > verify failed, output from mailq: > > > > (temporary failure. Command output: An Error Occurred > ================= > 500 Can't connect to testrt.rc.fas.harvard.edu:443 (certificate verify > failed)) > > rt at testrt.rc.fas.harvard.edu > > > > Any ideas as to the verification of my RT/ssl setup, on how to fix > this ? Apparently the RT 4.0.6 is less forgiving about the ssl setup and config. > > I ran RT configure with the --enable-ssl-mailgate option and installed > all perl modules required with "make fixdeps" in RT 4.0.6. > > > > Thanks, > > Mike > > > > This is in /etc/aliases: > > # rt3 > > rt: "|/opt/rt-3.8.8/bin/rt-mailgate --queue 'General' --action > correspond --url https://testrt.rc.fas.harvard.edu/" > > rt-comment: "|/opt/rt-3.8.8/bin/rt-mailgate --queue 'General' --action > comment --url https://testrt.rc.fas.harvard.edu/" > > > > # rt4 > > #rt: "|/opt/rt4/bin/rt-mailgate --queue 'General' --ca-file > /etc/pki/tls/certs/ca-bundle.crt --action correspond --url > https://testrt.rc.fas.harvard.edu/" > > #rt-comment: "|/opt/rt4/bin/rt-mailgate --queue 'General' --ca-file > /etc/pki/tls/certs/ca-bundle.crt --action comment --url > https://testrt.rc.fas.harvard.edu/" > Hi Mike, add this option to your aliases if you want to bypass certificate validation: --no-verify-ssl So your rt entry in /etc/aliases would look like this: #rt: "|/opt/rt4/bin/rt-mailgate --queue 'General' --ca-file /etc/pki/tls/certs/ca-bundle.crt --action correspond --url https://testrt.rc.fas.harvard.edu/ --no-verify-ssl" Martin From drasar at ics.muni.cz Tue Aug 21 11:03:09 2012 From: drasar at ics.muni.cz (Martin Drasar) Date: Tue, 21 Aug 2012 17:03:09 +0200 Subject: [rt-users] rt-mailgate problem - certificate verify failure ? In-Reply-To: <1B12003244CE894E85B4726023637888010DF84297@FASXCH01.fasmail.priv> References: <1B12003244CE894E85B4726023637888010DF84289@FASXCH01.fasmail.priv> <50339704.9030103@ics.muni.cz> <1B12003244CE894E85B4726023637888010DF84297@FASXCH01.fasmail.priv> Message-ID: <5033A32D.9040901@ics.muni.cz> On 21.8.2012 16:16, Ethier, Michael wrote: > Hi Martin, > > Thanks for the suggestion but if I enable --no-ssl I will be creating a security > vulnerability no ? > > Thanks, > Mike Hi, that's for sure. This was a suggestion for a development machine (the name testrt.rc.fas.harvard.edu suggest that it is). If you want to avoid this step then you have to have a valid certificate for testrt.rc.fas.harvard.edu signed by a certificate authority that is in the ca bundle you are passing to rt-mailgate. Martin From trs at bestpractical.com Tue Aug 21 11:11:26 2012 From: trs at bestpractical.com (Thomas Sibley) Date: Tue, 21 Aug 2012 08:11:26 -0700 Subject: [rt-users] LDAP-Active Directory external authentification search/authentificate users in a subtree In-Reply-To: References: Message-ID: <5033A51E.6090505@bestpractical.com> On 08/21/2012 05:58 AM, Limit Less wrote: > I have set up a new Request Tracker server, that uses > the RT::Authen::*ExternalAuth *extension. > Everything is working fine, and i am able to authenticate users account > from the Active Directory into RT, the problem is that i have is that my > organisation has a complicated structure, with many OU, and the ldap > search for users from what i could figure it out is made having as a > scope just one level, what would i need is to have as a scope a whole > Subtree. The whole subtree is searched. Here's the line of code: https://github.com/bestpractical/rt-authen-externalauth/blob/master/lib/RT/Authen/ExternalAuth/LDAP.pm#L57 and the documentation for the default it's relying on: https://metacpan.org/module/Net::LDAP#search-OPTIONS- You should post your entire config, and error messages, etc. From trs at bestpractical.com Tue Aug 21 11:14:11 2012 From: trs at bestpractical.com (Thomas Sibley) Date: Tue, 21 Aug 2012 08:14:11 -0700 Subject: [rt-users] rt-mailgate problem - certificate verify failure ? In-Reply-To: <5033A32D.9040901@ics.muni.cz> References: <1B12003244CE894E85B4726023637888010DF84289@FASXCH01.fasmail.priv> <50339704.9030103@ics.muni.cz> <1B12003244CE894E85B4726023637888010DF84297@FASXCH01.fasmail.priv> <5033A32D.9040901@ics.muni.cz> Message-ID: <5033A5C3.3020100@bestpractical.com> On 08/21/2012 08:03 AM, Martin Drasar wrote: > If you want to avoid this step then you have to have a valid certificate > for testrt.rc.fas.harvard.edu signed by a certificate authority that is > in the ca bundle you are passing to rt-mailgate. Martin's referring to the --ca-file argument you can pass. You can also simply make sure to put your CA root cert used for signing into /etc/ssl/certs/ or your system's equivalent. See `perldoc bin/rt-mailgate` for more info. From JThuau at spacex.com Tue Aug 21 11:34:54 2012 From: JThuau at spacex.com (Joachim Thuau) Date: Tue, 21 Aug 2012 15:34:54 +0000 Subject: [rt-users] LDAP-Active Directory external authentification search/authentificate users in a subtree In-Reply-To: <5033A51E.6090505@bestpractical.com> Message-ID: It searches from the base down (subtree). Sadly, it looks like his "base" are not under a single container. (limit less, correct me if I misunderstood). You might be able to defined more auth services, each one identical, except with different bases, to auth against. Thanks, Jok -- | Joachim Thuau | IT Systems Engineer - Linux / SpaceX | On 8/21/12 8:11 AM, "Thomas Sibley" wrote: >On 08/21/2012 05:58 AM, Limit Less wrote: >> I have set up a new Request Tracker server, that uses >> the RT::Authen::*ExternalAuth *extension. >> Everything is working fine, and i am able to authenticate users account >> from the Active Directory into RT, the problem is that i have is that my >> organisation has a complicated structure, with many OU, and the ldap >> search for users from what i could figure it out is made having as a >> scope just one level, what would i need is to have as a scope a whole >> Subtree. > >The whole subtree is searched. Here's the line of code: > >https://github.com/bestpractical/rt-authen-externalauth/blob/master/lib/RT >/Authen/ExternalAuth/LDAP.pm#L57 > >and the documentation for the default it's relying on: > >https://metacpan.org/module/Net::LDAP#search-OPTIONS- > >You should post your entire config, and error messages, etc. From ptomblin at xcski.com Tue Aug 21 13:11:21 2012 From: ptomblin at xcski.com (Paul Tomblin) Date: Tue, 21 Aug 2012 13:11:21 -0400 Subject: [rt-users] Set up problems In-Reply-To: References: Message-ID: On Mon, Aug 20, 2012 at 8:11 PM, Paul Tomblin wrote: > I send a copy of my latest code to my client. He followed my installation > instructions (added the plugin name to RT_SiteConfig.pm @Plugins, do a "perl > Makefile.pm; make; make initdb; make install", restart the server), but when > he tries to go to the first page of my code > http://hisdomain.com/rt/cf/change_request.html > > , it redirects him to https://hisdomain.com/rt/SelfService/ > I think I figured out the problem - somehow he's made all the users unprivileged. Either that or he changed the SelfServiceRegex. -- http://www.linkedin.com/in/paultomblin http://careers.stackoverflow.com/ptomblin From phillip.pace at anchor.com.au Tue Aug 21 20:33:35 2012 From: phillip.pace at anchor.com.au (Phillip Pace) Date: Wed, 22 Aug 2012 10:33:35 +1000 Subject: [rt-users] Need a custom PostgreSQL query to retrieve tickets Message-ID: <90559A4C-3DB7-422E-AA39-347D831B4809@anchor.com.au> Hi there, I'm having a little trouble trying to create a custom query within RT. Typically I'd create a new search term using the query builder within RT to find the results what I am looking for however I've tried with all the available field options but no query can give me the search results that I want. The query that I'm having problems writing is one that will list any tickets that I touched between given dates. It can be a ticket that I don't own but made a comment or ticket which I simply updated with a different subject line or linked to related another related ticket. I've create a script so I can query the RT database directly and avoid using the query builder. The database we are using is PostgreSQL. If anyone can point me in the right direction or if they know of a book to buy or a thread post to read would really appreciate your feedback. Best regards, -- Phillip Pace - Account Manager A view into the Anchor Engineroom: http://anchor.com.au/blog/ Solving your problems 24x7 : http://anchor.com.au/wiki/ -- =============================================== Anchor Systems Pty Ltd - Hosting Heavyweights Level 1, 230 Clarence Street Sydney NSW 2000 Australia =============================================== Email: support at anchor.com.au Web: http://www.anchor.com.au Phone: 1300 883 979 Fax: 02 8296 5199 =============================================== From gsollazz at sgul.ac.uk Wed Aug 22 05:50:58 2012 From: gsollazz at sgul.ac.uk (Giuseppe Sollazzo) Date: Wed, 22 Aug 2012 10:50:58 +0100 Subject: [rt-users] Batch user add to group In-Reply-To: <20120820144404.GE14091@jibsheet.com> References: <502B8415.3040109@sgul.ac.uk> <20120820144404.GE14091@jibsheet.com> Message-ID: <5034AB82.7090508@sgul.ac.uk> -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Thanks Kevin, I'm having a go with the RT Perl library. Best regards, Giuseppe On 20/08/12 15:44, Kevin Falcone wrote: > On Wed, Aug 15, 2012 at 12:12:21PM +0100, Giuseppe Sollazzo wrote: >> Hi there, >> I was wondering if there's any command line utility or API call that I >> can use to add users to a group in bulk, in RT4. >> >> I have something like >> user1 at domain >> user2 at domain >> user3 at domain >> user4 at domain >> >> they are already on the system, but unprivileged. >> >> I want to make them privileged and add to a group. > > There is no existing command line utility, but it's mostly a matter of > a small perl script to load the user, calling SetPrivileged on it and > then calling AddMember on the relevant group object. > > -kevin - -- ____________________________________ 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 -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.10 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iQEcBAEBAgAGBQJQNKuBAAoJEAqigArPBfJXJyMH/j/cZic1KA+GffHaC7q0DXYA bj2de9JpgLI3f4W+Rtk7voWwlPeiS3F2Y9ABsK4loyGBdJg9uq5JdfNfhlmlTboM aqN1H4GCTBvLfNY0KVrolsB73hJKNAfBSlTl/ndjNapiNFG1aANAJQprNM39UBbQ SAWwg3ghliXG1USGdhZiSEaAvUW6C2A1IoEni3o7VI5e2rR/MYYax9n+TD9n0wGN XQvVx8tMR8W1EkqtPYVbvCtnDbb7pIyRk7UG5EDFqEL5eiar0/jp3NDAkstNrAnb Q6+sM0otVLnYvCfbxthSJmXGA0B5h9pzLxUooTw8eZZcNuwc+oHNM/l7NtAhsw8= =wZ8L -----END PGP SIGNATURE----- From rob at lonap.net Wed Aug 22 09:09:11 2012 From: rob at lonap.net (Rob Lister) Date: Wed, 22 Aug 2012 14:09:11 +0100 Subject: [rt-users] How do I "unsquelch" a user? Message-ID: <20120822130911.GD2627@lonap.net> Greetings, Have done some searching trying to find out what a "Squelched" user is in RT (marked in the ticket as either "somename (squelched)" or in the "People" page as "somename (Will not be sent email)". I can't for the life of me figure out how to undo this, or how it got there. Some searching suggests that it's because the e-mail address field is blank, but there is definitely an e-mail address there. http://kb.mit.edu/confluence/pages/viewpage.action?pageId=14155778 Clicking about in the interface and trying various things like renaming the user (can't find a delete option) don't get me anywhere. So.. how do I "un-squelch" this contact so that we can reply to his ticket? Thanks, Rob From falcone at bestpractical.com Wed Aug 22 09:56:24 2012 From: falcone at bestpractical.com (Kevin Falcone) Date: Wed, 22 Aug 2012 09:56:24 -0400 Subject: [rt-users] How do I "unsquelch" a user? In-Reply-To: <20120822130911.GD2627@lonap.net> References: <20120822130911.GD2627@lonap.net> Message-ID: <20120822135624.GK14091@jibsheet.com> On Wed, Aug 22, 2012 at 02:09:11PM +0100, Rob Lister wrote: > > Have done some searching trying to find out what a "Squelched" user is > in RT (marked in the ticket as either "somename (squelched)" or > in the "People" page as "somename (Will not be sent email)". > > I can't for the life of me figure out how to undo this, or how it > got there. Some searching suggests that it's because the e-mail address > field is blank, but there is definitely an e-mail address there. > http://kb.mit.edu/confluence/pages/viewpage.action?pageId=14155778 > > Clicking about in the interface and trying various things like renaming the > user (can't find a delete option) don't get me anywhere. > > So.. how do I "un-squelch" this contact so that we can reply to his ticket? You don't say if this is 3.8 or 4.0. On 3.8, you squelch/unsquelch users for the lifetime of the ticket from the Reply/Comment page. On 4.0, the Reply/Comment page only affects the current transaction and you squelch/unsquelch users from the People page. -kevin -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 195 bytes Desc: not available URL: From falcone at bestpractical.com Wed Aug 22 09:58:50 2012 From: falcone at bestpractical.com (Kevin Falcone) Date: Wed, 22 Aug 2012 09:58:50 -0400 Subject: [rt-users] Gather multiple tickets in one message by rt-crontool In-Reply-To: References: Message-ID: <20120822135850.GL14091@jibsheet.com> On Mon, Aug 20, 2012 at 08:21:23PM +0200, Jack Zabolotnyi wrote: > I'd like to notify my customers if they have unanswered (by them) tickets. I do it via > rt-crontool and almost finished, but there is one little issue i'd like to fix: normally, > client will get one email for every ticket that match criteria, and I'd like to gather all > tickets (subjects with links) in one email and send only this one message to client. > > Is it possible to do? Unfortunately, rt-crontool processes one ticket at a time, so batching is hard without some interesting coding. -kevin -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 195 bytes Desc: not available URL: From jzabolotnyi at arces.net Wed Aug 22 10:09:32 2012 From: jzabolotnyi at arces.net (Jack Zabolotnyi) Date: Wed, 22 Aug 2012 16:09:32 +0200 Subject: [rt-users] Gather multiple tickets in one message by rt-crontool In-Reply-To: <20120822135850.GL14091@jibsheet.com> References: <20120822135850.GL14091@jibsheet.com> Message-ID: yeah... well i was trying to gather processed tickets in external temp file and post-process them in the same file where i call rt-crontool (and it might actuall work), but later i decided to cancel this idea - too complicated for my tasks) On Wed, Aug 22, 2012 at 3:58 PM, Kevin Falcone wrote: > On Mon, Aug 20, 2012 at 08:21:23PM +0200, Jack Zabolotnyi wrote: > > I'd like to notify my customers if they have unanswered (by them) > tickets. I do it via > > rt-crontool and almost finished, but there is one little issue i'd > like to fix: normally, > > client will get one email for every ticket that match criteria, and > I'd like to gather all > > tickets (subjects with links) in one email and send only this one > message to client. > > > > Is it possible to do? > > Unfortunately, rt-crontool processes one ticket at a time, so batching > is hard without some interesting coding. > > -kevin > -- Jack Zabolotnyi Arces Network, LLC e: jzabolotnyi at arces.net w: http://www.arces.net PGP key: 2048R/7F2AB658 2012-07-02 PGP fingerprint: 4C7E 00A8 5210 F3D9 0509 C70E 87C8 666E 7F2A B658 -------------- next part -------------- An HTML attachment was scrubbed... URL: From ptomblin at xcski.com Wed Aug 22 10:22:04 2012 From: ptomblin at xcski.com (Paul Tomblin) Date: Wed, 22 Aug 2012 10:22:04 -0400 Subject: [rt-users] Same code, different results Message-ID: My code makes an ajax call to a mason file that emits some json. That mason file uses the exact same techniques that RT's own ajax mason files use to make sure it isn't polluted with html - it calls $m->abort after emitting the json. On my Linux box (Ubuntu 12.04, some dependencies installed with apt-get, but most through CPAN), that works fine - I get the results I want. On my Mac (Mountain Lion, all dependencies installed with CPAN), the JSON is polluted with html from my autohandler and from the default RT autohandler. Can somebody tell me what is going on, and how do I stop it? I had some luck with using <%flags> inherit => undef but I'm told that's a massive security hole, so I took it out. Here is the top bit of my ajax handler file: % $r->content_type('application/json'); % $m->clear_buffer; <% JSON::to_json( \@suggestions, { utf8 => 1, allow_blessed => 1, convert_blessed => 1, } ) |n %> % $m->abort; <%ARGS> @field => undef @value => undef $current => undef $term => undef <%INIT> -- http://www.linkedin.com/in/paultomblin http://careers.stackoverflow.com/ptomblin From gbuday at gmail.com Wed Aug 22 11:23:29 2012 From: gbuday at gmail.com (Gergely Buday) Date: Wed, 22 Aug 2012 17:23:29 +0200 Subject: [rt-users] array of users from Users object Message-ID: Hi there, how can I create an array of User objects from a Users object? I do my $group = RT::Group->new($ticket->OwnerObj); $RT::Logger->info("OnCreate: group->Name=" . $group->Name); $group->LoadUserDefinedGroup($name); $RT::Logger->info("OnCreate: group->Name=" . $group->Name); my @groupmembers = $group->UserMembersObj; but that does not seem to work. - Gergely From trs at bestpractical.com Wed Aug 22 11:57:06 2012 From: trs at bestpractical.com (Thomas Sibley) Date: Wed, 22 Aug 2012 08:57:06 -0700 Subject: [rt-users] array of users from Users object In-Reply-To: References: Message-ID: <50350152.4040705@bestpractical.com> On 08/22/2012 08:23 AM, Gergely Buday wrote: > Hi there, > > how can I create an array of User objects from a Users object? > > I do > > my $group = RT::Group->new($ticket->OwnerObj); > $RT::Logger->info("OnCreate: group->Name=" . $group->Name); > $group->LoadUserDefinedGroup($name); > $RT::Logger->info("OnCreate: group->Name=" . $group->Name); > > my @groupmembers = $group->UserMembersObj; > > but that does not seem to work. UserMembersObj gets you, as doc'd, an RT::Users object. If you want an array, you should then call ->ItemsArrayRef on the RT::Users object (which is a general collection method from DBIx::SearchBuilder). my @groupmembers = @{ $group->UserMembersObj->ItemsArrayRef }; From methier at CGR.Harvard.edu Wed Aug 22 12:37:28 2012 From: methier at CGR.Harvard.edu (Ethier, Michael) Date: Wed, 22 Aug 2012 12:37:28 -0400 Subject: [rt-users] Chart (and legend) display on "RT at a Glance" dashboard - rt3.8.8 vs rt4 Message-ID: <1B12003244CE894E85B4726023637888010DF84554@FASXCH01.fasmail.priv> Hello, We noticed in RT 3.8.8, legends appear inline below a chart. In RT 4.0.6, the legend appears in a rendered box to the right of the chart and violates the boundary of the chart window. A problem with this is if you put a chart on a dashboard body, it overwrites whatever is to the right of the chart in the summary section. We have been displaying charts in the "RT at a Glance" dashboard so this problem was immediately seen. Any ideas as to why the chart legend location was modified in RT 4 or how to adjust it so it's below the chart ? Thanks, Mike -------------- next part -------------- An HTML attachment was scrubbed... URL: From tperrine at scea.com Wed Aug 22 15:51:14 2012 From: tperrine at scea.com (Tom Perrine) Date: Wed, 22 Aug 2012 12:51:14 -0700 Subject: [rt-users] Can RT pull user attributes from LDAP/AD? Message-ID: <50353832.8040805@scea.com> Can you pull user's True Name or other data from LDAP/AD to pre-populate any fields when submitting (or responding to) a ticket? Thanks! From JThuau at spacex.com Wed Aug 22 16:08:38 2012 From: JThuau at spacex.com (Joachim Thuau) Date: Wed, 22 Aug 2012 20:08:38 +0000 Subject: [rt-users] Can RT pull user attributes from LDAP/AD? In-Reply-To: <50353832.8040805@scea.com> Message-ID: RT-Extension-LDAP-Import This will import in bulk not only users, but also groups (if you specify it) Thanks, Jok -- | Joachim Thuau | IT Systems Engineer - Linux / SpaceX | On 8/22/12 12:51 PM, "Tom Perrine" wrote: >Can you pull user's True Name or other data from LDAP/AD to pre-populate >any fields when submitting (or responding to) a >ticket? > >Thanks! > From chris.okelly at minecorp.com.au Thu Aug 23 03:20:43 2012 From: chris.okelly at minecorp.com.au (chrisokelly) Date: Thu, 23 Aug 2012 00:20:43 -0700 (PDT) Subject: [rt-users] Configuring apache for RT 4.0 Message-ID: <34338212.post@talk.nabble.com> Hi guys, I've just downloaded the current version of RT 4.0 and am trying to install it. I had some trouble fixing the dependencies, however updating CPAN build sorted them. I have been able to initialize the DB no problem and I have set up the RT_SiteConfig file. I believe my issue is affected by the fact that we run other services on this same version of apache. I have set up my vhosts file in apache with the following: # Tell FastCGI to put its temporary files somewhere sane; this may # be necessary if your distribution doesn't already set it #FastCgiIpcDir /tmp FastCgiServer /var/www/ithelp/sbin/rt-server.fcgi -processes 5 -idle-timeout 300 ### Optional apache logs for RT # Ensure that your log rotation scripts know about these files # ErrorLog /opt/rt4/var/log/apache2.error #TransferLog /opt/rt4/var/log/apache2.access # LogLevel debug AddDefaultCharset UTF-8 Alias /ithelp/NoAuth/images/ /var/www/ithelp/share/html/NoAuth/images/ ScriptAlias /ithelp /var/www/ithelp/sbin/rt-server.fcgi/ #DocumentRoot "/var/www/ithelp/share/html/" Order allow,deny Allow from all Options +ExecCGI AddHandler fastcgi-script fcgi in the same file exists 2 other vhosts - one is at *:80 and is a redirect to port 443 (to force SSL), the other in on 443 and mainly used for an installation of moodle. The *:443 host also includes mod_jk config for Alfresco (a CMS running in Tomcat, also on this server.) When I start (or restart) apache, I see in /var/log/apache2/error.log: [Thu Aug 23 16:43:17 2012] [notice] FastCGI: process manager initialized (pid 2391) [Thu Aug 23 16:43:17 2012] [warn] FastCGI: server "/var/www/ithelp/sbin/rt-server.fcgi" started (pid 2392) [Thu Aug 23 16:43:17 2012] [notice] Apache/2.2.14 (Ubuntu) mod_fastcgi/2.4.6 mod_jk/1.2.28 PHP/5.3.2-1ubuntu4.17 with Suhosin-Patch mod_ssl/2.2.14 OpenSSL/0.9.8k configured -- resuming normal operations [Thu Aug 23 16:43:18 2012] [warn] FastCGI: server "/var/www/ithelp/sbin/rt-server.fcgi" started (pid 2399) [Thu Aug 23 16:43:19 2012] [warn] FastCGI: server "/var/www/ithelp/sbin/rt-server.fcgi" started (pid 2400) [Thu Aug 23 16:43:20 2012] [warn] FastCGI: server "/var/www/ithelp/sbin/rt-server.fcgi" started (pid 2402) [Thu Aug 23 16:43:21 2012] [warn] FastCGI: server "/var/www/ithelp/sbin/rt-server.fcgi" started (pid 2403) TBH I'm not sure why those are warning... the server starting seems like just what I want. However when I browse to the address I get a page with "Index of /ithelp". I can browse to docs.ourcompany.com/ithelp/share/html/index.html but just see a page that I haven't yet set up the web server and I am Almost there. I'll post some more environment info below, but basically I am stuck here. I have tried many different values for the virtualhost, docs.ourcompany.com, docs.ourcompany.com/ithelp, /ithelp, */ithelp, *, but get the same every time (and yep, I am restarting apache in between). Does anyone know what I am missing? Apache's modules: Compiled in modules: core.c mod_log_config.c mod_logio.c prefork.c http_core.c mod_so.c Loaded Modules: core_module (static) log_config_module (static) logio_module (static) mpm_prefork_module (static) http_module (static) so_module (static) alias_module (shared) auth_basic_module (shared) authn_file_module (shared) authz_default_module (shared) authz_groupfile_module (shared) authz_host_module (shared) authz_user_module (shared) autoindex_module (shared) cgi_module (shared) deflate_module (shared) dir_module (shared) env_module (shared) fastcgi_module (shared) jk_module (shared) mime_module (shared) negotiation_module (shared) php5_module (shared) reqtimeout_module (shared) rewrite_module (shared) setenvif_module (shared) ssl_module (shared) status_module (shared) auth_ntlm_winbind_module (shared) Syntax OK uname -a Linux docs.ourcompany.com 2.6.32-33-server #72-Ubuntu SMP Fri Jul 29 21:21:55 UTC 2011 x86_64 GNU/Linux lsb_release -a No LSB modules are available. Distributor ID: Ubuntu Description: Ubuntu 10.04.4 LTS Release: 10.04 Codename: lucid apache2 -v Server version: Apache/2.2.14 (Ubuntu) Server built: Mar 5 2012 16:42:17 -- View this message in context: http://old.nabble.com/Configuring-apache-for-RT-4.0-tp34338212p34338212.html Sent from the Request Tracker - User mailing list archive at Nabble.com. From s.duignan at jumper.ie Thu Aug 23 06:47:55 2012 From: s.duignan at jumper.ie (Shane Duignan) Date: Thu, 23 Aug 2012 10:47:55 +0000 (UTC) Subject: [rt-users] Invalid domain, status=bounced for email through ticket on RT 3.8.4 In-Reply-To: <10937313.1911.1345718000871.JavaMail.root@IRL-DUB-P-SRV-02> Message-ID: <31011648.1935.1345718875267.JavaMail.root@IRL-DUB-P-SRV-02> Hello, I cannot send an email with attachment via a RT ticket. This is the error message in the logs: Aug 23 09:26:42 MAIL-01 postfix/smtp[29806]: 9DD441D5362: to=, relay=mx.eon.ie[XX.XXX.XXX.XXX]:25, delay=0.91, delays=0.07/0/0.21/0.62, dsn=5.1.0, status=bounced (host mx.eon.ie[XX.XXX.XXX.XXX] said: 550 5.1.0 q9Sg1j02P2zd5X8019SgxU invalid domain (in reply to MAIL FROM command)) The destination mail server recognises the smtp request as coming from invalid domain however I can send mail from my own account without using RT with no issues. The requestors have the correct email address in the ticket. Any ideas how to correct this? -------------- next part -------------- An HTML attachment was scrubbed... URL: From proth at cnsny.net Thu Aug 23 07:17:48 2012 From: proth at cnsny.net (Paul Roth) Date: Thu, 23 Aug 2012 07:17:48 -0400 Subject: [rt-users] email entire history of a ticket Message-ID: <077101cd8120$ed24f050$c76ed0f0$@net> Is there a way to email an entire ticket, since it was created, based on an email with a key work in the subject like /*HISTORY*/ for the given ticket number? Similar to the history screen. Thanks in advance. Paul -------------- next part -------------- An HTML attachment was scrubbed... URL: From gsollazz at sgul.ac.uk Thu Aug 23 08:06:18 2012 From: gsollazz at sgul.ac.uk (Giuseppe Sollazzo) Date: Thu, 23 Aug 2012 13:06:18 +0100 Subject: [rt-users] Batch user add to group In-Reply-To: <20120820144404.GE14091@jibsheet.com> References: <502B8415.3040109@sgul.ac.uk> <20120820144404.GE14091@jibsheet.com> Message-ID: <50361CBA.1000204@sgul.ac.uk> -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On 20/08/12 15:44, Kevin Falcone wrote: > On Wed, Aug 15, 2012 at 12:12:21PM +0100, Giuseppe Sollazzo wrote: > > There is no existing command line utility, but it's mostly a matter of > a small perl script to load the user, calling SetPrivileged on it and > then calling AddMember on the relevant group object. > > -kevin Hi Kevin, I can't find much docs about the use of RT::User especially on RT4. Any link, if you have it handy? What I'm trying to do is something like what follows (edit of scripts found on the wiki): #!/usr/bin/perl use strict; use warnings; use Data::Dumper; BEGIN { die "You must define \$RT_HOME\n" unless exists $ENV{RT_HOME} }; use lib "$ENV{RT_HOME}/lib"; use RT; RT::LoadConfig(); RT::Init(); use RT::Interface::CLI qw(GetCurrentUser loc); use RT::Tickets; die "We need exactly 2 Arguments, Name & Email\n" unless ($#ARGV==1); my $UserName=shift @ARGV; my $Email=shift @ARGV; my $User = RT::User->new($Email); * #my ($id,$Message)=$User->Create(Name=>$UserName,EmailAddress=>$Email,Privileged=>1,Password=>'apassword');* #if ($id){ # print $Message."\n"; # } #else{ # print"This is a error!\n$Message\n"; #} Except I don't want to create a user, I want to load a user from the RT user database. Is that possible? I've been searching for a couple of days now without much success... Thanks, G - -- ____________________________________ 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 -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.10 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iQEcBAEBAgAGBQJQNhy5AAoJEAqigArPBfJXRDkH/i9YBY2XHDHqB8hZIP/hZXdD jx+oqJfoxQa2+QtgbZu+24SZ8XPhqcFmAIhxMaJFrSGrMVD34V0JE1IHWq8mCq1v XFpj19QHwW2vxAQu5DB6CYX2+DuyYDCJ8/RgAnPmT/ZB7y8mNldmpp8IDAxznPZW +AtxcJFNAhZDsp+vC6/XJdnQwh67c9tzHGI1tpT66soIsu4RppGNiH9GHMmlaGid xZnNPlDU6HH6516bWMFC2/+CeZPjEEjqJiNwAXguigzGf3l/67GfTCarAOgVfcAR JO+oOnFIBOvXaLNPLdDoUeJpVm8KOYauydY+IXxhq2Ay80a2VSiEuA8stP9R+5c= =R4tq -----END PGP SIGNATURE----- -------------- next part -------------- An HTML attachment was scrubbed... URL: From rob at lonap.net Thu Aug 23 08:50:43 2012 From: rob at lonap.net (Rob Lister) Date: Thu, 23 Aug 2012 13:50:43 +0100 Subject: [rt-users] How do I "unsquelch" a user? In-Reply-To: <20120822135624.GK14091@jibsheet.com> References: <20120822130911.GD2627@lonap.net> <20120822135624.GK14091@jibsheet.com> Message-ID: <20120823125043.GI20135@lonap.net> On Wed, Aug 22, 2012 at 09:56:24AM -0400, Kevin Falcone wrote: > You don't say if this is 3.8 or 4.0. > > On 3.8, you squelch/unsquelch users for the lifetime of the ticket from > the Reply/Comment page. Yes.. this is it... thanks... a bit unobvious... From rob at lonap.net Thu Aug 23 10:03:11 2012 From: rob at lonap.net (Rob Lister) Date: Thu, 23 Aug 2012 15:03:11 +0100 Subject: [rt-users] Who is "Doctor Helga" ? Message-ID: <20120823140311.GA706@lonap.net> Right, A user just e-mailed me directly on an existing ticket, copying in support@ (which is RT 3.8) Original message; From: Some User To: support at lonap.net Cc: rob at lonap.net Subject: [TICKET #1234] Test So.. My reply, I set the "Reply-To: " header to be support at lonap.net to encourage replies to go back to the ticketer. Reply headers (from my mail client): Date: Thu, 23 Aug 2012 13:31:47 +0100 From: Rob Lister Reply-To: support at lonap.net To: some.user at domain.com Cc: LONAP Tickets - Rob via RT Subject: Re: [LONAP #1234] Test Foo RT's output (slightly anonymized) Subject: Re: [TICKET #1234] Test From: Doctor Helga via RT ------^^^^^^^^^^^^ Reply-To: support at lonap.net Message-ID: Precedence: bulk X-RT-Loop-Prevention: LONAP RT-Ticket: TICKET #1234 Managed-by: RT 3.8.8 (http://www.bestpractical.com/rt/) RT-Originator: support at lonap.net MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Content-Type: text/plain; charset="utf-8" X-RT-Original-Encoding: utf-8 Date: Thu, 23 Aug 2012 13:31:49 +0100 Foo Where the Helga is it getting that from??? R. From mike.johnson at nosm.ca Thu Aug 23 10:38:31 2012 From: mike.johnson at nosm.ca (Mike Johnson) Date: Thu, 23 Aug 2012 10:38:31 -0400 Subject: [rt-users] Subject Tag Usage In-Reply-To: <20120814212144.GT1496@jibsheet.com> References: <20120814170051.GP1496@jibsheet.com> <20120814212144.GT1496@jibsheet.com> Message-ID: That's what I thought you were talking about. Thank you very much. Also, thank you very much for that link, it has other useful bits of info too. I appreciate all the help the folks from Best Practical provide on this listserv. People don't say it enough, but you guys run a great company. Mike. On Tue, Aug 14, 2012 at 5:21 PM, Kevin Falcone wrote: > On Tue, Aug 14, 2012 at 02:48:09PM -0400, Mike Johnson wrote: > > Is this what you are referring to Kevin? > > This is from the Global Autoreply template > > "There is no need to reply to this message right now. Your ticket has > been > > assigned an ID of [{$rtname} #{$Ticket->id()}]." > > I'm assuming you would want that to be something else? > > Do you have a {$Ticket->Tag} or something like that? > > This is the 4.0 version of the Autoreply template, which has the > relevant SubjectTag method in use that you can crib off > > https://github.com/bestpractical/rt/blob/stable/etc/initialdata#L218 > > > On Tue, Aug 14, 2012 at 1:00 PM, Kevin Falcone <[1] > falcone at bestpractical.com> wrote: > > > > On Tue, Aug 14, 2012 at 10:19:33AM -0400, Mike Johnson wrote: > > > I just want to be sure I'm understanding the use of "Subject Tag" > for a queue. > > > I can put whatever I want in this, and it'll change the tag in > the subject line of > > outgoing > > > messages. > > > By default rt puts the RT instance name [[1][2]rt.here.com#12345] > > > If I put FOO in the subject tag for a queue, the tag would be > [FOO #12345] > > > If I change that tag to BAR, I have to put FOO in the regular > expression in the Site > > config to > > > ensure it recognizes the old tag. > > > Is there any other things I should be aware of? I've tested a > bunch, but I just want to > > make > > > sure I'm not missing anything. > > > > This sounds like a good summary. > > > > If you've upgraded RT, ensure your templates are in sync with what > we > > ship in the current version, otherwise it won't pull the subject > tag. > -- Mike Johnson Datatel Programmer/Analyst Northern Ontario School of Medicine 955 Oliver Road Thunder Bay, ON P7B 5E1 Phone: (807) 766-7331 Email: mike.johnson at nosm.ca -------------- next part -------------- An HTML attachment was scrubbed... URL: From falcone at bestpractical.com Thu Aug 23 10:38:41 2012 From: falcone at bestpractical.com (Kevin Falcone) Date: Thu, 23 Aug 2012 10:38:41 -0400 Subject: [rt-users] How do I "unsquelch" a user? In-Reply-To: <20120823125043.GI20135@lonap.net> References: <20120822130911.GD2627@lonap.net> <20120822135624.GK14091@jibsheet.com> <20120823125043.GI20135@lonap.net> Message-ID: <20120823143841.GM14091@jibsheet.com> On Thu, Aug 23, 2012 at 01:50:43PM +0100, Rob Lister wrote: > On Wed, Aug 22, 2012 at 09:56:24AM -0400, Kevin Falcone wrote: > > You don't say if this is 3.8 or 4.0. > > > > On 3.8, you squelch/unsquelch users for the lifetime of the ticket from > > the Reply/Comment page. > > Yes.. this is it... thanks... a bit unobvious... You trimmed the part where we reworked it completely for 4.0 to be more obvious: >> On 4.0, the Reply/Comment page only affects the current transaction and >> you squelch/unsquelch users from the People page. We did it because the 3.8 variant isn't as user friendly as we'd like. -kevin -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 195 bytes Desc: not available URL: From falcone at bestpractical.com Thu Aug 23 10:43:27 2012 From: falcone at bestpractical.com (Kevin Falcone) Date: Thu, 23 Aug 2012 10:43:27 -0400 Subject: [rt-users] Who is "Doctor Helga" ? In-Reply-To: <20120823140311.GA706@lonap.net> References: <20120823140311.GA706@lonap.net> Message-ID: <20120823144327.GN14091@jibsheet.com> On Thu, Aug 23, 2012 at 03:03:11PM +0100, Rob Lister wrote: > > RT's output (slightly anonymized) > > Subject: Re: [TICKET #1234] Test > From: Doctor Helga via RT > ------^^^^^^^^^^^^ Is that what RT shows in the outgoing email or what the mail client sees? If the former, search for the User which Doctor Helga as a real name. If the latter, some mail clients cache the first "SoandSo via RT" that they see affiliated with support@, and don't render what we send. -kevin -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 195 bytes Desc: not available URL: From reg.bestpractical at posterus.com Thu Aug 23 10:44:30 2012 From: reg.bestpractical at posterus.com (reg.bestpractical at posterus.com) Date: Thu, 23 Aug 2012 16:44:30 +0200 Subject: [rt-users] Batch user add to group In-Reply-To: <50361CBA.1000204@sgul.ac.uk> References: <502B8415.3040109@sgul.ac.uk> <20120820144404.GE14091@jibsheet.com> <50361CBA.1000204@sgul.ac.uk> Message-ID: <004201cd813d$ce86eeb0$6b94cc10$@bestpractical@posterus.com> Giuseppe, > my $User = RT::User->new($Email); > * > #my ($id,$Message)=$User->Create(Name=>$UserName,EmailAddress=>$Email,Privileged =>1,Password=>'apassword');* [..] >Except I don't want to create a user, I want to load a user from the RT user database. Is that possible? I've been >searching for a couple of days now without much success... You should rather do: my $User = RT::User->new($RT::SystemUser); $User->LoadByEmail($Email); printf "%s %s %s\n", $User->Name, $User->EmailAddress, $User->RealName; Best regards, Maciek From falcone at bestpractical.com Thu Aug 23 10:45:23 2012 From: falcone at bestpractical.com (Kevin Falcone) Date: Thu, 23 Aug 2012 10:45:23 -0400 Subject: [rt-users] Invalid domain, status=bounced for email through ticket on RT 3.8.4 In-Reply-To: <31011648.1935.1345718875267.JavaMail.root@IRL-DUB-P-SRV-02> References: <10937313.1911.1345718000871.JavaMail.root@IRL-DUB-P-SRV-02> <31011648.1935.1345718875267.JavaMail.root@IRL-DUB-P-SRV-02> Message-ID: <20120823144523.GO14091@jibsheet.com> On Thu, Aug 23, 2012 at 10:47:55AM +0000, Shane Duignan wrote: > I cannot send an email with attachment via a RT ticket. This is the error message in the logs: > > Aug 23 09:26:42 MAIL-01 postfix/smtp[29806]: 9DD441D5362: to=, > relay=mx.eon.ie[XX.XXX.XXX.XXX]:25, delay=0.91, delays=0.07/0/0.21/0.62, dsn=5.1.0, > status=bounced (host mx.eon.ie[XX.XXX.XXX.XXX] said: 550 5.1.0 q9Sg1j02P2zd5X8019SgxU invalid > domain (in reply to MAIL FROM command)) > > The destination mail server recognises the smtp request as coming from invalid domain however > I can send mail from my own account without using RT with no issues. > The requestors have the correct email address in the ticket. Look at what your MTA is sending as the From address (not the From: address). My assumption is that your RT server has an invalid hostname and it's talking to mx.eon.ie and saying "Hi, I have mail from www-data at invalid.hostname" and being told to go away. Sending attachments shouldn't affect this. Also, mail from your account isn't a good test unless it's also sent by a web process running under apache with identical mail configs to RT. -kevin -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 195 bytes Desc: not available URL: From gsollazz at sgul.ac.uk Thu Aug 23 10:52:33 2012 From: gsollazz at sgul.ac.uk (Giuseppe Sollazzo) Date: Thu, 23 Aug 2012 15:52:33 +0100 Subject: [rt-users] Batch user add to group In-Reply-To: <004201cd813d$ce86eeb0$6b94cc10$%bestpractical@posterus.com> References: <502B8415.3040109@sgul.ac.uk> <20120820144404.GE14091@jibsheet.com> <50361CBA.1000204@sgul.ac.uk> <004201cd813d$ce86eeb0$6b94cc10$%bestpractical@posterus.com> Message-ID: <503643B1.20609@sgul.ac.uk> -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Hi Maciek, thanks - I've actually just found a quick solution that is not too different from yours. I'm posting it to http://github.com/sgul but in the meantime I'll add it here in case anyone needs it: #!/usr/bin/perl # Usage: ./rt_set_privileged_and_add_to_group.pl use strict; use lib "/opt/rt4/lib"; use RT; use RT::User; use RT::Interface::CLI; RT::LoadConfig(); RT::Init(); # Create RT User Object my $user = new RT::User($RT::SystemUser); # Instantiate the user object with the user passed as parameter my $usertoadd = $ARGV[0]; $user->Load( $usertoadd ); # Set the privileged flag (1=privileged, 0=unprivileged) $user->SetPrivileged(1); # Get group object and instantiate it with the group name my $group = new RT::Group($RT::SystemUser); my $inputgroup = $ARGV[1]; $group->LoadUserDefinedGroup( $inputgroup ); # Add user to group $group->AddMember( $user->PrincipalObj->Id ); exit 1 Thanks, Giuseppe On 23/08/12 15:44, reg.bestpractical at posterus.com wrote: > Giuseppe, > >> my $User = RT::User->new($Email); >> * >> #my > ($id,$Message)=$User->Create(Name=>$UserName,EmailAddress=>$Email,Privileged > =>1,Password=>'apassword');* > [..] >> Except I don't want to create a user, I want to load a user from the RT > user database. Is that possible? I've been >searching for a couple of days > now without much success... > > You should rather do: > > my $User = RT::User->new($RT::SystemUser); > $User->LoadByEmail($Email); > > printf "%s %s %s\n", $User->Name, $User->EmailAddress, $User->RealName; > > > Best regards, > Maciek > - -- ____________________________________ 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 -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.10 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iQEcBAEBAgAGBQJQNkOvAAoJEAqigArPBfJXIi0H/A20CUWQdGE06rndPgelyuRa XqryNeC15fQzRLFPTmEpf6LchiFOHSqSmEXfSxw4OXbsS7NzrJ3aPT506tINzDJR KrZexz8HzpeLEZN44seFF3ONJBqHQD+BFZhGU4qcMVsbJiqKSUVgcgGrF41p/Jg3 GukA5tib4VjZDuX3K/LTpoZi8buy/0FJqgdVDq1z5gBJ5B4y0MIYgJL8NLVY/xkf Zj0Hh2ffnnx2XQmf1z6jBJLA6Uen+TWQj6iWmLRVfnWUI82EPmgSHiN+QICgLGsH GfAWJpBJVtw6NT3LrGfLJKNrQG8d6eYiZ3Q0btzKBxBSUnNC5gi3LMVIbbYrQkY= =ZfSQ -----END PGP SIGNATURE----- From falcone at bestpractical.com Thu Aug 23 11:06:01 2012 From: falcone at bestpractical.com (Kevin Falcone) Date: Thu, 23 Aug 2012 11:06:01 -0400 Subject: [rt-users] email entire history of a ticket In-Reply-To: <077101cd8120$ed24f050$c76ed0f0$@net> References: <077101cd8120$ed24f050$c76ed0f0$@net> Message-ID: <20120823150601.GP14091@jibsheet.com> On Thu, Aug 23, 2012 at 07:17:48AM -0400, Paul Roth wrote: > Is there a way to email an entire ticket, since it was created, based on an email with a key > work in the subject like /*HISTORY*/ for the given ticket number? Similar to the history > screen. Nothing built-in. There are some templates on the wiki that people use to implement "On Owner Change, send the new Owner the complete history of the ticket" and you could probably glue that template together with a trivial "On correspond and subject matches X" condition. -kevin -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 195 bytes Desc: not available URL: From ptomblin at xcski.com Thu Aug 23 11:08:53 2012 From: ptomblin at xcski.com (Paul Tomblin) Date: Thu, 23 Aug 2012 11:08:53 -0400 Subject: [rt-users] Just in case this helps somebody Message-ID: I've had this weird situation where when I call an AJAX function, even though the Mason handler file calls $m->abort, I was still getting HTML from the autohandler in the directory above the directory where the handler lived, and RT autohandler stuff after that. This was only happening on my Mac, not on my Linux computer (there were slight version differences of some of the perl modules, including HTML::Mason, so I don't know if that was the problem). The solution I adopted was to rename all the ajax functions I use to have a .ajx extension, and then in the top level autohandler, call $m->call_next, and then, if it was named .ajx, also call $m->abort. I know, this shouldn't be required, but evidently it was in at least one case. And if it's not required, it doesn't do any harm that I can see. Here is my top level autohandler now: <%init> my $file = $m->base_comp->source_file; $m->call_next(); if ($file =~ m{\.ajx$}) { $m->abort; } -- http://www.linkedin.com/in/paultomblin http://careers.stackoverflow.com/ptomblin From rob at lonap.net Thu Aug 23 11:57:28 2012 From: rob at lonap.net (Rob Lister) Date: Thu, 23 Aug 2012 16:57:28 +0100 Subject: [rt-users] Who is "Doctor Helga" ? In-Reply-To: <20120823144327.GN14091@jibsheet.com> References: <20120823140311.GA706@lonap.net> <20120823144327.GN14091@jibsheet.com> Message-ID: <20120823155728.GA940@lonap.net> On Thu, Aug 23, 2012 at 10:43:27AM -0400, Kevin Falcone wrote: > On Thu, Aug 23, 2012 at 03:03:11PM +0100, Rob Lister wrote: > > > > RT's output (slightly anonymized) > > > > Subject: Re: [TICKET #1234] Test > > From: Doctor Helga via RT > > ------^^^^^^^^^^^^ > > Is that what RT shows in the outgoing email or what the mail client > sees? It's what RT puts in there. And you're right, it's getting it from the "user" name. My guess is that somebody spammed us with a "From:" header of: From: Doctor Helga To: support at lonap.net And it auto-created that user. We've never spotted it before because we never set "Reply-To: support at ..." Pfft. -- Rob Lister rob at lonap.net From trs at bestpractical.com Thu Aug 23 13:38:45 2012 From: trs at bestpractical.com (Thomas Sibley) Date: Thu, 23 Aug 2012 10:38:45 -0700 Subject: [rt-users] Who is "Doctor Helga" ? In-Reply-To: <20120823155728.GA940@lonap.net> References: <20120823140311.GA706@lonap.net> <20120823144327.GN14091@jibsheet.com> <20120823155728.GA940@lonap.net> Message-ID: <50366AA5.5050703@bestpractical.com> On 08/23/2012 08:57 AM, Rob Lister wrote: > On Thu, Aug 23, 2012 at 10:43:27AM -0400, Kevin Falcone wrote: >> On Thu, Aug 23, 2012 at 03:03:11PM +0100, Rob Lister wrote: >>> >>> RT's output (slightly anonymized) >>> >>> Subject: Re: [TICKET #1234] Test >>> From: Doctor Helga via RT >>> ------^^^^^^^^^^^^ >> >> Is that what RT shows in the outgoing email or what the mail client >> sees? > > It's what RT puts in there. And you're right, it's getting it > from the "user" name. > > My guess is that somebody spammed us with a "From:" header of: > > From: Doctor Helga > To: support at lonap.net > > And it auto-created that user. You can look in the database or use the Perl API to see deleted tickets created by that user and verify this. You can also see who the user was created by in the database (RT_System vs. someone else). I'd argue that there are two bugs here: 1) That users can get created with an email address (or updated to an email address) for which RT::EmailParser->IsRTAddress returns true. 2) That addresses for which IsRTAddress returns true are not filtered out at the time the sender/creator is determined. From sho at internet2.edu Thu Aug 23 17:22:42 2012 From: sho at internet2.edu (Ming Ho) Date: Thu, 23 Aug 2012 17:22:42 -0400 Subject: [rt-users] auto reply question Message-ID: Hi All, I create different queues in RT system, setup auto reply to each queue too. One work without any issue, but the other doesn't work. Both queue are setting up with the same way. I find this in the error log: [Thu Aug 23 21:08:38 2012] [info]: #2979/35628 - Scrip 21 Autoreply on Create netplus-cenic (/usr/local/pkg/rt4/sbin/../lib/RT/Action/SendEmail.pm:301) [Thu Aug 23 21:08:38 2012] [info]: No recipients found. Not sending. (/usr/local/pkg/rt4/sbin/../lib/RT/Interface/Email.pm:353) [Thu Aug 23 21:08:38 2012] [info]: #2979/35628 - Scrip 4 On Create Notify AdminCcs (/usr/local/pkg/rt4/sbin/../lib/RT/Action/SendEmail.pm:301) [Thu Aug 23 21:08:38 2012] [info]: No recipients found. Not sending. (/usr/local/pkg/rt4/sbin/../lib/RT/Interface/Email.pm:353) [Thu Aug 23 21:08:38 2012] [info]: Ticket 2979 created in queue 'netplus-cenic' by netplus-cenic at internet2.edu (/usr/local/pkg/rt4/sbin/../lib/RT/Ticket.pm:688) If I manually run that command from command line: rt4/bin/rt-mailgate --queue netplus-cenic --action correspond --url https://localhost < /tmp/10 which it works just fine and I will get the auto response which I setup on this queue. when I compare those tickets which the different is that one see the requestor and the other ticket doesn't then of course the one ticket sees the requestor then it does is job and I will get the auto reply. Owner:Nobody in particular Requestors:Ming Ho Cc: AdminCc: The other ticket that doesn't see the requestor then it will send auto response out but new ticket still created. Owner:Nobody in particular Requestors: Cc: AdminCc: The most funny thing is that when setup another queue with the same setting that it see the requestor with no problem at all. Any one has experience this issue? Any suggestion are greatly appreciated!!! Thanks ------ Ming Ho, System Administrator Internet2 sho at internet2.edu office:+1-734-352-7078 | mobile: +1-734-474-7143 Visit our website: www.internet2.edu Follow us on Twitter: www.twitter.com/internet2 Become a Fan on Facebook: www.internet2.edu/facebook ---------- -------------- next part -------------- An HTML attachment was scrubbed... URL: From chris.okelly at minecorp.com.au Thu Aug 23 17:52:12 2012 From: chris.okelly at minecorp.com.au (chrisokelly) Date: Thu, 23 Aug 2012 14:52:12 -0700 (PDT) Subject: [rt-users] Configuring apache for RT 4.0 Message-ID: <34338212.post@talk.nabble.com> Hi guys, I've just downloaded the current version of RT 4.0 and am trying to install it. I had some trouble fixing the dependencies, however updating CPAN build sorted them. I have been able to initialize the DB no problem and I have set up the RT_SiteConfig file. I believe my issue is affected by the fact that we run other services on this same version of apache. I have set up my vhosts file in apache with the following: # Tell FastCGI to put its temporary files somewhere sane; this may # be necessary if your distribution doesn't already set it #FastCgiIpcDir /tmp FastCgiServer /var/www/ithelp/sbin/rt-server.fcgi -processes 5 -idle-timeout 300 ### Optional apache logs for RT # Ensure that your log rotation scripts know about these files # ErrorLog /opt/rt4/var/log/apache2.error #TransferLog /opt/rt4/var/log/apache2.access # LogLevel debug AddDefaultCharset UTF-8 Alias /ithelp/NoAuth/images/ /var/www/ithelp/share/html/NoAuth/images/ ScriptAlias /ithelp /var/www/ithelp/sbin/rt-server.fcgi/ #DocumentRoot "/var/www/ithelp/share/html/" Order allow,deny Allow from all Options +ExecCGI AddHandler fastcgi-script fcgi in the same file exists 2 other vhosts - one is at *:80 and is a redirect to port 443 (to force SSL), the other in on 443 and mainly used for an installation of moodle. The *:443 host also includes mod_jk config for Alfresco (a CMS running in Tomcat, also on this server.) When I start (or restart) apache, I see in /var/log/apache2/error.log: [Thu Aug 23 16:43:17 2012] [notice] FastCGI: process manager initialized (pid 2391) [Thu Aug 23 16:43:17 2012] [warn] FastCGI: server "/var/www/ithelp/sbin/rt-server.fcgi" started (pid 2392) [Thu Aug 23 16:43:17 2012] [notice] Apache/2.2.14 (Ubuntu) mod_fastcgi/2.4.6 mod_jk/1.2.28 PHP/5.3.2-1ubuntu4.17 with Suhosin-Patch mod_ssl/2.2.14 OpenSSL/0.9.8k configured -- resuming normal operations [Thu Aug 23 16:43:18 2012] [warn] FastCGI: server "/var/www/ithelp/sbin/rt-server.fcgi" started (pid 2399) [Thu Aug 23 16:43:19 2012] [warn] FastCGI: server "/var/www/ithelp/sbin/rt-server.fcgi" started (pid 2400) [Thu Aug 23 16:43:20 2012] [warn] FastCGI: server "/var/www/ithelp/sbin/rt-server.fcgi" started (pid 2402) [Thu Aug 23 16:43:21 2012] [warn] FastCGI: server "/var/www/ithelp/sbin/rt-server.fcgi" started (pid 2403) TBH I'm not sure why those are warning... the server starting seems like just what I want. However when I browse to the address I get a page with "Index of /ithelp". I can browse to docs.ourcompany.com/ithelp/share/html/index.html but just see a page that I haven't yet set up the web server and I am Almost there. I'll post some more environment info below, but basically I am stuck here. I have tried many different values for the virtualhost, docs.ourcompany.com, docs.ourcompany.com/ithelp, /ithelp, */ithelp, *, but get the same every time (and yep, I am restarting apache in between). Does anyone know what I am missing? Apache's modules: Compiled in modules: core.c mod_log_config.c mod_logio.c prefork.c http_core.c mod_so.c Loaded Modules: core_module (static) log_config_module (static) logio_module (static) mpm_prefork_module (static) http_module (static) so_module (static) alias_module (shared) auth_basic_module (shared) authn_file_module (shared) authz_default_module (shared) authz_groupfile_module (shared) authz_host_module (shared) authz_user_module (shared) autoindex_module (shared) cgi_module (shared) deflate_module (shared) dir_module (shared) env_module (shared) fastcgi_module (shared) jk_module (shared) mime_module (shared) negotiation_module (shared) php5_module (shared) reqtimeout_module (shared) rewrite_module (shared) setenvif_module (shared) ssl_module (shared) status_module (shared) auth_ntlm_winbind_module (shared) Syntax OK uname -a Linux docs.ourcompany.com 2.6.32-33-server #72-Ubuntu SMP Fri Jul 29 21:21:55 UTC 2011 x86_64 GNU/Linux lsb_release -a No LSB modules are available. Distributor ID: Ubuntu Description: Ubuntu 10.04.4 LTS Release: 10.04 Codename: lucid apache2 -v Server version: Apache/2.2.14 (Ubuntu) Server built: Mar 5 2012 16:42:17 -- View this message in context: http://old.nabble.com/Configuring-apache-for-RT-4.0-tp34338212p34338212.html Sent from the Request Tracker - User mailing list archive at Nabble.com. From falcone at bestpractical.com Thu Aug 23 18:09:18 2012 From: falcone at bestpractical.com (Kevin Falcone) Date: Thu, 23 Aug 2012 18:09:18 -0400 Subject: [rt-users] auto reply question In-Reply-To: References: Message-ID: <20120823220918.GQ14091@jibsheet.com> On Thu, Aug 23, 2012 at 05:22:42PM -0400, Ming Ho wrote: > I create different queues in RT system, setup auto reply to each queue too. > One work without any issue, but the other doesn't work. Both queue are setting up with the > same way. > I find this in the error log: > [Thu Aug 23 21:08:38 2012] [info]: <[1]rt-4.0.6-25365-1345756118-175.2979-21-0 at internet2.edu> > #2979/35628 - Scrip 21 Autoreply on Create netplus-cenic > (/usr/local/pkg/rt4/sbin/../lib/RT/Action/SendEmail.pm:301) > [Thu Aug 23 21:08:38 2012] [info]: <[2]rt-4.0.6-25365-1345756118-175.2979-21-0 at internet2.edu> > No recipients found. Not sending. (/usr/local/pkg/rt4/sbin/../lib/RT/Interface/Email.pm:353) > [Thu Aug 23 21:08:38 2012] [info]: <[3]rt-4.0.6-25365-1345756118-548.2979-4-0 at internet2.edu> > #2979/35628 - Scrip 4 On Create Notify AdminCcs > (/usr/local/pkg/rt4/sbin/../lib/RT/Action/SendEmail.pm:301) > [Thu Aug 23 21:08:38 2012] [info]: <[4]rt-4.0.6-25365-1345756118-548.2979-4-0 at internet2.edu> > No recipients found. Not sending. (/usr/local/pkg/rt4/sbin/../lib/RT/Interface/Email.pm:353) > [Thu Aug 23 21:08:38 2012] [info]: Ticket 2979 created in queue 'netplus-cenic' by > [5]netplus-cenic at internet2.edu (/usr/local/pkg/rt4/sbin/../lib/RT/Ticket.pm:688) > If I manually run that command from command line: > rt4/bin/rt-mailgate --queue netplus-cenic --action correspond --url [6]https://localhost < > /tmp/10 > which it works just fine and I will get the auto response which I setup on this queue. > when I compare those tickets which the different is that one see the requestor and the other > ticket doesn't then of course the one ticket sees the requestor then it does is job and I will > get the auto reply. > Owner:Nobody in particular > Requestors:Ming Ho > > Cc: > AdminCc: > The other ticket that doesn't see the requestor then it will send auto response out but new > ticket still created. > Owner:Nobody in particular > Requestors: > Cc: > AdminCc: > The most funny thing is that when setup another queue with the same setting that it see the > requestor with no problem at all. > Any one has experience this issue? Any suggestion are greatly appreciated!!! Unfortunately, without seeing a sample mail that fails on one queue but not the other, it's hard to guess at the problem. It's clear that RT doesn't think you have a valid Requestor. Make sure your logs are on Debug and make sure that the Requestor email address isn't also one of the comment or correspond addresses in the system. -kevin -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 195 bytes Desc: not available URL: From chris.okelly at minecorp.com.au Thu Aug 23 21:58:20 2012 From: chris.okelly at minecorp.com.au (chrisokelly) Date: Thu, 23 Aug 2012 18:58:20 -0700 (PDT) Subject: [rt-users] Configuring apache for RT 4.0 In-Reply-To: <34338212.post@talk.nabble.com> References: <34338212.post@talk.nabble.com> Message-ID: <34342292.post@talk.nabble.com> I've just solved this for myself - the issue was my basic misunderstanding of apache vhosts directives. FWIW, I just needed to put the directives inside of my (already existing) *:443 vhost instead of trying to give RT it's own vhost. chrisokelly wrote: > > Hi guys, I've just downloaded the current version of RT 4.0 and am trying > to install it. > > I had some trouble fixing the dependencies, however updating CPAN build > sorted them. I have been able to initialize the DB no problem and I have > set up the RT_SiteConfig file. > > I believe my issue is affected by the fact that we run other services on > this same version of apache. > > I have set up my vhosts file in apache with the following: > # Tell FastCGI to put its temporary files somewhere sane; this may > # be necessary if your distribution doesn't already set it > #FastCgiIpcDir /tmp > > FastCgiServer /var/www/ithelp/sbin/rt-server.fcgi -processes 5 > -idle-timeout 300 > > > ### Optional apache logs for RT > # Ensure that your log rotation scripts know about these files > # ErrorLog /opt/rt4/var/log/apache2.error > #TransferLog /opt/rt4/var/log/apache2.access > # LogLevel debug > > AddDefaultCharset UTF-8 > Alias /ithelp/NoAuth/images/ > /var/www/ithelp/share/html/NoAuth/images/ > ScriptAlias /ithelp /var/www/ithelp/sbin/rt-server.fcgi/ > > #DocumentRoot "/var/www/ithelp/share/html/" > > Order allow,deny > Allow from all > > Options +ExecCGI > AddHandler fastcgi-script fcgi > > > > in the same file exists 2 other vhosts - one is at *:80 and is a redirect > to port 443 (to force SSL), the other in on 443 and mainly used for an > installation of moodle. The *:443 host also includes mod_jk config for > Alfresco (a CMS running in Tomcat, also on this server.) > > When I start (or restart) apache, I see in /var/log/apache2/error.log: > [Thu Aug 23 16:43:17 2012] [notice] FastCGI: process manager initialized > (pid 2391) > [Thu Aug 23 16:43:17 2012] [warn] FastCGI: server > "/var/www/ithelp/sbin/rt-server.fcgi" started (pid 2392) > [Thu Aug 23 16:43:17 2012] [notice] Apache/2.2.14 (Ubuntu) > mod_fastcgi/2.4.6 mod_jk/1.2.28 PHP/5.3.2-1ubuntu4.17 with Suhosin-Patch > mod_ssl/2.2.14 OpenSSL/0.9.8k configured -- resuming normal operations > [Thu Aug 23 16:43:18 2012] [warn] FastCGI: server > "/var/www/ithelp/sbin/rt-server.fcgi" started (pid 2399) > [Thu Aug 23 16:43:19 2012] [warn] FastCGI: server > "/var/www/ithelp/sbin/rt-server.fcgi" started (pid 2400) > [Thu Aug 23 16:43:20 2012] [warn] FastCGI: server > "/var/www/ithelp/sbin/rt-server.fcgi" started (pid 2402) > [Thu Aug 23 16:43:21 2012] [warn] FastCGI: server > "/var/www/ithelp/sbin/rt-server.fcgi" started (pid 2403) > > TBH I'm not sure why those are warning... the server starting seems like > just what I want. However when I browse to the address I get a page with > "Index of /ithelp". I can browse to > docs.ourcompany.com/ithelp/share/html/index.html but just see a page that > I haven't yet set up the web server and I am Almost there. > > I'll post some more environment info below, but basically I am stuck here. > I have tried many different values for the virtualhost, > docs.ourcompany.com, docs.ourcompany.com/ithelp, /ithelp, */ithelp, *, but > get the same every time (and yep, I am restarting apache in between). Does > anyone know what I am missing? > > Apache's modules: > Compiled in modules: > core.c > mod_log_config.c > mod_logio.c > prefork.c > http_core.c > mod_so.c > Loaded Modules: > core_module (static) > log_config_module (static) > logio_module (static) > mpm_prefork_module (static) > http_module (static) > so_module (static) > alias_module (shared) > auth_basic_module (shared) > authn_file_module (shared) > authz_default_module (shared) > authz_groupfile_module (shared) > authz_host_module (shared) > authz_user_module (shared) > autoindex_module (shared) > cgi_module (shared) > deflate_module (shared) > dir_module (shared) > env_module (shared) > fastcgi_module (shared) > jk_module (shared) > mime_module (shared) > negotiation_module (shared) > php5_module (shared) > reqtimeout_module (shared) > rewrite_module (shared) > setenvif_module (shared) > ssl_module (shared) > status_module (shared) > auth_ntlm_winbind_module (shared) > Syntax OK > > uname -a > Linux docs.ourcompany.com 2.6.32-33-server #72-Ubuntu SMP Fri Jul 29 > 21:21:55 UTC 2011 x86_64 GNU/Linux > > lsb_release -a > No LSB modules are available. > Distributor ID: Ubuntu > Description: Ubuntu 10.04.4 LTS > Release: 10.04 > Codename: lucid > > apache2 -v > Server version: Apache/2.2.14 (Ubuntu) > Server built: Mar 5 2012 16:42:17 > > -- View this message in context: http://old.nabble.com/Configuring-apache-for-RT-4.0-tp34338212p34342292.html Sent from the Request Tracker - User mailing list archive at Nabble.com. From david.fitches at unimelb.edu.au Fri Aug 24 00:39:47 2012 From: david.fitches at unimelb.edu.au (Dave Fitches) Date: Fri, 24 Aug 2012 04:39:47 +0000 Subject: [rt-users] [SLA Extension] Can I 'parked' stalled tickets? Message-ID: <81A2F9BBDD09884AB1585083CBDEC3755384820A@000S-EX-MBX-QS2.unimelb.edu.au> Hi all, I've been working with RT 4.05 and have added the SLA Extension [v.0.06] to it. We're using some simple SLA rules - no respond or keepinloop rules, just resolve rules. Generally, all tickets should be resolved within x Days from ticket creation. Eg; 'Normal' => { Resolve => { BusinessMinutes => 60*8*5, IgnoreOnStatuses => ['stalled'] }, # Within 5 Working Days }, We're using Business:Hours to make sure weekend and public holidays aren't counted. Jobs start at Priority 0 and via an hourly LinearEscalate Cron job, escalate to Priority 100 the closer they get to the due date. So a job with a 5 working day SLA will be at Priority 40 after 2 business days. Now - as a basic setup, it's all working nicely. (And I'd like to say - I love the program!) There's just ONE thing not working the way we'd like and I suspect I've missed something, so I'd appreciate a second opinion. You'll notice we've got "IgnoreOnStatuses => ['stalled']" in there. If we make a job and stall it, the priority does NOT advance. All good so far. However when the job is changed from stalled back to open, it doesn't punch the Due Date out according to the time it was stalled. So - a job is due 5 days after it's created. If we stall the job after 4 hours, the priority will freeze at 10. If we change the job back to "open" 2 days later, the due date remains unchanged and the job will still be due in another 2.5 days. Next time the LinearEscalate cron job runs, the Priority jumps right up to 50. What we WANT it to do, is - when we un-stall the job 2 days later, we want RT to automatically extend the Due Date by the same amount of time it was stalled - in this case, 2 days. Any thoughts? What've I missed? -- = Dave Fitches = ________________________________________________________ .,--__|\.. David Fitches - Security Software Admin / |. University of Melbourne - Access Control \_,--__/.. * Ph/Mob : +61-3-8344-9232 / +61-411-811-525 ......v... * E-mail : dfitches at unimelb.edu.au .......... University of Melbourne, Victoria, Australia _______________________________________________________ -------------- next part -------------- An HTML attachment was scrubbed... URL: From Simon.Dray at antplc.com Fri Aug 24 03:32:14 2012 From: Simon.Dray at antplc.com (Simon Dray) Date: Fri, 24 Aug 2012 08:32:14 +0100 Subject: [rt-users] Who is "Doctor Helga" ? In-Reply-To: <50366AA5.5050703@bestpractical.com> References: <20120823140311.GA706@lonap.net> <20120823144327.GN14091@jibsheet.com> <20120823155728.GA940@lonap.net> <50366AA5.5050703@bestpractical.com> Message-ID: <3AE0BAB745543E46A98392EE60FC5F769C76C4C325@cam-mail2k7.ant.local> Thomas Hi When a tickets is raised by email if the user doesn?t exist it is created, these are tagged as being auto generated its not a bug. If you have a problem with tickets being created by spam and I am sure most of us have at some time since starting with RT you should put some sort of filter in place. Perhaps BP could put in a config item which says to only open tickets from registered users, maybe there is a function in 4.0.6 not usre haven?t got to that yet. Regards Simon -----Original Message----- From: Thomas Sibley [mailto:trs at bestpractical.com] Sent: 23 August 2012 18:39 To: rt-users at lists.bestpractical.com Cc: rt-bugs at bestpractical.com Subject: Re: [rt-users] Who is "Doctor Helga" ? On 08/23/2012 08:57 AM, Rob Lister wrote: > On Thu, Aug 23, 2012 at 10:43:27AM -0400, Kevin Falcone wrote: >> On Thu, Aug 23, 2012 at 03:03:11PM +0100, Rob Lister wrote: >>> >>> RT's output (slightly anonymized) >>> >>> Subject: Re: [TICKET #1234] Test >>> From: Doctor Helga via RT ------^^^^^^^^^^^^ >> >> Is that what RT shows in the outgoing email or what the mail client >> sees? > > It's what RT puts in there. And you're right, it's getting it from the > "user" name. > > My guess is that somebody spammed us with a "From:" header of: > > From: Doctor Helga > To: support at lonap.net > > And it auto-created that user. You can look in the database or use the Perl API to see deleted tickets created by that user and verify this. You can also see who the user was created by in the database (RT_System vs. someone else). I'd argue that there are two bugs here: 1) That users can get created with an email address (or updated to an email address) for which RT::EmailParser->IsRTAddress returns true. 2) That addresses for which IsRTAddress returns true are not filtered out at the time the sender/creator is determined. From martin.studer at nowhow.ch Fri Aug 24 03:49:40 2012 From: martin.studer at nowhow.ch (Martin Studer) Date: Fri, 24 Aug 2012 09:49:40 +0200 Subject: [rt-users] Replying to emails within the Ticket display screen from the web interface Message-ID: <50373214.5050805@nowhow.ch> Hi folks, I'm currently setting up a Request Tracker Instance version 4.0.6 for our company. The general installation was successful and e-mail routing is working i.e. I'm able to receive e-mails into RT and if I use the "forward" functionality RT sends out e-mails as well. However I do have some basic questions regarding the "reply" functionality that is available in the web interface on the ticket display screen (History section). Is there a way to configure the "reply" functionality in a way so that only the person that is the source of the e-mail (for which you hit "reply") will be sent an email ? Here my observations: * There is a default delivered global scrip 'On Correspond Notify Requestors and Ccs' ( ScripCondition => 'On Correspond', ScripAction => 'Notify Requestors And Ccs', Template => 'Correspondence'). If this scrip is in place and I use the "reply" functionality I can chose whether an email is sent to the requestor or not. If another person sends an e-mail to Request Tracker (all e-mails into RT are considered correspondence) regarding this specific ticket, the requestor get's as well an email (which I do not want). If I remove the global scrip no e-mails are sent out when using the reply functionality. * If a person B sends an email regarding a Incident/Ticket where person A is requestor, the mail will be linked and then displayed in the history section for this incident/ticket. If I use the "reply" functionality on this particular e-mail (from person B), the e-mail goes to the requestor. Is it correct that the "reply" functionality can rather be considered as a "reply to requestor" ? If yes how is it possible (via the web interface) to reply Person B ? Hope my explanations are somewhat clear ;-) Greets RT-Newbie Martin -------------- next part -------------- An HTML attachment was scrubbed... URL: From asanka_gunasekera at yahoo.co.uk Fri Aug 24 06:24:17 2012 From: asanka_gunasekera at yahoo.co.uk (Asanka Gunasekera) Date: Fri, 24 Aug 2012 11:24:17 +0100 (BST) Subject: [rt-users] show update stat of a ticket Message-ID: <1345803857.4837.YahooMailNeo@web133206.mail.ir2.yahoo.com> Hi, is there a way to display a column under "10 highest priority tickets I own" which will show the ticket response status like "waiting for customer or in progress or reviewing" something like that. Thanks and best regards -------------- next part -------------- An HTML attachment was scrubbed... URL: From jean.mich.c at gmail.com Fri Aug 24 06:32:48 2012 From: jean.mich.c at gmail.com (DupondEt Dupont) Date: Fri, 24 Aug 2012 12:32:48 +0200 Subject: [rt-users] External Custom Field query based an other Custom Field value Message-ID: Hi all, i recently install lastest RT 4 release and start setting up external custom fields from an Oracle query. (as describe in docs/extending/external_custom_fields.pod) Everything work really fine, until i decided to use previously filled custom fied as argument in an other external custom field search. In this study case ;) , both custom fields are assigned to ticket. The first external CF (name Client) retrieve customer list and CF store the value I have select. The second external CF (name Machine) should retrieve hostname for the customer select in CF Client... Here is the piece of PERL code for CF Machine (/opt/rt4/lib/RT/CustomFieldValues/Test2.pm) ----------------------------------------------------------------------------- package RT::CustomFieldValues::Test2; use strict; use warnings; use DBI; use DBD::Oracle; use base qw(RT::CustomFieldValues::External); sub SourceDescription { return 'test2'; } sub ExternalValues { my $self = shift; # the previsous custom field name my $CFName = 'Client'; # should store the name of my customer... my $CFClient = $self->TicketObj->FirstCustomFieldValue($CFName); my $i = 0; my @res; my $Hostname my $dbh = DBI->connect("dbi:Oracle:host=XXX.XXX.XXX.XXX;sid=XX;port=XXXX","XXXX","XXXX", {ora_session_mode => 0, PrintError =>0}); my $req = "SELECT distinct HOSTNAME FROM my_table where CLIENT='$CFClient'"; my $hreq = $dbh->prepare($req); $hreq->execute();; $hreq->bind_columns(\$Hostname); while ($hreq->fetch()){ push @res, { name => $Hostname, description => $Hostname, sortorder => $i++, }; } return \@res; } ----------------------------------------------------------------------------- I used $self->TicketObj->FirstCustomFieldValue($CFName) but it's not know in this context apparently as Data::Dumper shows me...(but $self->CurrentUser is) I hope you'll have a solution to deal with this, cause i got no more ideas. Thank you in advance for your time. JMC -------------- next part -------------- An HTML attachment was scrubbed... URL: From limitless at yourtrip.ro Fri Aug 24 10:18:32 2012 From: limitless at yourtrip.ro (Limit Less) Date: Fri, 24 Aug 2012 16:18:32 +0200 Subject: [rt-users] LDAP-Active Directory external authentification search/authentificate users in a subtree In-Reply-To: References: <5033A51E.6090505@bestpractical.com> Message-ID: Hello everybody and thanks for your suggestions, The actual problem was that i was using to authenificate against RT normal user format from Active Directory, and Request Tracker ask for the pre-Windows 2000 username format, and in my situation the two are different. The problems is solved. Anyway is there a possibility to force RT to use the normal user format? Many Thanks, On Tue, Aug 21, 2012 at 5:34 PM, Joachim Thuau wrote: > It searches from the base down (subtree). Sadly, it looks like his "base" > are not under a single container. (limit less, correct me if I > misunderstood). > > You might be able to defined more auth services, each one identical, > except with different bases, to auth against. > > Thanks, > Jok > -- > | Joachim Thuau | IT Systems Engineer - Linux / SpaceX | > > > On 8/21/12 8:11 AM, "Thomas Sibley" wrote: > > >On 08/21/2012 05:58 AM, Limit Less wrote: > >> I have set up a new Request Tracker server, that uses > >> the RT::Authen::*ExternalAuth *extension. > >> Everything is working fine, and i am able to authenticate users account > >> from the Active Directory into RT, the problem is that i have is that my > >> organisation has a complicated structure, with many OU, and the ldap > >> search for users from what i could figure it out is made having as a > >> scope just one level, what would i need is to have as a scope a whole > >> Subtree. > > > >The whole subtree is searched. Here's the line of code: > > > > > https://github.com/bestpractical/rt-authen-externalauth/blob/master/lib/RT > >/Authen/ExternalAuth/LDAP.pm#L57 > > > >and the documentation for the default it's relying on: > > > >https://metacpan.org/module/Net::LDAP#search-OPTIONS- > > > >You should post your entire config, and error messages, etc. > > -------------- next part -------------- An HTML attachment was scrubbed... URL: From al.scotto at reply.it Fri Aug 24 11:01:17 2012 From: al.scotto at reply.it (Scotto Alberto) Date: Fri, 24 Aug 2012 15:01:17 +0000 Subject: [rt-users] [SLA Extension] Can I 'parked' stalled tickets? In-Reply-To: <81A2F9BBDD09884AB1585083CBDEC3755384820A@000S-EX-MBX-QS2.unimelb.edu.au> References: <81A2F9BBDD09884AB1585083CBDEC3755384820A@000S-EX-MBX-QS2.unimelb.edu.au> Message-ID: Have a look at my customization for parking stalled tickets (actually it works for SLA 0.05) http://www.gossamer-threads.com/lists/rt/users/110572 If you make any improvements, please share them :) Alberto Scotto [Blue] Via Cardinal Massaia, 83 10147 - Torino - ITALY phone: +39 011 29100 al.scotto at reply.it www.reply.it From: rt-users-bounces at lists.bestpractical.com [mailto:rt-users-bounces at lists.bestpractical.com] On Behalf Of Dave Fitches Sent: venerd? 24 agosto 2012 06:40 To: rt-users at lists.bestpractical.com Subject: [rt-users] [SLA Extension] Can I 'parked' stalled tickets? Hi all, I've been working with RT 4.05 and have added the SLA Extension [v.0.06] to it. We're using some simple SLA rules - no respond or keepinloop rules, just resolve rules. Generally, all tickets should be resolved within x Days from ticket creation. Eg; 'Normal' => { Resolve => { BusinessMinutes => 60*8*5, IgnoreOnStatuses => ['stalled'] }, # Within 5 Working Days }, We're using Business:Hours to make sure weekend and public holidays aren't counted. Jobs start at Priority 0 and via an hourly LinearEscalate Cron job, escalate to Priority 100 the closer they get to the due date. So a job with a 5 working day SLA will be at Priority 40 after 2 business days. Now - as a basic setup, it's all working nicely. (And I'd like to say - I love the program!) There's just ONE thing not working the way we'd like and I suspect I've missed something, so I'd appreciate a second opinion. You'll notice we've got "IgnoreOnStatuses => ['stalled']" in there. If we make a job and stall it, the priority does NOT advance. All good so far. However when the job is changed from stalled back to open, it doesn't punch the Due Date out according to the time it was stalled. So - a job is due 5 days after it's created. If we stall the job after 4 hours, the priority will freeze at 10. If we change the job back to "open" 2 days later, the due date remains unchanged and the job will still be due in another 2.5 days. Next time the LinearEscalate cron job runs, the Priority jumps right up to 50. What we WANT it to do, is - when we un-stall the job 2 days later, we want RT to automatically extend the Due Date by the same amount of time it was stalled - in this case, 2 days. Any thoughts? What've I missed? -- = Dave Fitches = ________________________________________________________ .,--__|\.. David Fitches - Security Software Admin / |. University of Melbourne - Access Control \_,--__/.. * Ph/Mob : +61-3-8344-9232 / +61-411-811-525 ......v... * E-mail : dfitches at unimelb.edu.au .......... University of Melbourne, Victoria, Australia _______________________________________________________ ________________________________ -- The information transmitted is intended for the person or entity to which it is addressed and may contain confidential and/or privileged material. Any review, retransmission, dissemination or other use of, or taking of any action in reliance upon, this information by persons or entities other than the intended recipient is prohibited. If you received this in error, please contact the sender and delete the material from any computer. -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: blue.png Type: image/png Size: 2834 bytes Desc: blue.png URL: From falcone at bestpractical.com Fri Aug 24 11:02:43 2012 From: falcone at bestpractical.com (Kevin Falcone) Date: Fri, 24 Aug 2012 11:02:43 -0400 Subject: [rt-users] Replying to emails within the Ticket display screen from the web interface In-Reply-To: <50373214.5050805@nowhow.ch> References: <50373214.5050805@nowhow.ch> Message-ID: <20120824150243.GA1045@jibsheet.com> On Fri, Aug 24, 2012 at 09:49:40AM +0200, Martin Studer wrote: > * There is a default delivered global scrip 'On Correspond Notify Requestors and Ccs' ( > ScripCondition => 'On Correspond', ScripAction => 'Notify Requestors And Ccs', Template => > 'Correspondence'). If this scrip is in place and I use the "reply" functionality I can > chose whether an email is sent to the requestor or not. If another person sends an e-mail > to Request Tracker (all e-mails into RT are considered correspondence) regarding this > specific ticket, the requestor get's as well an email (which I do not want). If I remove > the global scrip no e-mails are sent out when using the reply functionality. You need to change the condition to be something like "On Correspond by Staff member" or some other restriction. Otherwise how is RT to know whose mail should go to the requestor and whose shouldn't. There's some code for this in RTIR that could be stolen. It's also possible that these second emails might want to be comments, not correspondence. Depends who is sending them and why. > * If a person B sends an email regarding a Incident/Ticket where person A is requestor, the > mail will be linked and then displayed in the history section for this incident/ticket. If > I use the "reply" functionality on this particular e-mail (from person B), the e-mail goes > to the requestor. Is it correct that the "reply" functionality can rather be considered as > a "reply to requestor" ? If yes how is it possible (via the web interface) to reply Person > B ? Person B will show up on the People page to be added permanently as a Cc or a Requestor. During a Reply they will also show up under the One-time-Cc line on the reply page so they can be looped in on this reply. -kevin -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 195 bytes Desc: not available URL: From falcone at bestpractical.com Fri Aug 24 11:05:09 2012 From: falcone at bestpractical.com (Kevin Falcone) Date: Fri, 24 Aug 2012 11:05:09 -0400 Subject: [rt-users] show update stat of a ticket In-Reply-To: <1345803857.4837.YahooMailNeo@web133206.mail.ir2.yahoo.com> References: <1345803857.4837.YahooMailNeo@web133206.mail.ir2.yahoo.com> Message-ID: <20120824150509.GB1045@jibsheet.com> On Fri, Aug 24, 2012 at 11:24:17AM +0100, Asanka Gunasekera wrote: > Hi, is there a way to display a column under "[1]10 highest priority tickets I own" which will > show the ticket response status like "waiting for customer or in progress or reviewing" > something like that. You may find the UpdateStatus column helpful for the first part, but the in progress/reviewing sound like statuses you want to be setting. You'd have to say a lot more about how your site determines that a ticket is in progress or reviewing for us to tell you how to use RT to show that data. -kevin -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 195 bytes Desc: not available URL: From falcone at bestpractical.com Fri Aug 24 11:12:35 2012 From: falcone at bestpractical.com (Kevin Falcone) Date: Fri, 24 Aug 2012 11:12:35 -0400 Subject: [rt-users] [SLA Extension] Can I 'parked' stalled tickets? In-Reply-To: <81A2F9BBDD09884AB1585083CBDEC3755384820A@000S-EX-MBX-QS2.unimelb.edu.au> References: <81A2F9BBDD09884AB1585083CBDEC3755384820A@000S-EX-MBX-QS2.unimelb.edu.au> Message-ID: <20120824151235.GC1045@jibsheet.com> On Fri, Aug 24, 2012 at 04:39:47AM +0000, Dave Fitches wrote: > However when the job is changed from stalled back to open, it doesn't punch the Due Date out > according to the time it was stalled. So - a job is due 5 days after it's created. If we stall > the job after 4 hours, the priority will freeze at 10. If we change the job back to "open" 2 > days later, the due date remains unchanged and the job will still be due in another 2.5 days. > Next time the LinearEscalate cron job runs, the Priority jumps right up to 50. > > What we WANT it to do, is - when we un-stall the job 2 days later, we want RT to automatically > extend the Due Date by the same amount of time it was stalled - in this case, 2 days. Unfortunately, you're likely going to need some customizations there, the doc for IgnoreOnStatuses has the following note about recalculating Due: NOTE: When a ticket goes from an ignored status to a normal status, the new Due date is calculated from the last action (reply, SLA change, etc) which fits the SLA type (Response, Starts, KeepInLoop, etc). This means if a ticket in the above example flips from stalled to open without a reply, the ticket will probably be overdue. In most cases this shouldn't be a problem since moving out of stalled-like statuses is often the result of RT's auto-open on reply scrip, therefore ensuring there's a new reply to calculate Due from. The overall effect is that ignored statuses don't let the Due date drift arbitrarily, which could wreak havoc on your SLA performance. This is a new feature in 0.06, and patches to extend the behavior would probably be interesting to my colleagues who worked on the feature. -kevin -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 195 bytes Desc: not available URL: From al.scotto at reply.it Fri Aug 24 11:20:30 2012 From: al.scotto at reply.it (Scotto Alberto) Date: Fri, 24 Aug 2012 15:20:30 +0000 Subject: [rt-users] [SLA Extension] Can I 'parked' stalled tickets? In-Reply-To: References: <81A2F9BBDD09884AB1585083CBDEC3755384820A@000S-EX-MBX-QS2.unimelb.edu.au> Message-ID: Sorry, the version of SLA extension shouldn't matter. Alberto Scotto [Blue] Via Cardinal Massaia, 83 10147 - Torino - ITALY phone: +39 011 29100 al.scotto at reply.it www.reply.it From: Scotto Alberto Sent: venerd? 24 agosto 2012 17:01 To: Dave Fitches; rt-users at lists.bestpractical.com Subject: RE: [SLA Extension] Can I 'parked' stalled tickets? Have a look at my customization for parking stalled tickets (actually it works for SLA 0.05) http://www.gossamer-threads.com/lists/rt/users/110572 If you make any improvements, please share them :) Alberto Scotto [Blue] Via Cardinal Massaia, 83 10147 - Torino - ITALY phone: +39 011 29100 al.scotto at reply.it www.reply.it From: rt-users-bounces at lists.bestpractical.com [mailto:rt-users-bounces at lists.bestpractical.com] On Behalf Of Dave Fitches Sent: venerd? 24 agosto 2012 06:40 To: rt-users at lists.bestpractical.com Subject: [rt-users] [SLA Extension] Can I 'parked' stalled tickets? Hi all, I've been working with RT 4.05 and have added the SLA Extension [v.0.06] to it. We're using some simple SLA rules - no respond or keepinloop rules, just resolve rules. Generally, all tickets should be resolved within x Days from ticket creation. Eg; 'Normal' => { Resolve => { BusinessMinutes => 60*8*5, IgnoreOnStatuses => ['stalled'] }, # Within 5 Working Days }, We're using Business:Hours to make sure weekend and public holidays aren't counted. Jobs start at Priority 0 and via an hourly LinearEscalate Cron job, escalate to Priority 100 the closer they get to the due date. So a job with a 5 working day SLA will be at Priority 40 after 2 business days. Now - as a basic setup, it's all working nicely. (And I'd like to say - I love the program!) There's just ONE thing not working the way we'd like and I suspect I've missed something, so I'd appreciate a second opinion. You'll notice we've got "IgnoreOnStatuses => ['stalled']" in there. If we make a job and stall it, the priority does NOT advance. All good so far. However when the job is changed from stalled back to open, it doesn't punch the Due Date out according to the time it was stalled. So - a job is due 5 days after it's created. If we stall the job after 4 hours, the priority will freeze at 10. If we change the job back to "open" 2 days later, the due date remains unchanged and the job will still be due in another 2.5 days. Next time the LinearEscalate cron job runs, the Priority jumps right up to 50. What we WANT it to do, is - when we un-stall the job 2 days later, we want RT to automatically extend the Due Date by the same amount of time it was stalled - in this case, 2 days. Any thoughts? What've I missed? -- = Dave Fitches = ________________________________________________________ .,--__|\.. David Fitches - Security Software Admin / |. University of Melbourne - Access Control \_,--__/.. * Ph/Mob : +61-3-8344-9232 / +61-411-811-525 ......v... * E-mail : dfitches at unimelb.edu.au .......... University of Melbourne, Victoria, Australia _______________________________________________________ ________________________________ -- The information transmitted is intended for the person or entity to which it is addressed and may contain confidential and/or privileged material. Any review, retransmission, dissemination or other use of, or taking of any action in reliance upon, this information by persons or entities other than the intended recipient is prohibited. If you received this in error, please contact the sender and delete the material from any computer. -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: image001.png Type: image/png Size: 2834 bytes Desc: image001.png URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: blue.png Type: image/png Size: 2834 bytes Desc: blue.png URL: From robert at robertblackwell.com Fri Aug 24 12:35:43 2012 From: robert at robertblackwell.com (Robert Blackwell) Date: Fri, 24 Aug 2012 12:35:43 -0400 Subject: [rt-users] Using 'today' in an Advanced search gives different results than using explicit date. Message-ID: Hello, We have a global custom field of Type 'select date' (not datetime) called FollowUp. When trying to query tickets using the Advanced tab and TicketSQL using the word 'today' as described on this page, http://requesttracker.wikia.com/wiki/TicketSQL, we are not getting the same results as explicitly searching with today's date. For example I would expect these to return the same tickets but they don't: This returns 7 tickets. Status != 'resolved' AND CF.{FollowUp} < '2012-08-25' This returns 513. Status != 'resolved' AND CF.{FollowUp} < 'tomorrow' We are using RT 4.0.5. Suggestions welcomed. Is there a better place to learn about TicketSQL? Thank you Robert From trs at bestpractical.com Fri Aug 24 12:56:51 2012 From: trs at bestpractical.com (Thomas Sibley) Date: Fri, 24 Aug 2012 09:56:51 -0700 Subject: [rt-users] Who is "Doctor Helga" ? In-Reply-To: <3AE0BAB745543E46A98392EE60FC5F769C76C4C325@cam-mail2k7.ant.local> References: <20120823140311.GA706@lonap.net> <20120823144327.GN14091@jibsheet.com> <20120823155728.GA940@lonap.net> <50366AA5.5050703@bestpractical.com> <3AE0BAB745543E46A98392EE60FC5F769C76C4C325@cam-mail2k7.ant.local> Message-ID: <5037B253.6090400@bestpractical.com> On 08/24/2012 12:32 AM, Simon Dray wrote: > Thomas Hi > > When a tickets is raised by email if the user doesn?t exist it is > created, these are tagged as being auto generated its not a bug. If > you have a problem with tickets being created by spam and I am sure > most of us have at some time since starting with RT you should put > some sort of filter in place. Perhaps BP could put in a config item > which says to only open tickets from registered users, maybe there is > a function in 4.0.6 not usre haven?t got to that yet. Yep, I know that auto-creating users isn't a bug. You may note I work for Best Practical. ;) The bugs I was pointing out are that users shouldn't be allowed to be created with (crucially) email addresses that point back into RT itself. Thomas From trs at bestpractical.com Fri Aug 24 12:59:25 2012 From: trs at bestpractical.com (Thomas Sibley) Date: Fri, 24 Aug 2012 09:59:25 -0700 Subject: [rt-users] Using 'today' in an Advanced search gives different results than using explicit date. In-Reply-To: References: Message-ID: <5037B2ED.9060307@bestpractical.com> On 08/24/2012 09:35 AM, Robert Blackwell wrote: > For example I would expect these to return the same tickets but they don't: > > This returns 7 tickets. > Status != 'resolved' AND CF.{FollowUp} < '2012-08-25' > > This returns 513. > Status != 'resolved' AND CF.{FollowUp} < 'tomorrow' Capture the SQL that gets run for those queries, and we can see the difference between parsing. It _shouldn't_ be different, but I'm guessing an implicit time part might be sneaking in. From trs at bestpractical.com Fri Aug 24 13:06:09 2012 From: trs at bestpractical.com (Thomas Sibley) Date: Fri, 24 Aug 2012 10:06:09 -0700 Subject: [rt-users] LDAP-Active Directory external authentification search/authentificate users in a subtree In-Reply-To: References: <5033A51E.6090505@bestpractical.com> Message-ID: <5037B481.7020803@bestpractical.com> On 08/24/2012 07:18 AM, Limit Less wrote: > Hello everybody and thanks for your suggestions, > The actual problem was that i was using to authenificate against RT > normal user format from Active Directory, and Request Tracker ask for > the pre-Windows 2000 username format, and in my situation the two are > different. > The problems is solved. > Anyway is there a possibility to force RT to use the normal user format? Can you show us an example of the difference in the usernames? From davidtg at u.washington.edu Fri Aug 24 15:37:15 2012 From: davidtg at u.washington.edu (David T. Grayston) Date: Fri, 24 Aug 2012 19:37:15 +0000 Subject: [rt-users] Extra requestor being added Message-ID: <07A5F0ABA6ABCE488CF01BB872138FEB382FF4@uwit-mbx07.exchange.washington.edu> Hi all, RT: 4.0.5 I'd previously posted this issue and thought it had been resolved but its back. Just a few days ago after I added myself as a AdminCc to a queue then removed myself as an AdminCc I'm now being added to every new ticket as an additional Requestor. This is happening on all queues not just the one I added/removed myself as AdminCc (this just seemed to kick-off the problem again). I just created a ticket myself and I see this as part of the create response, "Couldn't set Requestor watcher: That principal is already a Requestor for this ticket" This seems promising in tracking down the issue as it seems to be implying that RT is attempting to set me as the additional Requestor but doesn't since I'm already the Requestor. The queue has no additional People set as watchers. I don't quite know where to look for a "Requestor watcher" setting or if I'm correct about that response, any help appreciated. ------------------------------------------------------------------ David T. Grayston Systems & Database Administrator University of Washington School of Public Health Office of the Dean -------------- next part -------------- An HTML attachment was scrubbed... URL: From davidtg at u.washington.edu Fri Aug 24 18:39:35 2012 From: davidtg at u.washington.edu (David T. Grayston) Date: Fri, 24 Aug 2012 22:39:35 +0000 Subject: [rt-users] Extra requestor being added In-Reply-To: <07A5F0ABA6ABCE488CF01BB872138FEB382FF4@uwit-mbx07.exchange.washington.edu> References: <07A5F0ABA6ABCE488CF01BB872138FEB382FF4@uwit-mbx07.exchange.washington.edu> Message-ID: <07A5F0ABA6ABCE488CF01BB872138FEB383076@uwit-mbx07.exchange.washington.edu> Just following up to add that I've fixed this issue - definitely self-inflicted by previously editing the database directly . Prior to officially deploying for use I'd wanted to keep all of the queues, users, scrips, and templates that had been setup but wanted to remove all of the testing tickets and re-set the ticket count to #1. I missed fully purging the Groups table entries that make associations between ticket and the different roles/groups that are part of the ticket. Removing the remaining orphaned entries (for ticket numbers not-yet created) seems to have cured this issue. ------------------------------------------------------------------ David T. Grayston Systems & Database Administrator University of Washington School of Public Health Office of the Dean From: rt-users-bounces at lists.bestpractical.com [mailto:rt-users-bounces at lists.bestpractical.com] On Behalf Of David T. Grayston Sent: Friday, August 24, 2012 12:37 PM To: rt-users at lists.bestpractical.com Subject: [rt-users] Extra requestor being added Hi all, RT: 4.0.5 I'd previously posted this issue and thought it had been resolved but its back. Just a few days ago after I added myself as a AdminCc to a queue then removed myself as an AdminCc I'm now being added to every new ticket as an additional Requestor. This is happening on all queues not just the one I added/removed myself as AdminCc (this just seemed to kick-off the problem again). I just created a ticket myself and I see this as part of the create response, "Couldn't set Requestor watcher: That principal is already a Requestor for this ticket" This seems promising in tracking down the issue as it seems to be implying that RT is attempting to set me as the additional Requestor but doesn't since I'm already the Requestor. The queue has no additional People set as watchers. I don't quite know where to look for a "Requestor watcher" setting or if I'm correct about that response, any help appreciated. ------------------------------------------------------------------ David T. Grayston Systems & Database Administrator University of Washington School of Public Health Office of the Dean -------------- next part -------------- An HTML attachment was scrubbed... URL: From trs at bestpractical.com Fri Aug 24 18:57:12 2012 From: trs at bestpractical.com (Thomas Sibley) Date: Fri, 24 Aug 2012 15:57:12 -0700 Subject: [rt-users] Extra requestor being added In-Reply-To: <07A5F0ABA6ABCE488CF01BB872138FEB383076@uwit-mbx07.exchange.washington.edu> References: <07A5F0ABA6ABCE488CF01BB872138FEB382FF4@uwit-mbx07.exchange.washington.edu> <07A5F0ABA6ABCE488CF01BB872138FEB383076@uwit-mbx07.exchange.washington.edu> Message-ID: <503806C8.4080203@bestpractical.com> On 08/24/2012 03:39 PM, David T. Grayston wrote: > Just following up to add that I?ve fixed this issue ? definitely > self-inflicted by previously editing the database directly . Prior to > officially deploying for use I?d wanted to keep all of the queues, > users, scrips, and templates that had been setup but wanted to remove > all of the testing tickets and re-set the ticket count to #1. I missed > fully purging the Groups table entries that make associations between > ticket and the different roles/groups that are part of the ticket. > Removing the remaining orphaned entries (for ticket numbers not-yet > created) seems to have cured this issue. You'll probably want to run rt-validator now to see what other cruft is hanging around the database. For future reference, rt-shredder is what you should be using to delete data from the database, not SQL. From gbuday at gmail.com Sat Aug 25 09:59:12 2012 From: gbuday at gmail.com (Gergely Buday) Date: Sat, 25 Aug 2012 15:59:12 +0200 Subject: [rt-users] sending mail from scrip action Message-ID: Hi, I would like to send e-mails from the scrip preparation code. I use require RT::Action::SendEmail; use strict; use vars qw/@ISA/; @ISA = qw(RT::Action::SendEmail); and would like to set $self->SetTemplate(25); but against my expectation $self is not the scrip object but Action::UserDefined which does not allow setting the template. At the end I would send the mail by @{ $self->{'To'} } = $followerEmail; $self->SUPER::Prepare(); $self->SUPER::Commit(); If I do not set the template, then the ::Prepare call does not work, lacking the TemplateObj. How could I do this properly? - Gergely From mikydevel at yahoo.fr Sat Aug 25 12:17:03 2012 From: mikydevel at yahoo.fr (Mik J) Date: Sat, 25 Aug 2012 17:17:03 +0100 (BST) Subject: [rt-users] RT Installation In-Reply-To: References: Message-ID: <1345911423.86426.YahooMailNeo@web28804.mail.ir2.yahoo.com> Hello, I'm trying to install RT and I'm a bit confused. I have read many documentations. During the install process I did # cd rt-4.0.5 # ./configure --with-db-database=rtrackerdb --with-db-rt-user=rt --with-db-rt-pass='rtpwd' --with-db-dba=mydba --prefix=/var/www/htdocs/rt In the documentations that I read they say that I'll have to access the URL http://192.168.1.1/rt But if I list the directory /var/www/htdocs/rt there is no webpage # ls /var/www/htdocs/rtx/ bin???????????? etc???????????? local???????????? share docs??????????? lib??????????????? sbin??????????? var I would like to mention that I change the http.conf, configuredRT_SiteConfig.pm and ran make initialize-database I ran the ./configure command in the first step of my installation and I would expect to see in the /var/www/htdocs/rt directory a file such as index.pl or index.html Does anyone have an idea ? For those who doesn't have an idea could you ls the rt directory. Thank you From cloos at netsandbox.de Sun Aug 26 10:49:48 2012 From: cloos at netsandbox.de (Christian Loos) Date: Sun, 26 Aug 2012 16:49:48 +0200 Subject: [rt-users] RT Installation In-Reply-To: <1345911423.86426.YahooMailNeo@web28804.mail.ir2.yahoo.com> References: <1345911423.86426.YahooMailNeo@web28804.mail.ir2.yahoo.com> Message-ID: <503A378C.5050306@netsandbox.de> Am 25.08.2012 18:17, schrieb Mik J: > Hello, > > I'm trying to install RT and I'm a bit confused. > I have read many documentations. > > During the install process I did > # cd rt-4.0.5 > # ./configure --with-db-database=rtrackerdb --with-db-rt-user=rt --with-db-rt-pass='rtpwd' --with-db-dba=mydba --prefix=/var/www/htdocs/rt > > In the documentations that I read they say that I'll have to access the URL http://192.168.1.1/rt > But if I list the directory /var/www/htdocs/rt there is no webpage > > # ls /var/www/htdocs/rtx/ > bin etc local share > docs lib sbin var > > I would like to mention that I change the http.conf, configuredRT_SiteConfig.pm and ran make initialize-database > I ran the ./configure command in the first step of my installation and I would expect to see in the /var/www/htdocs/rt directory a file such as index.pl or index.html > > Does anyone have an idea ? > For those who doesn't have an idea could you ls the rt directory. > > Thank you > In your case what you are locking for is in: /var/www/htdocs/rt/share/html/ Also 4.0.6 is the current version and 4.0.7 will be release in the next days/weeks. So you should use an more recent version for an new installation. Chris From david.fitches at unimelb.edu.au Sun Aug 26 17:50:47 2012 From: david.fitches at unimelb.edu.au (Dave Fitches) Date: Sun, 26 Aug 2012 21:50:47 +0000 Subject: [rt-users] [SLA Extension] Can I 'parked' stalled tickets? In-Reply-To: References: Message-ID: <81A2F9BBDD09884AB1585083CBDEC37553849F34@000S-EX-MBX-QS2.unimelb.edu.au> Morning Alberto, I DID find that article previously, but I have to say (embarrassingly) that I couldn't work it out (Seems I'm a tad thick with some things) and the last reply by Ruslan lead me to believe he'd incorporated it into 0.06 - but that appears to be just the priority hold, not the re-calculate due date part. You say to use two conditions "on stall"/"on un-stall"- but I'm having trouble working out how to create the "on stalled"/"on un-stall" conditions. I found this: http://requesttracker.wikia.com/wiki/OnStatusChange It looks like a MySQL command... and it should give me the "On Stall" condition, but I'm unsure how to get the UN-stall condition with the same method... I'm fairly certain the code for Action1 and Action2 go in as User Defined Actions into the "Custom action cleanup code" area, yes? So in the end - once I figure out how to create the two custom conditions, I then create two Scrips: Scrip1: Name: [SLA] Parking ticket Condition: On Stall User Defined Action - Scrip2: Name: [SLA] Unparking Ticket Condition: On Un-Stall User Defined Action - These SHOULD then do the job of punching out the due date by the period of time the ticket was stalled - yes? Thanks in advance for all the assistance! -- ????= Dave Fitches = ________________________________________________________ .,--__|\..?David Fitches - Security Software Admin /?????? |.?University of Melbourne - Access Control \_,--__/..?* Ph/Mob : +61-3-8344-9232 / +61-411-811-525 ......v...?* E-mail : dfitches at unimelb.edu.au? ..........?University of Melbourne, Victoria, Australia _______________________________________________________ From martin.studer at nowhow.ch Mon Aug 27 02:00:01 2012 From: martin.studer at nowhow.ch (Martin Studer) Date: Mon, 27 Aug 2012 08:00:01 +0200 Subject: [rt-users] Replying to emails within the Ticket display screen from the web interface In-Reply-To: <20120824150243.GA1045@jibsheet.com> References: <50373214.5050805@nowhow.ch> <20120824150243.GA1045@jibsheet.com> Message-ID: <503B0CE1.4080006@nowhow.ch> Hi Kevin, Thanks a lot for your feedback about the reply functionality. It looks to be esier to reply to e-mails outside of RT and forward a copy to RT. Kind regards Martin Am 24.08.2012 17:02, schrieb Kevin Falcone: > On Fri, Aug 24, 2012 at 09:49:40AM +0200, Martin Studer wrote: >> * There is a default delivered global scrip 'On Correspond Notify Requestors and Ccs' ( >> ScripCondition => 'On Correspond', ScripAction => 'Notify Requestors And Ccs', Template => >> 'Correspondence'). If this scrip is in place and I use the "reply" functionality I can >> chose whether an email is sent to the requestor or not. If another person sends an e-mail >> to Request Tracker (all e-mails into RT are considered correspondence) regarding this >> specific ticket, the requestor get's as well an email (which I do not want). If I remove >> the global scrip no e-mails are sent out when using the reply functionality. > You need to change the condition to be something like "On Correspond > by Staff member" or some other restriction. Otherwise how is RT to > know whose mail should go to the requestor and whose shouldn't. > > There's some code for this in RTIR that could be stolen. > > It's also possible that these second emails might want to be comments, > not correspondence. Depends who is sending them and why. > >> * If a person B sends an email regarding a Incident/Ticket where person A is requestor, the >> mail will be linked and then displayed in the history section for this incident/ticket. If >> I use the "reply" functionality on this particular e-mail (from person B), the e-mail goes >> to the requestor. Is it correct that the "reply" functionality can rather be considered as >> a "reply to requestor" ? If yes how is it possible (via the web interface) to reply Person >> B ? > Person B will show up on the People page to be added permanently as a > Cc or a Requestor. During a Reply they will also show up under the > One-time-Cc line on the reply page so they can be looped in on this > reply. > > -kevin -- nowhow solutions AG, Laupenstrasse 1, CH-3008 Bern Phone +41 (0)31 380 00 67 http://www.nowhow.ch From mikydevel at yahoo.fr Mon Aug 27 03:29:31 2012 From: mikydevel at yahoo.fr (Mik J) Date: Mon, 27 Aug 2012 08:29:31 +0100 (BST) Subject: [rt-users] RT Installation In-Reply-To: <503A378C.5050306@netsandbox.de> References: <1345911423.86426.YahooMailNeo@web28804.mail.ir2.yahoo.com> <503A378C.5050306@netsandbox.de> Message-ID: <1346052571.31767.YahooMailNeo@web28806.mail.ir2.yahoo.com> ----- Mail original ----- > De?: Christian Loos >> In the documentations that I read they say that I'll have to access the > URL http://192.168.1.1/rt >> But if I list the directory /var/www/htdocs/rt there is no webpage >> >> # ls /var/www/htdocs/rtx/ >> bin? ? ? ? ? ? etc? ? ? ? ? ? local? ? ? ? ? ? share >> docs? ? ? ? ? ? lib? ? ? ? ? ? ? ? sbin? ? ? ? ? ? var >> >> I would like to mention that I change the http.conf, > configuredRT_SiteConfig.pm and ran make initialize-database >> I ran the ./configure command in the first step of my installation and I > would expect to see in the /var/www/htdocs/rt directory a file such as index.pl > or index.html >> >> Does anyone have an idea ? >> For those who doesn't have an idea could you ls the rt directory. >> >> Thank you >> > > In your case what you are locking for is in: > /var/www/htdocs/rt/share/html/ > > Also 4.0.6 is the current version and 4.0.7 will be release in the next > days/weeks. So you should use an more recent version for an new > installation. > > Chris Hello Christian, Thank you for your answer. I didn't install RT 4.0.6 because there was a compatibility version issue with URI (>= 1.59). Mine was older. Now that I have and updated URI perl module, I installed RT 4.0.6 My second problem is the Apache virtualhost configuration. I use Apache 1.3.29 So far it looks like this: ??? ServerAdmin root at localhost ??? DocumentRoot /htdocs ??? ServerName 192.168.99.1 ??? PerlModule Apache::PerlRun ??? ??????? AddDefaultCharset UTF-8 ??????? SetHandler perl-script ??????? PerlHandler Apache::PerlRun ??????? PerlRequire /var/www/htdocs/rty/mystartup.pl ??????? Options ExecCGI Indexes FollowSymLinks ??????? PerlSendHeader On ??????? Order allow,deny ??????? Allow from all ??? ??? ErrorDocument 404 /404.html ??? ErrorLog logs/192.168.99.1-error_log ??? CustomLog logs/192.168.99.1-access_log common Should I use RT::Mason as the PerlHandler ? (Many wikis talk about it) In my setup I have Apache chrooted, so mod_perl loads the installed modules at startup (I specify the list in mystartup.pl) As you can see RT is installed in /htdocs/rty directory. Do you have any comment on my Apache configuration ? Thank you From asanka_gunasekera at yahoo.co.uk Mon Aug 27 03:41:23 2012 From: asanka_gunasekera at yahoo.co.uk (Asanka Gunasekera) Date: Mon, 27 Aug 2012 08:41:23 +0100 (BST) Subject: [rt-users] show update stat of a ticket In-Reply-To: <1345803857.4837.YahooMailNeo@web133206.mail.ir2.yahoo.com> References: <1345803857.4837.YahooMailNeo@web133206.mail.ir2.yahoo.com> Message-ID: <1346053283.15741.YahooMailNeo@web133202.mail.ir2.yahoo.com> Hi, is this even possible Thanks and regards ________________________________ From: Asanka Gunasekera To: "rt-users at lists.bestpractical.com" Sent: Friday, 24 August 2012, 15:54 Subject: [rt-users] show update stat of a ticket Hi, is there a way to display a column under "10 highest priority tickets I own" which will show the ticket response status like "waiting for customer or in progress or reviewing" something like that. Thanks and best regards -------------- next part -------------- An HTML attachment was scrubbed... URL: From shrivallabh.deshmukh at sungard.com Mon Aug 27 04:53:02 2012 From: shrivallabh.deshmukh at sungard.com (Shrivallabh Deshmukh) Date: Mon, 27 Aug 2012 14:23:02 +0530 Subject: [rt-users] Logging and timestamp Message-ID: Folks, it looks like the RT logs are all in GMT. Now, within apache's access and error logs. apache logs using my system timezone which is EDT. It gets interleaved with RT logs which are GMT. This is confusing. I have already seen this. http://old.nabble.com/RT-log-has-wrong-timezone-td14893147.html Anybody who has solved this problem in better manner than changing code? Is there a better solution in 4.x Regards, Shrivallabh -------------- next part -------------- An HTML attachment was scrubbed... URL: From asanka_gunasekera at yahoo.co.uk Mon Aug 27 06:46:35 2012 From: asanka_gunasekera at yahoo.co.uk (Asanka Gunasekera) Date: Mon, 27 Aug 2012 11:46:35 +0100 (BST) Subject: [rt-users] status change when reply on resolved ticket Message-ID: <1346064395.64078.YahooMailNeo@web133206.mail.ir2.yahoo.com> Hi, I just ran in to a vired thing. when I reply on a ticker which is been marked as resolved the status changes back to "open" any help to stop this behavior. Thanks and regards -------------- next part -------------- An HTML attachment was scrubbed... URL: From cloos at netcologne.de Mon Aug 27 08:03:51 2012 From: cloos at netcologne.de (Christian Loos) Date: Mon, 27 Aug 2012 14:03:51 +0200 Subject: [rt-users] RT Installation In-Reply-To: <1346052571.31767.YahooMailNeo@web28806.mail.ir2.yahoo.com> References: <1345911423.86426.YahooMailNeo@web28804.mail.ir2.yahoo.com> <503A378C.5050306@netsandbox.de> <1346052571.31767.YahooMailNeo@web28806.mail.ir2.yahoo.com> Message-ID: <503B6227.3010605@netcologne.de> Am 27.08.2012 09:29, schrieb Mik J: > Hello Christian, > > Thank you for your answer. > > I didn't install RT 4.0.6 because there was a compatibility version issue with URI (>= 1.59). Mine was older. > Now that I have and updated URI perl module, I installed RT 4.0.6 > My second problem is the Apache virtualhost configuration. I use Apache 1.3.29 > So far it looks like this: > > ServerAdmin root at localhost > DocumentRoot /htdocs > ServerName 192.168.99.1 > PerlModule Apache::PerlRun > > AddDefaultCharset UTF-8 > SetHandler perl-script > PerlHandler Apache::PerlRun > PerlRequire /var/www/htdocs/rty/mystartup.pl > Options ExecCGI Indexes FollowSymLinks > PerlSendHeader On > Order allow,deny > Allow from all > > ErrorDocument 404 /404.html > ErrorLog logs/192.168.99.1-error_log > CustomLog logs/192.168.99.1-access_log common > > > Should I use RT::Mason as the PerlHandler ? (Many wikis talk about it) > In my setup I have Apache chrooted, so mod_perl loads the installed modules at startup (I specify the list in mystartup.pl) > As you can see RT is installed in /htdocs/rty directory. Do you have any comment on my Apache configuration ? > > Thank you You should read docs/web_deployment.pod or the online version: https://github.com/bestpractical/rt/blob/stable/docs/web_deployment.pod Notice that mod_perl 1.xx (which I think apache 1.3 is using) isn't supported. Chris From cloos at netcologne.de Mon Aug 27 08:03:51 2012 From: cloos at netcologne.de (Christian Loos) Date: Mon, 27 Aug 2012 14:03:51 +0200 Subject: [rt-users] RT Installation In-Reply-To: <1346052571.31767.YahooMailNeo@web28806.mail.ir2.yahoo.com> References: <1345911423.86426.YahooMailNeo@web28804.mail.ir2.yahoo.com> <503A378C.5050306@netsandbox.de> <1346052571.31767.YahooMailNeo@web28806.mail.ir2.yahoo.com> Message-ID: <503B6227.3010605@netcologne.de> Am 27.08.2012 09:29, schrieb Mik J: > Hello Christian, > > Thank you for your answer. > > I didn't install RT 4.0.6 because there was a compatibility version issue with URI (>= 1.59). Mine was older. > Now that I have and updated URI perl module, I installed RT 4.0.6 > My second problem is the Apache virtualhost configuration. I use Apache 1.3.29 > So far it looks like this: > > ServerAdmin root at localhost > DocumentRoot /htdocs > ServerName 192.168.99.1 > PerlModule Apache::PerlRun > > AddDefaultCharset UTF-8 > SetHandler perl-script > PerlHandler Apache::PerlRun > PerlRequire /var/www/htdocs/rty/mystartup.pl > Options ExecCGI Indexes FollowSymLinks > PerlSendHeader On > Order allow,deny > Allow from all > > ErrorDocument 404 /404.html > ErrorLog logs/192.168.99.1-error_log > CustomLog logs/192.168.99.1-access_log common > > > Should I use RT::Mason as the PerlHandler ? (Many wikis talk about it) > In my setup I have Apache chrooted, so mod_perl loads the installed modules at startup (I specify the list in mystartup.pl) > As you can see RT is installed in /htdocs/rty directory. Do you have any comment on my Apache configuration ? > > Thank you You should read docs/web_deployment.pod or the online version: https://github.com/bestpractical/rt/blob/stable/docs/web_deployment.pod Notice that mod_perl 1.xx (which I think apache 1.3 is using) isn't supported. Chris From jean.mich.c at gmail.com Mon Aug 27 08:31:00 2012 From: jean.mich.c at gmail.com (DupondEt Dupont) Date: Mon, 27 Aug 2012 14:31:00 +0200 Subject: [rt-users] External Custom Field query based an other Custom Field value In-Reply-To: References: Message-ID: Hi, Anyone have an idea? JMC 2012/8/24 DupondEt Dupont > Hi all, > > i recently install lastest RT 4 release and start setting up external > custom fields from an Oracle query. (as describe in > docs/extending/external_custom_fields.pod) > > Everything work really fine, until i decided to use previously filled > custom fied as argument in an other external custom field search. > > In this study case ;) , both custom fields are assigned to ticket. > The first external CF (name Client) retrieve customer list and CF store > the value I have select. > The second external CF (name Machine) should retrieve hostname for the > customer select in CF Client... > > Here is the piece of PERL code for CF Machine > (/opt/rt4/lib/RT/CustomFieldValues/Test2.pm) > > ----------------------------------------------------------------------------- > package RT::CustomFieldValues::Test2; > > use strict; > use warnings; > use DBI; > use DBD::Oracle; > use base qw(RT::CustomFieldValues::External); > > sub SourceDescription { > return 'test2'; > } > > sub ExternalValues { > my $self = shift; > # the previsous custom field name > my $CFName = 'Client'; > # should store the name of my customer... > my $CFClient = $self->TicketObj->FirstCustomFieldValue($CFName); > my $i = 0; > my @res; > my $Hostname > my $dbh = > DBI->connect("dbi:Oracle:host=XXX.XXX.XXX.XXX;sid=XX;port=XXXX","XXXX","XXXX", > {ora_session_mode => 0, PrintError =>0}); > my $req = "SELECT distinct HOSTNAME FROM my_table where > CLIENT='$CFClient'"; > my $hreq = $dbh->prepare($req); > $hreq->execute();; > $hreq->bind_columns(\$Hostname); > while ($hreq->fetch()){ > push @res, { > name => $Hostname, > description => $Hostname, > sortorder => $i++, > }; > } > return \@res; > } > > ----------------------------------------------------------------------------- > > I used $self->TicketObj->FirstCustomFieldValue($CFName) but it's not know > in this context apparently as Data::Dumper shows me...(but > $self->CurrentUser is) > > I hope you'll have a solution to deal with this, cause i got no more ideas. > > Thank you in advance for your time. > > JMC > -------------- next part -------------- An HTML attachment was scrubbed... URL: From Jason.Doran at nuim.ie Mon Aug 27 09:24:52 2012 From: Jason.Doran at nuim.ie (Jason Doran) Date: Mon, 27 Aug 2012 14:24:52 +0100 Subject: [rt-users] Fulltext search with date ranges Message-ID: Hi, I know the caveats with enabling a fulltext search on a non- PostgreSQL or sphinx setup. However, Can RT do a fulltext search (/Search/Simple.html) with a date range? I suspect the answer is no, that this is not a supported field, but thought I would ask anyway; something like: fulltext:coffee Created>-2 days ago and Created <= today I have a portlet that I copied from http://requesttracker.wikia.com/wiki/Full_Text_Search_Portlet and see date ranges here for a sphinx search: http://requesttracker.wikia.com/wiki/IntegrateSphinx and thought that adding date ranges to Full_Text_Search_Portlet might make this a little faster. It is currently fine in testing with about 30,000 tickets; v. slow for resolved tickets as expected, but fine at the moment for open/stalled/new tickets. RT: 4.0.6 MySql: mysql-5.0.95-1.el5_7.1 no sphinx (for another day) Regards, Jason Doran National University of Ireland, Maynooth From mikydevel at yahoo.fr Mon Aug 27 10:39:05 2012 From: mikydevel at yahoo.fr (Mik J) Date: Mon, 27 Aug 2012 15:39:05 +0100 (BST) Subject: [rt-users] RT Installation References: <1345911423.86426.YahooMailNeo@web28804.mail.ir2.yahoo.com> <503A378C.5050306@netsandbox.de> <1346052571.31767.YahooMailNeo@web28806.mail.ir2.yahoo.com> <503B6227.3010605@netcologne.de> Message-ID: <1346078345.13563.YahooMailNeo@web28802.mail.ir2.yahoo.com> Thank you Christian for the link it really helped, I looked at that page http://wiki-archive.bestpractical.com/view/ManualApacheConfig and the one you gave me And they said that only mod_perl 1.9x causes problems. Actually I use version 1.31 The reason why I use Apache 1.3.29 and mod-perl 1.31 is because they are provided with OpenBSD (I use version 5.1 which has been release in may) I tried this configuration for my virtualhost configuration ????ServerAdmin root at localhost ????DocumentRoot /htdocs ????ServerName 192.168.1.1 ???? ?? ? ???AddDefaultCharset UTF-8 ?? ? ???SetHandler perl-script ?? ? ???PerlHandler Plack::Handler::Apache1 ? ????? PerlSetVar psgi_app /var/www/htdocs/rty/sbin/rt-server ??????? PerlRequire /var/www/htdocs/rty/monstartup.pl ?? ? ???Options ExecCGI Indexes FollowSymLinks ?? ? ???PerlSendHeader On ?? ? ???Order allow,deny ?? ? ???Allow from all ???? ??? ????? use Plack::Handler::Apache1; ????? Plack::Handler::Apache1->preload("/var/www/htdocs/rty/sbin/rt-server"); ??? ????ErrorDocument 404 /404.html ????ErrorLog logs/192.168.1.1-error_log ????CustomLog logs/192.168.1.1-access_log common I have now the following error in my logs when my Apache is chrooted [Mon Aug 27 14:17:37 2012] [error]: could not find component for initial path '/share/html' (component roots are: '/var/www/htdocs/rty/local/html', '/var/www/htdocs/rty/share/html') (/var/www/htdocs/rty/sbin/../lib/RT/Interface/Web/Handler.pm:208) If I remove the chroot I have this error [Mon Aug 27 16:24:00 2012] [error] [client 192.168.1.111] File does not exist: /var/www/htdocs/Install/index.html It's trying to look the index.html in /var/www/htdocs/Install/ instead of /var/www/htdocs/rty/share/html/Install/ Both problems seem to be path related. I'm going to keep on searching but by chance if anyone had this problem, I'll be pleased to hear it I have been able to run RT in standalone four hours ago, I was very happy about that. >________________________________ > De?: Christian Loos >??: rt-users at lists.fsck.com >Cc?: "rt-users at lists.bestpractical.com" >Envoy? le : Lundi 27 ao?t 2012 14h03 >Objet?: Re: [rt-users] RT Installation > >Am 27.08.2012 09:29, schrieb Mik J: >> Hello Christian, >> >> Thank you for your answer. >> >> I didn't install RT 4.0.6 because there was a compatibility version issue with URI (>= 1.59). Mine was older. >> Now that I have and updated URI perl module, I installed RT 4.0.6 >> My second problem is the Apache virtualhost configuration. I use Apache 1.3.29 >> So far it looks like this: >> >>? ???ServerAdmin root at localhost >>? ???DocumentRoot /htdocs >>? ???ServerName 192.168.99.1 >>? ???PerlModule Apache::PerlRun >>? ??? >>? ? ? ???AddDefaultCharset UTF-8 >>? ? ? ???SetHandler perl-script >>? ? ? ???PerlHandler Apache::PerlRun >>? ? ? ???PerlRequire /var/www/htdocs/rty/mystartup.pl >>? ? ? ???Options ExecCGI Indexes FollowSymLinks >>? ? ? ???PerlSendHeader On >>? ? ? ???Order allow,deny >>? ? ? ???Allow from all >>? ??? >>? ???ErrorDocument 404 /404.html >>? ???ErrorLog logs/192.168.99.1-error_log >>? ???CustomLog logs/192.168.99.1-access_log common >> >> >> Should I use RT::Mason as the PerlHandler ? (Many wikis talk about it) >> In my setup I have Apache chrooted, so mod_perl loads the installed modules at startup (I specify the list in mystartup.pl) >> As you can see RT is installed in /htdocs/rty directory. Do you have any comment on my Apache configuration ? >> >> Thank you > >You should read docs/web_deployment.pod or the online version: >https://github.com/bestpractical/rt/blob/stable/docs/web_deployment.pod > >Notice that mod_perl 1.xx (which I think apache 1.3 is using) isn't >supported. > >Chris > > > > From mikydevel at yahoo.fr Mon Aug 27 10:39:05 2012 From: mikydevel at yahoo.fr (Mik J) Date: Mon, 27 Aug 2012 15:39:05 +0100 (BST) Subject: [rt-users] RT Installation References: <1345911423.86426.YahooMailNeo@web28804.mail.ir2.yahoo.com> <503A378C.5050306@netsandbox.de> <1346052571.31767.YahooMailNeo@web28806.mail.ir2.yahoo.com> <503B6227.3010605@netcologne.de> Message-ID: <1346078345.13563.YahooMailNeo@web28802.mail.ir2.yahoo.com> Thank you Christian for the link it really helped, I looked at that page http://wiki-archive.bestpractical.com/view/ManualApacheConfig and the one you gave me And they said that only mod_perl 1.9x causes problems. Actually I use version 1.31 The reason why I use Apache 1.3.29 and mod-perl 1.31 is because they are provided with OpenBSD (I use version 5.1 which has been release in may) I tried this configuration for my virtualhost configuration ????ServerAdmin root at localhost ????DocumentRoot /htdocs ????ServerName 192.168.1.1 ???? ?? ? ???AddDefaultCharset UTF-8 ?? ? ???SetHandler perl-script ?? ? ???PerlHandler Plack::Handler::Apache1 ? ????? PerlSetVar psgi_app /var/www/htdocs/rty/sbin/rt-server ??????? PerlRequire /var/www/htdocs/rty/monstartup.pl ?? ? ???Options ExecCGI Indexes FollowSymLinks ?? ? ???PerlSendHeader On ?? ? ???Order allow,deny ?? ? ???Allow from all ???? ??? ????? use Plack::Handler::Apache1; ????? Plack::Handler::Apache1->preload("/var/www/htdocs/rty/sbin/rt-server"); ??? ????ErrorDocument 404 /404.html ????ErrorLog logs/192.168.1.1-error_log ????CustomLog logs/192.168.1.1-access_log common I have now the following error in my logs when my Apache is chrooted [Mon Aug 27 14:17:37 2012] [error]: could not find component for initial path '/share/html' (component roots are: '/var/www/htdocs/rty/local/html', '/var/www/htdocs/rty/share/html') (/var/www/htdocs/rty/sbin/../lib/RT/Interface/Web/Handler.pm:208) If I remove the chroot I have this error [Mon Aug 27 16:24:00 2012] [error] [client 192.168.1.111] File does not exist: /var/www/htdocs/Install/index.html It's trying to look the index.html in /var/www/htdocs/Install/ instead of /var/www/htdocs/rty/share/html/Install/ Both problems seem to be path related. I'm going to keep on searching but by chance if anyone had this problem, I'll be pleased to hear it I have been able to run RT in standalone four hours ago, I was very happy about that. >________________________________ > De?: Christian Loos >??: rt-users at lists.fsck.com >Cc?: "rt-users at lists.bestpractical.com" >Envoy? le : Lundi 27 ao?t 2012 14h03 >Objet?: Re: [rt-users] RT Installation > >Am 27.08.2012 09:29, schrieb Mik J: >> Hello Christian, >> >> Thank you for your answer. >> >> I didn't install RT 4.0.6 because there was a compatibility version issue with URI (>= 1.59). Mine was older. >> Now that I have and updated URI perl module, I installed RT 4.0.6 >> My second problem is the Apache virtualhost configuration. I use Apache 1.3.29 >> So far it looks like this: >> >>? ???ServerAdmin root at localhost >>? ???DocumentRoot /htdocs >>? ???ServerName 192.168.99.1 >>? ???PerlModule Apache::PerlRun >>? ??? >>? ? ? ???AddDefaultCharset UTF-8 >>? ? ? ???SetHandler perl-script >>? ? ? ???PerlHandler Apache::PerlRun >>? ? ? ???PerlRequire /var/www/htdocs/rty/mystartup.pl >>? ? ? ???Options ExecCGI Indexes FollowSymLinks >>? ? ? ???PerlSendHeader On >>? ? ? ???Order allow,deny >>? ? ? ???Allow from all >>? ??? >>? ???ErrorDocument 404 /404.html >>? ???ErrorLog logs/192.168.99.1-error_log >>? ???CustomLog logs/192.168.99.1-access_log common >> >> >> Should I use RT::Mason as the PerlHandler ? (Many wikis talk about it) >> In my setup I have Apache chrooted, so mod_perl loads the installed modules at startup (I specify the list in mystartup.pl) >> As you can see RT is installed in /htdocs/rty directory. Do you have any comment on my Apache configuration ? >> >> Thank you > >You should read docs/web_deployment.pod or the online version: >https://github.com/bestpractical/rt/blob/stable/docs/web_deployment.pod > >Notice that mod_perl 1.xx (which I think apache 1.3 is using) isn't >supported. > >Chris > > > > From rainer at ultra-secure.de Mon Aug 27 11:18:13 2012 From: rainer at ultra-secure.de (Rainer Duffner) Date: Mon, 27 Aug 2012 17:18:13 +0200 Subject: [rt-users] RT Installation In-Reply-To: <1346078345.13563.YahooMailNeo@web28802.mail.ir2.yahoo.com> References: <1345911423.86426.YahooMailNeo@web28804.mail.ir2.yahoo.com> <503A378C.5050306@netsandbox.de> <1346052571.31767.YahooMailNeo@web28806.mail.ir2.yahoo.com> <503B6227.3010605@netcologne.de> <1346078345.13563.YahooMailNeo@web28802.mail.ir2.yahoo.com> Message-ID: <20120827171813.382b1bbf@suse2.ip-tech.ch> Am Mon, 27 Aug 2012 15:39:05 +0100 (BST) schrieb Mik J : > Thank you Christian for the link it really helped, > > I looked at that page > http://wiki-archive.bestpractical.com/view/ManualApacheConfig > and the one you gave me > > And they said that only mod_perl 1.9x causes problems. Actually I use > version 1.31 > > The reason why I use Apache 1.3.29 and mod-perl 1.31 is because they > are provided with OpenBSD (I use version 5.1 which has been release > in may) Isn't there an apache22 port for OpenBSD? OpenBSD refused to import apache2.... From trs at bestpractical.com Mon Aug 27 11:55:02 2012 From: trs at bestpractical.com (Thomas Sibley) Date: Mon, 27 Aug 2012 08:55:02 -0700 Subject: [rt-users] Fulltext search with date ranges In-Reply-To: References: Message-ID: <503B9856.7050705@bestpractical.com> On 08/27/2012 06:24 AM, Jason Doran wrote: > Can RT do a fulltext search (/Search/Simple.html) with a date range? > > I suspect the answer is no, that this is not a supported field, but > thought I would ask anyway; something like: > > fulltext:coffee Created>-2 days ago and Created <= today You can access full text searching through the normal search builder too, just choose "Content" as your field, matches as the operator, and "coffee" as the value (which will produce: Content LIKE "coffee"). FTS is not limited to the simple search. From ruslan.zakirov at gmail.com Mon Aug 27 11:55:07 2012 From: ruslan.zakirov at gmail.com (Ruslan Zakirov) Date: Mon, 27 Aug 2012 19:55:07 +0400 Subject: [rt-users] External Custom Field query based an other Custom Field value In-Reply-To: References: Message-ID: Hi, At this moment it's impossible to do like you want it to do. External custom fields should return all possible values. You should configure one CF to be based on other in the UI and in your code for that CF return Category. Category should be a value of first CF. Hope you don't have thousands of machines. Ruslan from phone. 27.08.2012 16:31 ???????????? "DupondEt Dupont" ???????: > Hi, > > Anyone have an idea? > > JMC > > 2012/8/24 DupondEt Dupont > >> Hi all, >> >> i recently install lastest RT 4 release and start setting up external >> custom fields from an Oracle query. (as describe in >> docs/extending/external_custom_fields.pod) >> >> Everything work really fine, until i decided to use previously filled >> custom fied as argument in an other external custom field search. >> >> In this study case ;) , both custom fields are assigned to ticket. >> The first external CF (name Client) retrieve customer list and CF store >> the value I have select. >> The second external CF (name Machine) should retrieve hostname for the >> customer select in CF Client... >> >> Here is the piece of PERL code for CF Machine >> (/opt/rt4/lib/RT/CustomFieldValues/Test2.pm) >> >> ----------------------------------------------------------------------------- >> package RT::CustomFieldValues::Test2; >> >> use strict; >> use warnings; >> use DBI; >> use DBD::Oracle; >> use base qw(RT::CustomFieldValues::External); >> >> sub SourceDescription { >> return 'test2'; >> } >> >> sub ExternalValues { >> my $self = shift; >> # the previsous custom field name >> my $CFName = 'Client'; >> # should store the name of my customer... >> my $CFClient = $self->TicketObj->FirstCustomFieldValue($CFName); >> my $i = 0; >> my @res; >> my $Hostname >> my $dbh = >> DBI->connect("dbi:Oracle:host=XXX.XXX.XXX.XXX;sid=XX;port=XXXX","XXXX","XXXX", >> {ora_session_mode => 0, PrintError =>0}); >> my $req = "SELECT distinct HOSTNAME FROM my_table where >> CLIENT='$CFClient'"; >> my $hreq = $dbh->prepare($req); >> $hreq->execute();; >> $hreq->bind_columns(\$Hostname); >> while ($hreq->fetch()){ >> push @res, { >> name => $Hostname, >> description => $Hostname, >> sortorder => $i++, >> }; >> } >> return \@res; >> } >> >> ----------------------------------------------------------------------------- >> >> I used $self->TicketObj->FirstCustomFieldValue($CFName) but it's not know >> in this context apparently as Data::Dumper shows me...(but >> $self->CurrentUser is) >> >> I hope you'll have a solution to deal with this, cause i got no more >> ideas. >> >> Thank you in advance for your time. >> >> JMC >> > -------------- next part -------------- An HTML attachment was scrubbed... URL: From ruz at bestpractical.com Mon Aug 27 11:57:54 2012 From: ruz at bestpractical.com (Ruslan Zakirov) Date: Mon, 27 Aug 2012 19:57:54 +0400 Subject: [rt-users] status change when reply on resolved ticket In-Reply-To: <1346064395.64078.YahooMailNeo@web133206.mail.ir2.yahoo.com> References: <1346064395.64078.YahooMailNeo@web133206.mail.ir2.yahoo.com> Message-ID: On Mon, Aug 27, 2012 at 2:46 PM, Asanka Gunasekera wrote: > Hi, I just ran in to a vired thing. when I reply on a ticker which is been > marked as resolved the status changes back to "open" any help to stop this > behavior. It's auto open scrip kicks in. In 3.8 and recent 4.0.x releases (earlier 4.0 releases lost this functionality) allow you to pick status in the UI on reply to avoid the change. You can disable the scrip, but this means that tickets are not re-opened when requestors reply. > Thanks and regards > -- Best regards, Ruslan. From falcone at bestpractical.com Mon Aug 27 12:13:08 2012 From: falcone at bestpractical.com (Kevin Falcone) Date: Mon, 27 Aug 2012 12:13:08 -0400 Subject: [rt-users] sending mail from scrip action In-Reply-To: References: Message-ID: <20120827161308.GD1045@jibsheet.com> On Sat, Aug 25, 2012 at 03:59:12PM +0200, Gergely Buday wrote: > I would like to send e-mails from the scrip preparation code. I use First thing - Don't send mail or make changes from the Preparation stage of a scrip, do it from the commit. You also don't say what you're trying to do, but trying to invoke SendEmail from a UserDefined scrip action probably isn't going to work quite right. Are you trying to change @ISA from inside the boxes in the Admin UI? If you actually need to subclass SendEmail (like Notify does) you almost certainly need to write code on the filesystem and load it in. If you tell the list what you're trying to do, someone might be able to point you to a simpler solution. -kevin > require RT::Action::SendEmail; > use strict; > use vars qw/@ISA/; > @ISA = qw(RT::Action::SendEmail); > > and would like to set > > $self->SetTemplate(25); > > but against my expectation $self is not the scrip object but > Action::UserDefined which does not allow setting the template. At the > end I would send the mail by > > @{ $self->{'To'} } = $followerEmail; > $self->SUPER::Prepare(); > $self->SUPER::Commit(); > > If I do not set the template, then the ::Prepare call does not work, > lacking the TemplateObj. > > How could I do this properly? > > - Gergely -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 195 bytes Desc: not available URL: From falcone at bestpractical.com Mon Aug 27 12:13:55 2012 From: falcone at bestpractical.com (Kevin Falcone) Date: Mon, 27 Aug 2012 12:13:55 -0400 Subject: [rt-users] show update stat of a ticket In-Reply-To: <1346053283.15741.YahooMailNeo@web133202.mail.ir2.yahoo.com> References: <1345803857.4837.YahooMailNeo@web133206.mail.ir2.yahoo.com> <1346053283.15741.YahooMailNeo@web133202.mail.ir2.yahoo.com> Message-ID: <20120827161355.GE1045@jibsheet.com> On Mon, Aug 27, 2012 at 08:41:23AM +0100, Asanka Gunasekera wrote: > Hi, is this even possible I replied to your mail on the mailing list on Friday. -kevin > ---------------------------------------------------------------------------------------------- > > From: Asanka Gunasekera > To: "rt-users at lists.bestpractical.com" > Sent: Friday, 24 August 2012, 15:54 > Subject: [rt-users] show update stat of a ticket > Hi, is there a way to display a column under "[1]10 highest priority tickets I own" which will > show the ticket response status like "waiting for customer or in progress or reviewing" > something like that. > Thanks and best regards > > References > > Visible links > 1. https://192.168.11.39/Search/Results.html?Format=%27%3Ca%20href%3D%22%2FTicket%2FDisplay.html%3Fid%3D__id__%22%3E__id__%3C%2Fa%3E%2FTITLE%3A%23%27%2C%0A%27%3Ca%20href%3D%22%2FTicket%2FDisplay.html%3Fid%3D__id__%22%3E__Subject__%3C%2Fa%3E%2FTITLE%3ASubject%27%2C%0A%27__Priority__%27%2C%0A%27__ExtendedStatus__%27&Order=DESC%7CASC%7CASC%7CASC&OrderBy=Priority&Query=%20Owner%20%3D%20%27__CurrentUser__%27%20AND%20%28%20Status%20%3D%20%27new%27%20OR%20Status%20%3D%20%27open%27%29&RowsPerPage=50 -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 195 bytes Desc: not available URL: From Bert.Hayes at tea.state.tx.us Mon Aug 27 12:47:27 2012 From: Bert.Hayes at tea.state.tx.us (Hayes, Bert) Date: Mon, 27 Aug 2012 11:47:27 -0500 Subject: [rt-users] How To Assign IP to Incident Report From Subject Line? Message-ID: <748343794E05734F9D9E9BBF2CA6D21420B63C5B@LYNDON.tea.state.tx.us> Howdy, List. I'm running RTIR 3.0.0rc1; I'm super-new to RT but super-experienced with incident handling and hacking on Perl. I have an automated process that emails RTIR various alerts on various systems; each email is for a single system and its IP address is included in the subject of the alert. When I take the ticket, this creates an incident report. I already have a field in the incident report for the IP address, but I'd like that field to automatically be populated with the IP address that's listed in the subject line. This has probably been covered before; my Google-Fu is sharp, but my understanding of RT is still dull. Thanks. -Bert -- Bert Hayes, GSEC, GCIH, GCFA, GWAPT Information Technology Security Analyst II Texas Education Agency bert.hayes at tea.state.tx.us From asanka_gunasekera at yahoo.co.uk Mon Aug 27 13:03:17 2012 From: asanka_gunasekera at yahoo.co.uk (Asanka Gunasekera) Date: Mon, 27 Aug 2012 18:03:17 +0100 (BST) Subject: [rt-users] status change when reply on resolved ticket In-Reply-To: References: <1346064395.64078.YahooMailNeo@web133206.mail.ir2.yahoo.com> Message-ID: <1346086997.23611.YahooMailNeo@web133204.mail.ir2.yahoo.com> Thanks Ruslan ________________________________ From: Ruslan Zakirov To: Asanka Gunasekera Cc: "rt-users at lists.bestpractical.com" Sent: Monday, 27 August 2012, 21:27 Subject: Re: [rt-users] status change when reply on resolved ticket On Mon, Aug 27, 2012 at 2:46 PM, Asanka Gunasekera wrote: > Hi, I just ran in to a vired thing. when I reply on a ticker which is been > marked as resolved the status changes back to "open" any help to stop this > behavior. It's auto open scrip kicks in. In 3.8 and recent 4.0.x releases (earlier 4.0 releases lost this functionality) allow you to pick status in the UI on reply to avoid the change. You can disable the scrip, but this means that tickets are not re-opened when requestors reply. > Thanks and regards > -- Best regards, Ruslan. -------------- next part -------------- An HTML attachment was scrubbed... URL: From asanka_gunasekera at yahoo.co.uk Mon Aug 27 13:12:20 2012 From: asanka_gunasekera at yahoo.co.uk (Asanka Gunasekera) Date: Mon, 27 Aug 2012 18:12:20 +0100 (BST) Subject: [rt-users] status change when reply on resolved ticket In-Reply-To: <1346086997.23611.YahooMailNeo@web133204.mail.ir2.yahoo.com> References: <1346064395.64078.YahooMailNeo@web133206.mail.ir2.yahoo.com> <1346086997.23611.YahooMailNeo@web133204.mail.ir2.yahoo.com> Message-ID: <1346087540.64561.YahooMailNeo@web133202.mail.ir2.yahoo.com> Hi Ruslan but what if a customer replies to an resolved ticket just to confirm that the work was competed to his/her satisfaction, how can I handle such a scenario. I dont want this reopened but add the customer reply as it is Thanks and Regards ________________________________ From: Asanka Gunasekera To: Ruslan Zakirov Cc: "rt-users at lists.bestpractical.com" Sent: Monday, 27 August 2012, 22:33 Subject: Re: [rt-users] status change when reply on resolved ticket Thanks Ruslan ________________________________ From: Ruslan Zakirov To: Asanka Gunasekera Cc: "rt-users at lists.bestpractical.com" Sent: Monday, 27 August 2012, 21:27 Subject: Re: [rt-users] status change when reply on resolved ticket On Mon, Aug 27, 2012 at 2:46 PM, Asanka Gunasekera wrote: > Hi, I just ran in to a vired thing. when I reply on a ticker which is been > marked as resolved the status changes back to "open" any help to stop this > behavior. It's auto open scrip kicks in. In 3.8 and recent 4.0.x releases (earlier 4.0 releases lost this functionality) allow you to pick status in the UI on reply to avoid the change. You can disable the scrip, but this means that tickets are not re-opened when requestors reply. > Thanks and regards > -- Best regards, Ruslan. -------------- next part -------------- An HTML attachment was scrubbed... URL: From falcone at bestpractical.com Mon Aug 27 12:41:05 2012 From: falcone at bestpractical.com (Kevin Falcone) Date: Mon, 27 Aug 2012 12:41:05 -0400 Subject: [rt-users] [rt-announce] RT 3.8.14 Released Message-ID: <20120827164105.GB62155@jibsheet.com> I'm happy to announce that RT 3.8.14 is now available. http://download.bestpractical.com/pub/rt/release/rt-3.8.14.tar.gz http://download.bestpractical.com/pub/rt/release/rt-3.8.14.tar.gz.sig SHA1 sums 0ea5e7598e9bf75156629f6358192b6f62035f8a rt-3.8.14.tar.gz 49d1cf9e280edd23e9c467c80adc48922eb959fb rt-3.8.14.tar.gz.sig This release contains two fixes related to the 3.8.12 security release. Access to search results URLs is now CSRF whitelisted, based on user feedback. An error in rt-email-dashboards has been corrected. A complete changelog is available from git by running: git log rt-3.8.13..rt-3.8.14 or on github with https://github.com/bestpractical/rt/compare/rt-3.8.13...rt-3.8.14 -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 195 bytes Desc: not available URL: -------------- next part -------------- _______________________________________________ rt-announce mailing list rt-announce at lists.bestpractical.com http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-announce From falcone at bestpractical.com Mon Aug 27 13:21:03 2012 From: falcone at bestpractical.com (Kevin Falcone) Date: Mon, 27 Aug 2012 13:21:03 -0400 Subject: [rt-users] How To Assign IP to Incident Report From Subject Line? In-Reply-To: <748343794E05734F9D9E9BBF2CA6D21420B63C5B@LYNDON.tea.state.tx.us> References: <748343794E05734F9D9E9BBF2CA6D21420B63C5B@LYNDON.tea.state.tx.us> Message-ID: <20120827172103.GF1045@jibsheet.com> On Mon, Aug 27, 2012 at 11:47:27AM -0500, Hayes, Bert wrote: > Howdy, List. I'm running RTIR 3.0.0rc1; I'm super-new to RT but > super-experienced with incident handling and hacking on Perl. > > I have an automated process that emails RTIR various alerts on various > systems; each email is for a single system and its IP address is > included in the subject of the alert. When I take the ticket, this > creates an incident report. I already have a field in the incident > report for the IP address, but I'd like that field to automatically be > populated with the IP address that's listed in the subject line. > > This has probably been covered before; my Google-Fu is sharp, but my > understanding of RT is still dull. Since RTIR already searches the content of the email for IP addresses (and automatically stores them in the IP Custom Field) I'd probably make a local modification to lib/RT/Action/RTIR_FindIP.pm in my local/ directory to look in Content and Subject. That particular Action module could be refactored to make looking in multiple places easier. -kevin -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 195 bytes Desc: not available URL: From falcone at bestpractical.com Mon Aug 27 13:41:06 2012 From: falcone at bestpractical.com (Kevin Falcone) Date: Mon, 27 Aug 2012 13:41:06 -0400 Subject: [rt-users] [rt-announce] RT 4.0.7 Released Message-ID: <20120827174106.GC62155@jibsheet.com> I'm happy to announce that RT 4.0.7 is now available. http://download.bestpractical.com/pub/rt/release/rt-4.0.7.tar.gz http://download.bestpractical.com/pub/rt/release/rt-4.0.7.tar.gz.sig SHA1 sums 4c6ba7c3311e0fc42bb99434e91d03318c24186f rt-4.0.7.tar.gz e162aa17cacecc714ec744545c52c4ac7238c816 rt-4.0.7.tar.gz.sig This release contains a number of bugfixes since the 4.0.6 release. In particular, we have adjusted the CSRF warning for a few pages based on user feedback. This release bumps dependencies on Email::Address, FCGI and IPC::Run so please make sure to run 'make testdeps' and if required 'make fixdeps' before upgrading. Running 'make upgrade' will also check your installed versions for errors. Security * Bump the FCGI dependency to one which closes CVE-2011-2766 The 4.0 series did not specify a minimum FCGI version and it's possible that a vulnerable release of the perl FCGI module was installed when you set up an earlier release of 4.0.x Features * Allow specification of your CSRF Whitelist Referrer using *.example.com * Allow searching for tickets associated with articles using a:42 * Upgrade our Date/Time picker JS, allow unsetting of CFs * Improve display of circularly linked tickets * Optimize the large table changes between 3.2 and 3.4 for MySQL * Provide a better error if your CreateTickets template is malformed * Add the ExtractTicketId function to make customizing ticket id matching easier Bugfixes * Don't trust emails that claim to be UTF-8, convert it to UTF-8 before storing * Fix a shredder bug when deleting a user and replacing it with another user * Remove CSRF restrictions on search results page * Ensure that TransactionBatch scrips always run in the RT::System context rather than having some sub-objects in the original user's context. * Better display of multipart/related mail * Remove some warnings when running under Perl 5.16 * Better errors when viewing approvals without rights * Bring back rounded corners on FireFox >= 13 by using the standard border-radius property * $Users->LimitCustomField now ignores disabled ObjectCustomFieldValues properly (same for other non-ticket objects). * Versions of IPC::Run < 0.90 could truncate labels on charts that contain UTF-8 characters * Fix a rendering issue where certain emails would cause the history to render progressively more staggered to the right * Make owner:falcone and owner:falcone at example.com work * CF.{Foo} TicketSQL searches are now case insensitive on Pg and Oracle * Tickets with Unicode subjects created through the Web UI could end up being corrupted on reply because of other headers passed to MIME::Head * Ignore DECRYPTION_INFO from GnuPG 1.4.12 * Record LastUpdated(By) on Scrips * Simple Search now handles Custom Fields with dashes * Remove another hardcoded use of 'resolved' in the mailgate unsafe actions * When deleting dashboards, also delete subscriptions * Fix rendering of links from bin/rt * Don't allow ticket creation if your REST form contains an unknown field * Skip users with empty email addresses in autocompletion * Loosen our detection of mobile browser to search for the word 'mobile' * Don't provide a charset on download of binary attachments * Fix UseSideBySideLayout to not be cached across users * Ensure that article searches are case insensitive * QueueSummaryByStatus now uses the improved code from QueueSummaryByLifecylcle A complete changelog is available from git by running `git log rt-4.0.6..rt-4.0.7` or visiting https://github.com/bestpractical/rt/compare/rt-4.0.6...rt-4.0.7 although they will not load all of the commits. -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 195 bytes Desc: not available URL: -------------- next part -------------- _______________________________________________ rt-announce mailing list rt-announce at lists.bestpractical.com http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-announce From davidtg at u.washington.edu Mon Aug 27 15:37:45 2012 From: davidtg at u.washington.edu (David T. Grayston) Date: Mon, 27 Aug 2012 19:37:45 +0000 Subject: [rt-users] Extra requestor being added In-Reply-To: <503806C8.4080203@bestpractical.com> References: <07A5F0ABA6ABCE488CF01BB872138FEB382FF4@uwit-mbx07.exchange.washington.edu> <07A5F0ABA6ABCE488CF01BB872138FEB383076@uwit-mbx07.exchange.washington.edu> <503806C8.4080203@bestpractical.com> Message-ID: <07A5F0ABA6ABCE488CF01BB872138FEB383AF6@uwit-mbx07.exchange.washington.edu> Thanks for the advice Thomas - wish I'd known about those utilities before but still learning about RT and I get a bit ahead of myself. rt-validator -c definitely uncovered a number of orphaned Transaction records and others that needed to be removed. Much better than hunting around and using raw SQL. David ------------------------------------------------------------------ David T. Grayston?????Systems & Database Administrator University of Washington?? School of Public Health Office of the Dean > -----Original Message----- > From: rt-users-bounces at lists.bestpractical.com [mailto:rt-users- > bounces at lists.bestpractical.com] On Behalf Of Thomas Sibley > Sent: Friday, August 24, 2012 3:57 PM > To: rt-users at lists.bestpractical.com > Subject: Re: [rt-users] Extra requestor being added > > On 08/24/2012 03:39 PM, David T. Grayston wrote: > > Just following up to add that I?ve fixed this issue ? definitely > > self-inflicted by previously editing the database directly . Prior to > > officially deploying for use I?d wanted to keep all of the queues, > > users, scrips, and templates that had been setup but wanted to remove > > all of the testing tickets and re-set the ticket count to #1. I missed > > fully purging the Groups table entries that make associations between > > ticket and the different roles/groups that are part of the ticket. > > Removing the remaining orphaned entries (for ticket numbers not-yet > > created) seems to have cured this issue. > > You'll probably want to run rt-validator now to see what other cruft is > hanging around the database. > > For future reference, rt-shredder is what you should be using to delete data > from the database, not SQL. From falcone at bestpractical.com Mon Aug 27 16:29:23 2012 From: falcone at bestpractical.com (Kevin Falcone) Date: Mon, 27 Aug 2012 16:29:23 -0400 Subject: [rt-users] Logging and timestamp In-Reply-To: References: Message-ID: <20120827202923.GG1045@jibsheet.com> On Mon, Aug 27, 2012 at 02:23:02PM +0530, Shrivallabh Deshmukh wrote: > it looks like the RT logs are all in GMT. > Now, within apache's access and error logs. apache logs using my system timezone which is EDT. > It gets interleaved with RT logs which are GMT. > This is confusing. > I have already seen this. > [1]http://old.nabble.com/RT-log-has-wrong-timezone-td14893147.html > Anybody who has solved this problem in better manner than changing code? > Is there a better solution in 4.x RT does everything internally in GMT, including log. If you don't want that, have RT log to syslog. -kevin -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 195 bytes Desc: not available URL: From duncan at ecs.vuw.ac.nz Mon Aug 27 18:04:24 2012 From: duncan at ecs.vuw.ac.nz (Duncan McEwan) Date: Tue, 28 Aug 2012 10:04:24 +1200 Subject: [rt-users] status change when reply on resolved ticket In-Reply-To: <1346087540.64561.YahooMailNeo@web133202.mail.ir2.yahoo.com> References: <1346064395.64078.YahooMailNeo@web133206.mail.ir2.yahoo.com> <1346086997.23611.YahooMailNeo@web133204.mail.ir2.yahoo.com> <1346087540.64561.YahooMailNeo@web133202.mail.ir2.yahoo.com> Message-ID: <201208272204.q7RM4OEW009801@shed11.ecs.vuw.ac.nz> Asanka, > but what if a customer replies to an resolved ticket just to confirm that > the work was competed to his/her satisfaction, how can I handle such a > scenario. I dont want this reopened but add the customer reply as it is You can't have it both ways. Either you disable the auto open scrip in which case you potentially miss a customer responding to a resolved ticket to say the problem is not fixed. Or you leave the scrip enabled in which case you may have to manually re-resolve tickets that are reopened due to "Thank-you" emails. We do that latter and find it not that big a deal for our ticket volumes. Your situation may well be different. I suppose you could try writing your own auto open scrip that searched through the body of a reply to try to figure out whether it looked like it was just saying "thank you". Maybe someone has already put something like this on the wiki. If not, good luck getting something that works reliably...! The other suggestion that has been made on the list from time to time is to have an "On resolve" scrip with a template that includes text along the lines of "There is no need to reply to this message to thank us if this issue is now resolved as that will just reopen this closed ticket". But you'll still get some users doing it anyway... Duncan From ruz at bestpractical.com Mon Aug 27 19:56:21 2012 From: ruz at bestpractical.com (Ruslan Zakirov) Date: Tue, 28 Aug 2012 03:56:21 +0400 Subject: [rt-users] [SLA Extension] Can I 'parked' stalled tickets? In-Reply-To: <81A2F9BBDD09884AB1585083CBDEC37553849F34@000S-EX-MBX-QS2.unimelb.edu.au> References: <81A2F9BBDD09884AB1585083CBDEC37553849F34@000S-EX-MBX-QS2.unimelb.edu.au> Message-ID: Hi, On Mon, Aug 27, 2012 at 1:50 AM, Dave Fitches wrote: > Morning Alberto, > > > I DID find that article previously, but I have to say (embarrassingly) that I couldn't work it out (Seems I'm a tad thick with some things) and the last reply by Ruslan lead me to believe he'd incorporated it into 0.06 - but that appears to be just the priority hold, not the re-calculate due date part. Which article? Have you seen the following option: http://search.cpan.org/~tsibley/RT-Extension-SLA-0.07/lib/RT/Extension/SLA.pm#IgnoreOnStatuses_(array,_no_default) > > You say to use two conditions "on stall"/"on un-stall"- but I'm having trouble working out how to create the "on stalled"/"on un-stall" conditions. > > I found this: http://requesttracker.wikia.com/wiki/OnStatusChange > > It looks like a MySQL command... and it should give me the "On Stall" condition, but I'm unsure how to get the UN-stall condition with the same method... > > > I'm fairly certain the code for Action1 and Action2 go in as User Defined Actions into the "Custom action cleanup code" area, yes? > > > So in the end - once I figure out how to create the two custom conditions, I then create two Scrips: > > Scrip1: > Name: [SLA] Parking ticket > Condition: On Stall > User Defined Action - > > Scrip2: > Name: [SLA] Unparking Ticket > Condition: On Un-Stall > User Defined Action - > > > These SHOULD then do the job of punching out the due date by the period of time the ticket was stalled - yes? > > > Thanks in advance for all the assistance! > > -- > = Dave Fitches = > > ________________________________________________________ > .,--__|\.. David Fitches - Security Software Admin > / |. University of Melbourne - Access Control > \_,--__/.. * Ph/Mob : +61-3-8344-9232 / +61-411-811-525 > ......v... * E-mail : dfitches at unimelb.edu.au > .......... University of Melbourne, Victoria, Australia > _______________________________________________________ > -- Best regards, Ruslan. From ruz at bestpractical.com Mon Aug 27 20:19:43 2012 From: ruz at bestpractical.com (Ruslan Zakirov) Date: Tue, 28 Aug 2012 04:19:43 +0400 Subject: [rt-users] [SLA Extension] Can I 'parked' stalled tickets? In-Reply-To: <20120824151235.GC1045@jibsheet.com> References: <81A2F9BBDD09884AB1585083CBDEC3755384820A@000S-EX-MBX-QS2.unimelb.edu.au> <20120824151235.GC1045@jibsheet.com> Message-ID: On Fri, Aug 24, 2012 at 7:12 PM, Kevin Falcone wrote: > On Fri, Aug 24, 2012 at 04:39:47AM +0000, Dave Fitches wrote: >> However when the job is changed from stalled back to open, it doesn't punch the Due Date out >> according to the time it was stalled. So - a job is due 5 days after it's created. If we stall >> the job after 4 hours, the priority will freeze at 10. If we change the job back to "open" 2 >> days later, the due date remains unchanged and the job will still be due in another 2.5 days. >> Next time the LinearEscalate cron job runs, the Priority jumps right up to 50. >> >> What we WANT it to do, is - when we un-stall the job 2 days later, we want RT to automatically >> extend the Due Date by the same amount of time it was stalled - in this case, 2 days. > > Unfortunately, you're likely going to need some customizations there, > the doc for IgnoreOnStatuses has the following note about > recalculating Due: > > NOTE: When a ticket goes from an ignored status to a normal status, the > new Due date is calculated from the last action (reply, SLA change, etc) > which fits the SLA type (Response, Starts, KeepInLoop, etc). This means > if a ticket in the above example flips from stalled to open without a > reply, the ticket will probably be overdue. In most cases this shouldn't > be a problem since moving out of stalled-like statuses is often the > result of RT's auto-open on reply scrip, therefore ensuring there's a > new reply to calculate Due from. The overall effect is that ignored > statuses don't let the Due date drift arbitrarily, which could wreak > havoc on your SLA performance. > > This is a new feature in 0.06, and patches to extend the behavior would > probably be interesting to my colleagues who worked on the feature. > Ignore my other reply with questions. That message felt out the thread in my MUA. As Kevin mentioned IgnoreOnStatuses designed this way on purpose. This option is more suitable for Reply and KeepInLoop deadlines. Instead of changing how above option works I would prefer to see a new option special for Resolve deadline that moves Due date when ticket is "parked/unparked". I can not say I'm going to implement it soon. Patches are welcome. > -kevin -- Best regards, Ruslan. From misteritguru at gmx.com Mon Aug 27 20:27:27 2012 From: misteritguru at gmx.com (Mr IT Guru) Date: Tue, 28 Aug 2012 01:27:27 +0100 Subject: [rt-users] Installing RT via Puppet Message-ID: Good Morning All, I don't want to reinvent the wheel, so I though tI'd ask here first. Has anyone here installed RT via Puppet? For those that don't know, Puppet, is a pretty awesome state management tool. Google is your friend, you can do the rest. For those that do, would you mind sharing your code? Or if there isn't any code, would you guys like to join me writing some? That way I can spend 5 minutes installing new boxes instead of looking up my notes, etc. Anyone interested? Thanks, -- Mr Guru From asanka_gunasekera at yahoo.co.uk Tue Aug 28 00:43:40 2012 From: asanka_gunasekera at yahoo.co.uk (Asanka Gunasekera) Date: Tue, 28 Aug 2012 05:43:40 +0100 (BST) Subject: [rt-users] status change when reply on resolved ticket In-Reply-To: <201208272204.q7RM4OEW009801@shed11.ecs.vuw.ac.nz> References: <1346064395.64078.YahooMailNeo@web133206.mail.ir2.yahoo.com> <1346086997.23611.YahooMailNeo@web133204.mail.ir2.yahoo.com> <1346087540.64561.YahooMailNeo@web133202.mail.ir2.yahoo.com> <201208272204.q7RM4OEW009801@shed11.ecs.vuw.ac.nz> Message-ID: <1346129020.53738.YahooMailNeo@web133202.mail.ir2.yahoo.com> Thanks you Dancan and best regards ________________________________ From: Duncan McEwan To: Asanka Gunasekera Cc: rt-users at lists.bestpractical.com Sent: Tuesday, 28 August 2012, 3:34 Subject: Re: [rt-users] status change when reply on resolved ticket Asanka, > but what if a customer replies to an resolved ticket just to confirm that > the work was competed to his/her satisfaction, how can I handle such a > scenario. I dont want this reopened but add the customer reply as it is You can't have it both ways.? Either you disable the auto open scrip in which case you potentially miss a customer responding to a resolved ticket to say the problem is not fixed.? Or you leave the scrip enabled in which case you may have to manually re-resolve tickets that are reopened due to "Thank-you" emails. We do that latter and find it not that big a deal for our ticket volumes.? Your situation may well be different. I suppose you could try writing your own auto open scrip that searched through the body of a reply to try to figure out whether it looked like it was just saying "thank you".? Maybe someone has already put something like this on the wiki.? If not, good luck getting something that works reliably...! The other suggestion that has been made on the list from time to time is to have an "On resolve" scrip with a template that includes text along the lines of "There is no need to reply to this message to thank us if this issue is now resolved as that will just reopen this closed ticket". But you'll still get some users doing it anyway... Duncan -------------- next part -------------- An HTML attachment was scrubbed... URL: From david.fitches at unimelb.edu.au Tue Aug 28 00:40:01 2012 From: david.fitches at unimelb.edu.au (Dave Fitches) Date: Tue, 28 Aug 2012 04:40:01 +0000 Subject: [rt-users] [SLA Extension] Can I 'parked' stalled tickets? In-Reply-To: References: <81A2F9BBDD09884AB1585083CBDEC37553849F34@000S-EX-MBX-QS2.unimelb.edu.au> Message-ID: <81A2F9BBDD09884AB1585083CBDEC3755384B13D@000S-EX-MBX-QS2.unimelb.edu.au> Hi Ruslan, 0.07 is the version I'm running. Does it need any modification to punch out expiry dates when un-stalled? Presently when I un-stall a job, it's not doing it... hence why I was looking at Alberto's solution... I just need to try and work out how to implement it! -- ????= Dave Fitches = ________________________________________________________ .,--__|\..?David Fitches - Security Software Admin /?????? |.?University of Melbourne - Access Control \_,--__/..?* Ph/Mob : +61-3-8344-9232 / +61-411-811-525 ......v...?* E-mail : dfitches at unimelb.edu.au? ..........?University of Melbourne, Victoria, Australia _______________________________________________________ Please Note: Unless this e-mail has been sent as PRIVATE, PERSONAL or CONFIDENTIAL, the receiver may forward copies of it on the condition that they send an advisory message to the original sender. If however the message has been marked PRIVATE, PERSONAL or CONFIDENTIAL prior consent MUST be obtained before the message can be forwarded. -----Original Message----- From: ruslan.zakirov at gmail.com [mailto:ruslan.zakirov at gmail.com] On Behalf Of Ruslan Zakirov Sent: Tuesday, 28 August 2012 09:56 To: Dave Fitches Cc: rt-users at lists.bestpractical.com Subject: Re: [rt-users] [SLA Extension] Can I 'parked' stalled tickets? Hi, On Mon, Aug 27, 2012 at 1:50 AM, Dave Fitches wrote: > Morning Alberto, > > > I DID find that article previously, but I have to say (embarrassingly) that I couldn't work it out (Seems I'm a tad thick with some things) and the last reply by Ruslan lead me to believe he'd incorporated it into 0.06 - but that appears to be just the priority hold, not the re-calculate due date part. Which article? Have you seen the following option: http://search.cpan.org/~tsibley/RT-Extension-SLA-0.07/lib/RT/Extension/SLA.pm#IgnoreOnStatuses_(array,_no_default) > > You say to use two conditions "on stall"/"on un-stall"- but I'm having trouble working out how to create the "on stalled"/"on un-stall" conditions. > > I found this: http://requesttracker.wikia.com/wiki/OnStatusChange > > It looks like a MySQL command... and it should give me the "On Stall" condition, but I'm unsure how to get the UN-stall condition with the same method... > > > I'm fairly certain the code for Action1 and Action2 go in as User Defined Actions into the "Custom action cleanup code" area, yes? > > > So in the end - once I figure out how to create the two custom conditions, I then create two Scrips: > > Scrip1: > Name: [SLA] Parking ticket > Condition: On Stall > User Defined Action - > > Scrip2: > Name: [SLA] Unparking Ticket > Condition: On Un-Stall > User Defined Action - > > > These SHOULD then do the job of punching out the due date by the period of time the ticket was stalled - yes? > > > Thanks in advance for all the assistance! > > -- > = Dave Fitches = > > ________________________________________________________ > .,--__|\.. David Fitches - Security Software Admin > / |. University of Melbourne - Access Control > \_,--__/.. * Ph/Mob : +61-3-8344-9232 / +61-411-811-525 > ......v... * E-mail : dfitches at unimelb.edu.au > .......... University of Melbourne, Victoria, Australia > _______________________________________________________ > -- Best regards, Ruslan. From tjrc at sanger.ac.uk Tue Aug 28 03:04:54 2012 From: tjrc at sanger.ac.uk (Tim Cutts) Date: Tue, 28 Aug 2012 08:04:54 +0100 Subject: [rt-users] status change when reply on resolved ticket In-Reply-To: <201208272204.q7RM4OEW009801@shed11.ecs.vuw.ac.nz> References: <1346064395.64078.YahooMailNeo@web133206.mail.ir2.yahoo.com> <1346086997.23611.YahooMailNeo@web133204.mail.ir2.yahoo.com> <1346087540.64561.YahooMailNeo@web133202.mail.ir2.yahoo.com> <201208272204.q7RM4OEW009801@shed11.ecs.vuw.ac.nz> Message-ID: <8C9B058C-CAAC-4E33-82F2-31213CF5AA2E@sanger.ac.uk> On 27 Aug 2012, at 23:04, Duncan McEwan wrote: > You can't have it both ways. Either you disable the auto open scrip in > which case you potentially miss a customer responding to a resolved ticket > to say the problem is not fixed. Or you leave the scrip enabled in which > case you may have to manually re-resolve tickets that are reopened due to > "Thank-you" emails. > > We do that latter and find it not that big a deal for our ticket volumes. > Your situation may well be different. > > I suppose you could try writing your own auto open scrip that searched > through the body of a reply to try to figure out whether it looked like it > was just saying "thank you". Maybe someone has already put something like > this on the wiki. If not, good luck getting something that works reliably...! > > The other suggestion that has been made on the list from time to time is > to have an "On resolve" scrip with a template that includes text along > the lines of "There is no need to reply to this message to thank us if > this issue is now resolved as that will just reopen this closed ticket". > But you'll still get some users doing it anyway... That's what we do too. The problem is that it tends to mess with ticket resolution times, and that upsets the various managers who rely on dubious statistics like mean time to resolution for KPIs. It's not such a problem for the "thank you" emails, more for the breed of user who each time they have a problem think "who helped me last time?", look through their email, and reply to any old email that appears to have come from that person. They often re-open tickets which are months or years old. I'm considering writing a scrip which checks how long ago the ticket was resolved, and if it's longer than a certain threshold, leaves it closed and automatically creates a child ticket with the new transaction in it. I think there are bits and pieces to do this in the wiki already, (ForkIntoNewTicket or something) but I haven't pieced all of it together yet. 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 tjrc at sanger.ac.uk Tue Aug 28 03:07:17 2012 From: tjrc at sanger.ac.uk (Tim Cutts) Date: Tue, 28 Aug 2012 08:07:17 +0100 Subject: [rt-users] Installing RT via Puppet In-Reply-To: References: Message-ID: On 28 Aug 2012, at 01:27, Mr IT Guru wrote: > Good Morning All, > > I don't want to reinvent the wheel, so I though tI'd ask here first. Has anyone here installed RT via Puppet? > > For those that don't know, Puppet, is a pretty awesome state management tool. Google is your friend, you can do the rest. For those that do, would you mind sharing your code? Or if there isn't any code, would you guys like to join me writing some? > > That way I can spend 5 minutes installing new boxes instead of looking up my notes, etc. > > Anyone interested? Surely it's just a matter of having the puppet manifest install an appropriate RT_SiteConfig.pm, and any local customisations hierarchy? Assuming you're just talking about configuring the web front end, that is. Having it automatically set up the database as well probably isn't something I'd do. We use cfengine here rather than puppet, but I don't configure RT with it. My RT runs in a virtual machine, and if I want new copies of it for testing or whatever, I just clone the VM. 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 ruz at bestpractical.com Tue Aug 28 08:10:01 2012 From: ruz at bestpractical.com (Ruslan Zakirov) Date: Tue, 28 Aug 2012 16:10:01 +0400 Subject: [rt-users] [SLA Extension] Can I 'parked' stalled tickets? In-Reply-To: <81A2F9BBDD09884AB1585083CBDEC3755384B13D@000S-EX-MBX-QS2.unimelb.edu.au> References: <81A2F9BBDD09884AB1585083CBDEC37553849F34@000S-EX-MBX-QS2.unimelb.edu.au> <81A2F9BBDD09884AB1585083CBDEC3755384B13D@000S-EX-MBX-QS2.unimelb.edu.au> Message-ID: On Tue, Aug 28, 2012 at 8:40 AM, Dave Fitches wrote: > Hi Ruslan, > > 0.07 is the version I'm running. > > Does it need any modification to punch out expiry dates when un-stalled? > > Presently when I un-stall a job, it's not doing it... hence why I was looking at Alberto's solution... I just need to try and work out how to implement it! Replied in different thread. > > -- > = Dave Fitches = > > ________________________________________________________ > .,--__|\.. David Fitches - Security Software Admin > / |. University of Melbourne - Access Control > \_,--__/.. * Ph/Mob : +61-3-8344-9232 / +61-411-811-525 > ......v... * E-mail : dfitches at unimelb.edu.au > .......... University of Melbourne, Victoria, Australia > _______________________________________________________ > Please Note: Unless this e-mail has been sent as PRIVATE, > PERSONAL or CONFIDENTIAL, the receiver may forward copies > of it on the condition that they send an advisory message > to the original sender. > If however the message has been marked PRIVATE, PERSONAL > or CONFIDENTIAL prior consent MUST be obtained before the > message can be forwarded. > > > -----Original Message----- > From: ruslan.zakirov at gmail.com [mailto:ruslan.zakirov at gmail.com] On Behalf Of Ruslan Zakirov > Sent: Tuesday, 28 August 2012 09:56 > To: Dave Fitches > Cc: rt-users at lists.bestpractical.com > Subject: Re: [rt-users] [SLA Extension] Can I 'parked' stalled tickets? > > Hi, > > On Mon, Aug 27, 2012 at 1:50 AM, Dave Fitches > wrote: >> Morning Alberto, >> >> >> I DID find that article previously, but I have to say > (embarrassingly) that I couldn't work it out (Seems I'm a tad thick > with some things) and the last reply by Ruslan lead me to believe he'd > incorporated it into 0.06 - but that appears to be just the priority > hold, not the re-calculate due date part. > > Which article? > > Have you seen the following option: > > http://search.cpan.org/~tsibley/RT-Extension-SLA-0.07/lib/RT/Extension/SLA.pm#IgnoreOnStatuses_(array,_no_default) > >> >> You say to use two conditions "on stall"/"on un-stall"- but I'm having trouble working out how to create the "on stalled"/"on un-stall" conditions. >> >> I found this: http://requesttracker.wikia.com/wiki/OnStatusChange >> >> It looks like a MySQL command... and it should give me the "On Stall" condition, but I'm unsure how to get the UN-stall condition with the same method... >> >> >> I'm fairly certain the code for Action1 and Action2 go in as User Defined Actions into the "Custom action cleanup code" area, yes? >> >> >> So in the end - once I figure out how to create the two custom conditions, I then create two Scrips: >> >> Scrip1: >> Name: [SLA] Parking ticket >> Condition: On Stall >> User Defined Action - >> >> Scrip2: >> Name: [SLA] Unparking Ticket >> Condition: On Un-Stall >> User Defined Action - >> >> >> These SHOULD then do the job of punching out the due date by the period of time the ticket was stalled - yes? >> >> >> Thanks in advance for all the assistance! >> >> -- >> = Dave Fitches = >> >> ________________________________________________________ >> .,--__|\.. David Fitches - Security Software Admin >> / |. University of Melbourne - Access Control >> \_,--__/.. * Ph/Mob : +61-3-8344-9232 / +61-411-811-525 >> ......v... * E-mail : dfitches at unimelb.edu.au >> .......... University of Melbourne, Victoria, Australia >> _______________________________________________________ >> > > > > -- > Best regards, Ruslan. > -- Best regards, Ruslan. From misteritguru at gmx.com Tue Aug 28 08:24:00 2012 From: misteritguru at gmx.com (Mr IT Guru) Date: Tue, 28 Aug 2012 13:24:00 +0100 Subject: [rt-users] Installing RT via Puppet In-Reply-To: <1346127787.6206.YahooMailNeo@web133204.mail.ir2.yahoo.com> References: <1346127787.6206.YahooMailNeo@web133204.mail.ir2.yahoo.com> Message-ID: <550748C8-8A28-4C00-A360-EB3A7A8250C3@gmx.com> On 28 Aug 2012, at 05:23, Asanka Gunasekera wrote: > Hi, hope you dont mind me asking is there a good reference to some one who is starting > > Thanks and Regards > I'm not 100% sure what you mean - do you mean starting to use Request Tracker, or starting to use Puppet?? Thanks -------------- next part -------------- An HTML attachment was scrubbed... URL: From misteritguru at gmx.com Tue Aug 28 08:30:29 2012 From: misteritguru at gmx.com (Mr IT Guru) Date: Tue, 28 Aug 2012 13:30:29 +0100 Subject: [rt-users] Installing RT via Puppet In-Reply-To: References: Message-ID: <7E91B0E4-F86D-4AD3-A9B7-6E184048F1B3@gmx.com> On 28 Aug 2012, at 08:07, Tim Cutts wrote: > > On 28 Aug 2012, at 01:27, Mr IT Guru wrote: > >> Good Morning All, >> >> I don't want to reinvent the wheel, so I though tI'd ask here first. Has anyone here installed RT via Puppet? >> >> For those that don't know, Puppet, is a pretty awesome state management tool. Google is your friend, you can do the rest. For those that do, would you mind sharing your code? Or if there isn't any code, would you guys like to join me writing some? >> >> That way I can spend 5 minutes installing new boxes instead of looking up my notes, etc. >> >> Anyone interested? > > Surely it's just a matter of having the puppet manifest install an appropriate RT_SiteConfig.pm, and any local customisations hierarchy? > > Assuming you're just talking about configuring the web front end, that is. Having it automatically set up the database as well probably isn't something I'd do. > > We use cfengine here rather than puppet, but I don't configure RT with it. My RT runs in a virtual machine, and if I want new copies of it for testing or whatever, I just clone the VM. > > Tim Good Afternoon Tim, Thanks for your reply. I want to configure everything - I would much rather it be a community effort, rather than just me one guy, and then I end up having to maintain it. I mean, I don't mind, it's just that I want the knowledge to be shared beyond one person. cfengine? Hmm? that word is blasphemy in the Puppet World! Everyone Else - Would anyone like to join me in creating a Puppet Module for installing Request Tracker? - I can be found on Google Plus, (misteritguru at gmail.com) From Darin.Perusich at ctg.com Tue Aug 28 08:23:37 2012 From: Darin.Perusich at ctg.com (Darin Perusich) Date: Tue, 28 Aug 2012 12:23:37 +0000 Subject: [rt-users] Installing RT via Puppet In-Reply-To: References: Message-ID: <503CB849.1090808@ctg.com> You'll need modules for the various components like apache, database, and finally request-tracker itself. Deployment will certainly be much easier if you're installing RT from packages rather than source since dependencies, user and group creation, are taken care of. I haven't written a module yet but it's on my very large todo list. There is a module on GitHub, https://github.com/lurdan/puppet-requesttracker, which is Debian specific and after a quick review of the init.pp it's incomplete, IMO. That might be a good starting point for you. On 08/27/2012 08:27 PM, Mr IT Guru wrote: > Good Morning All, > > I don't want to reinvent the wheel, so I though tI'd ask here first. > Has anyone here installed RT via Puppet? > > For those that don't know, Puppet, is a pretty awesome state > management tool. Google is your friend, you can do the rest. For > those that do, would you mind sharing your code? Or if there isn't > any code, would you guys like to join me writing some? > > That way I can spend 5 minutes installing new boxes instead of > looking up my notes, etc. > > Anyone interested? > > Thanks, > > -- Mr Guru > -- Darin Perusich Email: Darin.Perusich at ctg.com Office: 716-888-3690 The information transmitted is intended only for the person or entity to which it is addressed and may contain confidential and/or privileged material. Any review, retransmission, dissemination or other use of, or taking of any action in reliance upon, this information by persons or entities other than the intended recipient is prohibited. If you are not the intended recipient of this message, please contact the sender and delete this material from this computer. From misteritguru at gmx.com Tue Aug 28 08:41:54 2012 From: misteritguru at gmx.com (Mr IT Guru) Date: Tue, 28 Aug 2012 13:41:54 +0100 Subject: [rt-users] Installing RT via Puppet In-Reply-To: <503CB849.1090808@ctg.com> References: <503CB849.1090808@ctg.com> Message-ID: Thanks Darin!!! It's been on my massive todo list for over a year! - I have to start ticking boxes, and getting things done! I will take a look at the link you provided me. I use Google Plus (misteritguru at gmail.com), so anyone with any comments please feel free to look me up, (note, I am yet to add my gmx.com email to my Google+). It would be nice to collaborate with the community again. (Plain old email also works) Darin, I'm sure your a pretty busy - But I'll post updates and maybe you can take a look. If there is anyone else interested please feel free to get in touch. I hope the list admins do not feel that this is off topic - My clients just will not tolerate downtime that can be measured in minutes, so I'd like to know that I can spin up my favourite stacks with minimal effort and downtime - I'm sure other system admins will agree. Thanks On 28 Aug 2012, at 13:23, Darin Perusich wrote: > You'll need modules for the various components like apache, database, > and finally request-tracker itself. Deployment will certainly be much > easier if you're installing RT from packages rather than source since > dependencies, user and group creation, are taken care of. > > I haven't written a module yet but it's on my very large todo list. > There is a module on GitHub, > https://github.com/lurdan/puppet-requesttracker, which is Debian > specific and after a quick review of the init.pp it's incomplete, IMO. > That might be a good starting point for you. > > On 08/27/2012 08:27 PM, Mr IT Guru wrote: >> Good Morning All, >> >> I don't want to reinvent the wheel, so I though tI'd ask here first. >> Has anyone here installed RT via Puppet? >> >> For those that don't know, Puppet, is a pretty awesome state >> management tool. Google is your friend, you can do the rest. For >> those that do, would you mind sharing your code? Or if there isn't >> any code, would you guys like to join me writing some? >> >> That way I can spend 5 minutes installing new boxes instead of >> looking up my notes, etc. >> >> Anyone interested? >> >> Thanks, >> >> -- Mr Guru From robert at robertblackwell.com Tue Aug 28 08:47:17 2012 From: robert at robertblackwell.com (Robert Blackwell) Date: Tue, 28 Aug 2012 08:47:17 -0400 Subject: [rt-users] Installing RT via Puppet In-Reply-To: References: Message-ID: <55F0A944-0E02-48AE-884A-39119282AA32@robertblackwell.com> We use puppet to configure RT in a CentOS world. I will see what we can contribute to this create idea. Do you want to start a github repo for it? I really look forward to having this done in the community. Puppet managed RT++ Thanks Robert On Aug 27, 2012, at 8:27 PM, Mr IT Guru wrote: > Good Morning All, > > I don't want to reinvent the wheel, so I though tI'd ask here first. Has anyone here installed RT via Puppet? > > For those that don't know, Puppet, is a pretty awesome state management tool. Google is your friend, you can do the rest. For those that do, would you mind sharing your code? Or if there isn't any code, would you guys like to join me writing some? > > That way I can spend 5 minutes installing new boxes instead of looking up my notes, etc. > > Anyone interested? > > Thanks, > > -- Mr Guru > From misteritguru at gmx.com Tue Aug 28 08:49:21 2012 From: misteritguru at gmx.com (Mr IT Guru) Date: Tue, 28 Aug 2012 13:49:21 +0100 Subject: [rt-users] Installing RT via Puppet In-Reply-To: <55F0A944-0E02-48AE-884A-39119282AA32@robertblackwell.com> References: <55F0A944-0E02-48AE-884A-39119282AA32@robertblackwell.com> Message-ID: <3B22E2F3-933C-4610-9911-C8A400E9E703@gmx.com> WOOHOO! I was planning on starting a github repo - Is there any other way to work as a community! :) It would be nice if we could have some more contributors. Your very welcome to help out Robert, your contributions would be nice! Thanks, On 28 Aug 2012, at 13:47, Robert Blackwell wrote: > We use puppet to configure RT in a CentOS world. I will see what we can contribute to this create idea. > > Do you want to start a github repo for it? > > I really look forward to having this done in the community. > > Puppet managed RT++ > > Thanks > Robert > > > > > > On Aug 27, 2012, at 8:27 PM, Mr IT Guru wrote: > >> Good Morning All, >> >> I don't want to reinvent the wheel, so I though tI'd ask here first. Has anyone here installed RT via Puppet? >> >> For those that don't know, Puppet, is a pretty awesome state management tool. Google is your friend, you can do the rest. For those that do, would you mind sharing your code? Or if there isn't any code, would you guys like to join me writing some? >> >> That way I can spend 5 minutes installing new boxes instead of looking up my notes, etc. >> >> Anyone interested? >> >> Thanks, >> >> -- Mr Guru >> From robert at robertblackwell.com Tue Aug 28 08:53:06 2012 From: robert at robertblackwell.com (Robert Blackwell) Date: Tue, 28 Aug 2012 08:53:06 -0400 Subject: [rt-users] Installing RT via Puppet In-Reply-To: <3B22E2F3-933C-4610-9911-C8A400E9E703@gmx.com> References: <55F0A944-0E02-48AE-884A-39119282AA32@robertblackwell.com> <3B22E2F3-933C-4610-9911-C8A400E9E703@gmx.com> Message-ID: I just made a new organization called rtcommunity and put up the first repo for puppet. https://github.com/rtcommunity/puppet My hope is more things will land there then just the puppet manifest. Robert On Tue, Aug 28, 2012 at 8:49 AM, Mr IT Guru wrote: > WOOHOO! > > I was planning on starting a github repo - Is there any other way to work as a community! :) > > It would be nice if we could have some more contributors. > > Your very welcome to help out Robert, your contributions would be nice! > > Thanks, > > > On 28 Aug 2012, at 13:47, Robert Blackwell wrote: > >> We use puppet to configure RT in a CentOS world. I will see what we can contribute to this create idea. >> >> Do you want to start a github repo for it? >> >> I really look forward to having this done in the community. >> >> Puppet managed RT++ >> >> Thanks >> Robert >> >> >> >> >> >> On Aug 27, 2012, at 8:27 PM, Mr IT Guru wrote: >> >>> Good Morning All, >>> >>> I don't want to reinvent the wheel, so I though tI'd ask here first. Has anyone here installed RT via Puppet? >>> >>> For those that don't know, Puppet, is a pretty awesome state management tool. Google is your friend, you can do the rest. For those that do, would you mind sharing your code? Or if there isn't any code, would you guys like to join me writing some? >>> >>> That way I can spend 5 minutes installing new boxes instead of looking up my notes, etc. >>> >>> Anyone interested? >>> >>> Thanks, >>> >>> -- Mr Guru >>> > From l.reimann at metaways.de Tue Aug 28 08:56:34 2012 From: l.reimann at metaways.de (Lars Reimann) Date: Tue, 28 Aug 2012 14:56:34 +0200 Subject: [rt-users] Installing RT via Puppet In-Reply-To: References: <503CB849.1090808@ctg.com> Message-ID: <503CC002.8020903@metaways.de> Hi all, On 28.08.2012 14:41, Mr IT Guru wrote: > Darin, I'm sure your a pretty busy - But I'll post updates and maybe you can take a look. > > If there is anyone else interested please feel free to get in touch. I hope the list admins do not feel that this is off topic - My clients just will not tolerate downtime that can be measured in minutes, so I'd like to know that I can spin up my favourite stacks with minimal effort and downtime - I'm sure other system admins will agree. > > Thanks I think it's a good topic. Important IMHO is to take the multiple scenarios into account in which RT can be found. I'll observe the progress and might also start contributing as puppet is a hot topic at ours atm. Greetings, LR From misteritguru at gmx.com Tue Aug 28 09:07:37 2012 From: misteritguru at gmx.com (Mr IT Guru) Date: Tue, 28 Aug 2012 14:07:37 +0100 Subject: [rt-users] Installing RT via Puppet In-Reply-To: <503CC002.8020903@metaways.de> References: <503CB849.1090808@ctg.com> <503CC002.8020903@metaways.de> Message-ID: <68B6B4C1-38FF-4F7E-B86F-81FB0B1F668B@gmx.com> On 28 Aug 2012, at 13:56, Lars Reimann wrote: > Hi all, > > On 28.08.2012 14:41, Mr IT Guru wrote: >> Darin, I'm sure your a pretty busy - But I'll post updates and maybe you can take a look. >> >> If there is anyone else interested please feel free to get in touch. I hope the list admins do not feel that this is off topic - My clients just will not tolerate downtime that can be measured in minutes, so I'd like to know that I can spin up my favourite stacks with minimal effort and downtime - I'm sure other system admins will agree. >> >> Thanks > I think it's a good topic. Important IMHO is to take the multiple scenarios into account in which RT can be found. > I'll observe the progress and might also start contributing as puppet is a hot topic at ours atm. > > Greetings, > LR The more the merrier - Thank you for speaking up Lars. I don't want to make any promises with dates and stuff like that, until I get some code on paper, and shared out to others. I've only personally considered the most basic install, but it would be nice to have some other goals as well. Thanks, From ruz at bestpractical.com Tue Aug 28 09:44:21 2012 From: ruz at bestpractical.com (Ruslan Zakirov) Date: Tue, 28 Aug 2012 17:44:21 +0400 Subject: [rt-users] status change when reply on resolved ticket In-Reply-To: <8C9B058C-CAAC-4E33-82F2-31213CF5AA2E@sanger.ac.uk> References: <1346064395.64078.YahooMailNeo@web133206.mail.ir2.yahoo.com> <1346086997.23611.YahooMailNeo@web133204.mail.ir2.yahoo.com> <1346087540.64561.YahooMailNeo@web133202.mail.ir2.yahoo.com> <201208272204.q7RM4OEW009801@shed11.ecs.vuw.ac.nz> <8C9B058C-CAAC-4E33-82F2-31213CF5AA2E@sanger.ac.uk> Message-ID: On Tue, Aug 28, 2012 at 11:04 AM, Tim Cutts wrote: > > On 27 Aug 2012, at 23:04, Duncan McEwan wrote: > >> You can't have it both ways. Either you disable the auto open scrip in >> which case you potentially miss a customer responding to a resolved ticket >> to say the problem is not fixed. Or you leave the scrip enabled in which >> case you may have to manually re-resolve tickets that are reopened due to >> "Thank-you" emails. >> >> We do that latter and find it not that big a deal for our ticket volumes. >> Your situation may well be different. >> >> I suppose you could try writing your own auto open scrip that searched >> through the body of a reply to try to figure out whether it looked like it >> was just saying "thank you". Maybe someone has already put something like >> this on the wiki. If not, good luck getting something that works reliably...! >> >> The other suggestion that has been made on the list from time to time is >> to have an "On resolve" scrip with a template that includes text along >> the lines of "There is no need to reply to this message to thank us if >> this issue is now resolved as that will just reopen this closed ticket". >> But you'll still get some users doing it anyway... > > That's what we do too. The problem is that it tends to mess with ticket resolution times, and that upsets the various managers who rely on dubious statistics like mean time to resolution for KPIs. > > It's not such a problem for the "thank you" emails, more for the breed of user who each time they have a problem think "who helped me last time?", look through their email, and reply to any old email that appears to have come from that person. They often re-open tickets which are months or years old. I'm considering writing a scrip which checks how long ago the ticket was resolved, and if it's longer than a certain threshold, leaves it closed and automatically creates a child ticket with the new transaction in it. I think there are bits and pieces to do this in the wiki already, (ForkIntoNewTicket or something) but I haven't pieced all of it together yet. Somebody did post such solution to the wiki and list years ago [1]. [1] http://requesttracker.wikia.com/wiki/ForkIntoNewTicket I can not say if it will just work with RT 4.0 or not. It's quite dirty solution as it rebuilds message from data in RT. The other way around that is better way to go is to change how RT finds ID of ticket when processes incoming emails. We have a change in 4.0.7 that allows you to implement it without patching RT. There is a very simple ExtractTicketId function in lib/RT/Interface/Email.pm. It recieves MIME::Entity object that represents incomming email, fetches subject from email object and calls ParseTicketId that finds a subject tag and returns id. ExtractTicketId can be wrapped to change how RT finds id, where RT finds it and any logic can be attached on top of it. Instead of further describing how to do it and where to look I just wrote and uploaded RT-Extension-RepliesToResolved-0.01.tar.gz that does only one basic thing "creates a new ticket when email comes to resolved ticket". It passes basic manual testing, but there are plenty to do to make it more configurable and suitable for daily use. It will be really soon on CPAN. Next things to do: * delete subject tag from the email * put a header into mail with original id, for example X-RT-Was-Reply-To * a scrip that uses X-RT-Was-Reply-To header to setup a link between tickets or write a comment to one or both tickets describing what happened * config option to disable functionality if ticket was resolved less that X days ago. ...... I'm not going to implement any of that in near future, but ok to merge clean patches and release new versions. Enjoy. > > 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. -- Best regards, Ruslan. From dhutty at allgoodbits.org Tue Aug 28 11:35:02 2012 From: dhutty at allgoodbits.org (Duncan Hutty) Date: Tue, 28 Aug 2012 11:35:02 -0400 Subject: [rt-users] Installing RT via Puppet In-Reply-To: <55F0A944-0E02-48AE-884A-39119282AA32@robertblackwell.com> References: <55F0A944-0E02-48AE-884A-39119282AA32@robertblackwell.com> Message-ID: <503CE526.8090503@allgoodbits.org> -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On 8/28/12 8:47 AM, Robert Blackwell wrote: > We use puppet to configure RT in a CentOS world. I will see what we > can contribute to this create idea. > > Do you want to start a github repo for it? > > I really look forward to having this done in the community. > > Puppet managed RT++ I'm the person who wrote the puppet code that Robert is referring to that manages RT on CentOS. It has been on my list to publish this once it's ready. At the moment, it will probably be considered ugly, un-idiomatic, incomplete and not sufficiently generic... however, it _is_ currently capable of building a relocatable RT instance from a recent RT repository tag and installing some RT extensions. I need to clean it up to: * remove some company-specific code/details * cope better with perl module dependencies that I currently deal with by having a local, company specific yum repo. * correct the documentation * use puppet forge conventions for publishing modules And I need to publish another puppet module that I have written that is a dependency: pgsiserver. But it's coming and hopefully sooner rather than later. - -- Duncan Hutty http://www.allgoodbits.org -----BEGIN PGP SIGNATURE----- Version: GnuPG/MacGPG2 v2.0.17 (Darwin) Comment: GPGTools - http://gpgtools.org Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iEYEARECAAYFAlA85SYACgkQCFuTFybf1wo1kQCgr1E8u7+zkw47IZzHTRmO6uBi MgQAniO1rOc6Vt5ke+cxDn84RIend1Nq =TwdE -----END PGP SIGNATURE----- From s.duignan at jumper.ie Tue Aug 28 12:02:42 2012 From: s.duignan at jumper.ie (Shane Duignan) Date: Tue, 28 Aug 2012 16:02:42 +0000 (UTC) Subject: [rt-users] Invalid domain, status=bounced for email through ticket on RT 3.8.4 In-Reply-To: <31011648.1935.1345718875267.JavaMail.root@IRL-DUB-P-SRV-02> Message-ID: <15403470.3487.1346169762570.JavaMail.root@IRL-DUB-P-SRV-02> MTA is : Subject: [queue #278] document (Aug 2012) From: "admin via RT" Reply-To: js at tre.ie In-Reply-To: References: Message-ID: Precedence: bulk X-RT-Loop-Prevention: queue RT-Ticket: queue #278 Managed-by: RT 3.8.4 (http://www.bestpractical.com/rt/) RT-Originator: admin at tre.ie To: user1 at eon.ie, user2 at eon.ie, user3 at eon.ie MIME-Version: 1.0 X-RT-Original-Encoding: utf-8 Date: Tue, 5 Aug 2012 09:02:26 +0000 RT-Attachment: 278/221/497 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 8bit Not sure where the problem is as I changed neither the hostname nor the RT config. How can I change it from viewing www-data as part of the outgoing mail? ----- Original Message ----- From: "Shane Duignan" To: rt-users at lists.bestpractical.com Sent: Thursday, 23 August, 2012 11:47:55 AM Subject: Invalid domain, status=bounced for email through ticket on RT 3.8.4 Hello, I cannot send an email with attachment via a RT ticket. This is the error message in the logs: Aug 23 09:26:42 MAIL-01 postfix/smtp[29806]: 9DD441D5362: to=, relay=mx.eon.ie[XX.XXX.XXX.XXX]:25, delay=0.91, delays=0.07/0/0.21/0.62, dsn=5.1.0, status=bounced (host mx.eon.ie[XX.XXX.XXX.XXX] said: 550 5.1.0 q9Sg1j02P2zd5X8019SgxU invalid domain (in reply to MAIL FROM command)) The destination mail server recognises the smtp request as coming from invalid domain however I can send mail from my own account without using RT with no issues. The requestors have the correct email address in the ticket. Any ideas how to correct this? -- Shane Duignan Security Support Engineer Office: +353 (0)1 877 0338 E-mail: s.duignan at jumper.ie Website: http://www.jumper.ie This communication, including any attachments, is intended only for the recipient(s) named above. It may contain privileged, confidential or otherwise protected information and should not be read, copied or otherwise used by any other person. If you are not the named recipient please contact the sender and delete the email from your system. It should be noted however that communications via the Internet are not secure and it is the responsibility of the recipient to ensure that the onward transmission, opening or use of this message and any attachments will not adversely affect its systems or data. No responsibility is accepted by Jumper Consulting Investment Ltd. in this regard and the recipient should carry out such virus and other checks as it considers appropriate. All content and attachments in this email belong to Jumper Consulting Investment Ltd . -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: JUMPER-email.jpg Type: image/jpeg Size: 5698 bytes Desc: not available URL: From josh at prorivertech.com Tue Aug 28 13:00:08 2012 From: josh at prorivertech.com (Josh Hopkins) Date: Tue, 28 Aug 2012 12:00:08 -0500 Subject: [rt-users] Permissions Message-ID: <689A1933F8EE7743BC101464DD9F3F0403C8CC9BA5@MBX30.exg5.exghost.com> How do you restrict a user from seeing a specific queue even exists? How do you restrict a privileged account from seeing anything other than the tickets they have requested? -------------- next part -------------- An HTML attachment was scrubbed... URL: From jblaine at kickflop.net Tue Aug 28 15:26:57 2012 From: jblaine at kickflop.net (Jeff Blaine) Date: Tue, 28 Aug 2012 15:26:57 -0400 Subject: [rt-users] Make current queue more obvious (ideally as part of <% $title %>) Message-ID: <503D1B81.6070009@kickflop.net> We have a need to make the current working queue more obvious in the web UI. I've had a look, and my first choice desire would be to get html/Elements/PageLayout to include the queue name in $title: ...