From je_mi_re at yahoo.com Thu Jun 1 05:04:37 2006 From: je_mi_re at yahoo.com (guppy rules) Date: Thu, 1 Jun 2006 02:04:37 -0700 (PDT) Subject: [rt-users] newbie needs help Message-ID: <20060601090437.97669.qmail@web38407.mail.mud.yahoo.com> Hi, I tried to install rt-3.4.5 on Fedora Core 4, but I need some help. I have Apache 2.0.54 and mod_perl-2.0.1-1.fc4 running. Apache runs, but when I tried to configure this for RT, I don't see anything. Here's my apache config: Alias /rt "/bigdisk/www/html/rt" PerlModule Apache::DBI PerlRequire /usr/local/rt3/bin/webmux.pl AllowOverride All Options ExecCGI FollowSymLinks Order allow,deny Allow from all RewriteEngine On RedirectMatch permanent (.*)/$ $1/index.html AddDefaultCharset UTF-8 SetHandler perl-script PerlHandler RT::Mason What do I wrong? I'am new with apache and mod_perl, please give me some advice. I don't know what to do. Thanks. Remi --------------------------------- Talk is cheap. Use Yahoo! Messenger to make PC-to-Phone calls. Great rates starting at 1?/min. -------------- next part -------------- An HTML attachment was scrubbed... URL: From roydepp at gmail.com Thu Jun 1 07:57:52 2006 From: roydepp at gmail.com (Roy Depp) Date: Thu, 1 Jun 2006 13:57:52 +0200 Subject: [rt-users] BCC on reply is not recorded in ticket history Message-ID: Hi, When replying to a ticket and adding BCCs, RT does not record the BCC addresses in ticket history. Is it possible to enable BCC recording in ticket history the same way CC is recorded? --Roy -------------- next part -------------- An HTML attachment was scrubbed... URL: From ruslan.zakirov at gmail.com Thu Jun 1 08:55:46 2006 From: ruslan.zakirov at gmail.com (Ruslan Zakirov) Date: Thu, 1 Jun 2006 16:55:46 +0400 Subject: [rt-users] weird Slow SelectOwner query In-Reply-To: <200603291143.19318.laas.toom@eenet.ee> References: <200603281114.58908.laas.toom@eenet.ee> <589c94400603280801x3542f661tfd81ba18b8bedd0a@mail.gmail.com> <200603291143.19318.laas.toom@eenet.ee> Message-ID: <589c94400606010555j55a94d35ob32d07ccad774ba8@mail.gmail.com> I've investigated more on this problem and found out that this problem of mysql as couldn't optimize well some queries when it's possible, I know how to hack a workaround and help RDBMs optimize it, but later... -EHAVENOTIME On 3/29/06, Laas Toom wrote: > Tuesday 28 March 2006 7:01 pm Ruslan Zakirov wrote: > > Could you show full explain for the query? > > Unfortunately (or fortunately ;-) the query now is planned differently than, > when I began testing yesterday so I can not give you the very first explain > output, where the 'main' table was joined in first and which took 8 sec to > complete. > > But below are two different EXPLAINs which I can get right now. > (Use fixed-font to view these tabels, but I also included URLs for screenshots > of the same tables) > > 1) The way this query is run now on our server. This query takes 1.5 sec to > complete and after some runs gets even faster (caching probably). > > http://www3.eenet.ee/~laas/explain_select_owners_1.png > > SQL query: > EXPLAIN SELECT DISTINCT main.* FROM Users main, Principals Principals_1, ACL > ACL_2, CachedGroupMembers CachedGroupMembers_3 WHERE ((ACL_2.PrincipalId = > CachedGroupMembers_3.GroupId)) AND ((ACL_2.PrincipalType = 'Group')) AND > ((ACL_2.RightName = 'OwnTicket')) AND ((CachedGroupMembers_3.MemberId = > Principals_1.id)) AND ((Principals_1.Disabled = '0')) AND > ((Principals_1.PrincipalType = 'User')) AND ((Principals_1.id != '1')) AND > ((main.id = Principals_1.id)) AND ((ACL_2.ObjectType = 'RT::Ticket' AND > ACL_2.ObjectId = 1365) OR (ACL_2.ObjectType = 'RT::Queue' AND ACL_2.ObjectId = > 8) OR (ACL_2.ObjectType = 'RT::System')) ORDER BY main.Name ASC; > > EXPLAIN: > id select_ table type possible_ key key_ ref rows Extra > type keys len > ------------------------------------------------------------------------------ > 1 SIMPLE ACL_2 range ACL1 ACL1 85 NULL 7 Using where; > Using index; > Using > temporary; > Using filesort > ------------------------------------------------------------------------------ > 1 SIMPLE main range PRIMARY, PRIMARY 4 NULL 9259 Using where > Users3 > ------------------------------------------------------------------------------ > 1 SIMPLE Princi eq_ref PRIMARY PRIMARY 4 rt3. 1 Using where; > pals_1 main.id Distinct > ------------------------------------------------------------------------------ > 1 SIMPLE Cached ref DisGrouMem GrouMem 10 rt3.ACL_2. 1 Using where; > Group GrouMem PrincipalId, Using index; > Members_3 MemberId_idx rt3.main.id Distinct > > > 2) The same query, but I have put the 'Users main' table to the last position > in the FROM statement. This query is fast (0.0032 sec) from the beginning (as > can be concluded by the small number of rows involved in this). > > http://www3.eenet.ee/~laas/explain_select_owners_2.png > > SQL query: > EXPLAIN SELECT DISTINCT main.* FROM Principals Principals_1, ACL ACL_2, > CachedGroupMembers CachedGroupMembers_3, Users main WHERE ((ACL_2.PrincipalId > = CachedGroupMembers_3.GroupId)) AND ((ACL_2.PrincipalType = 'Group')) AND > ((ACL_2.RightName = 'OwnTicket')) AND ((CachedGroupMembers_3.MemberId = > Principals_1.id)) AND ((Principals_1.Disabled = '0')) AND > ((Principals_1.PrincipalType = 'User')) AND ((Principals_1.id != '1')) AND > ((main.id = Principals_1.id)) AND ((ACL_2.ObjectType = 'RT::Ticket' AND > ACL_2.ObjectId = 1365) OR (ACL_2.ObjectType = 'RT::Queue' AND ACL_2.ObjectId > = 8) OR (ACL_2.ObjectType = 'RT::System')) ORDER BY main.Name ASC; > > EXPLAIN: > id select_ table type possible_ key key_ ref rows Extra > type keys len > ----------------------------------------------------------------------------- > 1 SIMPLE ACL_2 range ACL1 ACL1 85 NULL 7 Using where; > Using > ----------------------------------------------------------------------------- > 1 SIMPLE Cached ref DisGrouMem, GrouMem 5 rt3.ACL_2. 4 Using where; > Group GrouMem, PrincipalId Using index > Members_3 MemberId_idx > ----------------------------------------------------------------------------- > 1 SIMPLE main eq_ref PRIMARY, PRIMARY 4 rt3.CachedG 1 > Users3 > ----------------------------------------------------------------------------- > 1 SIMPLE Princ eq_ref PRIMARY PRIMARY 4 rt3.main.id 1 Using where; > ipals_1 Distinct > > > Best regards, > Laas Toom > _______________________________________________ > http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users > > Community help: http://wiki.bestpractical.com > Commercial support: sales at bestpractical.com > > > Discover RT's hidden secrets with RT Essentials from O'Reilly Media. > Buy a copy at http://rtbook.bestpractical.com > > > We're hiring! Come hack Perl for Best Practical: http://bestpractical.com/about/jobs.html > -- Best regards, Ruslan. From romain.degez at smartjog.com Thu Jun 1 10:48:50 2006 From: romain.degez at smartjog.com (Romain DEGEZ) Date: Thu, 01 Jun 2006 16:48:50 +0200 Subject: [rt-users] Auto add attachements as Custom Field (binary) in scrips Message-ID: <447EFE52.90605@smartjog.com> Hello list, I made some search but I can't figure out how to set a custom field (a "upload file" one) with the mail attachement when auto-creating a ticket upon mail reception via rt-mailgate. Thanks, -- RD From romain.degez at smartjog.com Thu Jun 1 10:50:10 2006 From: romain.degez at smartjog.com (Romain DEGEZ) Date: Thu, 01 Jun 2006 16:50:10 +0200 Subject: [rt-users] Auto add attachements as Custom Field (binary) in scrips Message-ID: <447EFEA2.60704@smartjog.com> Hello list, I made some search but I can't figure out how to set a custom field (a "upload file" one) with the mail attachement when auto-creating a ticket upon mail reception via rt-mailgate. Thanks, -- RD From romain.degez at smartjog.com Thu Jun 1 11:12:32 2006 From: romain.degez at smartjog.com (Romain DEGEZ) Date: Thu, 01 Jun 2006 17:12:32 +0200 Subject: [rt-users] Auto add attachements as Custom Field (binary) in scrips In-Reply-To: <447EFEA2.60704@smartjog.com> References: <447EFEA2.60704@smartjog.com> Message-ID: <447F03E0.2090601@smartjog.com> [...] Oops Sorry for the double-post, I thought I made a mistake in the list mail address but both are working.. -- RD From brendanarnold at gmail.com Thu Jun 1 11:41:29 2006 From: brendanarnold at gmail.com (Brendan Arnold) Date: Thu, 1 Jun 2006 16:41:29 +0100 Subject: [rt-users] Lack of trailing slash causing porblems in IE In-Reply-To: <5ed41c130605220229v616dc65bu87e9b8a9c9592cfe@mail.gmail.com> References: <5ed41c130605220229v616dc65bu87e9b8a9c9592cfe@mail.gmail.com> Message-ID: <5ed41c130606010841l1a106e01r3b20bff47e7ab08f@mail.gmail.com> I have tried changing the primary DNS hostname to that on our SSL certificate, however this has had no effect. I have just come across this article in the MS Knowledge base which may be of some help. I am going to try disabling SSL 3.0 connections as a result. http://support.microsoft.com/?kbid=305217 I will keep you posted as to progress. Brendan From mikef at ack.Berkeley.EDU Thu Jun 1 11:46:17 2006 From: mikef at ack.Berkeley.EDU (Mike Friedman) Date: Thu, 1 Jun 2006 08:46:17 -0700 (PDT) Subject: [rt-users] " Merge failed. Couldn't set Status" - after upgrade to 3.4.5 In-Reply-To: <447DDD8D.1050204@uclink.berkeley.edu> References: <447DDD8D.1050204@uclink.berkeley.edu> Message-ID: <20060601083002.M12692@malcolm.berkeley.edu> -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On Wed, 31 May 2006 at 11:16 (-0700), Mike Patterson wrote: > We noticed a bug with RT 3.4.5 after our upgrade, which could be an > indicator of an "inconsistent database". > > When we attempted to merge one ticket into another we go this message > "Merge failed. Couldn't set Status" > > It turns out that both of the tickets were already set to "resolved". > After we switched the status to "open" we were able to merge the tickets > (then we switched the merged ticket back to resolved). I have noticed this on 3.4.2 as well. I've written a perl script (using the RT API) that allows merging two tickets from the command line (I don't like using the supplied 'rt' CLI command). When I got the above error message, I looked into the RT code and found that a ticket to be merged into another is first changed to 'resolved' status (I don't know why). If the status is already 'resolved', this results in an error message. I don't know why setting a status to the same value that's currently set should be considered an error; this has been a problem for me in other script-writing contexts, where I always have to check for this case before invoking the SetStatus method, lest I get a spurious error code. But I think this is really part of a broader problem of how error codes are set in RT API methods (i.e., any error just returns 0, so a script can't tell what kind of error it was). So, my merge script now has to check first if the status is 'resolved'; if so, set it to 'open' and then merge it. If the merge fails for some reason, I set the status back to 'resolved', but only if that's what it was originally. I can see how this problem can be quite annoying when using the Web UI, since it means an additional manual step of 'unresolving' the ticket first, as you've discovered. > We verified that our accounts have "ModifyTicket" rights and also > checked tried this as root. I don't believe this has anything to do with rights. For some reason, RT just decides to set status to 'resolved' as part of the merge process. > When I tested on our old box (RT 3.2.2), merging resolved tickets wasn't > a problem. I guess this started with some version after 3.2.2! Mike _____________________________________________________________________ Mike Friedman System and Network Security mikef at ack.Berkeley.EDU 2484 Shattuck Avenue 1-510-642-1410 University of California at Berkeley http://ack.Berkeley.EDU/~mikef http://security.berkeley.edu _____________________________________________________________________ -----BEGIN PGP SIGNATURE----- Version: PGP 6.5.8 iQA/AwUBRH8Lza0bf1iNr4mCEQKGKwCgveuY50TlGQN4xcMIfNz2FZc36pMAoLWS FJLeW/A/Fxi2xLfJqNHyuTXs =Izfa -----END PGP SIGNATURE----- From ted at serreyn.com Thu Jun 1 12:29:24 2006 From: ted at serreyn.com (Ted Serreyn) Date: Thu, 1 Jun 2006 11:29:24 -0500 Subject: [rt-users] binary attachment corruption? In-Reply-To: <447D882E.1010206@ucrwcu.rwc.uc.edu> Message-ID: <008201c68598$8bb02d60$0e14140a@ad.serreyn.com> That is how I tested, and no it didn't help. -- Ted Serreyn Phone: 262-432-0260 Fax: 262-432-0232 Serreyn Network Services, LLC http://www.serreyn.com/ -----Original Message----- From: Drew Barnes [mailto:barnesaw at ucrwcu.rwc.uc.edu] Sent: Wednesday, May 31, 2006 7:13 AM To: Ted Serreyn Cc: rt-users at lists.bestpractical.com Subject: Re: [rt-users] binary attachment corruption? I suspect existing binary attachments are broken beyond repair. Have you tried running mysql with binary as the default character set and sending in a ticket with a new attachment? Ted Serreyn wrote: > I wish the fix was that simple, but changing the default charset on mysql, > then restarting it, does not fix the problem. I agree that this is looking > more and more like some kind of issue between mysql and rt and agreeing on > what charset things are in. > > > > -- Drew Barnes Applications Analyst Raymond Walters College University of Cincinnati From ted at serreyn.com Thu Jun 1 12:32:10 2006 From: ted at serreyn.com (Ted Serreyn) Date: Thu, 1 Jun 2006 11:32:10 -0500 Subject: [rt-users] binary attachment corruption? In-Reply-To: <447CA534.2010709@ucrwcu.rwc.uc.edu> Message-ID: <008301c68598$ee4154e0$0e14140a@ad.serreyn.com> Interesting mysqldump --all-databases --with-default-charset=binary >dump.test mysqldump: unknown variable 'with-default-charset=binary' # mysqldump --version mysqldump Ver 10.9 Distrib 4.1.19, for pc-linux-gnu (i686) So I guess that idea don't work. -- Ted Serreyn Phone: 262-432-0260 Fax: 262-432-0232 Serreyn Network Services, LLC http://www.serreyn.com/ -----Original Message----- From: rt-users-bounces at lists.bestpractical.com [mailto:rt-users-bounces at lists.bestpractical.com] On Behalf Of Drew Barnes Sent: Tuesday, May 30, 2006 3:04 PM To: Covington, Chris Cc: rt-users at lists.bestpractical.com Subject: Re: [rt-users] binary attachment corruption? Jesse may have inadvertently touched on this in his response. It looks like your default character set is utf8, but Jesse suggested doing dumps with --with-default-charset=binary. Hmmm....2+2= ___ maybe? Anyone tried setting [mysqld] character-set-server = binary and reporting back? But I'm still using an old mysql, so I'm not real sure-like. Covington, Chris wrote: > On Mon, May 29, 2006 at 09:30:48AM -0500, Ted Serreyn wrote: > >> In my case it is an existing rt installation, that has started to experience >> this problem I believe since the mysql upgrade. New attachments sent in are >> always corrupted (ok only the binary ones). >> > > I am having the same problem w/4.1.19. Bueller? > > --- > Chris Covington > IT > Plus One Health Management > 75 Maiden Lane Suite 801 > NY, NY 10038 > 646-312-6269 > http://www.plusoneactive.com > _______________________________________________ > http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users > > Community help: http://wiki.bestpractical.com > Commercial support: sales at bestpractical.com > > > Discover RT's hidden secrets with RT Essentials from O'Reilly Media. > Buy a copy at http://rtbook.bestpractical.com > > > We're hiring! Come hack Perl for Best Practical: http://bestpractical.com/about/jobs.html > -- Drew Barnes Applications Analyst Raymond Walters College University of Cincinnati _______________________________________________ http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users Community help: http://wiki.bestpractical.com Commercial support: sales at bestpractical.com Discover RT's hidden secrets with RT Essentials from O'Reilly Media. Buy a copy at http://rtbook.bestpractical.com We're hiring! Come hack Perl for Best Practical: http://bestpractical.com/about/jobs.html From jesse at bestpractical.com Thu Jun 1 12:34:32 2006 From: jesse at bestpractical.com (Jesse Vincent) Date: Thu, 1 Jun 2006 12:34:32 -0400 Subject: [rt-users] binary attachment corruption? In-Reply-To: <008301c68598$ee4154e0$0e14140a@ad.serreyn.com> References: <447CA534.2010709@ucrwcu.rwc.uc.edu> <008301c68598$ee4154e0$0e14140a@ad.serreyn.com> Message-ID: <20060601163432.GF8022@bestpractical.com> On Thu, Jun 01, 2006 at 11:32:10AM -0500, Ted Serreyn wrote: > Interesting > > > mysqldump --all-databases --with-default-charset=binary >dump.test > mysqldump: unknown variable 'with-default-charset=binary' > My mistake. --default-character-set=name > # mysqldump --version > mysqldump Ver 10.9 Distrib 4.1.19, for pc-linux-gnu (i686) > > So I guess that idea don't work. > -- > Ted Serreyn Phone: 262-432-0260 Fax: 262-432-0232 > Serreyn Network Services, LLC http://www.serreyn.com/ > > -----Original Message----- > From: rt-users-bounces at lists.bestpractical.com > [mailto:rt-users-bounces at lists.bestpractical.com] On Behalf Of Drew Barnes > Sent: Tuesday, May 30, 2006 3:04 PM > To: Covington, Chris > Cc: rt-users at lists.bestpractical.com > Subject: Re: [rt-users] binary attachment corruption? > > Jesse may have inadvertently touched on this in his response. It looks > like your default character set is utf8, but Jesse suggested doing dumps > with --with-default-charset=binary. Hmmm....2+2= ___ maybe? Anyone > tried setting > [mysqld] > character-set-server = binary > and reporting back? > > But I'm still using an old mysql, so I'm not real sure-like. > > > Covington, Chris wrote: > > On Mon, May 29, 2006 at 09:30:48AM -0500, Ted Serreyn wrote: > > > >> In my case it is an existing rt installation, that has started to > experience > >> this problem I believe since the mysql upgrade. New attachments sent in > are > >> always corrupted (ok only the binary ones). > >> > > > > I am having the same problem w/4.1.19. Bueller? > > > > --- > > Chris Covington > > IT > > Plus One Health Management > > 75 Maiden Lane Suite 801 > > NY, NY 10038 > > 646-312-6269 > > http://www.plusoneactive.com > > _______________________________________________ > > http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users > > > > Community help: http://wiki.bestpractical.com > > Commercial support: sales at bestpractical.com > > > > > > Discover RT's hidden secrets with RT Essentials from O'Reilly Media. > > Buy a copy at http://rtbook.bestpractical.com > > > > > > We're hiring! Come hack Perl for Best Practical: > http://bestpractical.com/about/jobs.html > > > > -- > Drew Barnes > Applications Analyst > Raymond Walters College > University of Cincinnati > > _______________________________________________ > http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users > > Community help: http://wiki.bestpractical.com > Commercial support: sales at bestpractical.com > > > Discover RT's hidden secrets with RT Essentials from O'Reilly Media. > Buy a copy at http://rtbook.bestpractical.com > > > We're hiring! Come hack Perl for Best Practical: > http://bestpractical.com/about/jobs.html > > _______________________________________________ > http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users > > Community help: http://wiki.bestpractical.com > Commercial support: sales at bestpractical.com > > > Discover RT's hidden secrets with RT Essentials from O'Reilly Media. > Buy a copy at http://rtbook.bestpractical.com > > > We're hiring! Come hack Perl for Best Practical: http://bestpractical.com/about/jobs.html > -- From ted at serreyn.com Thu Jun 1 12:33:18 2006 From: ted at serreyn.com (Ted Serreyn) Date: Thu, 1 Jun 2006 11:33:18 -0500 Subject: [rt-users] binary attachment corruption? In-Reply-To: <008201c68598$8bb02d60$0e14140a@ad.serreyn.com> Message-ID: <008401c68599$16bf8ae0$0e14140a@ad.serreyn.com> Ouch, RTFM, --with-default-character-set=binary is the correct syntax. -- Ted Serreyn Phone: 262-432-0260 Fax: 262-432-0232 Serreyn Network Services, LLC http://www.serreyn.com/ -----Original Message----- From: rt-users-bounces at lists.bestpractical.com [mailto:rt-users-bounces at lists.bestpractical.com] On Behalf Of Ted Serreyn Sent: Thursday, June 01, 2006 11:29 AM To: 'Drew Barnes' Cc: rt-users at lists.bestpractical.com Subject: RE: [rt-users] binary attachment corruption? That is how I tested, and no it didn't help. -- Ted Serreyn Phone: 262-432-0260 Fax: 262-432-0232 Serreyn Network Services, LLC http://www.serreyn.com/ -----Original Message----- From: Drew Barnes [mailto:barnesaw at ucrwcu.rwc.uc.edu] Sent: Wednesday, May 31, 2006 7:13 AM To: Ted Serreyn Cc: rt-users at lists.bestpractical.com Subject: Re: [rt-users] binary attachment corruption? I suspect existing binary attachments are broken beyond repair. Have you tried running mysql with binary as the default character set and sending in a ticket with a new attachment? Ted Serreyn wrote: > I wish the fix was that simple, but changing the default charset on mysql, > then restarting it, does not fix the problem. I agree that this is looking > more and more like some kind of issue between mysql and rt and agreeing on > what charset things are in. > > > > -- Drew Barnes Applications Analyst Raymond Walters College University of Cincinnati _______________________________________________ http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users Community help: http://wiki.bestpractical.com Commercial support: sales at bestpractical.com Discover RT's hidden secrets with RT Essentials from O'Reilly Media. Buy a copy at http://rtbook.bestpractical.com We're hiring! Come hack Perl for Best Practical: http://bestpractical.com/about/jobs.html From jesse at bestpractical.com Thu Jun 1 12:47:24 2006 From: jesse at bestpractical.com (Jesse Vincent) Date: Thu, 1 Jun 2006 12:47:24 -0400 Subject: [rt-users] BCC on reply is not recorded in ticket history In-Reply-To: References: Message-ID: <20060601164724.GI8022@bestpractical.com> On Thu, Jun 01, 2006 at 01:57:52PM +0200, Roy Depp wrote: > Hi, > > When replying to a ticket and adding BCCs, RT does not record the BCC > addresses in ticket history. > Is it possible to enable BCC recording in ticket history the same way CC > is recorded? It's recorded. (And you can see it in the copy RT saves and sends out) lib/RT/Attachment_Overlay.pm sub Headers is the mentod you'd need to change. > > --Roy > _______________________________________________ > http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users > > Community help: http://wiki.bestpractical.com > Commercial support: sales at bestpractical.com > > > Discover RT's hidden secrets with RT Essentials from O'Reilly Media. > Buy a copy at http://rtbook.bestpractical.com > > > We're hiring! Come hack Perl for Best Practical: http://bestpractical.com/about/jobs.html -- From KFCrocker at lbl.gov Thu Jun 1 12:53:02 2006 From: KFCrocker at lbl.gov (Kenneth Crocker) Date: Thu, 01 Jun 2006 09:53:02 -0700 Subject: [rt-users] RE: Confused by Custom field rights In-Reply-To: <58B1112F0EEB7349AE14A0AA46F9CEC00137ABAE@szexchange.Shopzilla.inc> References: <58B1112F0EEB7349AE14A0AA46F9CEC00137ABAE@szexchange.Shopzilla.inc> Message-ID: <447F1B6E.5060102@lbl.gov> Philip Kime wrote: > Perfect, this works, thanks. It still seems to be a bit strange that > Custom fields aren't considered part of a ticket/asset for the > ModifyTicket/ModifyAsset rights ... > > PK > > -----Original Message----- > From: Joshua Colson [mailto:jcolson at voidgate.org] > Sent: 30 May 2006 13:17 > To: Philip Kime > Cc: RT users > Subject: Re: [rt-users] Confused by Custom field rights > > > Create a group for each set of users (if you haven't already) and assign > the ModifyCustomField right for each individual custom field to the > group. Use RTx::RightsMatrix to make it easier. > > HTH > > -- > Joshua Colson > > _______________________________________________ > http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users > > Community help: http://wiki.bestpractical.com > Commercial support: sales at bestpractical.com > > > Discover RT's hidden secrets with RT Essentials from O'Reilly Media. > Buy a copy at http://rtbook.bestpractical.com > > > We're hiring! Come hack Perl for Best Practical: http://bestpractical.com/about/jobs.html > > > Philip, Actually, since it only makes sense to give privileges to groups and then add users to groups (that way you are not continually doing the same redundant work for every user you want to get to a Queue and you don't have tons of users' rights to maintain) it also makes sense to do the same thing for custom fields. If a GROUP has certain rights to a Queue (set up in configuration) and a Custom field can be applied to any number of Queues, it allows more flexibility to also require group access to a custom field, because you may have more than 1 group accessing a Queue and one group you may WANT to modify custom fields and another you don't. Does that make sense? Kenn From pkime at Shopzilla.com Thu Jun 1 12:54:16 2006 From: pkime at Shopzilla.com (Philip Kime) Date: Thu, 1 Jun 2006 09:54:16 -0700 Subject: [rt-users] RE: Confused by Custom field rights Message-ID: <58B1112F0EEB7349AE14A0AA46F9CEC00137ABB8@szexchange.Shopzilla.inc> Actually, you're quite right - I hadn't factored in that CFs can be applied to different Queues. PK -----Original Message----- From: Kenneth Crocker [mailto:KFCrocker at lbl.gov] Sent: 01 June 2006 09:53 To: Philip Kime Cc: Joshua Colson; RT users Subject: Re: [rt-users] RE: Confused by Custom field rights Philip Kime wrote: > Perfect, this works, thanks. It still seems to be a bit strange that > Custom fields aren't considered part of a ticket/asset for the > ModifyTicket/ModifyAsset rights ... > > PK > > -----Original Message----- > From: Joshua Colson [mailto:jcolson at voidgate.org] > Sent: 30 May 2006 13:17 > To: Philip Kime > Cc: RT users > Subject: Re: [rt-users] Confused by Custom field rights > > > Create a group for each set of users (if you haven't already) and > assign the ModifyCustomField right for each individual custom field to > the group. Use RTx::RightsMatrix to make it easier. > > HTH > > -- > Joshua Colson > > _______________________________________________ > http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users > > Community help: http://wiki.bestpractical.com Commercial support: > sales at bestpractical.com > > > Discover RT's hidden secrets with RT Essentials from O'Reilly Media. > Buy a copy at http://rtbook.bestpractical.com > > > We're hiring! Come hack Perl for Best Practical: > http://bestpractical.com/about/jobs.html > > > Philip, Actually, since it only makes sense to give privileges to groups and then add users to groups (that way you are not continually doing the same redundant work for every user you want to get to a Queue and you don't have tons of users' rights to maintain) it also makes sense to do the same thing for custom fields. If a GROUP has certain rights to a Queue (set up in configuration) and a Custom field can be applied to any number of Queues, it allows more flexibility to also require group access to a custom field, because you may have more than 1 group accessing a Queue and one group you may WANT to modify custom fields and another you don't. Does that make sense? Kenn From skirk at insomniacgames.com Thu Jun 1 12:58:58 2006 From: skirk at insomniacgames.com (Steve Kirk) Date: Thu, 1 Jun 2006 09:58:58 -0700 Subject: [rt-users] Problem with Autoreply template In-Reply-To: <589c94400605271748t120bd6ebjdd6ac514f0dd520e@mail.gmail.com> Message-ID: <514005087A4DA54CB81C428C81EAB93D01E8F073@EXCHANGE.insomniacgames.com> I'm following the wiki's advice here: http://wiki.bestpractical.com/index.cgi?UniqueAutoReplies ("the easy way") It picks up the new template, but always fails, logging the following error: RT: error: couldn't parse head; error near: Thanks for emailing info at insomniacgames.com. (/usr/local/rt3/lib/RT/Template_Overlay.pm:369) It always has this parse error on the first line of the template body, no matter the content. I've deleted that template, and re-created it several times. I've changed the text into many various iterations, from the full body (which I'd like to have) down to as simple as "hi" - it always gives the parse error. I've even gone as far as to create a completely blank template, named Autoreply, no description, no body-text, and the error is still logged. If I delete the template altogether, the global template is picked up & used perfectly fine. I should note I've created a custom Resolved template for this same queue and it works fine. I almost want to say it feels like it's something specific to 'Autoreply'. Any ideas on what I can look at? I've not seen (going back to July'05) anything in the archives that would seem to talk about this. Thanks! Steve Kirk IT Group Insomniac Games From admin at fouks.net Thu Jun 1 12:54:54 2006 From: admin at fouks.net (Jason Fouks) Date: Thu, 1 Jun 2006 11:54:54 -0500 Subject: [rt-users] RT on Mac OS X Server 10.4 Message-ID: I am running 10.4.6 on a test box. I am trying to get the PERL modules built but it seems to fail every time which means I can't get the RT program running. Has anyone had success with getting the PERL modules built and have step by step directions as to how to get RT built on a brand new 10.4.6 OS X Server? Thanks much, Jason From KFCrocker at lbl.gov Thu Jun 1 13:17:34 2006 From: KFCrocker at lbl.gov (Kenneth Crocker) Date: Thu, 01 Jun 2006 10:17:34 -0700 Subject: [rt-users] " Merge failed. Couldn't set Status" - after upgrade to 3.4.5 In-Reply-To: <447DDD8D.1050204@uclink.berkeley.edu> References: <447DDD8D.1050204@uclink.berkeley.edu> Message-ID: <447F212E.9070407@lbl.gov> Mike Patterson wrote: > We noticed a bug with RT 3.4.5 after our upgrade, which could be an > indicator of an "inconsistent database". > > When we attempted to merge one ticket into another we go this message > "Merge failed. Couldn't set Status" > > It turns out that both of the tickets were already set to "resolved". > After we switched the status to "open" we were able to merge the > tickets (then we switched the merged ticket back to resolved). > > We verified that our accounts have "ModifyTicket" rights and also > checked tried this as root. > > Looking at our rt.log file we saw this message: > [Wed May 31 17:45:01 2006] [error]: RT::Ticket=HASH(0xa70c0ec) > couldn't set status to resolved. RT's Database may be inconsistent. > (/usr/local/rt3/lib/RT/Ticket_Overlay.pm:2730) > > When I tested on our old box (RT 3.2.2), merging resolved tickets > wasn't a problem. > > Any one else experiencing this or have suggestions on what I can do > about it? > > I migrated from: > FreeBSD 4.11, RT 3.2.2, MySQL 4.1.7, Apache 1.3.33, Perl 5.8.4, > mod_perl-1.29, DBI-1.42_1 > --TO--> > RHEL 4.3, RT 3.4.5, MySQL 4.1.2-3, Apache 2.0.52, Perl 5.8.5, > mod_fastcgi-2.4.2, DBI-1.40-8 > > Thanks, > Mike > Mike, To be honest, I can't see that as a problem. I thought the whole point of merging tickets was to get one owner to work on similar (or same) problems on one ticket instead of several, therefore, you merge the tickets . before they get resolved. However, everyone does their thing differently. I like the setup. That way it acts like a filter to keep from merging tickets that are already resolved. you know, the cat is already out of the bag, no sense closing it. Kenn From dunne at ntms1.accuweather.com Thu Jun 1 13:24:36 2006 From: dunne at ntms1.accuweather.com (Michael Dunne) Date: Thu, 01 Jun 2006 13:24:36 -0400 Subject: [rt-users] RT on Mac OS X Server 10.4 In-Reply-To: Message-ID: Howdy, I managed to get it running on OS X4.6 client. Which modules are you having difficulty with? Mike On 6/1/06 12:54 PM, "Jason Fouks" wrote: > I am running 10.4.6 on a test box. I am trying to get the PERL > modules built but it seems to fail every time which means I can't get > the RT program running. Has anyone had success with getting the PERL > modules built and have step by step directions as to how to get RT > built on a brand new 10.4.6 OS X Server? > > Thanks much, > Jason > _______________________________________________ > http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users > > Community help: http://wiki.bestpractical.com > Commercial support: sales at bestpractical.com > > > Discover RT's hidden secrets with RT Essentials from O'Reilly Media. > Buy a copy at http://rtbook.bestpractical.com > > > We're hiring! Come hack Perl for Best Practical: > http://bestpractical.com/about/jobs.html > From ocraig at stillsecure.com Thu Jun 1 13:33:18 2006 From: ocraig at stillsecure.com (Ole Craig) Date: Thu, 01 Jun 2006 11:33:18 -0600 Subject: [rt-users] 3.6.0rc3: giving groups modification rights on members of other groups? Message-ID: <1149183198.8518.85.camel@hex.latis.com> Is it possible for a user-defined group to get the "AdminUser" right but only for selected users? i.e. I've got a U-D group "support". I'd like members of the Support group to be able to modify user information for unprivileged users, but not for members of other user-defined groups. In the groups rights screen for the support group (Configuration->Groups->Support) I've given the support group the following rights on the Unprivileged group: AdminGroup AdminGroupMembership ModifyOwnMembership SeeGroup ...but support members are still unable to modify user information for unpriv'd users. Am I missing something? -- /Ole Craig Security Engineer 303-381-3802 (main support hotline) 303-381-3824 (my direct line) 303-381-3801 (fax) www.stillsecure.com . . . From jesse at bestpractical.com Thu Jun 1 13:43:12 2006 From: jesse at bestpractical.com (Jesse Vincent) Date: Thu, 1 Jun 2006 13:43:12 -0400 Subject: [rt-users] 3.6.0rc3: giving groups modification rights on members of other groups? In-Reply-To: <1149183198.8518.85.camel@hex.latis.com> References: <1149183198.8518.85.camel@hex.latis.com> Message-ID: <20060601174312.GK8022@bestpractical.com> On Thu, Jun 01, 2006 at 11:33:18AM -0600, Ole Craig wrote: > Is it possible for a user-defined group to get the "AdminUser" > right but only for selected users? i.e. I've got a U-D group "support". > I'd like members of the Support group to be able to modify user > information for unprivileged users, but not for members of other > user-defined groups. > Sorry. That's not currently possible. From KFCrocker at lbl.gov Thu Jun 1 13:51:50 2006 From: KFCrocker at lbl.gov (Kenneth Crocker) Date: Thu, 01 Jun 2006 10:51:50 -0700 Subject: [rt-users] 3.6.0rc3: giving groups modification rights on members of other groups? In-Reply-To: <20060601174312.GK8022@bestpractical.com> References: <1149183198.8518.85.camel@hex.latis.com> <20060601174312.GK8022@bestpractical.com> Message-ID: <447F2936.9060506@lbl.gov> Jesse Vincent wrote: > > On Thu, Jun 01, 2006 at 11:33:18AM -0600, Ole Craig wrote: > >> Is it possible for a user-defined group to get the "AdminUser" >> right but only for selected users? i.e. I've got a U-D group "support". >> I'd like members of the Support group to be able to modify user >> information for unprivileged users, but not for members of other >> user-defined groups. >> >> > > Sorry. That's not currently possible. > _______________________________________________ > http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users > > Community help: http://wiki.bestpractical.com > Commercial support: sales at bestpractical.com > > > Discover RT's hidden secrets with RT Essentials from O'Reilly Media. > Buy a copy at http://rtbook.bestpractical.com > > > We're hiring! Come hack Perl for Best Practical: http://bestpractical.com/about/jobs.html > > Ole, Although we subscribe to the "group" method of assigning privileges as opposed to the individual "users", for something like this, you might just want to create a list of certain users and make them superusers and they can do anything. Not consistent with our philosophy, but sometimes you have to break a rule to get the job done, if the job is that important. Kenn/LBNL From ocraig at stillsecure.com Thu Jun 1 14:05:07 2006 From: ocraig at stillsecure.com (Ole Craig) Date: Thu, 01 Jun 2006 12:05:07 -0600 Subject: [rt-users] 3.6.0rc3: giving groups modification rights on members of other groups? In-Reply-To: <20060601174312.GK8022@bestpractical.com> References: <1149183198.8518.85.camel@hex.latis.com> <20060601174312.GK8022@bestpractical.com> Message-ID: <1149185107.8518.101.camel@hex.latis.com> On Thu, 2006-06-01 at 13:43 -0400, Jesse Vincent wrote: > > > On Thu, Jun 01, 2006 at 11:33:18AM -0600, Ole Craig wrote: > > Is it possible for a user-defined group to get the "AdminUser" > > right but only for selected users? i.e. I've got a U-D group "support". > > I'd like members of the Support group to be able to modify user > > information for unprivileged users, but not for members of other > > user-defined groups. > > > > Sorry. That's not currently possible. Urk. That's... dismaying. Has anyone ever asked before? I couldn't find anything in the archives, but it seems like an obvious "want" feature to me, in that I'd like my support staff brethren to be able to add notes about particular customers and update phone numbers and such, but I don't want them to modify the user records for the executive team (for instance.) In re-reading my screed I realize that my logic was overly fuzzified during verbalization: support staff should be able to modify the user record of any member of a particular group (regardless of that user's other group memberships) as long as the support group has been given the appropriate rights for the target group. Given the immediacy and brevity of Jesse's answer, I suspect that's a distinction that fails to make a difference, but clearer logic is always useful. Particularly since I may have to try and hack the functionality in somehow, so I'm attempting to flesh out the equivalence cases... -- /Ole Craig Security Engineer 303-381-3802 (main support hotline) 303-381-3824 (my direct line) 303-381-3801 (fax) www.stillsecure.com . . . From jesse at bestpractical.com Thu Jun 1 15:42:25 2006 From: jesse at bestpractical.com (Jesse Vincent) Date: Thu, 1 Jun 2006 15:42:25 -0400 Subject: [rt-users] 3.6.0rc3: giving groups modification rights on members of other groups? In-Reply-To: <1149185107.8518.101.camel@hex.latis.com> References: <1149183198.8518.85.camel@hex.latis.com> <20060601174312.GK8022@bestpractical.com> <1149185107.8518.101.camel@hex.latis.com> Message-ID: <20060601194225.GN8022@bestpractical.com> On Thu, Jun 01, 2006 at 12:05:07PM -0600, Ole Craig wrote: > On Thu, 2006-06-01 at 13:43 -0400, Jesse Vincent wrote: > > > > > > On Thu, Jun 01, 2006 at 11:33:18AM -0600, Ole Craig wrote: > > > Is it possible for a user-defined group to get the "AdminUser" > > > right but only for selected users? i.e. I've got a U-D group "support". > > > I'd like members of the Support group to be able to modify user > > > information for unprivileged users, but not for members of other > > > user-defined groups. > > > > > > > Sorry. That's not currently possible. > > Urk. That's... dismaying. Has anyone ever asked before? I > couldn't find anything in the archives, but it seems like an obvious > "want" feature to me, in that I'd like my support staff brethren to be > able to add notes about particular customers and update phone numbers > and such, but I don't want them to modify the user records for the > executive team (for instance.) You're welcome to have your money back ;) Seriously, though, it's a feature that I'd find useful, but isn't something we've ever _needed_ in house or at any customer site. If you hack it together in a way that would be a sane RT core change, it's something I'd be happy to see in a future release. > In re-reading my screed I realize that my logic was overly > fuzzified during verbalization: support staff should be able to modify > the user record of any member of a particular group (regardless of that > user's other group memberships) as long as the support group has been > given the appropriate rights for the target group. It was clear. More often, I see this requirement as "Customer service should be able to modify user attributes for unprivileged users. Your description is a reasonable generalization. > Given the immediacy and brevity of Jesse's answer, I suspect > that's a distinction that fails to make a difference, but clearer logic > is always useful. Particularly since I may have to try and hack the > functionality in somehow, so I'm attempting to flesh out the equivalence > cases... The brevity was actually likely due to the fact that I'm crunching on way too many things but still want to be at least marginally useful to the community. It seemed like I could give you a "nope, it's not there". I didn't mean it to sound abrasive. Sorry if I did. Best, Jesse > -- > /Ole Craig > Security Engineer > > 303-381-3802 (main support hotline) > 303-381-3824 (my direct line) > 303-381-3801 (fax) > > www.stillsecure.com > . . . > _______________________________________________ > http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users > > Community help: http://wiki.bestpractical.com > Commercial support: sales at bestpractical.com > > > Discover RT's hidden secrets with RT Essentials from O'Reilly Media. > Buy a copy at http://rtbook.bestpractical.com > > > We're hiring! Come hack Perl for Best Practical: http://bestpractical.com/about/jobs.html > -- From tomw at bnl.gov Thu Jun 1 15:47:14 2006 From: tomw at bnl.gov (Tomasz Wlodek) Date: Thu, 1 Jun 2006 15:47:14 -0400 (EDT) Subject: [rt-users] How to add requestor name in Templates? In-Reply-To: References: <20060503174640.GA22009@qwestip.net> Message-ID: Hello everybody, I would like to modify the Correspindence Template and Admin Correspondence so that it contains some information about who the requestor of the ticket was. I have added the following line to template: Original requestor address {$Ticket->RequestorAddresses} And it shows now in text of e-mails the e-mail of ticket requestor. Great. But Now I would like to see requestors real name. How do I do this? This must be a very simple, some line Requestor name - {$Ticket->....} where instead of ... I give the field name which corresponds to requestor real name. What exactly is this field? I can't find description in the book, nor on the wiki. Tomasz Wlodek | tel 631-344-7448 Brookhaven Laboratory, Building 510M | fax 631-344-7616 Upton NY 11973-5000 | From ocraig at stillsecure.com Thu Jun 1 15:57:37 2006 From: ocraig at stillsecure.com (Ole Craig) Date: Thu, 01 Jun 2006 13:57:37 -0600 Subject: [rt-users] 3.6.0rc3: giving groups modification rights on members of other groups? In-Reply-To: <20060601194225.GN8022@bestpractical.com> References: <1149183198.8518.85.camel@hex.latis.com> <20060601174312.GK8022@bestpractical.com> <1149185107.8518.101.camel@hex.latis.com> <20060601194225.GN8022@bestpractical.com> Message-ID: <1149191857.8518.124.camel@hex.latis.com> On Thu, 2006-06-01 at 15:42 -0400, Jesse Vincent wrote: > > You're welcome to have your money back ;) Seriously, though, it's a > feature that I'd find useful, but isn't something we've ever _needed_ in > house or at any customer site. If you hack it together in a way that > would be a sane RT core change, it's something I'd be happy to see in a > future release. I'll see what I can come up with. It'll be a good excuse to dust off my Camel. :-) [...] > It was clear. More often, I see this requirement as "Customer service > should be able to modify user attributes for unprivileged users. Your > description is a reasonable generalization. Yup, I was attempting to generalize into the existing ACL paradigm as much as possible. (Plus we're probably going to have multiple levels of users, and some levels should be able to modify others -- partners, resellers, OEM... &etc.) [...] > The brevity was actually likely due to the fact that I'm crunching on > way too many things but still want to be at least marginally useful to > the community. It seemed like I could give you a "nope, it's not there". > I didn't mean it to sound abrasive. Sorry if I did. Not at all! I was just thinking that since you replied so quickly and definitively (and without any of your usual hints to the effect of "but if you wanted to do here's where to look") ...it seemed unlikely that my restatement would provoke a different response. No abrasion was inferred or suffered, and my apologies for jogging your elbow mid-juggle. (Or mid-crunch.) Thanks for a great toolkit, Ole -- /Ole Craig Security Engineer 303-381-3802 (main support hotline) 303-381-3824 (my direct line) 303-381-3801 (fax) www.stillsecure.com . . . From jauty at indiana.edu Thu Jun 1 16:03:26 2006 From: jauty at indiana.edu (Joe Auty) Date: Thu, 1 Jun 2006 16:03:26 -0400 Subject: [rt-users] CommandByMail RT Extension Message-ID: <8872B31E-773B-483E-9339-7EA1F7144FA5@indiana.edu> Hi, I was working with Jesse Vincent on this, but decided to contact the list with this question since not only might I find an answer here, but this answer might be useful to others too... I'd like to use this extension as a means of parsing out custom field information sent to the queue address by a script. Extension can be downloaded here: http://search.cpan.org/~jesse/RT-Extension-CommandByMail-0.02/lib/RT/ Extension/CommandByMail.pm I'm trying to 1) verify I have installed this extension correctly, and 2) verify its intended usage I've added the line: @MailPlugins = qw(Auth::MailFrom Filter::TakeAction); to my RT_SiteConfig.pm file, compiled and installed the extension with no problem, applied the patch with no problems either, and finally restarted Apache. RT came up fine, but according to the System Configuration page neither your Extension nor Auth::MailFrom was loaded... Should this page list CommandByMail, and if so, any advice on how I can track down this problem? I'm assuming that once the extension is loaded, I would simply have to add a line like this somewhere in my message body for this to work? > CF.{CUsername}: jauty > > hello > (in this example, this would set CustomField "Username" with the value "jauty"?) Is this the intended usage here? ----------- Joe Auty UITS Messaging Indiana University jauty at indiana.edu -------------- next part -------------- A non-text attachment was scrubbed... Name: PGP.sig Type: application/pgp-signature Size: 186 bytes Desc: This is a digitally signed message part URL: From sturner at MIT.EDU Thu Jun 1 16:51:10 2006 From: sturner at MIT.EDU (Stephen Turner) Date: Thu, 01 Jun 2006 16:51:10 -0400 Subject: [rt-users] CommandByMail RT Extension In-Reply-To: <8872B31E-773B-483E-9339-7EA1F7144FA5@indiana.edu> References: <8872B31E-773B-483E-9339-7EA1F7144FA5@indiana.edu> Message-ID: <6.2.3.4.2.20060601164757.034f9038@po14.mit.edu> At Thursday 6/1/2006 04:03 PM, Joe Auty wrote: >Hi, > >I was working with Jesse Vincent on this, but decided to contact the >list with this question since not only might I find an answer here, >but this answer might be useful to others too... > >I'd like to use this extension as a means of parsing out custom field >information sent to the queue address by a script. Extension can be >downloaded here: > >http://search.cpan.org/~jesse/RT-Extension-CommandByMail-0.02/lib/RT/ >Extension/CommandByMail.pm In terms of functionality, how does this differ from Dirk Pape's scrip/template extension for filling in CFs from email? (http://wiki.bestpractical.com/index.cgi?Contributions -> ScripActions -> ExtractCustomFieldValues). Thanks, Steve From jesse at bestpractical.com Thu Jun 1 16:55:49 2006 From: jesse at bestpractical.com (Jesse Vincent) Date: Thu, 1 Jun 2006 16:55:49 -0400 Subject: [rt-users] CommandByMail RT Extension In-Reply-To: <6.2.3.4.2.20060601164757.034f9038@po14.mit.edu> References: <8872B31E-773B-483E-9339-7EA1F7144FA5@indiana.edu> <6.2.3.4.2.20060601164757.034f9038@po14.mit.edu> Message-ID: <20060601205549.GO8022@bestpractical.com> On Thu, Jun 01, 2006 at 04:51:10PM -0400, Stephen Turner wrote: > At Thursday 6/1/2006 04:03 PM, Joe Auty wrote: > >Hi, > > > >I was working with Jesse Vincent on this, but decided to contact the > >list with this question since not only might I find an answer here, > >but this answer might be useful to others too... > > > >I'd like to use this extension as a means of parsing out custom field > >information sent to the queue address by a script. Extension can be > >downloaded here: > > > >http://search.cpan.org/~jesse/RT-Extension-CommandByMail-0.02/lib/RT/ > >Extension/CommandByMail.pm > > In terms of functionality, how does this differ from Dirk Pape's > scrip/template extension for filling in CFs from email? > (http://wiki.bestpractical.com/index.cgi?Contributions -> > ScripActions -> ExtractCustomFieldValues). > That's a "pull these bits of data" This is a full "Do stuff by mail" command mode. RT-Extension-CommandByMail version 0.0.1 INSTALLATION Read INSTALL file to get more info about installation. COPYRIGHT AND LICENCE Copyright (C) 2006, Best Practical Solutions LLC. This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself. DESCRIPTION This extension parse content of incoming messages for list commands. Format of commands is: Command: value Command: value ... You can find list of "COMMANDS commands below". Some commands (like Status, Queue and other) can be used only once. Commands that manage lists can be used multiple times, for example link, custom fields and watchers commands. Also, the latter can be used with "Add" and "Del" prefixes to add/delete values from the current list of the ticket you reply to or comment on. COMMANDS Basic Queue: Set new queue for the ticket Subject: Set new subject to the given string Status: Set new status, one of new, open, stalled, resolved, rejected or deleted Owner: Set new owner using the given username Priority: <#> Set new priority to the given value FinalPriority: <#> Set new final priority to the given value Dates Set new date/timestamp, or 0 to unset: Due: Starts: Started: Time Set new times to the given value in minutes. Note that on correspond/comment "TimeWorked" add time to the current value. TimeWorked: TimeEstimated: TimeLeft: Watchers Manage watchers: requestors, ccs and admin ccs. This commands can be used several times and/or with "Add" and "Del" prefixes, for example "Requestor" comand set requestor(s) and the current requestors would be deleted, but "AddRequestor" command adds to the current list. Requestor:
Set requestor(s) using the email address AddRequestor:
Add new requestor using the email address DelRequestor:
Remove email address as requestor Cc:
Set Cc watcher(s) using the email address AddCc:
Add new Cc watcher using the email address DelCc:
Remove email address as Cc watcher AdminCc:
Set AdminCc watcher(s) using the email address AddAdminCc:
Add new AdminCc watcher using the email address DelAdminCc:
Remove email address as AdminCc watcher Links Manage links. These commands are also could be used several times in one message. DependsOn: DependedOnBy: RefersTo: ReferredToBy: Members: MemberOf: Custom field values Manage custom field values. Could be used multiple times. CustomField.{C}: AddCustomField.{C}: DelCustomField.{C}: Short forms: CF.{C}: AddCF.{C}: DelCF.{C}: From ruslan.zakirov at gmail.com Thu Jun 1 17:03:01 2006 From: ruslan.zakirov at gmail.com (Ruslan Zakirov) Date: Fri, 2 Jun 2006 01:03:01 +0400 Subject: [rt-users] CommandByMail RT Extension In-Reply-To: <6.2.3.4.2.20060601164757.034f9038@po14.mit.edu> References: <8872B31E-773B-483E-9339-7EA1F7144FA5@indiana.edu> <6.2.3.4.2.20060601164757.034f9038@po14.mit.edu> Message-ID: <589c94400606011403u7f633cf0saebab42b1e335394@mail.gmail.com> Overview: http://search.cpan.org/dist/RT-Extension-CommandByMail/lib/RT/Extension/CommandByMail.pm Installation instructions: http://search.cpan.org/dist/RT-Extension-CommandByMail/INSTALL Supported commands: http://search.cpan.org/dist/RT-Extension-CommandByMail/README Sorry, I made an error in POD, custom field commands CF.{xxxx} without C in curly brackets. Also, note that 3.6 branch needs patching too as 3.4, I think patch for 3.4.5 should work. Please, send me a note if you couldn't apply patch to 3.6 I'll create new one. On 6/2/06, Stephen Turner wrote: > At Thursday 6/1/2006 04:03 PM, Joe Auty wrote: > >Hi, > > > >I was working with Jesse Vincent on this, but decided to contact the > >list with this question since not only might I find an answer here, > >but this answer might be useful to others too... > > > >I'd like to use this extension as a means of parsing out custom field > >information sent to the queue address by a script. Extension can be > >downloaded here: > > > >http://search.cpan.org/~jesse/RT-Extension-CommandByMail-0.02/lib/RT/ > >Extension/CommandByMail.pm > > In terms of functionality, how does this differ from Dirk Pape's > scrip/template extension for filling in CFs from email? > (http://wiki.bestpractical.com/index.cgi?Contributions -> > ScripActions -> ExtractCustomFieldValues). > > Thanks, > Steve > > _______________________________________________ > http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users > > Community help: http://wiki.bestpractical.com > Commercial support: sales at bestpractical.com > > > Discover RT's hidden secrets with RT Essentials from O'Reilly Media. > Buy a copy at http://rtbook.bestpractical.com > > > We're hiring! Come hack Perl for Best Practical: http://bestpractical.com/about/jobs.html > -- Best regards, Ruslan. From jauty at indiana.edu Thu Jun 1 17:06:31 2006 From: jauty at indiana.edu (Joe Auty) Date: Thu, 1 Jun 2006 17:06:31 -0400 Subject: [rt-users] CommandByMail RT Extension In-Reply-To: <589c94400606011403u7f633cf0saebab42b1e335394@mail.gmail.com> References: <8872B31E-773B-483E-9339-7EA1F7144FA5@indiana.edu> <6.2.3.4.2.20060601164757.034f9038@po14.mit.edu> <589c94400606011403u7f633cf0saebab42b1e335394@mail.gmail.com> Message-ID: <83F129D4-B29C-42E5-BE4D-264FB46A71DC@indiana.edu> Awesome! It's working... The problem was the extra C in the curly bracket... I hope finding this typo is useful to others too! On Jun 1, 2006, at 5:03 PM, Ruslan Zakirov wrote: > Overview: > http://search.cpan.org/dist/RT-Extension-CommandByMail/lib/RT/ > Extension/CommandByMail.pm > Installation instructions: > http://search.cpan.org/dist/RT-Extension-CommandByMail/INSTALL > Supported commands: > http://search.cpan.org/dist/RT-Extension-CommandByMail/README > > Sorry, I made an error in POD, custom field commands CF.{xxxx} without > C in curly brackets. > > Also, note that 3.6 branch needs patching too as 3.4, I think patch > for 3.4.5 should work. Please, send me a note if you couldn't apply > patch to 3.6 I'll create new one. > > > > > On 6/2/06, Stephen Turner wrote: >> At Thursday 6/1/2006 04:03 PM, Joe Auty wrote: >> >Hi, >> > >> >I was working with Jesse Vincent on this, but decided to contact the >> >list with this question since not only might I find an answer here, >> >but this answer might be useful to others too... >> > >> >I'd like to use this extension as a means of parsing out custom >> field >> >information sent to the queue address by a script. Extension can be >> >downloaded here: >> > >> >http://search.cpan.org/~jesse/RT-Extension-CommandByMail-0.02/lib/ >> RT/ >> >Extension/CommandByMail.pm >> >> In terms of functionality, how does this differ from Dirk Pape's >> scrip/template extension for filling in CFs from email? >> (http://wiki.bestpractical.com/index.cgi?Contributions -> >> ScripActions -> ExtractCustomFieldValues). >> >> Thanks, >> Steve >> >> _______________________________________________ >> http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users >> >> Community help: http://wiki.bestpractical.com >> Commercial support: sales at bestpractical.com >> >> >> Discover RT's hidden secrets with RT Essentials from O'Reilly Media. >> Buy a copy at http://rtbook.bestpractical.com >> >> >> We're hiring! Come hack Perl for Best Practical: http:// >> bestpractical.com/about/jobs.html >> > > > -- > Best regards, Ruslan. ----------- Joe Auty UITS Messaging Indiana University jauty at indiana.edu From rickr at rice.edu Thu Jun 1 16:55:42 2006 From: rickr at rice.edu (Rick Russell) Date: Thu, 01 Jun 2006 15:55:42 -0500 Subject: [rt-users] How to add requestor name in Templates? In-Reply-To: References: <20060503174640.GA22009@qwestip.net> Message-ID: <447F544E.9060504@rice.edu> -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Tomasz Wlodek wrote: > But Now I would like to see requestors real name. How do I do this? > > This must be a very simple, some line > > Requestor name - {$Ticket->....} Requestor name - {$Ticket->Requestors->UsersObj->First->RealName} If there is more than one requestor, you'll need to write a routine to go through them, probably using the $Ticket->Requestors->UsersObj->Next method in a loop. > I can't find description in the book, nor on the wiki. It would be nice (HINT HINT) if RT Essentials included a reference list of the common object methods, the objects to which they apply, and a simple example of each one in use :-) Sure, an exhaustive list would require a hundred pages, but you could hit 90% of the objects and methods that somebody is likely to use in a couple of dozen pages. Rick R. -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.3 (MingW32) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFEf1ROXIxWysfLtmkRAlrMAJ4wZRpuknciGKRq1cMpYoL/FgNmDwCfUEQo 0GdCXSpb81Jzz5UmYh2Bulc= =66k1 -----END PGP SIGNATURE----- From KFCrocker at lbl.gov Thu Jun 1 19:17:07 2006 From: KFCrocker at lbl.gov (Kenneth Crocker) Date: Thu, 01 Jun 2006 16:17:07 -0700 Subject: [rt-users] How to add requestor name in Templates? In-Reply-To: <447F544E.9060504@rice.edu> References: <20060503174640.GA22009@qwestip.net> <447F544E.9060504@rice.edu> Message-ID: <447F7573.5000801@lbl.gov> Rick Russell wrote: > -----BEGIN PGP SIGNED MESSAGE----- > Hash: SHA1 > > > > Tomasz Wlodek wrote: > > >> But Now I would like to see requestors real name. How do I do this? >> >> This must be a very simple, some line >> >> Requestor name - {$Ticket->....} >> > > Requestor name - {$Ticket->Requestors->UsersObj->First->RealName} > > If there is more than one requestor, you'll need to write a routine to > go through them, probably using the $Ticket->Requestors->UsersObj->Next > method in a loop. > > >> I can't find description in the book, nor on the wiki. >> > > It would be nice (HINT HINT) if RT Essentials included a reference list > of the common object methods, the objects to which they apply, and a > simple example of each one in use :-) > > Sure, an exhaustive list would require a hundred pages, but you could > hit 90% of the objects and methods that somebody is likely to use in a > couple of dozen pages. > > Rick R. > -----BEGIN PGP SIGNATURE----- > Version: GnuPG v1.4.3 (MingW32) > Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org > > iD8DBQFEf1ROXIxWysfLtmkRAlrMAJ4wZRpuknciGKRq1cMpYoL/FgNmDwCfUEQo > 0GdCXSpb81Jzz5UmYh2Bulc= > =66k1 > -----END PGP SIGNATURE----- > _______________________________________________ > http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users > > Community help: http://wiki.bestpractical.com > Commercial support: sales at bestpractical.com > > > Discover RT's hidden secrets with RT Essentials from O'Reilly Media. > Buy a copy at http://rtbook.bestpractical.com > > > We're hiring! Come hack Perl for Best Practical: http://bestpractical.com/about/jobs.html > > HERE! HERE! From admin at fouks.net Thu Jun 1 21:03:31 2006 From: admin at fouks.net (Jason Fouks) Date: Thu, 1 Jun 2006 20:03:31 -0500 Subject: [rt-users] RT on Mac OS X Server 10.4 In-Reply-To: References: Message-ID: <42F92C58-C436-4F86-8CDF-0D9CC5111954@fouks.net> When I installed 10.4.6 server along with Xcode 2.2 I tried using CPAN to get the any of the perl modules working and none of the perl modules seemed to go successfully. I was working with this article I found on the internet and failed at it using these directions. (https://portal.aero.und.edu/docs/general/rtosx) Jason On Jun 1, 2006, at 12:18 PM, Michael Dunne wrote: > Howdy, > > I managed to get it running on OS X4.6 client. Which modules are > you having > difficulty with? > > Mike > > > On 6/1/06 12:54 PM, "Jason Fouks" wrote: > >> I am running 10.4.6 on a test box. I am trying to get the PERL >> modules built but it seems to fail every time which means I can't get >> the RT program running. Has anyone had success with getting the PERL >> modules built and have step by step directions as to how to get RT >> built on a brand new 10.4.6 OS X Server? >> >> Thanks much, >> Jason >> _______________________________________________ >> http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users >> >> Community help: http://wiki.bestpractical.com >> Commercial support: sales at bestpractical.com >> >> >> Discover RT's hidden secrets with RT Essentials from O'Reilly Media. >> Buy a copy at http://rtbook.bestpractical.com >> >> >> We're hiring! Come hack Perl for Best Practical: >> http://bestpractical.com/about/jobs.html >> > > > From dyang at pactecsoft.com Fri Jun 2 03:18:00 2006 From: dyang at pactecsoft.com (david yang) Date: Fri, 2 Jun 2006 00:18:00 -0700 Subject: [rt-users] RT MAIL-GATEWAY Message-ID: Hi guys, My rt version is 3.4.5, when I installed it, and want to mail through rt-mail-gateway, but when I see the log (/var/log/maillog) ,It gives a error messages, such as: Jun 1 23:49:27 logstore postfix/local[28711]: 111A46E0050: to=, orig_to=, relay=local, delay=1233, status=deferred (temporary failure. Command output: RT server error. The RT server which handled your email did not behave as expected. It said: Can't use an undefined value as an ARRAY reference at /opt/rt3/lib/RT/EmailParser.pm line 624. Stack: [/opt/rt3/lib/RT/EmailParser.pm:624] [/usr/lib/perl5/5.8.5/Carp.pm:201] ) I don't know why, who can help me, thanks in advance!! David Yang From paul at boldra.com Fri Jun 2 05:10:44 2006 From: paul at boldra.com (Boldra) Date: Fri, 02 Jun 2006 11:10:44 +0200 Subject: [rt-users] user mailfilters with scrips? Message-ID: <44800094.2090807@boldra.com> Hello all I'm looking at ways letting users set up their own mail filters for rt to do very simple things like set the queue or the priority when a string is matched, but I don't want to give users all the power of scrips (or even all the power of regexes). Does anyone have any suggestions for either A) limiting the power of scrips and what people can do with them, or B) another way of allowing users to filter their own mail? Boldra From andreas.sinn at cpb-software.ag Fri Jun 2 07:22:45 2006 From: andreas.sinn at cpb-software.ag (Andreas Sinn) Date: Fri, 2 Jun 2006 13:22:45 +0200 Subject: [rt-users] Autoreply Email Message-ID: <07FD4DCB6B2E194495066CA0A5CF11770C646E@MXS1.cpbs.at> Is it possible to send an autoreply email with subject like ticket name and ticket number and not ticket number and ticket name? Thanks Andreas -------------- next part -------------- An HTML attachment was scrubbed... URL: From brendanarnold at gmail.com Fri Jun 2 08:02:40 2006 From: brendanarnold at gmail.com (Brendan Arnold) Date: Fri, 2 Jun 2006 13:02:40 +0100 Subject: [rt-users] Lack of trailing slash causing porblems in IE In-Reply-To: <5ed41c130606010841l1a106e01r3b20bff47e7ab08f@mail.gmail.com> References: <5ed41c130605220229v616dc65bu87e9b8a9c9592cfe@mail.gmail.com> <5ed41c130606010841l1a106e01r3b20bff47e7ab08f@mail.gmail.com> Message-ID: <5ed41c130606020502r17886dek5994d931e7bbdb5f@mail.gmail.com> I inlcuded this Aoache directive to remove SSLv3 negotiations SSLProtocol all -SSLv3 Since then I have not had any errors, although the porblem is intermittent. If I have any trouble I will let the group know. Brendan On 6/1/06, Brendan Arnold wrote: > I have tried changing the primary DNS hostname to that on our SSL > certificate, however this has had no effect. > > I have just come across this article in the MS Knowledge base which > may be of some help. I am going to try disabling SSL 3.0 connections > as a result. > > http://support.microsoft.com/?kbid=305217 > > I will keep you posted as to progress. > > Brendan > From Eric.Dynowski at magnetar.com Fri Jun 2 08:20:18 2006 From: Eric.Dynowski at magnetar.com (Dynowski, Eric) Date: Fri, 2 Jun 2006 07:20:18 -0500 Subject: [rt-users] RT Hangs when clicking on the Tickets Link Message-ID: Everyone, We hare having some problems moving RT from Windows to Linux. We are currently running RT 3.0.12 on a windows machine and wish to move everything to a Redhat AS4 Linux machine. To test the migration we are using VMware. (I have also tried the same setup under Debian) I have followed the install guide on the wiki and have RT working without problems with a clean new empty database. I then dump the MySQL database (using mysqldump) from the windows machine and reload it on the Linux machine. I can login to RT and perform most functions. However when I click the Tickets link on the upper left the session just hangs. It appears that Apache gets stuck in some type of infinite loop and the web server stops responding to all requests. There is an excerpt of the apache error_log attached to this post. Those errors just keep on logging over and over and over until I restart apache. I have tried several different versions of RT with the same result. The output bellow is from version 3.4.4 (I did run the schema, acl, etc DB upgrade scripts). The same problem manifests itself on version 3.0.12 for Linux too. Also note the messages logged to the RT debug log. Those appear just after clicking the Tickets link so I assume they must be related. One other interesting note: I had to rename almost all the tables after reloading the database on Linux. The windows version of the database has all the table names in lowercase. After loading the database on the Linux server I did rename table commands to match the case of what the Linux database table names. Thanks Eric. [root at evvmware01 ~]# uname -a Linux evvmware01.magnetar.com 2.6.9-5.EL #1 Wed Jan 5 19:22:18 EST 2005 i686 i686 i386 GNU/Linux [root at evvmware01 ~]# cat /opt/rt3/lib/RT.pm|grep VERSION use vars qw($VERSION $System $SystemUser $Nobody $Handle $Logger $VERSION = '3.4.4'; [root at evvmware01 ~]# perl -v This is perl, v5.8.5 built for i386-linux-thread-multi [root at evvmware01 ~]# perl -MDBIx::SearchBuilder -e 'print $DBIx::SearchBuilder::VERSION;' 1.43 [root at evvmware01 ~]# httpd -v Server version: Apache/2.0.52 Server built: Nov 30 2004 11:22:20 [root at evvmware01 ~]# mysql -V mysql Ver 14.7 Distrib 4.1.12, for redhat-linux-gnu (i386) using readline 4.3 [root at evvmware01 log]# tail -f /opt/rt3/var/log/rt.log [Thu May 25 04:35:48 2006] [debug]: RT::CustomField -> QueueObj deprecated (/opt/rt3/lib/RT/CustomField_Overlay.pm:753) [Thu May 25 04:35:48 2006] [debug]: RT::CustomField -> QueueObj deprecated (/opt/rt3/lib/RT/CustomField_Overlay.pm:753) tail -500 /var/log/httpd/error_log [Wed May 24 23:36:01 2006] [error] [client 10.1.24.141] FastCGI: server "/opt/rt3/bin/mason_handler.fcgi" stderr: \tDBIx::SearchBuilder::Next ('RT::Attributes=HASH(0xb22b5e8)') call ed at /opt/rt3/lib/RT/Attributes_Overlay.pm line 80, referer: http://testrt.magnetar.com/Ticket/Display.html?id=1294 [Wed May 24 23:36:01 2006] [error] [client 10.1.24.141] FastCGI: server "/opt/rt3/bin/mason_handler.fcgi" stderr: \tRT::Attributes::_BuildAccessTable('RT::Attributes=HASH(0xb22b5e8 )') called at /opt/rt3/lib/RT/Attributes_Overlay.pm line 73, referer: http://testrt.magnetar.com/Ticket/Display.html?id=1294 [Wed May 24 23:36:01 2006] [error] [client 10.1.24.141] FastCGI: server "/opt/rt3/bin/mason_handler.fcgi" stderr: \tRT::Attributes::_DoSearch ('RT::Attributes=HASH(0xb22b5e8)') call ed at /usr/lib/perl5/site_perl/5.8.5/DBIx/SearchBuilder.pm line 491, referer: http://testrt.magnetar.com/Ticket/Display.html?id=1294 [Wed May 24 23:36:01 2006] [error] [client 10.1.24.141] FastCGI: server "/opt/rt3/bin/mason_handler.fcgi" stderr: \tDBIx::SearchBuilder::Next ('RT::Attributes=HASH(0xb22b5e8)') call ed at /opt/rt3/lib/RT/Attributes_Overlay.pm line 80, referer: http://testrt.magnetar.com/Ticket/Display.html?id=1294 [Wed May 24 23:36:01 2006] [error] [client 10.1.24.141] FastCGI: server "/opt/rt3/bin/mason_handler.fcgi" stderr: \tRT::Attributes::_BuildAccessTable('RT::Attributes=HASH(0xb22b5e8 )') called at /opt/rt3/lib/RT/Attributes_Overlay.pm line 73, referer: http://testrt.magnetar.com/Ticket/Display.html?id=1294 [Wed May 24 23:36:01 2006] [error] [client 10.1.24.141] FastCGI: server "/opt/rt3/bin/mason_handler.fcgi" stderr: \tRT::Attributes::_DoSearch ('RT::Attributes=HASH(0xb22b5e8)') call ed at /usr/lib/perl5/site_perl/5.8.5/DBIx/SearchBuilder.pm line 491, referer: http://testrt.magnetar.com/Ticket/Display.html?id=1294 [Wed May 24 23:36:01 2006] [error] [client 10.1.24.141] FastCGI: server "/opt/rt3/bin/mason_handler.fcgi" stderr: \tDBIx::SearchBuilder::Next ('RT::Attributes=HASH(0xb22b5e8)') call ed at /opt/rt3/lib/RT/Attributes_Overlay.pm line 80, referer: http://testrt.magnetar.com/Ticket/Display.html?id=1294 [Wed May 24 23:36:01 2006] [error] [client 10.1.24.141] FastCGI: server "/opt/rt3/bin/mason_handler.fcgi" stderr: \tRT::Attributes::_BuildAccessTable('RT::Attributes=HASH(0xb22b5e8 )') called at /opt/rt3/lib/RT/Attributes_Overlay.pm line 73, referer: http://testrt.magnetar.com/Ticket/Display.html?id=1294 [Wed May 24 23:36:01 2006] [error] [client 10.1.24.141] FastCGI: server "/opt/rt3/bin/mason_handler.fcgi" stderr: \tRT::Attributes::_DoSearch ('RT::Attributes=HASH(0xb22b5e8)') call ed at /usr/lib/perl5/site_perl/5.8.5/DBIx/SearchBuilder.pm line 491, referer: http://testrt.magnetar.com/Ticket/Display.html?id=1294 [Wed May 24 23:36:01 2006] [error] [client 10.1.24.141] FastCGI: server "/opt/rt3/bin/mason_handler.fcgi" stderr: \tDBIx::SearchBuilder::Next ('RT::Attributes=HASH(0xb22b5e8)') call ed at /opt/rt3/lib/RT/Attributes_Overlay.pm line 80, referer: http://testrt.magnetar.com/Ticket/Display.html?id=1294 [Wed May 24 23:36:01 2006] [error] [client 10.1.24.141] FastCGI: server "/opt/rt3/bin/mason_handler.fcgi" stderr: \tRT::Attributes::_BuildAccessTable('RT::Attributes=HASH(0xb22b5e8 )') called at /opt/rt3/lib/RT/Attributes_Overlay.pm line 73, referer: http://testrt.magnetar.com/Ticket/Display.html?id=1294 [Wed May 24 23:36:01 2006] [error] [client 10.1.24.141] FastCGI: server "/opt/rt3/bin/mason_handler.fcgi" stderr: \tRT::Attributes::_DoSearch ('RT::Attributes=HASH(0xb22b5e8)') call ed at /usr/lib/perl5/site_perl/5.8.5/DBIx/SearchBuilder.pm line 491, referer: http://testrt.magnetar.com/Ticket/Display.html?id=1294 [Wed May 24 23:36:01 2006] [error] [client 10.1.24.141] FastCGI: server "/opt/rt3/bin/mason_handler.fcgi" stderr: \tDBIx::SearchBuilder::Next ('RT::Attributes=HASH(0xb22b5e8)') call ed at /opt/rt3/lib/RT/Attributes_Overlay.pm line 80, referer: http://testrt.magnetar.com/Ticket/Display.html?id=1294 [Wed May 24 23:36:01 2006] [error] [client 10.1.24.141] FastCGI: server "/opt/rt3/bin/mason_handler.fcgi" stderr: \tRT::Attributes::_BuildAccessTable('RT::Attributes=HASH(0xb22b5e8 )') called at /opt/rt3/lib/RT/Attributes_Overlay.pm line 73, referer: http://testrt.magnetar.com/Ticket/Display.html?id=1294 [Wed May 24 23:36:01 2006] [error] [client 10.1.24.141] FastCGI: server "/opt/rt3/bin/mason_handler.fcgi" stderr: \tRT::Attributes::_DoSearch ('RT::Attributes=HASH(0xb22b5e8)') call ed at /usr/lib/perl5/site_perl/5.8.5/DBIx/SearchBuilder.pm line 491, referer: http://testrt.magnetar.com/Ticket/Display.html?id=1294 [Wed May 24 23:36:01 2006] [error] [client 10.1.24.141] FastCGI: server "/opt/rt3/bin/mason_handler.fcgi" stderr: \tDBIx::SearchBuilder::Next ('RT::Attributes=HASH(0xb22b5e8)') call ed at /opt/rt3/lib/RT/Attributes_Overlay.pm line 80, referer: -------------- next part -------------- An HTML attachment was scrubbed... URL: From bradp at newmediagateway.com Fri Jun 2 09:55:53 2006 From: bradp at newmediagateway.com (Brad Pinkston) Date: Fri, 2 Jun 2006 08:55:53 -0500 Subject: [rt-users] Close Tabs on Display Message-ID: What is the best way to specify which tabs open by default on the "Display" of a ticket? I would like to minimize all sections besides "History" by default. Brad Pinkston Senior Systems Administrator New Media Gateway O: 214.206.3485 M: 469.682.6487 F: 303.496.2712 -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: image001.jpg Type: image/jpeg Size: 1711 bytes Desc: image001.jpg URL: From skirk at insomniacgames.com Fri Jun 2 13:02:22 2006 From: skirk at insomniacgames.com (Steve Kirk) Date: Fri, 2 Jun 2006 10:02:22 -0700 Subject: [rt-users] Email Response "FROM" name Message-ID: <514005087A4DA54CB81C428C81EAB93D01E8F572@EXCHANGE.insomniacgames.com> In the RT_Config.pm, you can set the global email adddress FROM variable. The default is "%s via RT", so it would display as "Joe Smith via RT." Is there any way to set that at a queue level? I ask because one of the queues I use is for the public, and we'd rather have some level of anonimity when we reply to those tickets (it's for fan email, and some fans get a little fanatical when they have a name to latch onto). However, we like the feature for our internal responses - In our old helpdesk system, people alwasy complained because they never knew who sent a response from the system if they failed to sign the email. Thanks, Steve -------------- next part -------------- An HTML attachment was scrubbed... URL: From purp at acm.org Fri Jun 2 16:56:29 2006 From: purp at acm.org (Jim Meyer) Date: Fri, 2 Jun 2006 13:56:29 -0700 Subject: [rt-users] LDAP Overlay Update: Account Autocreation Message-ID: Hello! With the most enormous thanks possible to RuslanZakirov who got me thinking about it the right way, and also to DirkPape for his notes on Callbacks on the CleanlyCustomizeRT page, there's now a callback extension for the LDAP overlay which autocreates RT accounts at login if the user passes authentication. This means anyone in LDAP can immediately log into RT with no need to first create their RT account. I've updated the LDAP wiki page: http://wiki.bestpractical.com/?LDAP You can find the callback and installation instructions here: http://wiki.bestpractical.com/?LdapAutocreateAuthCallback You should be able to add this, restart your web server, and see the results immediately. I know a large number of you asked for this; I'm sorry it took so long to get it right. It's right, now. =] Cheers! --j -- Jim Meyer, Geek at Large purp at acm.org From ocraig at stillsecure.com Fri Jun 2 17:12:12 2006 From: ocraig at stillsecure.com (Ole Craig) Date: Fri, 02 Jun 2006 15:12:12 -0600 Subject: [rt-users] Email Response "FROM" name In-Reply-To: <514005087A4DA54CB81C428C81EAB93D01E8F572@EXCHANGE.insomniacgames.com> References: <514005087A4DA54CB81C428C81EAB93D01E8F572@EXCHANGE.insomniacgames.com> Message-ID: <1149282732.8518.248.camel@hex.latis.com> On Fri, 2006-06-02 at 10:02 -0700, Steve Kirk wrote: > In the RT_Config.pm, you can set the global email adddress FROM > variable. The default is "%s via RT", so it would display as "Joe > Smith via RT." > > Is there any way to set that at a queue level? > > I ask because one of the queues I use is for the public, and we'd > rather have some level of anonimity when we reply to those tickets > (it's for fan email, and some fans get a little fanatical when they > have a name to latch onto). > > However, we like the feature for our internal responses - In our old > helpdesk system, people alwasy complained because they never knew who > sent a response from the system if they failed to sign the email. I'm considering doing something similar. In my case, I like the "friendly-from" for emails going out to external requestors -- because it helps to keep customers from trying to correspond directly with an engineer rather than going through RT -- but for emails coming through RT to internal staff, I'd like to see the origin email address. In part this is purely cosmetic; most peoples' email clients put that string into the reply-string in the email (e.g. see the top of this email, where it says "[...] Steve Kirk wrote:") and it looks weird when people forget to edit the reply string and it goes out with "on this date at this time 'Via RT' wrote:" I've not had time to look at it yet (that's what weekends are for, right? :-) but I suspect the way I'll end up going is to define a template that rewrites the "From" header with suitable values obtained from the ticket object, and then override the default scrip for "on Correspond Notify AdminCcs" to use that template rather than the global Admin Correspondence or Correspondence templates. -- /Ole Craig Security Engineer 303-381-3802 (main support hotline) 303-381-3824 (my direct line) 303-381-3801 (fax) www.stillsecure.com . . . From bruno at marmier.net Fri Jun 2 22:18:52 2006 From: bruno at marmier.net (bruno at marmier.net) Date: Sat, 3 Jun 2006 04:18:52 +0200 (CEST) Subject: [rt-users] Timezone issue: configuration in RT_SiteConfig has no effect Message-ID: <39374.200.82.220.63.1149301132.squirrel@mail.lautre.net> Hi everyone, I am using RT release 3.4.4 on a Linux Debian Sarge server, with Apache 1.3, Mysql 4.0.24 and FastCGI. The computer timezone is Europe/Paris, as the machine is in France I am using RT in Venezuela, so my configuration file has the timezone variable set to America/Caracas, but the system doesn't use it. I have checked in the database: MySQL saves the time in GMT, so the system works fine for the input. But on my screen, the ticket are always dislayed with the Europe/Paris time. I have tried to put every timezone posible in my RT_SiteConfig, and then restarded Apache, but I have never been able to get other time displayed, only the Europe/Paris time. If someone has a solution, I would apreciate. Best regards Bruno From pkime at Shopzilla.com Sat Jun 3 23:09:56 2006 From: pkime at Shopzilla.com (Philip Kime) Date: Sat, 3 Jun 2006 20:09:56 -0700 Subject: [rt-users] Known bug in RT 3.4.5 with disabled Group display? Message-ID: <58B1112F0EEB7349AE14A0AA46F9CEC00137ABC2@szexchange.Shopzilla.inc> Is it a known bug in 3.4.5 that the "Include disabled groups in listing" box on the Groups display page does nothing? I added this to the INIT sectionof /Admin/Groups/index.html and now it seems to work ... if ($FindDisabledGroups) { $Groups->{'find_disabled_rows'} = 1; } I found this out the hard way as I thought I'd disabled a group (I had) went to display it to re-enable it, couldn't, recreated the group with the same name (RT let me do this) and I ended up with two groups with the same name. Some code I was using to set Group rights then kept setting the rights on the invisible, disabled one and confused the hell out of me ... $Group->LoadUserDefinedGroup found the disabled group first when loading the group by name ... PK -- Philip Kime NOPS Systems Architect 310 401 0407 -------------- next part -------------- An HTML attachment was scrubbed... URL: From jesse at bestpractical.com Sat Jun 3 23:39:37 2006 From: jesse at bestpractical.com (Jesse Vincent) Date: Sat, 3 Jun 2006 23:39:37 -0400 Subject: [rt-users] Known bug in RT 3.4.5 with disabled Group display? In-Reply-To: <58B1112F0EEB7349AE14A0AA46F9CEC00137ABC2@szexchange.Shopzilla.inc> References: <58B1112F0EEB7349AE14A0AA46F9CEC00137ABC2@szexchange.Shopzilla.inc> Message-ID: <20060604033936.GO8022@bestpractical.com> I believe we've already fixed this for 3.4.6, but checking that would be appreciated? On Sat, Jun 03, 2006 at 08:09:56PM -0700, Philip Kime wrote: > Is it a known bug in 3.4.5 that the "Include disabled groups in listing" > box on the Groups display page does nothing? I added this to the INIT > sectionof /Admin/Groups/index.html and now it seems to work ... > > if ($FindDisabledGroups) { > $Groups->{'find_disabled_rows'} = 1; > } > > I found this out the hard way as I thought I'd disabled a group (I had) > went to display it to re-enable it, couldn't, recreated the group with > the same name (RT let me do this) and I ended up with two groups with > the same name. Some code I was using to set Group rights then kept > setting the rights on the invisible, disabled one and confused the hell > out of me ... > > $Group->LoadUserDefinedGroup > > found the disabled group first when loading the group by name ... > > PK > > -- > Philip Kime > NOPS Systems Architect > 310 401 0407 > > _______________________________________________ > http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users > > Community help: http://wiki.bestpractical.com > Commercial support: sales at bestpractical.com > > > Discover RT's hidden secrets with RT Essentials from O'Reilly Media. > Buy a copy at http://rtbook.bestpractical.com > > > We're hiring! Come hack Perl for Best Practical: http://bestpractical.com/about/jobs.html -- From tomw at bnl.gov Sun Jun 4 12:07:39 2006 From: tomw at bnl.gov (Tomasz Wlodek) Date: Sun, 4 Jun 2006 12:07:39 -0400 (EDT) Subject: [rt-users] Known bug in RT 3.4.5 with disabled Group display? In-Reply-To: <58B1112F0EEB7349AE14A0AA46F9CEC00137ABC2@szexchange.Shopzilla.inc> References: <58B1112F0EEB7349AE14A0AA46F9CEC00137ABC2@szexchange.Shopzilla.inc> Message-ID: I can confirm that the same thing happened to me when I disabled a group. Wne I tried to re-enable it the group was gone. I can still find individual tickets from this group though. Tomasz Wlodek | tel 631-344-7448 Brookhaven Laboratory, Building 510M | fax 631-344-7616 Upton NY 11973-5000 | On Sat, 3 Jun 2006, Philip Kime wrote: > Is it a known bug in 3.4.5 that the "Include disabled groups in listing" > box on the Groups display page does nothing? I added this to the INIT > sectionof /Admin/Groups/index.html and now it seems to work ... > > if ($FindDisabledGroups) { > $Groups->{'find_disabled_rows'} = 1; > } > > I found this out the hard way as I thought I'd disabled a group (I had) > went to display it to re-enable it, couldn't, recreated the group with > the same name (RT let me do this) and I ended up with two groups with > the same name. Some code I was using to set Group rights then kept > setting the rights on the invisible, disabled one and confused the hell > out of me ... > > $Group->LoadUserDefinedGroup > > found the disabled group first when loading the group by name ... > > PK > > -- > Philip Kime > NOPS Systems Architect > 310 401 0407 > > From pkime at Shopzilla.com Sun Jun 4 17:36:56 2006 From: pkime at Shopzilla.com (Philip Kime) Date: Sun, 4 Jun 2006 14:36:56 -0700 Subject: [rt-users] Strange message when changing "Select One Value" CFs in RT 3.4.5 Message-ID: <58B1112F0EEB7349AE14A0AA46F9CEC00137ABC4@szexchange.Shopzilla.inc> If I change a "Select one value" CF in RT 3.4.5, I get two messages, for example: * ClusterCountryCode FR changed to US * Custom field value FR could not be found for custom field ClusterCountryCode The change is fine and works but the second message is odd (it comes from CustomField_Overlay.pm) - it looks like it tries to change it twice and fails the second time because the value is already changed? Any comments? Is this a bug? PK -- Philip Kime NOPS Systems Architect 310 401 0407 -------------- next part -------------- An HTML attachment was scrubbed... URL: From rt-users-list at derman.com Mon Jun 5 00:42:03 2006 From: rt-users-list at derman.com (rt-users-list at derman.com) Date: Sun, 4 Jun 2006 21:42:03 -0700 Subject: [rt-users] RT On Intel Mac? - Answer Message-ID: A while ago I posted the query: ===== Is there a secret to being able to get all the required perl modules to compile/install on an Intel Mac? Attempting: install Bundle::CPAN ...yields many instances of: ----- *** No rule to make target `/System/Library/Perl/5.8.6/darwin-thread-multi-2level/CORE/config.h', needed by `Makefile'. Stop. ----- Anyone know whether there's a solution for this problem (and what it is)? ===== Although I didn't get an answer, I did get a question that sparked an investigation that led me to discover what I'd done ... or not done, in this case. The Perl config.h file (and many other headers) are installed via the Xcode install (available for free via http://developer.apple.com/, signup required). 'Though I had installed most of the developer stuff, I had omitted installing the BSD SDK support ... which (Murphy's Law says) is where the Perl development headers are contained. Hope this helps someone else. From onkars at wolfram.com Mon Jun 5 01:41:13 2006 From: onkars at wolfram.com (Onkar Singh) Date: Sun, 04 Jun 2006 23:41:13 -0600 Subject: [rt-users] Customizing the RT log-in page Message-ID: <4483C3F9.4020607@wolfram.com> Hello everyone, I want to customize the front page which one gets as soon as I log-in into RT. Our company has a number of queues, and the front page contains a lot of information that is useless to our group members. What I want is that when I log in, RT should contain a list of my open tickets sorted in order of date, and nothing else. Is it possible to do this? Thanks, - Onkar From romain.degez at smartjog.com Mon Jun 5 07:51:35 2006 From: romain.degez at smartjog.com (Romain DEGEZ) Date: Mon, 05 Jun 2006 13:51:35 +0200 Subject: [rt-users] Accessing attachements from scrips In-Reply-To: <4483C3F9.4020607@wolfram.com> References: <4483C3F9.4020607@wolfram.com> Message-ID: <44841AC7.3000701@smartjog.com> Hello everyone, I'm trying to access "Attachments" attached to a ticket from a scrip and I can't figure out how to do this... Can someone give me some pointers or sample code to do this ? Thank you! -- Romain DEGEZ, IT Manager Smartjog S.A. - http://www.smartjog.com 16 Place de la R?publique, 75010 Paris, FRANCE Phone : +33.1.49.96.63.19 Fax : +33.1.49.96.64.05 Cell : +33.6.84.24.65.21 From jparsons-lists at saffron.net Mon Jun 5 16:03:14 2006 From: jparsons-lists at saffron.net (Jason Parsons) Date: Mon, 5 Jun 2006 16:03:14 -0400 Subject: [rt-users] dbd::mysql:st execute failed Message-ID: <20060605200313.GG3047@saffron.net> Folks: I have a new RT installation that has been causing me nightmares. When I mail the system, it replies with a ticket number, but then fails to actually create the ticket. The error given is: [Mon Jun 5 19:55:57 2006] [warning]: DBD::mysql::st execute failed: MySQL server has gone away at /usr/lib/perl5/site_perl/5.8.5/DBIx/SearchBuilder/Handle.pm line 492. (/opt/rt3/lib/RT.pm:287) Note that it got a ticket number and read some scrips before throwing this error, so mysql is "clearly" available. I have tried reinstalling dbd::mysql, and even tried reinstalling all of mod_perl2. 'make testdeps' does succeed properly, and I've noted no other problems with mysql. I've tried dropping and rebuilding the mysql database, and the same problem recurs (make dropdb; make initialize-database). I'm running rt 3.4.5 on RHEL ES 4. Any ideas? Thank you. - Jason Parsons [Mon Jun 5 19:55:54 2006] [debug]: Found 3 scrips (/opt/rt3/lib/RT/Scrips_Overlay.pm:356) [Mon Jun 5 19:55:55 2006] [debug]: About to commit scrips for transaction #75 (/opt/rt3/lib/RT/Transaction_Overlay.pm:169) [Mon Jun 5 19:55:55 2006] [info]: #110004/75 - Scrip 3 (/opt/rt3/lib/RT/Action/SendEmail.pm:237) [Mon Jun 5 19:55:56 2006] [debug]: About to think about scrips for transaction #76 (/opt/rt3/lib/RT/Transaction_Overlay.pm:156) [Mon Jun 5 19:55:56 2006] [info]: sent To: devnull at saffron.net Cc: Bcc: (/opt/rt3/lib/RT/Action/SendEmail.pm:297) [Mon Jun 5 19:55:56 2006] [info]: #110004/75 - Scrip 4 (/opt/rt3/lib/RT/Action/SendEmail.pm:237) [Mon Jun 5 19:55:57 2006] [warning]: DBD::mysql::st execute failed: MySQL server has gone away at /usr/lib/perl5/site_perl/5.8.5/DBIx/SearchBuilder/Handle.pm line 492. (/opt/rt3/lib/RT.pm:287) From lists at akphs.com Mon Jun 5 16:27:07 2006 From: lists at akphs.com (Phil Smith III) Date: Mon, 5 Jun 2006 16:27:07 -0400 Subject: [rt-users] Adding queue requires restart of Apache? Message-ID: <002201c688de$6ae57e20$6601090a@Basement2> I've found in the last few days that if I add a new queue to RT, it doesn't show up until I restart httpd. Is that expected? This is 3.6.0pre1 -- admittedly not state-of-the-art (I've been dithering, waiting for 3.6.0). ...phsiii From todd at chaka.net Mon Jun 5 16:34:33 2006 From: todd at chaka.net (Todd Chapman) Date: Mon, 5 Jun 2006 16:34:33 -0400 Subject: [rt-users] Adding queue requires restart of Apache? In-Reply-To: <002201c688de$6ae57e20$6601090a@Basement2> References: <002201c688de$6ae57e20$6601090a@Basement2> Message-ID: <20060605203433.GA26200@chaka.net> Did you try just logging out and back in? -Todd On Mon, Jun 05, 2006 at 04:27:07PM -0400, Phil Smith III wrote: > I've found in the last few days that if I add a new queue to RT, it doesn't show up until I restart httpd. Is that expected? > > This is 3.6.0pre1 -- admittedly not state-of-the-art (I've been dithering, waiting for 3.6.0). > > ...phsiii > From jesse at bestpractical.com Mon Jun 5 17:55:49 2006 From: jesse at bestpractical.com (Jesse Vincent) Date: Mon, 5 Jun 2006 17:55:49 -0400 Subject: [rt-users] [Rt-announce] Best Practical Solutions Announces SVK Acquisition - Total World Domination Plan Proceeding Apace Message-ID: <20060605215549.GI8022@bestpractical.com> Best Practical Solutions Announces SVK Acquisition - Total World Domination Plan Proceeding Apace Every ticketing system sucks. Here at Best Practical, we're really proud of the fact that RT sucks less than everything else out there and helps many thousands of organizations around the world get their work done with less pain and suffering. We're a small software development shop. Between the publicly available versions of RT available and our customer projects, we maintain at least half a dozen active lines of development at any one time. When we first started to do this sort of thing, each merge took about six hours to integrate. That was ok when we were merging two branches once a month....and totally failed when we were trying to merge changes across six branches. In 2003, Chia-liang Kao (clkao) took a year off work to create a version control system that would let him hike and explore hot springs in Taiwan's mountains and still be able to be a productive software developer. He ended up creating SVK, an advanced distributed version control system which runs atop Subversion, the industry standard enterprise version control system. SVK let clkao mirror remote Subversion repositories, create local branches, hack while offline and later resynchronize his changes with the upstream Subversion servers. SVK is the best version control system for getting your work done while you're hiking in the mountains. It just so happens that what makes SVK wonderful when you're soaking in the hot springs makes it an excellent platform for getting your work done halfway around the world, on an airplane, in a cafe or in your office. SVK's advanced branching and merging revolutionized our development process here at Best Practical. What used to take us days now takes minutes. We can get more work done faster than ever before. We've been rabid supporters of SVK since its birth. When clkao and I started talking about how I bootstrapped RT into a business and how Best Practical might be able to do something similar for SVK, I literally jumped at the opportunity to help. (And by that, I mean that I jumped on a plane to London on a day's notice to talk face to face about SVK's future.) I'm pleased to announce that as of today, Chia-liang Kao has joined me as a partner at Best Practical Solutions and we're pleased to announce that SVK is now a Best Practical product. We remain 100% committed to keeping both RT and SVK open source and are excited about about all the cool new functionality we'll be able to offer users of both products. Over the next couple months, we'll be announcing new support, consulting and custom development services related to SVK and software revision control. You'll also see SVK's website, mailing list and repository move to Best Practical, where we can offer a higher level of service for all users. You can find out more about SVK at http://svk.elixus.org. Best, Jesse -- _______________________________________________ RT-Announce mailing list RT-Announce at lists.bestpractical.com http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-announce From lists at akphs.com Mon Jun 5 18:09:40 2006 From: lists at akphs.com (Phil Smith III) Date: Mon, 5 Jun 2006 18:09:40 -0400 Subject: [rt-users] Adding queue requires restart of Apache? In-Reply-To: <20060605203433.GA26200@chaka.net> Message-ID: <004b01c688ec$be33e810$6601090a@Basement2> Yes...no change. -----Original Message----- From: Todd Chapman [mailto:todd at chaka.net] Sent: Monday, June 05, 2006 4:35 PM To: Phil Smith III Cc: rt-users at lists.bestpractical.com Subject: Re: [rt-users] Adding queue requires restart of Apache? Did you try just logging out and back in? -Todd On Mon, Jun 05, 2006 at 04:27:07PM -0400, Phil Smith III wrote: > I've found in the last few days that if I add a new queue to RT, it doesn't show up until I restart httpd. Is that expected? > > This is 3.6.0pre1 -- admittedly not state-of-the-art (I've been dithering, waiting for 3.6.0). > > ...phsiii > From Hossein.Rafighi at triumf.ca Mon Jun 5 18:00:38 2006 From: Hossein.Rafighi at triumf.ca (Hossein Rafighi) Date: Mon, 05 Jun 2006 15:00:38 -0700 Subject: [rt-users] Users interface in RT 3.4.5 In-Reply-To: <58B1112F0EEB7349AE14A0AA46F9CEC00137ABC4@szexchange.Shopzilla.inc> References: <58B1112F0EEB7349AE14A0AA46F9CEC00137ABC4@szexchange.Shopzilla.inc> Message-ID: <4484A986.9080301@triumf.ca> Hi All, I am trying to change the: "Requestors" to read: "Requestors Email". A simple change you may think?! I have done it in both share/html/SelfService/Create.html and var/mason_data/obj/3544762124/standard/SelfService/Create.html.obj where I could see a related reference to this field. I have also given any and all possible rights to privileged (Let this user be granted right), and non-privileged users (users with NO "Let this user be granted right"). Privileged users see "Requestors Email", but non-privileged users only see the default "Requestors". Any ideas how to make everyone to see the change I made? Many thanks, -- _____ _____ _____ _ _ _ _ ____ Hossein Rafighi |_ _|| _ \ |_ _|| | | || \_/ || __|TRIUMF, 4004 Wesbrook Mall | | | |_| ) | | | | | || || |__ Vancouver BC, Canada, V6T 2A3 | | | _ / | | | \_/ || \_/ || __|Voice: (604) 222-1047 | | | | \ \ _| |_ | || | | || | Fax: (604) 222-1074 |_| |_| \_\|_____| \___/ |_| |_||_| Website: http://www.triumf.ca From todd at chaka.net Mon Jun 5 21:30:25 2006 From: todd at chaka.net (Todd Chapman) Date: Mon, 5 Jun 2006 21:30:25 -0400 Subject: [rt-users] Adding queue requires restart of Apache? In-Reply-To: <004b01c688ec$be33e810$6601090a@Basement2> References: <20060605203433.GA26200@chaka.net> <004b01c688ec$be33e810$6601090a@Basement2> Message-ID: <20060606013025.GB26200@chaka.net> What queues you can see is checked once and then stored in your session, so maybe there is something wrong with you session handling. Try this: 1. Create new queue 2. Log out 3. Clear all your browser cookies (or just the RT one) 4. Log back in. On Mon, Jun 05, 2006 at 06:09:40PM -0400, Phil Smith III wrote: > Yes...no change. > > -----Original Message----- > From: Todd Chapman [mailto:todd at chaka.net] > Sent: Monday, June 05, 2006 4:35 PM > To: Phil Smith III > Cc: rt-users at lists.bestpractical.com > Subject: Re: [rt-users] Adding queue requires restart of Apache? > > Did you try just logging out and back in? > > -Todd > > On Mon, Jun 05, 2006 at 04:27:07PM -0400, Phil Smith III wrote: > > I've found in the last few days that if I add a new queue to RT, it doesn't show up until I restart httpd. Is that expected? > > > > This is 3.6.0pre1 -- admittedly not state-of-the-art (I've been dithering, waiting for 3.6.0). > > > > ...phsiii > > > From todd at chaka.net Mon Jun 5 21:32:59 2006 From: todd at chaka.net (Todd Chapman) Date: Mon, 5 Jun 2006 21:32:59 -0400 Subject: [rt-users] Users interface in RT 3.4.5 In-Reply-To: <4484A986.9080301@triumf.ca> References: <58B1112F0EEB7349AE14A0AA46F9CEC00137ABC4@szexchange.Shopzilla.inc> <4484A986.9080301@triumf.ca> Message-ID: <20060606013259.GC26200@chaka.net> Remove the var/mason_data/obj directory and restart RT. Also see: http://wiki.bestpractical.com/index.cgi?CleanlyCustomizeRT On Mon, Jun 05, 2006 at 03:00:38PM -0700, Hossein Rafighi wrote: > Hi All, > > I am trying to change the: "Requestors" to read: "Requestors Email". A > simple change you may think?! > I have done it in both share/html/SelfService/Create.html and > var/mason_data/obj/3544762124/standard/SelfService/Create.html.obj where > I could see a related reference to this field. I have also given any and > all possible rights to privileged (Let this user be granted right), and > non-privileged users (users with NO "Let this user be granted right"). > Privileged users see "Requestors Email", but non-privileged users only > see the default "Requestors". > > Any ideas how to make everyone to see the change I made? > > Many thanks, > > -- > _____ _____ _____ _ _ _ _ ____ Hossein Rafighi > |_ _|| _ \ |_ _|| | | || \_/ || __|TRIUMF, 4004 Wesbrook Mall > | | | |_| ) | | | | | || || |__ Vancouver BC, Canada, V6T 2A3 > | | | _ / | | | \_/ || \_/ || __|Voice: (604) 222-1047 > | | | | \ \ _| |_ | || | | || | Fax: (604) 222-1074 > |_| |_| \_\|_____| \___/ |_| |_||_| Website: http://www.triumf.ca > > > _______________________________________________ > http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users > > Community help: http://wiki.bestpractical.com > Commercial support: sales at bestpractical.com > > > Discover RT's hidden secrets with RT Essentials from O'Reilly Media. > Buy a copy at http://rtbook.bestpractical.com > > > We're hiring! Come hack Perl for Best Practical: > http://bestpractical.com/about/jobs.html From wade at naveja.net Mon Jun 5 22:17:55 2006 From: wade at naveja.net (Wade Naveja) Date: Mon, 5 Jun 2006 19:17:55 -0700 (PDT) Subject: [rt-users] Can't bind: LDAP_INVALID_CREDENTIALS 49 Message-ID: I'm running Request Tracker 3.4.5 on a FreeBSD 5.4 server with Apache 1.3.34 and MySQL 4.1.13. The installation went smooth, and my team is very happy with RT over our current home brew ticketing application. I'm running into trouble with LDAP authentication against a Windows 2003 domain controller. I've followed the instructions found at: http://wiki.bestpractical.com/?LDAP http://wiki.bestpractical.com/index.cgi?LdapUserLocalOverlay http://wiki.bestpractical.com/index.cgi?LdapSiteConfigSettings I've got loggin cranked up, and I'm seeing the following: [Tue Jun 6 01:51:01 2006] [critical]: RT::User::LookupExternalUserInfo Can't bind: LDAP_INVALID_CREDENTIALS 49 (/usr/local/rt3/lib/RT/User_Local.pm:475) Any suggestions on what might be causing this, and how to resolve? Regards, Wade Naveja From ocraig at stillsecure.com Mon Jun 5 23:55:10 2006 From: ocraig at stillsecure.com (Ole Craig) Date: Mon, 05 Jun 2006 21:55:10 -0600 Subject: [rt-users] Can't bind: LDAP_INVALID_CREDENTIALS 49 In-Reply-To: References: Message-ID: <1149563267.25839.67.camel@hex.latis.com> On Mon, 2006-06-05 at 19:17 -0700, Wade Naveja wrote: > I've got loggin cranked up, and I'm seeing the following: > > [Tue Jun 6 01:51:01 2006] [critical]: RT::User::LookupExternalUserInfo > Can't bind: LDAP_INVALID_CREDENTIALS 49 > (/usr/local/rt3/lib/RT/User_Local.pm:475) > Error 49 is the generic LDAP error returned when the account you're using to bind (NOT the account you're trying to authenticate) has invalid credentials, usually a bad or expired password but not always. Active Directory returns a cryptic sub-error code: http://forum.java.sun.com/thread.jspa?forumID=51&threadID=658510 ... excerpt: The AD-specific error code is the one after "data" and before "vece" or "v893" in the actual error string returned to the binding process (if you can get a look at that message): * 525 - user not found * 52e - invalid credentials * 530 - not permitted to logon at this time * 532 - password expired * 533 - account disabled * 701 - account expired * 773 - user must reset password Hope that's useful, Ole -- /Ole Craig Security Engineer 303-381-3802 (main support hotline) 303-381-3824 (my direct line) 303-381-3801 (fax) www.stillsecure.com . . . From ocraig at stillsecure.com Tue Jun 6 00:11:03 2006 From: ocraig at stillsecure.com (Ole Craig) Date: Mon, 05 Jun 2006 22:11:03 -0600 Subject: [rt-users] Can't bind: LDAP_INVALID_CREDENTIALS 49 In-Reply-To: <1149563267.25839.67.camel@hex.latis.com> References: <1149563267.25839.67.camel@hex.latis.com> Message-ID: <1149567063.25839.72.camel@hex.latis.com> On Mon, 2006-06-05 at 21:55 -0600, Ole Craig wrote: [...] > Error 49 is the generic LDAP error returned when the account you're > using to bind (NOT the account you're trying to authenticate) has > invalid credentials, usually a bad or expired password but not always. > Active Directory returns a cryptic sub-error code: > > http://forum.java.sun.com/thread.jspa?forumID=51&threadID=658510 [...] Hmm. That link has changed since I scraped it into an internal technote, or else I pasted the wrong link. For anyone who might find it useful, here's a more complete version, and my heartfelt thanks go to whomever was the original poster on the java forum. Following are the results of somebody's "experimentation" with a W2k Domain Controller... Common Active Directory LDAP bind errors: 80090308: LdapErr: DSID-0C09030B, comment: AcceptSecurityContext error, data 525, v893 HEX: 0x525 - user not found DEC: 1317 - ERROR_NO_SUCH_USER (The specified account does not exist.) NOTE: Returns when username is invalid. 80090308: LdapErr: DSID-0C09030B, comment: AcceptSecurityContext error, data 52e, v893 HEX: 0x52e - invalid credentials DEC: 1326 - ERROR_LOGON_FAILURE (Logon failure: unknown user name or bad password.) NOTE: Returns when username is valid but password/credential is invalid. Will prevent most other errors from being displayed as noted. 80090308: LdapErr: DSID-0C09030B, comment: AcceptSecurityContext error, data 530, v893 HEX: 0x530 - not permitted to logon at this time DEC: 1328 - ERROR_INVALID_LOGON_HOURS (Logon failure: account logon time restriction violation.) NOTE: Returns only when presented with valid username and password/credential. 80090308: LdapErr: DSID-0C09030B, comment: AcceptSecurityContext error, data 531, v893 HEX: 0x531 - not permitted to logon from this workstation DEC: 1329 - ERROR_INVALID_WORKSTATION (Logon failure: user not allowed to log on to this computer.) LDAP[userWorkstations: ] NOTE: Returns only when presented with valid username and password/credential. 80090308: LdapErr: DSID-0C09030B, comment: AcceptSecurityContext error, data 532, v893 HEX: 0x532 - password expired DEC: 1330 - ERROR_PASSWORD_EXPIRED (Logon failure: the specified account password has expired.) LDAP[userAccountControl: ] - PASSWORDEXPIRED NOTE: Returns only when presented with valid username and password/credential. 80090308: LdapErr: DSID-0C09030B, comment: AcceptSecurityContext error, data 533, v893 HEX: 0x533 - account disabled DEC: 1331 - ERROR_ACCOUNT_DISABLED (Logon failure: account currently disabled.) LDAP[userAccountControl: ] - ACCOUNTDISABLE NOTE: Returns only when presented with valid username and password/credential. 80090308: LdapErr: DSID-0C09030B, comment: AcceptSecurityContext error, data 701, v893 HEX: 0x701 - account expired DEC: 1793 - ERROR_ACCOUNT_EXPIRED (The user's account has expired.) LDAP[accountExpires: ] - ACCOUNTEXPIRED NOTE: Returns only when presented with valid username and password/credential. 80090308: LdapErr: DSID-0C09030B, comment: AcceptSecurityContext error, data 773, v893 HEX: 0x773 - user must reset password DEC: 1907 - ERROR_PASSWORD_MUST_CHANGE (The user's password must be changed before logging on the first time.) LDAP[pwdLastSet: ] - MUST_CHANGE_PASSWD NOTE: Returns only when presented with valid username and password/credential. 80090308: LdapErr: DSID-0C09030B, comment: AcceptSecurityContext error, data 775, v893 HEX: 0x775 - account locked out DEC: 1909 - ERROR_ACCOUNT_LOCKED_OUT (The referenced account is currently locked out and may not be logged on to.) LDAP[userAccountControl: ] - LOCKOUT NOTE: Returns even if invalid password is presented -- /Ole Craig Security Engineer 303-381-3802 (main support hotline) 303-381-3824 (my direct line) 303-381-3801 (fax) www.stillsecure.com . . . From purp at acm.org Tue Jun 6 03:34:05 2006 From: purp at acm.org (Jim Meyer) Date: Tue, 6 Jun 2006 00:34:05 -0700 Subject: [rt-users] Can't bind: LDAP_INVALID_CREDENTIALS 49 In-Reply-To: References: Message-ID: Hello! Bless you for all the precise information below. =] On 6/5/06, Wade Naveja wrote: > I'm running Request Tracker 3.4.5 on a FreeBSD 5.4 server with Apache > 1.3.34 and MySQL 4.1.13. The installation went smooth, and my team is > very happy with RT over our current home brew ticketing application. > > I'm running into trouble with LDAP authentication against a Windows 2003 > domain controller. I've followed the > instructions found at: > > http://wiki.bestpractical.com/?LDAP > http://wiki.bestpractical.com/index.cgi?LdapUserLocalOverlay > http://wiki.bestpractical.com/index.cgi?LdapSiteConfigSettings > > I've got loggin cranked up, and I'm seeing the following: > > [Tue Jun 6 01:51:01 2006] [critical]: RT::User::LookupExternalUserInfo > Can't bind: LDAP_INVALID_CREDENTIALS 49 > (/usr/local/rt3/lib/RT/User_Local.pm:475) Hmmm. I'm hoping that Ole's messages were helpful to you as my only guess is that your LDAP server (aka AD server) won't accept anonymous (unauthenticated) bindings. Here's the code in and around the complaining line: my $msg = undef; if ($ldap_user) { $msg = $ldap->bind($ldap_user, password => $ldap_pass); } else { $msg = $ldap->bind; } unless ($msg->code == LDAP_SUCCESS) { $RT::Logger->critical((caller(0))[3], "Can't bind:", ldap_error_name($msg->code), $msg->code); } else { ... Have you set LdapUser and LdapPass in RT_SiteConfig.pm? If not, try setting them to a user/pass combo that should allow you to bind to the server and let me know how it goes. Thanks! --j -- Jim Meyer, Geek at Large purp at acm.org From purp at acm.org Tue Jun 6 03:39:06 2006 From: purp at acm.org (Jim Meyer) Date: Tue, 6 Jun 2006 00:39:06 -0700 Subject: [rt-users] LDAP Overlay Update: v1.1b1, with Account Information AutoRefresh Message-ID: Hello! I've just made v1.1b1 (code name: "Punch-Drunk Hamster") of the LDAP overlay available. It adds one frequently requested feature: automatic update of RT account info from LDAP. Presently, it only refreshes the info when the user logs in, but I'm hoping to find other sane points to cause the autorefresh to happen. Also, with v1.1b1 came a big refactor of User_Local.pm. For various bizarre reasons, I can't test the code I've posted; it has to do with the unusual way in which our internal LDAP servers are configured. Please download and test this code and shout out when you find a bug; I'd like to nail them all quickly, then give this code some time to mature. Thanks! --j -- Jim Meyer, Geek at Large purp at acm.org From brendanarnold at gmail.com Tue Jun 6 08:41:09 2006 From: brendanarnold at gmail.com (Brendan Arnold) Date: Tue, 6 Jun 2006 13:41:09 +0100 Subject: [rt-users] Lack of trailing slash causing porblems in IE In-Reply-To: <5ed41c130606020502r17886dek5994d931e7bbdb5f@mail.gmail.com> References: <5ed41c130605220229v616dc65bu87e9b8a9c9592cfe@mail.gmail.com> <5ed41c130606010841l1a106e01r3b20bff47e7ab08f@mail.gmail.com> <5ed41c130606020502r17886dek5994d931e7bbdb5f@mail.gmail.com> Message-ID: <5ed41c130606060541i7701237m8ca1222ada9a96a5@mail.gmail.com> For those that (very reasonably) don't want to disable SSLv3 then try doing the steps outlines on the mod_ssl FAQ, http://www.modssl.org/docs/2.8/ssl_faq.html#ToC49 I am going to try this rather than disabling SSLv3 altogether and will let you know. Brendan From mnichols at wayport.net Tue Jun 6 09:43:18 2006 From: mnichols at wayport.net (Matt Nichols) Date: Tue, 6 Jun 2006 08:43:18 -0500 Subject: [rt-users] rt-mailgate on different server than RT Message-ID: <52AD365BD79BA048B359E3F4411D45150DE7DFA4@exchange01.wayad.corp.wayport.net> Hello, Is it possible to run rt-mailgate on a separate server than RT? I'd like to run rt-mailgate on our mail server and have it talk to the RT server. How is rt-mailgate on the mail server going to know how to authenticate to the RT web interface in order to comment on tickets? Can I create an rt-mailgate config somewhere with a username and password for it to use when connecting to the RT web interface? -------------- next part -------------- An HTML attachment was scrubbed... URL: From bkurowsky at hotmail.com Tue Jun 6 09:54:39 2006 From: bkurowsky at hotmail.com (Brian Kurowsky) Date: Tue, 06 Jun 2006 09:54:39 -0400 Subject: [rt-users] Re: Can't call method "Scheme" on an undefined value at ... Message-ID: No, the ticket exists. What's happening is when I hit the "submit" button to update a ticket that has the "Refers to:" side of the linked tickets, I get the error below -- but the ticket still updates. When I go to update the ticket on the "Referred to by:" side of the linked tickets, all is good. Also, it's only when the link refers to another ticket. When the "Refers to:" side points to an article in RTFM, I get no error. Thanks, Brian On 5/27/06 Ruslan Zakirov wrote: >Could be that link points to object that doesn't exist? Turn on >ogging and reload page. You should see other errors before the one >you're seeing. > >Also did you use shredder? I've found one bug in it that may be a >source of your problem. > >On 5/9/06, Brian Kurowsky wrote: >>I receive the following error when attempting to update a ticket that has >>a >>link to another ticket in the "Refers to: " section. >> >>error: Can't call method "Scheme" on an undefined value at >>/usr/share/request-tracker3.4/lib/RT/Ticket_Overlay.pm line 2581. >> >>context: ... >>2577: elsif ( $args{'Base'} ) { >>2578: $other_ticket_uri->FromURI( $args{'Base'} ); > >2579: } > >2580: > >2581: if ( $other_ticket_uri->Resolver->Scheme eq 'fsck.com-rt') { > >2582: my $object = $other_ticket_uri->Resolver->Object; > >2583: > >2584: if ( UNIVERSAL::isa( $object, 'RT::Ticket' ) > >2585: && $object->id > >... > >code stack: /usr/share/request-tracker3.4/lib/RT/Ticket_Overlay.pm:2581 > >/usr/share/request-tracker3.4/lib/RT/Ticket_Overlay.pm:2552 > >/usr/share/request-tracker3.4/lib/RT/Interface/Web.pm:1464 > >/usr/share/request-tracker3.4/lib/RT/Interface/Web.pm:1414 > >/usr/share/request-tracker3.4/html/Ticket/Display.html:141 > >/usr/share/request-tracker3.4/html/Ticket/Update.html:211 > >/usr/share/request-tracker3.4/html/autohandler:215 >> >> >> >>I am, however, able to update the other ticket (Refers to by:) with no >>problem. >> >>Running 3.4.1 on Debian Sarge. w/ RTFM 2.1.37 >> >>Thanks, >>Brian >> >> From scoutts at bcs.org.uk Tue Jun 6 09:48:49 2006 From: scoutts at bcs.org.uk (Steven Coutts) Date: Tue, 6 Jun 2006 14:48:49 +0100 Subject: [rt-users] Trouble logging in Message-ID: <200606061448.49705.scoutts@bcs.org.uk> I can't login to my RT system anymore. This is what is in the apache 2 error_log -: -- [Tue Jun 06 14:46:52 2006] [notice] Apache configured -- resuming normal operations [Tue Jun 06 14:46:53 2006] [warn] FastCGI: server "/var/www/localhost/rt-3.4.5/bin/mason_handler.fcgi" (uid 10001, gid 443) started (pid 12330) [Tue Jun 06 14:46:54 2006] [warn] FastCGI: server "/var/www/localhost/rt-3.4.5/bin/mason_handler.fcgi" (uid 10001, gid 443) started (pid 13109) [Tue Jun 06 14:46:55 2006] [warn] FastCGI: server "/var/www/localhost/rt-3.4.5/bin/mason_handler.fcgi" (uid 10001, gid 443) started (pid 17435) Out of memory! [Tue Jun 06 14:47:08 2006] [error] [client 10.130.36.42] FastCGI: incomplete headers (0 bytes) received from server "/var/www/localhost/rt-3.4.5/bin/mason_handler.fcgi" [Tue Jun 06 14:47:08 2006] [warn] FastCGI: server "/var/www/localhost/rt-3.4.5/bin/mason_handler.fcgi" (pid 797) terminated by calling exit with status '1' [Tue Jun 06 14:47:08 2006] [warn] FastCGI: server "/var/www/localhost/rt-3.4.5/bin/mason_handler.fcgi" (uid 10001, gid 443) restarted (pid 9081) I am at a loss at to what is wrong here! Any ideas ? Regards -- Steven Coutts B.Sc.(Hons) MBCS scoutts at bcs.org.uk PGP Public Key From thrall.mail.list at gmail.com Tue Jun 6 11:00:24 2006 From: thrall.mail.list at gmail.com (Nadeem Shahbaz) Date: Tue, 06 Jun 2006 20:00:24 +0500 Subject: [rt-users] rt-mailgate on different server than RT In-Reply-To: <52AD365BD79BA048B359E3F4411D45150DE7DFA4@exchange01.wayad.corp.wayport.net> References: <52AD365BD79BA048B359E3F4411D45150DE7DFA4@exchange01.wayad.corp.wayport.net> Message-ID: <44859888.3000604@gmail.com> Matt Nichols, on 2006-06-06 6:43 PM +0500, wrote : > Is it possible to run rt-mailgate on a separate server than RT? at http://wiki.bestpractical.com/index.cgi?ManualInstallation, see SETTING UP THE MAIL GATEWAY section Nadeem From tomw at bnl.gov Tue Jun 6 11:01:14 2006 From: tomw at bnl.gov (Tomasz Wlodek) Date: Tue, 6 Jun 2006 11:01:14 -0400 (EDT) Subject: [rt-users] How can a regular user see which groups he is a member? In-Reply-To: References: Message-ID: Is it possible for a RT user to be able to see in which groups he is a member? Tomasz Wlodek | tel 631-344-7448 Brookhaven Laboratory, Building 510M | fax 631-344-7616 Upton NY 11973-5000 | From timothy-flynn at uiowa.edu Tue Jun 6 11:46:07 2006 From: timothy-flynn at uiowa.edu (Flynn, Timothy J) Date: Tue, 6 Jun 2006 10:46:07 -0500 Subject: [rt-users] Merge User Function? Message-ID: RT 3.4.5 When a user is autocreated from an email and then later tries to login through the web the email address cannot be added since it already exists for a different user. Is there a way to merge the two user accounts to show that they are one in the same? Since tickets may be associated to the autocreated account I can't really just deactivate that account and move it to the appropriate user. Thanks, -Tim From ali.bouirmane at marocconnect.com Tue Jun 6 11:52:55 2006 From: ali.bouirmane at marocconnect.com (Mohamed Ali Bouirmane) Date: Tue, 6 Jun 2006 15:52:55 -0000 Subject: [rt-users] set default priority Message-ID: <200606061553.k56Fr2705765@marocconnect.com> Hi, I want to set a default priority when a user (support level 1) create ticket in specific queue . And I want to set a priority when users select a value in custom field How can I do via scrip .? Best Regards Ali -------------- next part -------------- An HTML attachment was scrubbed... URL: From payerle at physics.umd.edu Tue Jun 6 12:51:39 2006 From: payerle at physics.umd.edu (Thomas M. Payerle) Date: Tue, 6 Jun 2006 12:51:39 -0400 (EDT) Subject: [rt-users] Re: rt-mailgate on different server than RT In-Reply-To: <20060606141712.1FF654D816F@diesel.bestpractical.com> References: <20060606141712.1FF654D816F@diesel.bestpractical.com> Message-ID: > Is it possible to run rt-mailgate on a separate server than RT? I'd like > to run rt-mailgate on our mail server and have it talk to the RT server. > How is rt-mailgate on the mail server going to know how to authenticate > to the RT web interface in order to comment on tickets? Can I create an > rt-mailgate config somewhere with a username and password for it to use > when connecting to the RT web interface? Can most definitely be done. My understanding is that the rt-mailgate script uses some part of the HTML document tree which does not require authentication (./REST/... IIRC), so I believe in general you do not need an RT username/password for the mailgate script. In my case, we use web server rather than RT authentication (RT does authorization based on user logging into the web server), and I needed to give explicit permission to the IP address of the mail server to access the pages without logging into the web server (which would require a normal login account on the Unix system). But I do not believe is needed for more standard setups. Tom Payerle Dept of Physics payerle at physics.umd.edu University of Maryland (301) 405-6973 College Park, MD 20742-4111 Fax: (301) 314-9525 From ali.bouirmane at marocconnect.com Tue Jun 6 14:53:14 2006 From: ali.bouirmane at marocconnect.com (Mohamed Ali Bouirmane) Date: Tue, 6 Jun 2006 18:53:14 -0000 Subject: [rt-users] Scrip doesn't work Message-ID: <200606061853.k56IrM708143@marocconnect.com> Hi all, I have some troubles running scrips with a new RT 3.4.5 installation. I've tried many samples found in the RT wiki but the result is always the same: the scrip action is not triggered. here is an example of scrip tested: http://wiki.bestpractical.com/index.cgi?ResolveTicket Best Regards -------------- next part -------------- An HTML attachment was scrubbed... URL: From wade at naveja.net Tue Jun 6 15:57:52 2006 From: wade at naveja.net (Wade Naveja) Date: Tue, 6 Jun 2006 12:57:52 -0700 (PDT) Subject: [rt-users] Can't bind: LDAP_INVALID_CREDENTIALS 49 In-Reply-To: References: Message-ID: Jim - Thanks for the feedback. I'm sure you're right about the AD server not accepting anonymous binding. I've got the values populated for LdapUser and LdapPass. We have a service account that we use for Apache LDAP authentication, so the username/password are definitely valid. I'm wondering if this bit from my RT_SiteConfig.pm looks okay: # The basics; if set, these override $RT::LdapAuth* and $RT::LdapInfo* Set($LdapServer, 'server.example.com'); Set($LdapBase, 'cn=Users,dc=subdomain,dc=example,dc=com'); Set($LdapFilter, "(objectclass=user)"); Set($LdapUser, 'genericid'); Set($LdapPass, 'sekrit_password'); Any suggestions? Regards, Wade Naveja On Tue, 6 Jun 2006, Jim Meyer wrote: > Hello! > > Bless you for all the precise information below. =] > > On 6/5/06, Wade Naveja wrote: > > I'm running Request Tracker 3.4.5 on a FreeBSD 5.4 server with Apache > > 1.3.34 and MySQL 4.1.13. The installation went smooth, and my team is > > very happy with RT over our current home brew ticketing application. > > > > I'm running into trouble with LDAP authentication against a Windows 2003 > > domain controller. I've followed the > > instructions found at: > > > > http://wiki.bestpractical.com/?LDAP > > http://wiki.bestpractical.com/index.cgi?LdapUserLocalOverlay > > http://wiki.bestpractical.com/index.cgi?LdapSiteConfigSettings > > > > I've got loggin cranked up, and I'm seeing the following: > > > > [Tue Jun 6 01:51:01 2006] [critical]: RT::User::LookupExternalUserInfo > > Can't bind: LDAP_INVALID_CREDENTIALS 49 > > (/usr/local/rt3/lib/RT/User_Local.pm:475) > > Hmmm. I'm hoping that Ole's messages were helpful to you as my only > guess is that your LDAP server (aka AD server) won't accept anonymous > (unauthenticated) bindings. Here's the code in and around the > complaining line: > > my $msg = undef; > if ($ldap_user) { > $msg = $ldap->bind($ldap_user, password => $ldap_pass); > } else { > $msg = $ldap->bind; > } > > unless ($msg->code == LDAP_SUCCESS) { > $RT::Logger->critical((caller(0))[3], "Can't bind:", > ldap_error_name($msg->code), $msg->code); > } else { > ... > > Have you set LdapUser and LdapPass in RT_SiteConfig.pm? If not, try > setting them to a user/pass combo that should allow you to bind to the > server and let me know how it goes. > > Thanks! > > --j > -- > Jim Meyer, Geek at Large purp at acm.org > From pape-rt at inf.fu-berlin.de Tue Jun 6 15:33:51 2006 From: pape-rt at inf.fu-berlin.de (Dirk Pape) Date: Tue, 06 Jun 2006 21:33:51 +0200 Subject: [rt-users] set default priority In-Reply-To: <200606061553.k56Fr2705765@marocconnect.com> References: <200606061553.k56Fr2705765@marocconnect.com> Message-ID: Hello, --Am 6. Juni 2006 15:52:55 +0000 schrieb Mohamed Ali Bouirmane : > I want to set a default priority when a user (support level 1) create > ticket in specific queue . > > And > > I want to set a priority when users select a value in custom field i can send you an example (attached) of a scrip we test with, it adjusts priority of a ticket if specific custom fields of the tickets are set. With this scrip we experiment calculating priority automatically from queue's initial and final priority and custom field values for Dringlichkeit (urgency) and Wichtigkeit (importance). Not yet ready for production but might help you as example. Regards, Dirk. -------------- next part -------------- Condition: On Transcation Custom action preparation code: my $type = $self->TransactionObj->Type; return(0) unless $type eq "CustomField" or $type eq "Create"; return(1); Custom action cleanup code: my $ticket = $self->TicketObj; my $queue = $ticket->QueueObj; my $wichtig = $ticket->FirstCustomFieldValue("Wichtigkeit"); my $dringlich = $ticket->FirstCustomFieldValue("Dringlichkeit"); my $minprio = $queue->InitialPriority; my $maxprio = $queue->FinalPriority; my %w_value = ( "niedrig" => 0, "mittel" => 1, "hoch" => 2 ); my %d_value = ( "klein" => 0, "mittel" => 1, "hoch" => 2 ); my $d_weight = ($maxprio - $minprio) / 3; my $w_weight = $d_weight / 3; my $d = $d_value{$dringlich} || 0; my $w = $w_value{$wichtig} || 0; my $prio = $minprio + $d_weight * $d_value{$dringlich} + $w_weight * $w_value{$wichtig}; $RT::Logger->info("would set Prio $prio by Dringlichkeit ".$d_value{$dringlich}." and Wichtigkeit ".$w_value{$wichtig}); $ticket->_Set(Field => "Priority", Value => $prio, RecordTransaction => 0); $RT::Logger->info("Prio is now ".$ticket->Priority); return(1); From wade at naveja.net Tue Jun 6 17:35:19 2006 From: wade at naveja.net (Wade Naveja) Date: Tue, 6 Jun 2006 14:35:19 -0700 (PDT) Subject: [rt-users] Can't bind: LDAP_INVALID_CREDENTIALS 49 In-Reply-To: References: Message-ID: I found my mistake. My RT_SiteConfig.pm contained the following: Set($LdapBase, 'cn=Users,dc=subdomain,dc=example,dc=com'); Set($LdapUser, 'genericid'); Changing those lines to something like this worked: Set($LdapBase, 'dc=subdomain,dc=example,dc=com'); Set($LdapUser, 'cn=genericid,cn=Users,dc=subdomain,dc=example,dc=com'); Thanks for the guidance. Now, on to other RT configuration issues! Regards, Wade Naveja On Tue, 6 Jun 2006, Wade Naveja wrote: > Jim - Thanks for the feedback. I'm sure you're right about the AD server > not accepting anonymous binding. > > I've got the values populated for > LdapUser and LdapPass. We have a service account that we use for Apache > LDAP authentication, so the username/password are definitely valid. > > I'm wondering if this bit from my RT_SiteConfig.pm looks okay: > > # The basics; if set, these override $RT::LdapAuth* and $RT::LdapInfo* > Set($LdapServer, 'server.example.com'); > Set($LdapBase, 'cn=Users,dc=subdomain,dc=example,dc=com'); > Set($LdapFilter, "(objectclass=user)"); > Set($LdapUser, 'genericid'); > Set($LdapPass, 'sekrit_password'); > > Any suggestions? > > Regards, > > Wade Naveja > From pkime at Shopzilla.com Tue Jun 6 17:59:52 2006 From: pkime at Shopzilla.com (Philip Kime) Date: Tue, 6 Jun 2006 14:59:52 -0700 Subject: [rt-users] RT 3.6rc3 looks odd and I can't get the 3.4-compat to do anything ... Message-ID: <58B1112F0EEB7349AE14A0AA46F9CEC00137ABCB@szexchange.Shopzilla.inc> Any ideas? The new layout looks strange - is there supposed to be a left frame like before? It seems so but both Firefox and IE give me one frame with the menu stuff at the top. I set the 3.4-compat variable in RT_SiteConfig.pm but it doesn't seem to do anything ... I've cleared the Mason cache and restarte apache etc. several times. PK -- Philip Kime NOPS Systems Architect 310 401 0407 -------------- next part -------------- An HTML attachment was scrubbed... URL: From lvanderf at internode.com.au Tue Jun 6 19:07:30 2006 From: lvanderf at internode.com.au (Luke Vanderfluit) Date: Wed, 07 Jun 2006 08:37:30 +0930 Subject: [rt-users] mysqldump refusing to finish Message-ID: <44860AB2.5050806@internode.com.au> Hi. I have a cron job that does a database backup for RT. That backup is currently failing with the following error: mysqldump: Error 2020: Got packet bigger than 'max_allowed_packet' bytes when dumping table `Attachments` at row: 1784599 My mysqldump command looks like this: /usr/local/mysql/bin/mysqldump --opt --skip-extended-insert --skip-lock-tables --single-transaction --complete-insert --max_allowed_packet=32M rt3 | bzip2 -9 > rt3.out-`date +\%Y\%m\%d-\%H`.bz2 I could increase the 'max_allowed_packet' setting. I could add '--default-character-set=binary'. Would these help? Does anyone have any other suggestions? Kind regards. -- Luke Vanderfluit. Analyst/Programmer. Internode Systems Pty. Ltd. From ocraig at stillsecure.com Tue Jun 6 19:22:22 2006 From: ocraig at stillsecure.com (Ole Craig) Date: Tue, 06 Jun 2006 17:22:22 -0600 Subject: [rt-users] mysqldump refusing to finish In-Reply-To: <44860AB2.5050806@internode.com.au> References: <44860AB2.5050806@internode.com.au> Message-ID: <1149636142.26811.42.camel@hex.latis.com> On Wed, 2006-06-07 at 08:37 +0930, Luke Vanderfluit wrote: > Hi. > > I have a cron job that does a database backup for RT. > That backup is currently failing with the following error: > > mysqldump: Error 2020: Got packet bigger than 'max_allowed_packet' bytes when dumping table `Attachments` at row: 1784599 > > My mysqldump command looks like this: > > /usr/local/mysql/bin/mysqldump --opt --skip-extended-insert > --skip-lock-tables --single-transaction --complete-insert > --max_allowed_packet=32M rt3 | bzip2 -9 > rt3.out-`date +\%Y\%m\%d-\%H`.bz2 recent mysqldump versions do some funky things with combining insert statements. Your "--max_allowed_packet=32M" should match what you have defined for that variable in /etc/my.cnf, and to be on the safe side I'd check that your running mysql instance is using the value you think it is: mysql rt3 -e 'show variables;' | grep max_allowed_packet ...and I'd also add the following to your mysqldump command: -O net_buffer_length=32M (presuming that your max_allowed_packet size is actually 32M. I thought the ceiling was 16M, but I'm no mysql DBA.) -- /Ole Craig Security Engineer 303-381-3802 (main support hotline) 303-381-3824 (my direct line) 303-381-3801 (fax) www.stillsecure.com . . . From purp at acm.org Tue Jun 6 21:07:41 2006 From: purp at acm.org (Jim Meyer) Date: Tue, 6 Jun 2006 18:07:41 -0700 Subject: [rt-users] Fwd: RT LDAP In-Reply-To: References: Message-ID: Once more, this time actually headed to the rt-users list. =\ --j ---------- Forwarded message ---------- From: Jim Meyer Date: Jun 6, 2006 6:06 PM Subject: Re: RT LDAP To: Steve Hach? Hello! I'm copying the rt-users list because your errors don't look particularly LDAP-related -- not to say they aren't, just that I've never seen them before. First question: did you install my most recent code (~1a last night) or from earlier? There shouldn't be a difference (and don't upgrade yet if you're not running last night's code), it's just to help figure out what's wrong. Second question: what version of RT? On 6/6/06, Steve Hach? wrote: > I also installed the LdapAutocreateAuthCallback file. Since that's optional, let's move that to Auth.bak for now to decomplicate the issue. Then we'll test with some LDAP user who already has an RT account. > However I am not having luck getting that one to work off the bat. > Here is what my logs are showing. fred.smith is not a valid user in our > office, but andre is. > > Jun 6 14:21:40 srv01 RT: Transaction->Create couldn't, as you didn't > specify an object type and id > (/usr/local/rt3/lib/RT/Record.pm:1441) > Jun 6 14:21:40 srv01 RT: Transaction->Create couldn't, as you didn't > specify an object type and id > (/usr/local/rt3/lib/RT/Record.pm:1441) > Jun 6 14:21:40 srv01 RT: FAILED LOGIN for fred.smith from 192.168.255.1 > (/usr/local/rt3/share/html/autohandler:191) > Jun 6 14:26:02 srv01 RT: Transaction->Create couldn't, as you didn't > specify an object type and id > (/usr/local/rt3/lib/RT/Record.pm:1441) > Jun 6 14:26:02 srv01 RT: Transaction->Create couldn't, as you didn't > specify an object type and id > (/usr/local/rt3/lib/RT/Record.pm:1441) > Jun 6 14:26:02 srv01 RT: FAILED LOGIN for andre_belanger from 192.168.255.1 > (/usr/local/rt3/share/html/autohandler:191) These don't look like errors I've seen before. Let's keep digging. > Set($LdapAttrMap, {'Name' => 'SAMAccountName', > 'EmailAddress' => 'mail', > 'Organization' => 'o', > 'RealName' => 'cn', > 'ExternalContactInfoId' => 'dn', > 'ExternalAuthId' => 'SAMAccountName', > 'Gecos' => 'SAMAccountName', > 'WorkPhone' => 'telephoneNumber', > 'Address1' => 'streetAddress', > 'City' => '1', > 'State' => 'st', > 'Zip' => 'postalCode', > 'Country' => 'co'} > ); [...] > # The basics; if set, these override $RT::LdapAuth* and $RT::LdapInfo* > Set($LdapServer, 'LDAP IP HERE'); > Set($LdapBase, 'ou=users,dc=corp,dc=distributel,dc=ca'); > Set($LdapFilter, "(objectclass=SAMAccountName)"); I think it's supposed to be "sAMAccountName", but I don't know if Windows Active Directory is case sensitive or not. If that doesn't solve it, please turn logging up to "debug" and send more output. =] Thanks! --j -- Jim Meyer, Geek at Large purp at acm.org -- Jim Meyer, Geek at Large purp at acm.org From ocraig at stillsecure.com Tue Jun 6 21:23:11 2006 From: ocraig at stillsecure.com (Ole Craig) Date: Tue, 06 Jun 2006 19:23:11 -0600 Subject: [rt-users] Fwd: RT LDAP In-Reply-To: References: Message-ID: <1149643391.26811.70.camel@hex.latis.com> On Tue, 2006-06-06 at 18:07 -0700, Jim Meyer wrote: [...] > I think it's supposed to be "sAMAccountName", but I don't know if > Windows Active Directory is case sensitive or not. [...] Some quick experimentation with ldapsearch says it's not, but (based on some fairly painful experience troubleshooting one of our products that includes user import from LDAP as an option) I suspect you want "organizationalPerson" as the object class; "sAMAccountName" is usually an attribute of an organizationalPerson object. -- /Ole Craig Security Engineer 303-381-3802 (main support hotline) 303-381-3824 (my direct line) 303-381-3801 (fax) www.stillsecure.com . . . From purp at acm.org Tue Jun 6 21:25:32 2006 From: purp at acm.org (Jim Meyer) Date: Tue, 6 Jun 2006 18:25:32 -0700 Subject: [rt-users] Fwd: RT LDAP In-Reply-To: <1149643391.26811.70.camel@hex.latis.com> References: <1149643391.26811.70.camel@hex.latis.com> Message-ID: Hello! On 6/6/06, Ole Craig wrote: > > On Tue, 2006-06-06 at 18:07 -0700, Jim Meyer wrote: > [...] > > I think it's supposed to be "sAMAccountName", but I don't know if > > Windows Active Directory is case sensitive or not. > [...] > > Some quick experimentation with ldapsearch says it's not, but (based on > some fairly painful experience troubleshooting one of our products that > includes user import from LDAP as an option) I suspect you want > "organizationalPerson" as the object class; "sAMAccountName" is usually > an attribute of an organizationalPerson object. Can some enterprising WAD user try this and confirm it? I'd like to update he wiki if it's true. Thanks! --j -- Jim Meyer, Geek at Large purp at acm.org From ocraig at stillsecure.com Tue Jun 6 21:50:45 2006 From: ocraig at stillsecure.com (Ole Craig) Date: Tue, 06 Jun 2006 19:50:45 -0600 Subject: [rt-users] 3.6.0rc3/mysql: reinserting image attachments into the DB? Message-ID: <1149645045.26811.83.camel@hex.latis.com> Background: Startups being what they are, I had to shove my RT installation out the aircraft door long before I felt ready, hoping the chute was in working order... I don't currently have hardware for a test system; when I have to tweak RT, I'm sometimes forced to do a mysqldump and then restore from the dump after testing changes. After one such dump/change/test/restore sequence, I noticed that any images attached to existing tickets had been corrupted, probably because before today I'd not thought to specify the "-O --hex-blob=TRUE" option to mysqldump. If you're curious as to what happened to the images, a sample before-and-after: http://www.cs.umass.edu/~olc/original-email-image.jpg http://www.cs.umass.edu/~olc/corrupted-RT-image.jpg (latter image has been GIMPed to obfuscate of innocent bystanders and their support requests, ignore the black blotches. It's the psychedelia that's the problem.) My question: I still have all the emails from which those image attachments were culled. Does anyone have a suggestion for how to reinsert the uncorrupted images into the database in place of the useless blobs currently residing there? (I'm no DBA at the best of times, and I've never needed to work with non-textual data in mysql before; I'm feeling a bit lost...) Thanks, Ole -- /Ole Craig Security Engineer 303-381-3802 (main support hotline) 303-381-3824 (my direct line) 303-381-3801 (fax) www.stillsecure.com . . . From lvanderf at internode.com.au Wed Jun 7 00:17:12 2006 From: lvanderf at internode.com.au (Luke Vanderfluit) Date: Wed, 07 Jun 2006 13:47:12 +0930 Subject: [rt-users] more than 1 instance of RT talking to an RT database Message-ID: <44865348.5060403@internode.com.au> Hi. I have the following setup MACHINE1(RT/Apache)<------------>MACHINE2(Mysql) RT instance running on different machine to database I want to test the following: MACHINE1(RT/Apache)<------------>MACHINE2(Mysql)/MACHINE2(RT/Apache) 2 different instances of RT. One on a separate machine, one on the same machine as the database and the following MACHINE1(RT/Apache)<------------>MACHINE2(Mysql)<--------->MACHINE3(RT/Apache) 2 different instances of RT. Both on a separate machine to the database. Does anyone have experience with these setups? Thanks. Kind regards. -- Luke Vanderfluit. Analyst/Programmer. Internode Systems Pty. Ltd. From todd at chaka.net Wed Jun 7 00:23:05 2006 From: todd at chaka.net (Todd Chapman) Date: Wed, 7 Jun 2006 00:23:05 -0400 Subject: [rt-users] more than 1 instance of RT talking to an RT database In-Reply-To: <44865348.5060403@internode.com.au> References: <44865348.5060403@internode.com.au> Message-ID: <20060607042305.GE26200@chaka.net> Multiple RT web instances can hit the same RT database. No problem. On Wed, Jun 07, 2006 at 01:47:12PM +0930, Luke Vanderfluit wrote: > Hi. > > I have the following setup > > > MACHINE1(RT/Apache)<------------>MACHINE2(Mysql) > RT instance running on different machine to database > > > I want to test the following: > MACHINE1(RT/Apache)<------------>MACHINE2(Mysql)/MACHINE2(RT/Apache) > 2 different instances of RT. One on a separate machine, one on the same > machine as the database > > > and the following > > MACHINE1(RT/Apache)<------------>MACHINE2(Mysql)<--------->MACHINE3(RT/Apache) > 2 different instances of RT. Both on a separate machine to the database. > > Does anyone have experience with these setups? > Thanks. > Kind regards. > > > -- > Luke Vanderfluit. > Analyst/Programmer. > Internode Systems Pty. Ltd. > > _______________________________________________ > http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users > > Community help: http://wiki.bestpractical.com > Commercial support: sales at bestpractical.com > > > Discover RT's hidden secrets with RT Essentials from O'Reilly Media. > Buy a copy at http://rtbook.bestpractical.com > > > We're hiring! Come hack Perl for Best Practical: > http://bestpractical.com/about/jobs.html From jcolson at voidgate.org Wed Jun 7 02:13:55 2006 From: jcolson at voidgate.org (Joshua Colson) Date: Tue, 6 Jun 2006 23:13:55 -0700 (MST) Subject: [rt-users] 3.6.0rc3/mysql: reinserting image attachments into the DB? In-Reply-To: <1149645045.26811.83.camel@hex.latis.com> References: <1149645045.26811.83.camel@hex.latis.com> Message-ID: <32914.192.168.37.73.1149660835.squirrel@mail.voidgate.org> > My question: I still have all the emails from which those image > attachments were culled. Does anyone have a suggestion for how to > reinsert the uncorrupted images into the database in place of the > useless blobs currently residing there? (I'm no DBA at the best of > times, and I've never needed to work with non-textual data in mysql > before; I'm feeling a bit lost...) RT does not store attachments as BLOBs. All binary attachments are converted to base64 encoding before insertion into the database. What you want to do should be possible, but it will likely require a fair amount of work to accomplish. You say that you aren't a DBA, but if you can run some sql updates, you can fix your problem. First, you'll need to extract all the images from your emails, then you'll have to figure out which image goes with which ticket. This will be the hard part. The following SQL run from the mysql command line tool should help pull the relevant information together. select a.id as "Attachments.id", a.Filename as "Attachments.Filename", tr.id as "Transactions.id", t.id as "Tickets.id", t.Subject as "Tickets.Subject" FROM Attachments a, Transactions tr, Tickets t WHERE a.ContentType <> 'text/plain' and a.Filename is not NULL and a.TransactionId = tr.id and tr.ObjectType = 'RT::Ticket' and tr.ObjectId = t.id; With that information in hand, you should be able to cross reference the images you've extracted from the emails to the tickets/transactions/attachments records in the database. Then, you'll need to use some external utility such as perls MIME::Base64 module to convert the images to base64 format. Then simply update the record with the new data. I hope I explained that clearly enough to get you where you would like to be. Good luck, and make sure you back the system up before doing anything that I've suggested! I should also mention that I have not tested any of this, but it should all work, in theory. -- Joshua Colson From nmetrowsky at digitalglobe.com Wed Jun 7 10:30:16 2006 From: nmetrowsky at digitalglobe.com (Nick Metrowsky) Date: Wed, 7 Jun 2006 08:30:16 -0600 Subject: [rt-users] Generating e-mail when Ticket is moved Message-ID: Hi Everyone, Is there a way to send an e-mail automatically when a ticket is moved to another queue? Also, is there a way to send an e-mail automatically when someone changes the ownership of the ticket to someone else? Thank you for your help. Take care! Nick ------------------------------------------------------------------------ --------- Nick Metrowsky Consulting System Administrator 303-684-4785 Office 303-684-4100 Fax nmetrowsky at digitalglobe.com DigitalGlobe (r), An Imaging and Information Company http://www.digitalglobe.com ------------------------------------------------------------------------ --------- -------------- next part -------------- An HTML attachment was scrubbed... URL: From jawalk00 at uky.edu Wed Jun 7 10:15:00 2006 From: jawalk00 at uky.edu (John A. Walker) Date: Wed, 07 Jun 2006 10:15:00 -0400 Subject: [rt-users] Custom Field issue In-Reply-To: <4483C3F9.4020607@wolfram.com> Message-ID: <5.1.0.14.2.20060607095013.01d03af0@ukmail1.uky.edu> OK ... We are running RT 3.4.5 and I'm having trouble trying to achieve something that we want to do. I think I'm close but I just need a little help to get over the edge. Basically, for specific queues, we have a custom field that contains a list of users. The list of users is a list of people that can approve tickets. When a user is selected an approval ticket is generated for the specified user. If no one is selected (no value) then it creates the ticket normally. This part works fine. We realized that if someone might create the ticket initially not thinking that it needs to be approved and then discover that it approval is required. We wanted to make it so a user could go back and select an approver and generate the approval request as it would if it were done at the original creation of the ticket. What I was thinking I could do is compare the old value of the custom field with the current value of the custom field and if they had changed I could return 1 and run the approval template. If this can be done, I would also want to check to see if the new value was "no value" and if it were then I would return 0. I have searched the archives and can come up with stuff that is close but nothing that actually does a check on the old value of a custom field within the scrip. Part of the problem is that I'm not entirely sure what the proper syntax of referring to the fields and their values. So if there is some place that can give me a break down of how to do this that would be great. Here is the contents of the User Defined Condition as it works on the creation of a ticket: if (($self->TransactionObj->Type eq "Create") and ($self->TicketObj->FirstCustomFieldValue('Approval required by:') =~ /\w/)) { return 1; } return 0; Here is the contents of the template that is called by the above scrip: ===Create-Ticket: manager-approval Subject: Approval of { $Tickets{'TOP'}->Subject() } Queue: ___Approvals Type: approval Owner: { $Tickets{'TOP'}->FirstCustomFieldValue('Approval required by:') } Depended-On-By: { $Tickets{'TOP'}->Id() } RefersTo: { $Tickets{'TOP'}->Id() } Content: Please review and approve this request. ENDOFCONTENT I was attempting to add further checks in the scrip that basically look to see if the transaction type is not equal to "Create" . If that was the case then I would look at the custom field value ('Approval required by:') and see if it had changed. I sure hope someone has something I can run with. I don't even have to have the complete answer. Just point me in the right direction. Any help would be greatly appreciated. Thanks John From Chris.Covington at plusone.com Wed Jun 7 10:42:23 2006 From: Chris.Covington at plusone.com (Covington, Chris) Date: Wed, 7 Jun 2006 10:42:23 -0400 Subject: [rt-users] binary attachment corruption? In-Reply-To: <20060601163432.GF8022@bestpractical.com> References: <447CA534.2010709@ucrwcu.rwc.uc.edu> <008301c68598$ee4154e0$0e14140a@ad.serreyn.com> <20060601163432.GF8022@bestpractical.com> Message-ID: <20060607144223.GA9232@grendel.plusone.com> On Thu, Jun 01, 2006 at 12:34:32PM -0400, Jesse Vincent wrote: > > > > On Thu, Jun 01, 2006 at 11:32:10AM -0500, Ted Serreyn wrote: > > Interesting > > > > > > mysqldump --all-databases --with-default-charset=binary >dump.test > > mysqldump: unknown variable 'with-default-charset=binary' > > > > My mistake. --default-character-set=name Has anyone gotten this sorted out? I've upgraded to mysql 5.0.22 and I still have this problem, so it must be in the configuration somewhere. I've tried starting mysql with --character-set-server=binary and --default-character-set=binary and the attachments are still corrupted (with new tickets). --- Chris Covington IT Plus One Health Management 75 Maiden Lane Suite 801 NY, NY 10038 646-312-6269 http://www.plusoneactive.com From brendanarnold at gmail.com Wed Jun 7 11:44:58 2006 From: brendanarnold at gmail.com (Brendan Arnold) Date: Wed, 7 Jun 2006 16:44:58 +0100 Subject: [rt-users] Lack of trailing slash causing porblems in IE In-Reply-To: <5ed41c130606060541i7701237m8ca1222ada9a96a5@mail.gmail.com> References: <5ed41c130605220229v616dc65bu87e9b8a9c9592cfe@mail.gmail.com> <5ed41c130606010841l1a106e01r3b20bff47e7ab08f@mail.gmail.com> <5ed41c130606020502r17886dek5994d931e7bbdb5f@mail.gmail.com> <5ed41c130606060541i7701237m8ca1222ada9a96a5@mail.gmail.com> Message-ID: <5ed41c130606070844g17365b97lde8ab4315014b65f@mail.gmail.com> This seems to have solved the problem without the Draconian measure of forcing SSLv2 connections. RT connections are now updating consistently! Brendan From fpater at dca.net Wed Jun 7 11:47:26 2006 From: fpater at dca.net (Frank Pater) Date: Wed, 7 Jun 2006 11:47:26 -0400 Subject: [rt-users] Generating e-mail when Ticket is moved In-Reply-To: References: Message-ID: <20060607154726.GA7717@staff.dca.net> Hi Nick, We've accomplished these without even writing any code. Create new global scrips: For queue change: Condition: On Queue Change Action: Notify AdminCcs (or whatever is appropriate for your organization) Template: Global template: Transaction Stage: TransactionCreate For owner change: Condition: On Owner Change Action: Notify Owner (this is the new owner... again, change as necessary) Template: Global template: Transaction Stage: TransactionCreate Since the Actions and Conditions you're looking for are predefined in RT, you should be able to do anything similar to this without writing any Scrip code. Sincerely, Frank Pater DCANet http://www.dca.net voice: 888-4-DCANET (888-432-2638) fax: 302-426-6386 On Wed, Jun 07, 2006 at 08:30:16AM -0600, Nick Metrowsky wrote: > Hi Everyone, > > > > Is there a way to send an e-mail automatically when a ticket is moved to > another queue? Also, is there a way to send an e-mail automatically when > someone changes the ownership of the ticket to someone else? > > > > Thank you for your help. > > > > Take care! > > > > Nick > > > > --------------------------------------------------------------------------------- > > Nick Metrowsky > > Consulting System Administrator > > 303-684-4785 Office > > 303-684-4100 Fax > > [1]nmetrowsky at digitalglobe.com > > DigitalGlobe (R), An Imaging and Information Company > > [2]http://www.digitalglobe.com > > --------------------------------------------------------------------------------- > > > > References > > Visible links > 1. mailto:nmetrowsky at digitalglobe.com > 2. http://www.digitalglobe.com/ > _______________________________________________ > http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users > > Community help: http://wiki.bestpractical.com > Commercial support: sales at bestpractical.com > > > Discover RT's hidden secrets with RT Essentials from O'Reilly Media. > Buy a copy at http://rtbook.bestpractical.com > > > We're hiring! Come hack Perl for Best Practical: http://bestpractical.com/about/jobs.html -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 189 bytes Desc: not available URL: From jauty at indiana.edu Wed Jun 7 14:09:33 2006 From: jauty at indiana.edu (Joe Auty) Date: Wed, 7 Jun 2006 14:09:33 -0400 Subject: [rt-users] RT 3.6.0rc2 not attempting email to requestors upon reply Message-ID: Hello, When I go to reply to a ticket, RT does not even attempt to send email out to the requestor's email address within version 3.6 - there is no record at all in my mail log. Is this the intended behavior, or a simple misconfiguration? If the latter, what needs to be corrected? I can't seem to locate anything on the WIki... ----------- Joe Auty UITS Messaging Indiana University jauty at indiana.edu -------------- next part -------------- A non-text attachment was scrubbed... Name: PGP.sig Type: application/pgp-signature Size: 186 bytes Desc: This is a digitally signed message part URL: From jauty at indiana.edu Wed Jun 7 14:33:12 2006 From: jauty at indiana.edu (Joe Auty) Date: Wed, 7 Jun 2006 14:33:12 -0400 Subject: [rt-users] RT 3.6.0rc2 not attempting email to requestors upon reply In-Reply-To: References: Message-ID: <8FBAE125-3680-49EB-A659-FA5422C41A7E@indiana.edu> If I were to wager a guess, it looks like the problem involves the scrip: On Correspond Notify Requestors and Ccs with template Correspondence Is there some sort of way of verifying that this Scrip is working? On Jun 7, 2006, at 2:09 PM, Joe Auty wrote: > Hello, > > When I go to reply to a ticket, RT does not even attempt to send > email out to the requestor's email address within version 3.6 - > there is no record at all in my mail log. Is this the intended > behavior, or a simple misconfiguration? If the latter, what needs > to be corrected? I can't seem to locate anything on the WIki... > > > > ----------- > Joe Auty > UITS Messaging > Indiana University > jauty at indiana.edu > > > > > _______________________________________________ > http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users > > Community help: http://wiki.bestpractical.com > Commercial support: sales at bestpractical.com > > > Discover RT's hidden secrets with RT Essentials from O'Reilly Media. > Buy a copy at http://rtbook.bestpractical.com > > > We're hiring! Come hack Perl for Best Practical: http:// > bestpractical.com/about/jobs.html ----------- Joe Auty UITS Messaging Indiana University jauty at indiana.edu -------------- next part -------------- A non-text attachment was scrubbed... Name: PGP.sig Type: application/pgp-signature Size: 186 bytes Desc: This is a digitally signed message part URL: From eric.valor at daimlerchrysler.com Wed Jun 7 13:49:30 2006 From: eric.valor at daimlerchrysler.com (eric.valor at daimlerchrysler.com) Date: Wed, 7 Jun 2006 10:49:30 -0700 Subject: [rt-users] Fwd: RT LDAP In-Reply-To: <20060607061144.3E0174D81AB@diesel.bestpractical.com> Message-ID: I use a W2K AD server and use "user" as my object class. That works well for me. # Basic Setup Set($LdapServer, 'server.domain.com'); # LDAP server for authentication Set($LdapBase, 'cn=Users,dc=domain,dc=com'); # search base Set($LdapFilter, "(objectclass=user)"); # filter LDAP entries (e.g., only people) I have also confirmed that SAMAccountName works equally as well as sAMAccountName in the config. -- Eric N. Valor Sr. Systems Administrator DaimlerChrysler Research & Technology North America, Inc. eric.valor at daimlerchrysler.com 1510 Page Mill Road, Palo Alto, CA 94304 CIMS 931-00-00 650-845-2536 : This Space Intentionally Left Blank : From: Ole Craig On Tue, 2006-06-06 at 18:07 -0700, Jim Meyer wrote: [...] > I think it's supposed to be "sAMAccountName", but I don't know if > Windows Active Directory is case sensitive or not. [...] Some quick experimentation with ldapsearch says it's not, but (based on some fairly painful experience troubleshooting one of our products that includes user import from LDAP as an option) I suspect you want "organizationalPerson" as the object class; "sAMAccountName" is usually an attribute of an organizationalPerson object. -------------- next part -------------- An HTML attachment was scrubbed... URL: From todd at chaka.net Wed Jun 7 14:50:47 2006 From: todd at chaka.net (Todd Chapman) Date: Wed, 7 Jun 2006 14:50:47 -0400 Subject: [rt-users] RT 3.6.0rc2 not attempting email to requestors upon reply In-Reply-To: <8FBAE125-3680-49EB-A659-FA5422C41A7E@indiana.edu> References: <8FBAE125-3680-49EB-A659-FA5422C41A7E@indiana.edu> Message-ID: <20060607185047.GF26200@chaka.net> On Wed, Jun 07, 2006 at 02:33:12PM -0400, Joe Auty wrote: > If I were to wager a guess, it looks like the problem involves the > scrip: > > On Correspond Notify Requestors and Ccs with template Correspondence > > > Is there some sort of way of verifying that this Scrip is working? > Might this have something to do with $NotofyActor in RT_Config.pm? From jauty at indiana.edu Wed Jun 7 14:50:05 2006 From: jauty at indiana.edu (Joe Auty) Date: Wed, 7 Jun 2006 14:50:05 -0400 Subject: [rt-users] RT 3.6.0rc2 not attempting email to requestors upon reply In-Reply-To: <20060607185047.GF26200@chaka.net> References: <8FBAE125-3680-49EB-A659-FA5422C41A7E@indiana.edu> <20060607185047.GF26200@chaka.net> Message-ID: <888A3FB0-C24B-44B8-BC71-E3CDE3E88630@indiana.edu> Yes, it sure is! A rather confusing default, but I should have looked in the config file rather than the web interface... I was thinking this was more of a permissions issue or something, as the feedback provided in the web interface was a little confusing (listing the script it will trigger, but not listing the email addresses - I didn't anticipate that I should have expected the email addresses to be listed in addition to the scrips) Or, perhaps I'm just a dummy! =) Thanks though! On Jun 7, 2006, at 2:50 PM, Todd Chapman wrote: > On Wed, Jun 07, 2006 at 02:33:12PM -0400, Joe Auty wrote: >> If I were to wager a guess, it looks like the problem involves the >> scrip: >> >> On Correspond Notify Requestors and Ccs with template Correspondence >> >> >> Is there some sort of way of verifying that this Scrip is working? >> > > Might this have something to do with $NotofyActor in RT_Config.pm? ----------- Joe Auty UITS Messaging Indiana University jauty at indiana.edu -------------- next part -------------- A non-text attachment was scrubbed... Name: PGP.sig Type: application/pgp-signature Size: 186 bytes Desc: This is a digitally signed message part URL: From ESchultz at corp.untd.com Wed Jun 7 15:38:28 2006 From: ESchultz at corp.untd.com (Schultz, Eric) Date: Wed, 7 Jun 2006 12:38:28 -0700 Subject: [rt-users] Strange message when changing "Select One Value" CFs inRT 3.4.5 Message-ID: <5613F89D78D2F545A40423EBA5535C300FD1C4F3@LAXEVS01.lax.corp.int.untd.com> Since I've made a number of other changes, I can't just give you a patch. But yes, I thought it was a bug, and I fixed it thusly in /path/to/your/rt/lib/RT/Interface/Web.pm (this also works for something that isn't a "select one value"): @@ -1217,6 +1217,8 @@ my $cf_values = $Object->CustomFieldValues($cf); my %values_hash; + my @addcfresults = (); + foreach my $value (@values) { next unless length($value); @@ -1229,17 +1231,20 @@ Value => $value ); push ( @results, $msg ); + push( @addcfresults, $msg ); } } - while ( my $cf_value = $cf_values->Next ) { - unless ( $values_hash{ $cf_value->Content } == 1 ) { - my ( $val, $msg ) = $Object->DeleteCustomFieldValue( - Field => $cf, - Value => $cf_value->Content - ); - push ( @results, $msg); + if (!@addcfresults or !$CustomFieldObj->MaxValues ) { + while ( my $cf_value = $cf_values->Next ) { + unless ( $values_hash{ $cf_value->Content } == 1 ) { + my ( $val, $msg ) = $Object->DeleteCustomFieldValue( + Field => $cf, + Value => $cf_value->Content + ); + push ( @results, $msg); + } } } } Let me know if another diff type would be clearer for you to make the change to your code. Eric Schultz United Online -----Original Message----- From: rt-users-bounces at lists.bestpractical.com [mailto:rt-users-bounces at lists.bestpractical.com] On Behalf Of Philip Kime Sent: Sunday, June 04, 2006 2:37 PM To: RT users Subject: [rt-users] Strange message when changing "Select One Value" CFs inRT 3.4.5 If I change a "Select one value" CF in RT 3.4.5, I get two messages, for example: * ClusterCountryCode FR changed to US * Custom field value FR could not be found for custom field ClusterCountryCode The change is fine and works but the second message is odd (it comes from CustomField_Overlay.pm) - it looks like it tries to change it twice and fails the second time because the value is already changed? Any comments? Is this a bug? PK -- Philip Kime NOPS Systems Architect 310 401 0407 From nazark at auska.com Wed Jun 7 16:20:06 2006 From: nazark at auska.com (Nazar Kulynych) Date: Wed, 07 Jun 2006 16:20:06 -0400 Subject: [rt-users] Scrip doesn't work In-Reply-To: <200606061853.k56IrM708143@marocconnect.com> References: <200606061853.k56IrM708143@marocconnect.com> Message-ID: <448734F6.3070405@auska.com> I have recently installed RT 3.4.5, when I try to add users I get the following message in my apache error_log. [Wed Jun 07 23:17:36 2006] [notice] child pid 18164 exit signal Segmentation fault (11) [Wed Jun 7 20:17:36 2006] [crit]: Transaction not committed. Usually indicates a software fault.Data loss may have occurred (/www/apps/rt-3.4.5/lib/RT/Interface/Web/Handler.pm:205) Any idea? thanks Nazar From pkime at Shopzilla.com Wed Jun 7 17:07:36 2006 From: pkime at Shopzilla.com (Philip Kime) Date: Wed, 7 Jun 2006 14:07:36 -0700 Subject: [rt-users] RE: Strange message when changing "Select One Value" CFs inRT 3.4.5 Message-ID: <58B1112F0EEB7349AE14A0AA46F9CEC00137ABD3@szexchange.Shopzilla.inc> There seems to be the same issue in RT 3.6 too ... Thanks for the patch - I'll try it out. -----Original Message----- From: Schultz, Eric [mailto:ESchultz at corp.untd.com] Sent: 07 June 2006 12:38 To: Philip Kime; RT users Subject: RE: [rt-users] Strange message when changing "Select One Value" CFs inRT 3.4.5 Since I've made a number of other changes, I can't just give you a patch. But yes, I thought it was a bug, and I fixed it thusly in /path/to/your/rt/lib/RT/Interface/Web.pm (this also works for something that isn't a "select one value"): @@ -1217,6 +1217,8 @@ my $cf_values = $Object->CustomFieldValues($cf); my %values_hash; + my @addcfresults = (); + foreach my $value (@values) { next unless length($value); @@ -1229,17 +1231,20 @@ Value => $value ); push ( @results, $msg ); + push( @addcfresults, $msg ); } } - while ( my $cf_value = $cf_values->Next ) { - unless ( $values_hash{ $cf_value->Content } == 1 ) { - my ( $val, $msg ) = $Object->DeleteCustomFieldValue( - Field => $cf, - Value => $cf_value->Content - ); - push ( @results, $msg); + if (!@addcfresults or !$CustomFieldObj->MaxValues ) { + while ( my $cf_value = $cf_values->Next ) { + unless ( $values_hash{ $cf_value->Content } == 1 ) { + my ( $val, $msg ) = $Object->DeleteCustomFieldValue( + Field => $cf, + Value => $cf_value->Content + ); + push ( @results, $msg); + } } } } Let me know if another diff type would be clearer for you to make the change to your code. Eric Schultz United Online -----Original Message----- From: rt-users-bounces at lists.bestpractical.com [mailto:rt-users-bounces at lists.bestpractical.com] On Behalf Of Philip Kime Sent: Sunday, June 04, 2006 2:37 PM To: RT users Subject: [rt-users] Strange message when changing "Select One Value" CFs inRT 3.4.5 If I change a "Select one value" CF in RT 3.4.5, I get two messages, for example: * ClusterCountryCode FR changed to US * Custom field value FR could not be found for custom field ClusterCountryCode The change is fine and works but the second message is odd (it comes from CustomField_Overlay.pm) - it looks like it tries to change it twice and fails the second time because the value is already changed? Any comments? Is this a bug? PK -- Philip Kime NOPS Systems Architect 310 401 0407 From nazark at auska.com Wed Jun 7 17:12:32 2006 From: nazark at auska.com (Nazar Kulynych) Date: Wed, 07 Jun 2006 17:12:32 -0400 Subject: [rt-users] Segmentation Fault In-Reply-To: <448734F6.3070405@auska.com> References: <200606061853.k56IrM708143@marocconnect.com> <448734F6.3070405@auska.com> Message-ID: <44874140.1070506@auska.com> I have recently installed RT 3.4.5, when I try to add users I get the following message in my apache error_log. [Wed Jun 07 23:17:36 2006] [notice] child pid 18164 exit signal Segmentation fault (11) [Wed Jun 7 20:17:36 2006] [crit]: Transaction not committed. Usually indicates a software fault.Data loss may have occurred (/www/apps/rt-3.4.5/lib/RT/Interface/Web/Handler.pm:205) Any idea? thanks Nazar From pkime at Shopzilla.com Wed Jun 7 20:14:20 2006 From: pkime at Shopzilla.com (Philip Kime) Date: Wed, 7 Jun 2006 17:14:20 -0700 Subject: [rt-users] Re: Known bug in RT 3.4.5 with disabled Group display? Message-ID: <58B1112F0EEB7349AE14A0AA46F9CEC00137ABDB@szexchange.Shopzilla.inc> Seems to still be a problem in 3.6rc3 ... >I believe we've already fixed this for 3.4.6, but checking that would be appreciated? On Sat, Jun 03, 2006 at 08:09:56PM -0700, Philip Kime wrote: > Is it a known bug in 3.4.5 that the "Include disabled groups in listing" > box on the Groups display page does nothing? I added this to the INIT > sectionof /Admin/Groups/index.html and now it seems to work ... > > if ($FindDisabledGroups) { > $Groups->{'find_disabled_rows'} = 1; } > From dsmithson at activsupport.com Wed Jun 7 20:18:25 2006 From: dsmithson at activsupport.com (David Smithson) Date: Wed, 7 Jun 2006 17:18:25 -0700 Subject: [rt-users] detail reports Message-ID: Hi all. Is there any built-in function for displaying and printing detailed reports in RT? I only ask because I don't find such a function and I want to be sure before I start exploring other reporting options. David Smithson -------------------------------------- ActivSupport, Inc. - Your Flexible IT Partner Microsoft Gold Partner http://www.activsupport.com Director of Technical Services -------------- next part -------------- An HTML attachment was scrubbed... URL: From dsmithson at activsupport.com Wed Jun 7 20:46:17 2006 From: dsmithson at activsupport.com (David Smithson) Date: Wed, 7 Jun 2006 17:46:17 -0700 Subject: [rt-users] detail reports Message-ID: Perhaps I should explain myself better. You can get a summary report for several tickets easily, using the query functions. I have a need to get detailed reports for several tickets resulting from a query. We are looking at replacing our custom ticketing system with RT. Currently we offer full visibility to our clients by delivering them ticket logs with invoices. I'm looking to get the same functionality in RT. ________________________________________ From: rt-users-bounces at lists.bestpractical.com [mailto:rt-users-bounces at lists.bestpractical.com] On Behalf Of David Smithson Sent: Wednesday, June 07, 2006 5:18 PM To: rt-users at lists.bestpractical.com Subject: [rt-users] detail reports Hi all.? Is there any built-in function for displaying and printing detailed reports in RT?? I only ask because I don't find such a function and I want to be sure before I start exploring other reporting options. David Smithson -------------------------------------- ActivSupport, Inc. - Your Flexible IT Partner Microsoft Gold Partner http://www.activsupport.com Director of Technical Services ? ? ? From pkime at Shopzilla.com Wed Jun 7 20:53:30 2006 From: pkime at Shopzilla.com (Philip Kime) Date: Wed, 7 Jun 2006 17:53:30 -0700 Subject: [rt-users] RE: Strange message when changing "Select One Value" CFs inRT 3.4.5 Message-ID: <58B1112F0EEB7349AE14A0AA46F9CEC00137ABDE@szexchange.Shopzilla.inc> Hmm, I tried this but get the same message. However, I'm only seeing this behaviour with Custom Fields in Assets, not Tickets it seems ... PK -----Original Message----- From: Schultz, Eric [mailto:ESchultz at corp.untd.com] Sent: 07 June 2006 12:38 To: Philip Kime; RT users Subject: RE: [rt-users] Strange message when changing "Select One Value" CFs inRT 3.4.5 Since I've made a number of other changes, I can't just give you a patch. But yes, I thought it was a bug, and I fixed it thusly in /path/to/your/rt/lib/RT/Interface/Web.pm (this also works for something that isn't a "select one value"): @@ -1217,6 +1217,8 @@ my $cf_values = $Object->CustomFieldValues($cf); my %values_hash; + my @addcfresults = (); + foreach my $value (@values) { next unless length($value); @@ -1229,17 +1231,20 @@ Value => $value ); push ( @results, $msg ); + push( @addcfresults, $msg ); } } - while ( my $cf_value = $cf_values->Next ) { - unless ( $values_hash{ $cf_value->Content } == 1 ) { - my ( $val, $msg ) = $Object->DeleteCustomFieldValue( - Field => $cf, - Value => $cf_value->Content - ); - push ( @results, $msg); + if (!@addcfresults or !$CustomFieldObj->MaxValues ) { + while ( my $cf_value = $cf_values->Next ) { + unless ( $values_hash{ $cf_value->Content } == 1 ) { + my ( $val, $msg ) = $Object->DeleteCustomFieldValue( + Field => $cf, + Value => $cf_value->Content + ); + push ( @results, $msg); + } } } } Let me know if another diff type would be clearer for you to make the change to your code. Eric Schultz United Online -----Original Message----- From: rt-users-bounces at lists.bestpractical.com [mailto:rt-users-bounces at lists.bestpractical.com] On Behalf Of Philip Kime Sent: Sunday, June 04, 2006 2:37 PM To: RT users Subject: [rt-users] Strange message when changing "Select One Value" CFs inRT 3.4.5 If I change a "Select one value" CF in RT 3.4.5, I get two messages, for example: * ClusterCountryCode FR changed to US * Custom field value FR could not be found for custom field ClusterCountryCode The change is fine and works but the second message is odd (it comes from CustomField_Overlay.pm) - it looks like it tries to change it twice and fails the second time because the value is already changed? Any comments? Is this a bug? PK -- Philip Kime NOPS Systems Architect 310 401 0407 From ESchultz at corp.untd.com Wed Jun 7 21:13:53 2006 From: ESchultz at corp.untd.com (Schultz, Eric) Date: Wed, 7 Jun 2006 18:13:53 -0700 Subject: [rt-users] RE: Strange message when changing "Select One Value" CFs inRT 3.4.5 Message-ID: <5613F89D78D2F545A40423EBA5535C300FDEFF2E@LAXEVS01.lax.corp.int.untd.com> I don't know what to tell you about the asset tracker code. Maybe you can use the RT code as a hint for how to fix the AT code. Eric Schultz United Online -----Original Message----- From: Philip Kime [mailto:pkime at Shopzilla.com] Sent: Wednesday, June 07, 2006 5:54 PM To: Schultz, Eric; RT users Subject: RE: Strange message when changing "Select One Value" CFs inRT 3.4.5 Hmm, I tried this but get the same message. However, I'm only seeing this behaviour with Custom Fields in Assets, not Tickets it seems ... PK -----Original Message----- From: Schultz, Eric [mailto:ESchultz at corp.untd.com] Sent: 07 June 2006 12:38 To: Philip Kime; RT users Subject: RE: [rt-users] Strange message when changing "Select One Value" CFs inRT 3.4.5 Since I've made a number of other changes, I can't just give you a patch. But yes, I thought it was a bug, and I fixed it thusly in /path/to/your/rt/lib/RT/Interface/Web.pm (this also works for something that isn't a "select one value"): @@ -1217,6 +1217,8 @@ my $cf_values = $Object->CustomFieldValues($cf); my %values_hash; + my @addcfresults = (); + foreach my $value (@values) { next unless length($value); @@ -1229,17 +1231,20 @@ Value => $value ); push ( @results, $msg ); + push( @addcfresults, $msg ); } } - while ( my $cf_value = $cf_values->Next ) { - unless ( $values_hash{ $cf_value->Content } == 1 ) { - my ( $val, $msg ) = $Object->DeleteCustomFieldValue( - Field => $cf, - Value => $cf_value->Content - ); - push ( @results, $msg); + if (!@addcfresults or !$CustomFieldObj->MaxValues ) { + while ( my $cf_value = $cf_values->Next ) { + unless ( $values_hash{ $cf_value->Content } == 1 ) { + my ( $val, $msg ) = $Object->DeleteCustomFieldValue( + Field => $cf, + Value => $cf_value->Content + ); + push ( @results, $msg); + } } } } Let me know if another diff type would be clearer for you to make the change to your code. Eric Schultz United Online -----Original Message----- From: rt-users-bounces at lists.bestpractical.com [mailto:rt-users-bounces at lists.bestpractical.com] On Behalf Of Philip Kime Sent: Sunday, June 04, 2006 2:37 PM To: RT users Subject: [rt-users] Strange message when changing "Select One Value" CFs inRT 3.4.5 If I change a "Select one value" CF in RT 3.4.5, I get two messages, for example: * ClusterCountryCode FR changed to US * Custom field value FR could not be found for custom field ClusterCountryCode The change is fine and works but the second message is odd (it comes from CustomField_Overlay.pm) - it looks like it tries to change it twice and fails the second time because the value is already changed? Any comments? Is this a bug? PK -- Philip Kime NOPS Systems Architect 310 401 0407 From dsmithson at activsupport.com Wed Jun 7 23:05:04 2006 From: dsmithson at activsupport.com (David Smithson) Date: Wed, 7 Jun 2006 20:05:04 -0700 Subject: [rt-users] detail reports Message-ID: And you might be wondering what exactly I mean by "detail". In this case, I mean that a detail report would include data from tables Attachments and possibly transactions. It would sort of be what you see in the Jumbo display. On a side note: It would be neat if RT could hide parts of email correspondence that are inline inclusions from previous emails, sort of the way Gmail does it. -----Original Message----- From: David Smithson Sent: Wednesday, June 07, 2006 5:46 PM To: David Smithson; rt-users at lists.bestpractical.com Subject: RE: [rt-users] detail reports Perhaps I should explain myself better. You can get a summary report for several tickets easily, using the query functions. I have a need to get detailed reports for several tickets resulting from a query. We are looking at replacing our custom ticketing system with RT. Currently we offer full visibility to our clients by delivering them ticket logs with invoices. I'm looking to get the same functionality in RT. ________________________________________ From: rt-users-bounces at lists.bestpractical.com [mailto:rt-users-bounces at lists.bestpractical.com] On Behalf Of David Smithson Sent: Wednesday, June 07, 2006 5:18 PM To: rt-users at lists.bestpractical.com Subject: [rt-users] detail reports Hi all.? Is there any built-in function for displaying and printing detailed reports in RT?? I only ask because I don't find such a function and I want to be sure before I start exploring other reporting options. David Smithson -------------------------------------- ActivSupport, Inc. - Your Flexible IT Partner Microsoft Gold Partner http://www.activsupport.com Director of Technical Services ? ? ? From pkime at Shopzilla.com Thu Jun 8 01:05:00 2006 From: pkime at Shopzilla.com (Philip Kime) Date: Wed, 7 Jun 2006 22:05:00 -0700 Subject: [rt-users] RE: Strange message when changing "Select One Value" CFs inRT 3.4.5 Message-ID: <58B1112F0EEB7349AE14A0AA46F9CEC00137ABE1@szexchange.Shopzilla.inc> Fixed - thanks - the code was in $rtroot/lib/RTx/AssetTracker/Interface/Web.pm and exactly the same fix fixed it ... PK -----Original Message----- From: Schultz, Eric [mailto:ESchultz at corp.untd.com] Sent: 07 June 2006 18:14 To: Philip Kime; RT users Subject: RE: Strange message when changing "Select One Value" CFs inRT 3.4.5 I don't know what to tell you about the asset tracker code. Maybe you can use the RT code as a hint for how to fix the AT code. Eric Schultz United Online From andreas.sinn at cpb-software.ag Thu Jun 8 02:05:31 2006 From: andreas.sinn at cpb-software.ag (Andreas Sinn) Date: Thu, 8 Jun 2006 08:05:31 +0200 Subject: [rt-users] Change the content of all subjects Message-ID: <07FD4DCB6B2E194495066CA0A5CF11770C6931@MXS1.cpbs.at> I want to know if it is possible to change the content of all subjects, now it is "[ #ticket number] Ticket name" and I want the following result: "Ticket name [Ticket Number]". Please help me Thanks, Andreas -------------- next part -------------- An HTML attachment was scrubbed... URL: From thomas.plantNOSPAM at lvh.it Thu Jun 8 02:32:16 2006 From: thomas.plantNOSPAM at lvh.it (Thomas Plant) Date: Thu, 08 Jun 2006 08:32:16 +0200 Subject: [rt-users] Upgrade problem Ubuntu 6.06 Message-ID: Hello, I've upgraded my Ubuntu Server vom Breezy to Dapper now when I want to respond to a ticket or resolve it, I get the following error: -------------------------------------------------------------------------- error: Can't call method "Scrips" on an undefined value at /usr/share/request-tracker3.4/html/Ticket/Elements/PreviewScrips line 95. context: ... 91: my @non_recipients = $TicketObj->SquelchMailTo; 92: 93:

<&|/l&>This message will be sent to...

94: <&|/l&>(Check boxes to disable notifications to the listed recipients)
95: % foreach my $scrip (@{$Object->Scrips->Prepared}) { 96: % next unless $scrip->ActionObj->Action->isa('RT::Action::SendEmail'); 97: <%$scrip->Description%>
98: <&|/l, loc($scrip->ConditionObj->Name), loc($scrip->ActionObj->Name), loc($scrip->TemplateObj->Name)&>[_1] [_2] with template [_3] 99:
... code stack: /usr/share/request-tracker3.4/html/Ticket/Elements/PreviewScrips:95 /usr/share/request-tracker3.4/html/Ticket/Update.html:135 /usr/share/request-tracker3.4/html/autohandler:215 raw error -------------------------------------------------------------------------- And in the Apache 2 Logs I see the following: [Wed Jun 07 15:55:25 2006] [error] [client 192.168.1.33] FastCGI: server "/usr/share/request-tracker3.4/libexec/mason_handler.fcgi" stderr: [Wed Jun 7 13:55:25 2006] [err]: RT::Ticket=HASH(0x2ef62f0) couldn't init a transaction Transaction Created (/usr/share/request-tracker3.4/lib/RT/Ticket_Overlay.pm:2413), referer: http://help.lvh.dnet.it/Ticket/Display.html?id=197 Can anybody help? Ubuntu is version 6.06 x86_64 and RT is 3.4.4 Thanks, Thomas From scoutts at bcs.org.uk Thu Jun 8 03:38:57 2006 From: scoutts at bcs.org.uk (Steven Coutts) Date: Thu, 8 Jun 2006 08:38:57 +0100 Subject: [rt-users] Trouble logging in In-Reply-To: <200606061448.49705.scoutts@bcs.org.uk> References: <200606061448.49705.scoutts@bcs.org.uk> Message-ID: <200606080838.57609.scoutts@bcs.org.uk> Strange, just tried it again today and it let me log in, I then clicked on a ticket and it started doing the internal server error again! Now I can't even get the login page to appear anymore. Same thing in the logs -: Out of memory! [Wed Jun 07 14:00:29 2006] [error] [client 10.130.36.42] FastCGI: incomplete headers (0 bytes) received from server "/var/www/localhost/rt-3.4.5/bin/mason_handler.fcgi" [Wed Jun 07 14:00:29 2006] [warn] FastCGI: server "/var/www/localhost/rt-3.4.5/bin/mason_handler.fcgi" (pid 19050) terminated by calling exit with status '1' [Wed Jun 07 14:00:29 2006] [warn] FastCGI: server "/var/www/localhost/rt-3.4.5/bin/mason_handler.fcgi" (uid 10001, gid 443) restarted (pid 22329) Anyone got any ideas about this please? On Tuesday 06 June 2006 14:48, Steven Coutts wrote: > I can't login to my RT system anymore. > > This is what is in the apache 2 error_log -: > > -- [Tue Jun 06 14:46:52 2006] [notice] Apache configured -- resuming normal > operations > [Tue Jun 06 14:46:53 2006] [warn] FastCGI: > server "/var/www/localhost/rt-3.4.5/bin/mason_handler.fcgi" (uid 10001, gid > 443) started (pid 12330) > [Tue Jun 06 14:46:54 2006] [warn] FastCGI: > server "/var/www/localhost/rt-3.4.5/bin/mason_handler.fcgi" (uid 10001, gid > 443) started (pid 13109) > [Tue Jun 06 14:46:55 2006] [warn] FastCGI: > server "/var/www/localhost/rt-3.4.5/bin/mason_handler.fcgi" (uid 10001, gid > 443) started (pid 17435) > Out of memory! > [Tue Jun 06 14:47:08 2006] [error] [client 10.130.36.42] FastCGI: > incomplete headers (0 bytes) received from > server "/var/www/localhost/rt-3.4.5/bin/mason_handler.fcgi" > [Tue Jun 06 14:47:08 2006] [warn] FastCGI: > server "/var/www/localhost/rt-3.4.5/bin/mason_handler.fcgi" (pid 797) > terminated by calling exit with status '1' > [Tue Jun 06 14:47:08 2006] [warn] FastCGI: > server "/var/www/localhost/rt-3.4.5/bin/mason_handler.fcgi" (uid 10001, gid > 443) restarted (pid 9081) > > I am at a loss at to what is wrong here! > > Any ideas ? > > Regards > > -- > Steven Coutts B.Sc.(Hons) MBCS > scoutts at bcs.org.uk > > PGP Public Key > > _______________________________________________ > http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users > > Community help: http://wiki.bestpractical.com > Commercial support: sales at bestpractical.com > > > Discover RT's hidden secrets with RT Essentials from O'Reilly Media. > Buy a copy at http://rtbook.bestpractical.com > > > We're hiring! Come hack Perl for Best Practical: > http://bestpractical.com/about/jobs.html -- Steven Coutts B.Sc.(Hons) MBCS scoutts at bcs.org.uk PGP Public Key From thomas.plantNOSPAM at lvh.it Thu Jun 8 05:21:55 2006 From: thomas.plantNOSPAM at lvh.it (Thomas Plant) Date: Thu, 08 Jun 2006 11:21:55 +0200 Subject: [rt-users] Re: Upgrade problem Ubuntu 6.06 In-Reply-To: References: Message-ID: Found the problem! I upgraded Postgresql-7.4 to 8.1. Downgraded again to 7.4 all works fine! From je_mi_re at yahoo.com Thu Jun 8 06:31:24 2006 From: je_mi_re at yahoo.com (guppy rules) Date: Thu, 8 Jun 2006 03:31:24 -0700 (PDT) Subject: [rt-users] help with install Message-ID: <20060608103124.29426.qmail@web38412.mail.mud.yahoo.com> Hi, I have installed rt-3.4 on a Fedora Core 4 system. I get te login page. I can login, but when I click on them menu (for example tickets), I get the following page: %# BEGIN BPS TAGGED BLOCK {{{ %# %# COPYRIGHT: %# %# This software is Copyright (c) 1996-2005 Best Practical Solutions, LLC %# %# %# (Except where explicitly superseded by other copyright notices) %# %# %# LICENSE: %# %# This work is made available to you under the terms of Version 2 of %# the GNU General Public License. A copy of that license should have %# been provided with this software, but in any event can be snarfed %# from www.gnu.org. %# %# This work is distributed in the hope that it will be useful, but %# WITHOUT ANY WARRANTY; without even the implied warranty of % and so on. What is going wrog? My rt.conf in /etc/httpd/conf.d: :80> ServerName DocumentRoot /var/rt/html AddDefaultCharset UTF-8 PerlModule Apache::DBI PerlRequire /usr/bin/webmux.pl Alias /rt /var/rt/html Options None SetHandler perl-script PerlHandler RT::Mason PerlFixupHandler Apache::SmallProf SetHandler default-handler Thanks for the help. Regards, Jemi __________________________________________________ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com -------------- next part -------------- An HTML attachment was scrubbed... URL: From thiago.cristino at gmail.com Thu Jun 8 09:22:14 2006 From: thiago.cristino at gmail.com (Thiago Cristino dos Santos) Date: Thu, 8 Jun 2006 10:22:14 -0300 Subject: [rt-users] Load Custom Fields in Offline edits Message-ID: Hi, i'm using RT 3.4.4, there's any way to create a ticket with CustomFields in Tools->Offline ? I,m referencing my custom fields in template, but only the default fields are loaded. TIA -------------- next part -------------- An HTML attachment was scrubbed... URL: From jesse at bestpractical.com Thu Jun 8 09:49:02 2006 From: jesse at bestpractical.com (Jesse Vincent) Date: Thu, 8 Jun 2006 09:49:02 -0400 Subject: [rt-users] Load Custom Fields in Offline edits In-Reply-To: References: Message-ID: <20060608134902.GC8022@bestpractical.com> On Thu, Jun 08, 2006 at 10:22:14AM -0300, Thiago Cristino dos Santos wrote: > Hi, > i'm using RT 3.4.4, there's any way to create a ticket with CustomFields in > Tools->Offline ? > I,m referencing my custom fields in template, but only the default fields > are loaded. Nope, but htat should work just great in 3.6 From matthew.hunt at yhfsc.org.uk Thu Jun 8 10:47:50 2006 From: matthew.hunt at yhfsc.org.uk (Matt Hunt) Date: Thu, 08 Jun 2006 15:47:50 +0100 Subject: [rt-users] Ststus Field Modification Message-ID: <1149778070.9443.7.camel@fsc02.ng.local> Hello all; I'm a bit of a beginner where Request Tracker is concerned, another user set up the main package, all I have done is set up the infrastructure of the program such as user's rights and so on. What I would like to know is about the status field, I would like to modify these and add some of my own, I have searched the wiki and cannot find anything, it may just be me dumb but all help would be appreciated. From dtikhonov at vonage.com Thu Jun 8 11:00:38 2006 From: dtikhonov at vonage.com (Dmitri Tikhonov) Date: Thu, 08 Jun 2006 11:00:38 -0400 Subject: [rt-users] Ststus Field Modification In-Reply-To: <1149778070.9443.7.camel@fsc02.ng.local> References: <1149778070.9443.7.camel@fsc02.ng.local> Message-ID: <1149778838.27105.61.camel@localhost.localdomain> On Thu, 2006-06-08 at 10:47 -0400, Matt Hunt wrote: > Hello all; I'm a bit of a beginner where Request Tracker is concerned, > another user set up the main package, all I have done is set up the > infrastructure of the program such as user's rights and so on. What I > would like to know is about the status field, I would like to modify > these and add some of my own, I have searched the wiki and cannot find > anything, it may just be me dumb but all help would be appreciated. > Open /etc/rt3/RT_Config.pm, and look for @ActiveStatus and @InactiveStatus arrays. Heed the warning (found in the same file), however: # WARNING. DO NOT DELETE ANY OF THE DEFAULT STATUSES. If you do, RT # will break horribly. - Dmitri. From rickr at rice.edu Thu Jun 8 11:15:42 2006 From: rickr at rice.edu (Rick Russell) Date: Thu, 08 Jun 2006 10:15:42 -0500 Subject: [rt-users] detail reports In-Reply-To: References: Message-ID: <44883F1E.5070902@rice.edu> -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 The rt list and rt show command-line functions can probably give you want you need. Type "rt help" at your server command line for more. Rick R. David Smithson wrote: > Perhaps I should explain myself better. You can get a summary report for several tickets easily, using the query functions. I have a need to get detailed reports for several tickets resulting from a query. We are looking at replacing our custom ticketing system with RT. Currently we offer full visibility to our clients by delivering them ticket logs with invoices. I'm looking to get the same functionality in RT. > > ________________________________________ > From: rt-users-bounces at lists.bestpractical.com [mailto:rt-users-bounces at lists.bestpractical.com] On Behalf Of David Smithson > Sent: Wednesday, June 07, 2006 5:18 PM > To: rt-users at lists.bestpractical.com > Subject: [rt-users] detail reports > > Hi all. Is there any built-in function for displaying and printing detailed reports in RT? I only ask because I don't find such a function and I want to be sure before I start exploring other reporting options. > > David Smithson > -------------------------------------- > ActivSupport, Inc. - Your Flexible IT Partner > Microsoft Gold Partner > http://www.activsupport.com > Director of Technical Services > > > > > _______________________________________________ > http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users > > Community help: http://wiki.bestpractical.com > Commercial support: sales at bestpractical.com > > > Discover RT's hidden secrets with RT Essentials from O'Reilly Media. > Buy a copy at http://rtbook.bestpractical.com > > > We're hiring! Come hack Perl for Best Practical: http://bestpractical.com/about/jobs.html > -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.3 (MingW32) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFEiD8eXIxWysfLtmkRAieXAJ9pDhE6mVoRcDRRTse1FXYnSeqsjACeI24i fHQvi7Bzon8ecSpt1u+LIwI= =dfVZ -----END PGP SIGNATURE----- From dlamers at elcan.com Thu Jun 8 11:23:12 2006 From: dlamers at elcan.com (Lamers, Dan) Date: Thu, 8 Jun 2006 11:23:12 -0400 Subject: [rt-users] Ststus Field Modification Message-ID: <0FB8C170485E29419C3ADAC3A13886CA033F544D@EMEXCH004002> I'm a nooby too, but I just finished looking through the /etc/request-tracker3.4/RT_Config.pm and saw comments about how to make your own changes to the status list. Look for the ActiveStatus and InactiveStatus lines from the config file and copy them to the RT_SiteConfig.pm. I believe that you need to restart your web service after making changes to the config file. Hope this works for you! Regards, Dan -----Original Message----- From: rt-users-bounces at lists.bestpractical.com [mailto:rt-users-bounces at lists.bestpractical.com]On Behalf Of Matt Hunt Sent: June 8, 2006 10:48 AM To: rt-users at lists.bestpractical.com Subject: [rt-users] Ststus Field Modification Hello all; I'm a bit of a beginner where Request Tracker is concerned, another user set up the main package, all I have done is set up the infrastructure of the program such as user's rights and so on. What I would like to know is about the status field, I would like to modify these and add some of my own, I have searched the wiki and cannot find anything, it may just be me dumb but all help would be appreciated. _______________________________________________ http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users Community help: http://wiki.bestpractical.com Commercial support: sales at bestpractical.com Discover RT's hidden secrets with RT Essentials from O'Reilly Media. Buy a copy at http://rtbook.bestpractical.com We're hiring! Come hack Perl for Best Practical: http://bestpractical.com/about/jobs.html DISCLAIMER: The information in this message is confidential and may be legally privileged. It is intended solely for the addressee. Access to this message by anyone else is unauthorized. If you are not the intended recipient, any disclosure, copying, or distribution of the message, or any action or omission taken by you in reliance on it, is prohibited and may be unlawful. Please immediately contact the sender if you have received this message in error. Thank you. From uli.staerk at globalways.net Thu Jun 8 11:55:23 2006 From: uli.staerk at globalways.net (=?iso-8859-1?Q?Uli_St=E4rk?=) Date: Thu, 8 Jun 2006 17:55:23 +0200 Subject: [rt-users] No confirmation mail on closing a ticket Message-ID: I have following problem. I've received an email from another RT. If I mark the request on my side as completed, my RT sends the other RT an email that the ticked is now closed. So if the other RT receives this e-mail, it automatically sends back an email as a receive-confirmation and re-opens their ticket. So we have a nice never ending round-robin system. Solution = ? From fpater at dca.net Thu Jun 8 12:07:36 2006 From: fpater at dca.net (Frank Pater) Date: Thu, 8 Jun 2006 12:07:36 -0400 Subject: [rt-users] No confirmation mail on closing a ticket In-Reply-To: References: Message-ID: <20060608160736.GE7717@staff.dca.net> Hi Uli, You have a couple options, depending on your requirements: 1) Reject the ticket when you see that another RT instance is talking back. Rejecting doesn't send mail. 2) Remove the requestor e-mail address, resolve the ticket, and put the requestor address back in the ticket. This is more work, but allows you to keep the requestor address and get the ticket into the resolved state. These are the options we use, anyway. I'm sure there are others... Sincerely, Frank Pater DCANet http://www.dca.net voice: 888-4-DCANET (888-432-2638) fax: 302-426-6386 On Thu, Jun 08, 2006 at 05:55:23PM +0200, Uli St?rk wrote: > I have following problem. I've received an email from another RT. If I mark the request on my side as completed, my RT sends the other RT an email that the ticked is now closed. So if the other RT receives this e-mail, it automatically sends back an email as a receive-confirmation and re-opens their ticket. So we have a nice never ending round-robin system. > > Solution = ? > _______________________________________________ > http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users > > Community help: http://wiki.bestpractical.com > Commercial support: sales at bestpractical.com > > > Discover RT's hidden secrets with RT Essentials from O'Reilly Media. > Buy a copy at http://rtbook.bestpractical.com > > > We're hiring! Come hack Perl for Best Practical: http://bestpractical.com/about/jobs.html -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 189 bytes Desc: not available URL: From KFCrocker at lbl.gov Thu Jun 8 12:11:43 2006 From: KFCrocker at lbl.gov (Kenneth Crocker) Date: Thu, 08 Jun 2006 09:11:43 -0700 Subject: [rt-users] Custom Field issue In-Reply-To: <5.1.0.14.2.20060607095013.01d03af0@ukmail1.uky.edu> References: <5.1.0.14.2.20060607095013.01d03af0@ukmail1.uky.edu> Message-ID: <44884C3F.608@lbl.gov> John A. Walker wrote: > OK ... We are running RT 3.4.5 and I'm having trouble trying to > achieve something that we want to do. I think I'm close but I just > need a little help to get over the edge. > > Basically, for specific queues, we have a custom field that contains a > list of users. The list of users is a list of people that can approve > tickets. When a user is selected an approval ticket is generated for > the specified user. If no one is selected (no value) then it creates > the ticket normally. This part works fine. > > We realized that if someone might create the ticket initially not > thinking that it needs to be approved and then discover that it > approval is required. We wanted to make it so a user could go back > and select an approver and generate the approval request as it would > if it were done at the original creation of the ticket. > > What I was thinking I could do is compare the old value of the custom > field with the current value of the custom field and if they had > changed I could return 1 and run the approval template. If this can > be done, I would also want to check to see if the new value was "no > value" and if it were then I would return 0. > > I have searched the archives and can come up with stuff that is close > but nothing that actually does a check on the old value of a custom > field within the scrip. Part of the problem is that I'm not entirely > sure what the proper syntax of referring to the fields and their > values. So if there is some place that can give me a break down of > how to do this that would be great. > > > Here is the contents of the User Defined Condition as it works on the > creation of a ticket: > > if (($self->TransactionObj->Type eq "Create") and > ($self->TicketObj->FirstCustomFieldValue('Approval required by:') =~ > /\w/)) { > return 1; > } > return 0; > > > Here is the contents of the template that is called by the above scrip: > > ===Create-Ticket: manager-approval > Subject: Approval of { $Tickets{'TOP'}->Subject() } > Queue: ___Approvals > Type: approval > Owner: { $Tickets{'TOP'}->FirstCustomFieldValue('Approval > required by:') } > Depended-On-By: { $Tickets{'TOP'}->Id() } > RefersTo: { $Tickets{'TOP'}->Id() } > Content: Please review and approve this request. > ENDOFCONTENT > > > > I was attempting to add further checks in the scrip that basically > look to see if the transaction type is not equal to "Create" . If > that was the case then I would look at the custom field value > ('Approval required by:') and see if it had changed. > > I sure hope someone has something I can run with. I don't even have > to have the complete answer. Just point me in the right direction. > Any help would be greatly appreciated. > > Thanks > John > > _______________________________________________ > http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users > > Community help: http://wiki.bestpractical.com > Commercial support: sales at bestpractical.com > > > Discover RT's hidden secrets with RT Essentials from O'Reilly Media. > Buy a copy at http://rtbook.bestpractical.com > > > We're hiring! Come hack Perl for Best Practical: > http://bestpractical.com/about/jobs.html > John, You seem to have gone to a lot of work to get some form of approvals going with certain people being allowed to do that, but it looks to me like you went the long way around the barn. Without ANY PERL scrips or anything, I have a Queue set aside for approvals, it receives requests by any group (of users) allowed or the group that "supports" (Approvals-Support) with the right privileges can create, own, whatever the needs are to/for a request. Then when approved, they (the approvers) merely change the owner to "nobody" and change the Queue to where the requests belongs. Everything is in history under the same ticket number (great for auditors). By creating all this code, you may have created a house of cards that will be difficult to maintain, whereas by using RT as-is, we have much less maintenance to perform. Think about it. I really have no advice to give about all the extra code. Kenn From KFCrocker at lbl.gov Thu Jun 8 12:20:11 2006 From: KFCrocker at lbl.gov (Kenneth Crocker) Date: Thu, 08 Jun 2006 09:20:11 -0700 Subject: [rt-users] RT 3.6.0rc2 not attempting email to requestors upon reply In-Reply-To: <8FBAE125-3680-49EB-A659-FA5422C41A7E@indiana.edu> References: <8FBAE125-3680-49EB-A659-FA5422C41A7E@indiana.edu> Message-ID: <44884E3B.9090606@lbl.gov> Joe Auty wrote: > If I were to wager a guess, it looks like the problem involves the scrip: > > On Correspond Notify Requestors and Ccs with template Correspondence > > > Is there some sort of way of verifying that this Scrip is working? > > > > On Jun 7, 2006, at 2:09 PM, Joe Auty wrote: > >> Hello, >> >> When I go to reply to a ticket, RT does not even attempt to send >> email out to the requestor's email address within version 3.6 - there >> is no record at all in my mail log. Is this the intended behavior, or >> a simple misconfiguration? If the latter, what needs to be corrected? >> I can't seem to locate anything on the WIki... >> >> >> >> ----------- >> Joe Auty >> UITS Messaging >> Indiana University >> jauty at indiana.edu >> >> >> >> >> _______________________________________________ >> http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users >> >> Community help: http://wiki.bestpractical.com >> Commercial support: sales at bestpractical.com >> >> >> Discover RT's hidden secrets with RT Essentials from O'Reilly Media. >> Buy a copy at http://rtbook.bestpractical.com >> >> >> We're hiring! Come hack Perl for Best Practical: >> http://bestpractical.com/about/jobs.html > > ----------- > Joe Auty > UITS Messaging > Indiana University > jauty at indiana.edu > > > > > ------------------------------------------------------------------------ > > _______________________________________________ > http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users > > Community help: http://wiki.bestpractical.com > Commercial support: sales at bestpractical.com > > > Discover RT's hidden secrets with RT Essentials from O'Reilly Media. > Buy a copy at http://rtbook.bestpractical.com > > > We're hiring! Come hack Perl for Best Practical: http://bestpractical.com/about/jobs.html Joe, We use that particular global scrip all the time. no problems. What privileges do you have set for the role Requestors? We use SeeOutgoingEmail for everyone at the global level and at the Queue level ReplyToTicket for certain groups using certain Queues (depending on purpose of Queue). I'd look at your privileges and scrips. Watcher can get E_mail to if you give them the privilege as well. Kenn From jawalk00 at uky.edu Thu Jun 8 13:04:09 2006 From: jawalk00 at uky.edu (John A. Walker) Date: Thu, 08 Jun 2006 13:04:09 -0400 Subject: [rt-users] Custom Field issue In-Reply-To: <44884C3F.608@lbl.gov> References: <5.1.0.14.2.20060607095013.01d03af0@ukmail1.uky.edu> <5.1.0.14.2.20060607095013.01d03af0@ukmail1.uky.edu> Message-ID: <5.1.0.14.2.20060608123850.01d03580@ukmail1.uky.edu> Kenn - Thanks for taking the time to respond. It is greatly appreciated. Let me explain a little more and then you can let me know if what you're doing would still apply. In essence we were wanting the user, as they create the ticket, to be able to select the person that needed to approve the ticket. We did this by creating a custom field with the list of users that can approve a ticket. Once a user creating the ticket selected a person to approve, the ticket create process would also create the approval request for the person selected as the approver. I can't tell for sure but I'm thinking that you have a certain group of users that are allowed to look in the approval queue and users simply submit approvals into this queue? If I've misunderstood how your situation works let me know. Perhaps what you are doing would work for our situation. The key to our situation is the need to have a ticket creator be able to select the user they want to approve a ticket. If that can be done with your method and you have the time please give me a little more detail. Thanks again. John >John, > > You seem to have gone to a lot of work to get some form of approvals > going with certain people being allowed to do that, but it looks to me > like you went the long way around the barn. Without ANY PERL scrips or > anything, I have a Queue set aside for approvals, it receives requests by > any group (of users) allowed or the group that "supports" > (Approvals-Support) with the right privileges can create, own, whatever > the needs are to/for a request. Then when approved, they (the approvers) > merely change the owner to "nobody" and change the Queue to where the > requests belongs. Everything is in history under the same ticket number > (great for auditors). By creating all this code, you may have created a > house of cards that will be difficult to maintain, whereas by using RT > as-is, we have much less maintenance to perform. Think about it. I really > have no advice to give about all the extra code. > >Kenn From barnesaw at ucrwcu.rwc.uc.edu Thu Jun 8 13:06:42 2006 From: barnesaw at ucrwcu.rwc.uc.edu (Drew Barnes) Date: Thu, 08 Jun 2006 13:06:42 -0400 Subject: [rt-users] No confirmation mail on closing a ticket In-Reply-To: <20060608160736.GE7717@staff.dca.net> References: <20060608160736.GE7717@staff.dca.net> Message-ID: <44885922.2070203@ucrwcu.rwc.uc.edu> On the wiki, there is a ResolveOnce scrip under contributions somewhere. We use that for when someone re-opens a ticket. The email doesn't go out that second time. Frank Pater wrote: > Hi Uli, > > You have a couple options, depending on your requirements: > > 1) Reject the ticket when you see that another RT instance is talking back. Rejecting doesn't send mail. > > 2) Remove the requestor e-mail address, resolve the ticket, and put the requestor address back in the ticket. This is more work, but allows you to keep the requestor address and get the ticket into the resolved state. > > These are the options we use, anyway. I'm sure there are others... > > Sincerely, > Frank Pater > DCANet > http://www.dca.net > voice: 888-4-DCANET (888-432-2638) > fax: 302-426-6386 > > On Thu, Jun 08, 2006 at 05:55:23PM +0200, Uli St?rk wrote: > >> I have following problem. I've received an email from another RT. If I mark the request on my side as completed, my RT sends the other RT an email that the ticked is now closed. So if the other RT receives this e-mail, it automatically sends back an email as a receive-confirmation and re-opens their ticket. So we have a nice never ending round-robin system. >> >> Solution = ? >> _______________________________________________ >> http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users >> >> Community help: http://wiki.bestpractical.com >> Commercial support: sales at bestpractical.com >> >> >> Discover RT's hidden secrets with RT Essentials from O'Reilly Media. >> Buy a copy at http://rtbook.bestpractical.com >> >> >> We're hiring! Come hack Perl for Best Practical: http://bestpractical.com/about/jobs.html >> >> ------------------------------------------------------------------------ >> >> _______________________________________________ >> http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users >> >> Community help: http://wiki.bestpractical.com >> Commercial support: sales at bestpractical.com >> >> >> Discover RT's hidden secrets with RT Essentials from O'Reilly Media. >> Buy a copy at http://rtbook.bestpractical.com >> >> >> We're hiring! Come hack Perl for Best Practical: http://bestpractical.com/about/jobs.html -- Drew Barnes Applications Analyst Raymond Walters College University of Cincinnati From ocraig at stillsecure.com Thu Jun 8 14:43:45 2006 From: ocraig at stillsecure.com (Ole Craig) Date: Thu, 08 Jun 2006 12:43:45 -0600 Subject: [rt-users] 3.6.0rc3/mysql: reinserting image attachments into the DB? In-Reply-To: <32914.192.168.37.73.1149660835.squirrel@mail.voidgate.org> References: <1149645045.26811.83.camel@hex.latis.com> <32914.192.168.37.73.1149660835.squirrel@mail.voidgate.org> Message-ID: <1149792225.8584.99.camel@hex.latis.com> On Tue, 2006-06-06 at 23:13 -0700, Joshua Colson wrote: > > My question: I still have all the emails from which those image > > attachments were culled. Does anyone have a suggestion for how to > > reinsert the uncorrupted images into the database in place of the > > useless blobs currently residing there? (I'm no DBA at the best of > > times, and I've never needed to work with non-textual data in mysql > > before; I'm feeling a bit lost...) > > RT does not store attachments as BLOBs. All binary attachments are > converted to base64 encoding before insertion into the database. [...] Interesting. Before I'd read your message, I tried the following: mysql> update Attachments set Content=LOAD_FILE('/tmp/Outlook.jpg') where id=323; ...which seems to have achieved the desired results at least as far as that particular attachment is concerned. (I.e. it now displays correctly in the ticket.) I noticed (belatedly) that the type for Attachments.Content is "longtext" -- does mysql have an autoconversion feature for binary data that happens to DTRT? Or is RT robust enough to handle the fact that the DB object is not base64? I don't see any errors in the RT log pertaining to this... Thanks for the SQL, by the way -- since I had less than 10 images in the system, I was going to go the BFMI route for finding the relevant attachment numbers, but your way is much more elegant. (BFMI == "Brute force, massive ignorance" :-) -- /Ole Craig Security Engineer 303-381-3802 (main support hotline) 303-381-3824 (my direct line) 303-381-3801 (fax) www.stillsecure.com . . . From KFCrocker at lbl.gov Thu Jun 8 15:08:39 2006 From: KFCrocker at lbl.gov (Kenneth Crocker) Date: Thu, 08 Jun 2006 12:08:39 -0700 Subject: [rt-users] Custom Field issue In-Reply-To: <5.1.0.14.2.20060608123850.01d03580@ukmail1.uky.edu> References: <5.1.0.14.2.20060607095013.01d03af0@ukmail1.uky.edu> <5.1.0.14.2.20060607095013.01d03af0@ukmail1.uky.edu> <5.1.0.14.2.20060608123850.01d03580@ukmail1.uky.edu> Message-ID: <448875B7.9030801@lbl.gov> John A. Walker wrote: > Kenn - Thanks for taking the time to respond. It is greatly > appreciated. Let me explain a little more and then you can let me > know if what you're doing would still apply. In essence we were > wanting the user, as they create the ticket, to be able to select the > person that needed to approve the ticket. We did this by creating a > custom field with the list of users that can approve a ticket. Once > a user creating the ticket selected a person to approve, the ticket > create process would also create the approval request for the person > selected as the approver. > > I can't tell for sure but I'm thinking that you have a certain group > of users that are allowed to look in the approval queue and users > simply submit approvals into this queue? If I've misunderstood how > your situation works let me know. Perhaps what you are doing would > work for our situation. The key to our situation is the need to have > a ticket creator be able to select the user they want to approve a > ticket. If that can be done with your method and you have the time > please give me a little more detail. > > Thanks again. > > John > > > >> John, >> >> You seem to have gone to a lot of work to get some form of >> approvals going with certain people being allowed to do that, but it >> looks to me like you went the long way around the barn. Without ANY >> PERL scrips or anything, I have a Queue set aside for approvals, it >> receives requests by any group (of users) allowed or the group that >> "supports" (Approvals-Support) with the right privileges can create, >> own, whatever the needs are to/for a request. Then when approved, >> they (the approvers) merely change the owner to "nobody" and change >> the Queue to where the requests belongs. Everything is in history >> under the same ticket number (great for auditors). By creating all >> this code, you may have created a house of cards that will be >> difficult to maintain, whereas by using RT as-is, we have much less >> maintenance to perform. Think about it. I really have no advice to >> give about all the extra code. >> >> Kenn > > John, Yes, you are partially correct. We have a queue whose sole purpose is to filter request for several other support queues. We don't allow the users (or requestors) to create tickets in the technical support Queues directly, only to the Approvals Queue. The members of the group that has been assigned privileges for that Approval Queue (like owners, create (a sub-ticket) or in some cases, like a training issue or permissions, they even resolve the ticket and the ticket never goes on to our technical support Queue) all know what type of tickets to deal with. The difference from your understanding is we don't let the requestor select the person who will approve the ticket. We have a group of approvers (in a group assigned privileges to the Approval Queue) who already know what they can work on/approve. If a ticket for Accounts Payables shows up in the Approvals Queue, a member of our Approvals-Support Group KNOWS he has been assigned to work with AP so he will see the ticket when he checks the approvals Queue and TAKE the ticket, based on what he reads in the subject matter or based on the requestor name. Now he owns it and researches the problem and either resolves the problem (training issue or whatever) or he realizes that this request needs technical support. So he then makes a change to the STATUS field (we put in a change and added some new statuses like "rq approvd", "rejected" (you're only allowed 10 characters for that field)), changes the owner to "nobody" (we tried to create a scrip to do this automatically upon Queue Change and couldn't get it to work correctly so we have the approver do it manually right now until we can get the scrip to work properly), then the approver changes the Queue to the appropriate Technical Support Queue, in this case the "AP" Queue. Then the "AP-Support" group or AdminCc of the "AP" Queue sees the ticket in their Queue and either the AdminCc assigns an owner or one of the technicians that are members of that support group takes the ticket and it gets worked on. We like this method better than the built in RT Approvals work-flow because all the history stays with the original ticket number (and we have been seeing ALOT of e_mails from users having difficulty in getting the RT-Approval function to work, plus the RT-Approvals functon sets up a "hidden" approval queue for "each" Queue and creates a new ticket when approved and we like the flexibility of being able to set up a visible Approval Queue that can handle the requests of many support queues - without being hidden). This is also perfect for our auditors. They actually smile when they see this history all on one ticket. We also like this design because it uses the basic RT functionality without a lot of extra scrips being written (and therefore maintained). I've been in this business (Data Processing, I know - old term) for over 35 years and if I've learned anything, it's that the less you complicate something, the easier it is to run, maintain, and debug. "simpler" is just better, at least for me. Anyway, thats the way we do it and it's working just fine. Our users love it because they can still monitor the progress of their request from waiting for approval to being moved to a technical Queue for work, to resolution, the Technical support group assigned to the Queue that handles the work for "AP" like it because they aren't bothered by a bunch of requests that are not technical and can be handled by a Business Analyst, and our Auditors love it because all the history is there under 1 ticket number. Anyway, that's what we have created by design. If this is something you think will work for you, great. It certainly does for us and as I said, it's a lot simpler. Kenn From uli.staerk at globalways.net Thu Jun 8 16:53:41 2006 From: uli.staerk at globalways.net (=?iso-8859-1?Q?Uli_St=E4rk?=) Date: Thu, 8 Jun 2006 22:53:41 +0200 Subject: [rt-users] AW: [Rt-devel] Fast delete tab for spam-tickets Message-ID: Thanks, the Callbacks work fine. I also had an eye on the other cronjob rt-scripts. I started with the rt-escalade cronjob. The first time I executed this file, all Tickets had the priority 10! :-( Should this script work? Is the script still necessary? I've found a similar configuration the queue-config (InitialPriority, FinalPriority), but it didn't work for itself. -----Urspr?ngliche Nachricht----- Von: bobg at remora.cc.uic.edu [mailto:bobg at remora.cc.uic.edu] Im Auftrag von Bob Goldstein Gesendet: Donnerstag, 8. Juni 2006 15:37 An: Uli St?rk Cc: Rt-devel at lists.bestpractical.com Betreff: Re: [Rt-devel] Fast delete tab for spam-tickets I've used the Callbacks from University of Kent: http://www.cs.kent.ac.uk/people/staff/tdb/rt3/ (Scroll to the bottom for a description and download link.) One of the features is a "delete" tab. bobg >Due to massive spam in our rt-system I whish to add a new tab to the Ticket/Di >splay.html. >I've already found the file where the tabs are defined: Ticket/Elements/Tabs > >There I've added the following code: >if ( $Ticket->CurrentUserHasRight('ModifyTicket') ) { > $actions->{'G'} = { title => loc('Spam'), > path => "Ticket/Update.html?Action=Spam&id=" . $id, > }; >} > >Now I want that if the user clicks on this link, the ticket is instantly marke >d as deleted so no further emails (like Ticked Resolved) are sent. > >One possibility is to create a new ticket status (spam) that is equal to delet >ed. So if when the link is clicked, the ticket status is updated and the user >returns to the default-entry page of rt. But I think this is ways too complica >ted to code. So another (easier) possibility is to redirect the user to the Up >date.html page and pre-select the deleted-status. > >Do you have another idea how to solve the spam problem? > >Where can I find the script that handles the Aciton= GET-parameter in the Upda >te.html (2nd solution)? > > > >_______________________________________________ >List info: http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-devel > >Best Practical is hiring! Come hack Perl for us: http://bestpractical.com/abou >t/jobs.html > > From Millard.Matt at principal.com Thu Jun 8 16:48:20 2006 From: Millard.Matt at principal.com (Millard, Matt) Date: Thu, 8 Jun 2006 15:48:20 -0500 Subject: [rt-users] Adding external links to menus Message-ID: I'd like to add some external links to the "Tools" menu for apps we use to reset passwords, manage user and group id's etc. How do I link externally? When I modify the local Tools/Elements/Tabs file to point to the pages I end up with links that are relative. For example: http://rt.server.host.com/https://server2.host.com/cgi-bin/reset.cgi my $tabs = { A => { title => loc('Password Reset'), path => 'https://server2.host.com/cgi-bin/reset.cgi', }, B => { 'title' => loc('Offline'), path => 'Tools/Offline.html', }, }; This is with RT 3.4.2 Matt -----Message Disclaimer----- This e-mail message is intended only for the use of the individual or entity to which it is addressed, and may contain information that is privileged, confidential and exempt from disclosure under applicable law. If you are not the intended recipient, any dissemination, distribution or copying of this communication is strictly prohibited. If you have received this communication in error, please notify us immediately by reply email to Connect at principal.com and delete or destroy all copies of the original message and attachments thereto. Email sent to or from the Principal Financial Group or any of its member companies may be retained as required by law or regulation. Nothing in this message is intended to constitute an Electronic signature for purposes of the Uniform Electronic Transactions Act (UETA) or the Electronic Signatures in Global and National Commerce Act ("E-Sign") unless a specific statement to the contrary is included in this message. From jcolson at voidgate.org Thu Jun 8 17:08:21 2006 From: jcolson at voidgate.org (Joshua Colson) Date: Thu, 08 Jun 2006 14:08:21 -0700 Subject: [rt-users] 3.6.0rc3/mysql: reinserting image attachments into the DB? In-Reply-To: <1149792225.8584.99.camel@hex.latis.com> References: <1149645045.26811.83.camel@hex.latis.com> <32914.192.168.37.73.1149660835.squirrel@mail.voidgate.org> <1149792225.8584.99.camel@hex.latis.com> Message-ID: <1149800901.6583.64.camel@s60r.ination.com> On Thu, 2006-06-08 at 12:43 -0600, Ole Craig wrote: > Interesting. Before I'd read your message, I tried the > following: > > mysql> update Attachments set Content=LOAD_FILE('/tmp/Outlook.jpg') where id=323; > > ...which seems to have achieved the desired results at least as > far as that particular attachment is concerned. (I.e. it now displays > correctly in the ticket.) I noticed (belatedly) that the type for > Attachments.Content is "longtext" -- does mysql have an autoconversion > feature for binary data that happens to DTRT? Or is RT robust enough to > handle the fact that the DB object is not base64? I don't see any errors > in the RT log pertaining to this... That surprises me. I'm certainly not a MySQL expert, but I find it incredibly surprising that loading binary data into a text field works on-the-fly. However, if MySQL does to on-the-fly conversion, it would make sense that it chooses base64. As far as I know, RT relies on the data in the DB being valid (that is, it does not attempt to auto-convert it). I'm glad you got it fixed, no matter what worked for you. -- Joshua Colson From tomw at bnl.gov Thu Jun 8 17:43:44 2006 From: tomw at bnl.gov (Tomasz Wlodek) Date: Thu, 8 Jun 2006 17:43:44 -0400 (EDT) Subject: [rt-users] read-only user rights. In-Reply-To: <44885922.2070203@ucrwcu.rwc.uc.edu> References: <20060608160736.GE7717@staff.dca.net> <44885922.2070203@ucrwcu.rwc.uc.edu> Message-ID: Hi, Imagine that I have a group, non_experts, where I keep people who can logon to RT web site, can post tickets, can see certain queues (but not all) and can search tickets in those queues (but not all). Those users should be able to change their password, but not modify rest of profile. I figured out that unprivileged users who are given right "Modify self" will be able to change password but not rest of profile. I also figured out that if in a queue I gile the right "SeeQueue" to unprivileged users, they they will be able to see the queue when they click "Create ticket" button. But how can I give them the right to search the ticket database? They should be able to search the queues which give them "See queue" privilege. Tomasz Wlodek | tel 631-344-7448 Brookhaven Laboratory, Building 510M | fax 631-344-7616 Upton NY 11973-5000 | From tomw at bnl.gov Thu Jun 8 17:53:19 2006 From: tomw at bnl.gov (Tomasz Wlodek) Date: Thu, 8 Jun 2006 17:53:19 -0400 (EDT) Subject: [rt-users] Re: read-only user rights. In-Reply-To: References: <20060608160736.GE7717@staff.dca.net> <44885922.2070203@ucrwcu.rwc.uc.edu> Message-ID: Ok, If I did not express myself clearly: right now unprivileges users can only modify their passwords, but not rest of profile, and they are not allowed to search ticket database. If I make them privileged they can search the tickets, but also can modify their profile. I want middle road: I want users be able to search tickets, but I do not want them to change their profile, exept password. How to do this? Tomasz Wlodek | tel 631-344-7448 Brookhaven Laboratory, Building 510M | fax 631-344-7616 Upton NY 11973-5000 | On Thu, 8 Jun 2006, Tomasz Wlodek wrote: > Hi, > > Imagine that I have a group, non_experts, where I keep people who can > logon to RT web site, can post tickets, can see certain queues (but not > all) and can search tickets in those queues (but not all). Those users > should be able to change their password, but not modify rest of profile. > > I figured out that unprivileged users who are given right "Modify self" > will be able to change password but not rest of profile. > > I also figured out that if in a queue I gile the right "SeeQueue" to > unprivileged users, they they will be able to see the queue when they > click "Create ticket" button. > > But how can I give them the right to search the ticket database? They > should be able to search the queues which give them "See queue" privilege. > > Tomasz Wlodek | tel 631-344-7448 > Brookhaven Laboratory, Building 510M | fax 631-344-7616 > Upton NY 11973-5000 | > > From checkpoint at ozbergs.com Thu Jun 8 18:12:04 2006 From: checkpoint at ozbergs.com (Stevo) Date: Thu, 08 Jun 2006 15:12:04 -0700 Subject: [rt-users] Customizing MyTickets Message-ID: <4488A0B4.8030504@ozbergs.com> Hey Team, Currently the RT homepage shows "10 highest priority tickets I own...". How can I change that to show a different number of tickets? Like 20 for example? Thanks Stevo From JLim at netopia.com Thu Jun 8 19:15:22 2006 From: JLim at netopia.com (Lim, Justin) Date: Thu, 8 Jun 2006 19:15:22 -0400 Subject: [rt-users] custom fields on templates Message-ID: <681060E80F66FC44BE343998E96178BC026C515D@mxma2.corp.netopia.com> Is there a way to see all of the values stored in $Ticket just for debugging purposes from the template ? I am having problems calling CustomField values into the template. I am including this in my templates {$Ticket->CustomFieldValues('CustomFieldName')} and i am recieving RT::ObjectCustomFieldValues=HASH(0x3932cd0) RT::ObjectCustomFieldValues=HASH(0x3931640) instead of the values. -------------- next part -------------- An HTML attachment was scrubbed... URL: From lvanderf at internode.com.au Thu Jun 8 19:54:52 2006 From: lvanderf at internode.com.au (Luke Vanderfluit) Date: Fri, 09 Jun 2006 09:24:52 +0930 Subject: [rt-users] question about mysqldump Message-ID: <4488B8CC.3060305@internode.com.au> Hi. I had a problem with mysqldump where a max_allowed_packet error occurred on the Attachments table. The myslqdump cron command I had was: 02 23 * * * cd /home/ticket/dbbackups && /usr/local/mysql/bin/mysqldump --opt --skip-extended-insert --skip-lock-tables --single-transaction --complete-insert --max_allowed_packet=32M rt3 | bzip2 -9 > rt3.out-`date +\%Y\%m\%d-\%H`.bz2 the error was: mysqldump: Error 2020: Got packet bigger than 'max_allowed_packet' bytes when dumping table `Attachments` at row: 1784599 inserting the '--default-character-set=binary' directive as in: 02 23 * * * cd /home/ticket/dbbackups && /usr/local/mysql/bin/mysqldump --opt --skip-extended-insert --skip-lock-tables --single-transaction --complete-insert --max_allowed_packet=32M --default-character-set=binary rt3 | bzip2 -9 > rt3.out-`date +\%Y\%m\%d-\%H`.bz2 prevented the error from occurring, but the dump file is somewhat smaller and the dump completed somewhat earlier. Does anyone have experience with adding this directive and can comment on the size of the file and completion time before and after? Is the earlier completion and smaller dump-file size a cause for concern? Any help greatly appreciated. Kind regards. -- Luke Vanderfluit. Analyst/Programmer. Internode Systems Pty. Ltd. From michael at staff.esc.net.au Thu Jun 8 20:27:49 2006 From: michael at staff.esc.net.au (michael at staff.esc.net.au) Date: Fri, 9 Jun 2006 09:57:49 +0930 Subject: [rt-users] where is the requestor stored? Message-ID: <20060609002748.B1533624FBF@sr-gw.esc.net.au> Hi, I was wondering if anyone could tell me where in the database the requestor is stored. This is part of the perl script I am using to create the ticket: my $CurrentUser = RT::Interface::CLI::GetCurrentUser(); my $ticket = new RT::Ticket($CurrentUser); my $ticket_body = MIME::Entity->build(Data => " This is a test ticket ", Type => 'text/plain'); my %ticket_vals = ( Queue => 'Test', Subject => 'Tetst', Owner => 'Nobody', Requestor => "test\@mydomain.com", InitialPriority => '10', FinalPriority => '25', MIMEObj => $ticket_body, ); my ($id, $transaction_object, $err) = $ticket->Create(%ticket_vals); The ticket is created without a problem, I just need to know where the requestor is being stored in the mysql database. I have looked in the Tickets and Transactions tables, but it does not appear to be in there. Can anyone point me in the right direction? -------------- next part -------------- An HTML attachment was scrubbed... URL: From David.Di at sssworldwide.com Thu Jun 8 21:34:05 2006 From: David.Di at sssworldwide.com (David Di) Date: Fri, 9 Jun 2006 09:34:05 +0800 Subject: [rt-users] where is the requestor stored? Message-ID: <945FE1E5D67B3343B3FA37F36FDD0A178F8E@cyntxms01.AD.SSS> Hi Michael, Requestor is stored as a group record's, you can find it in table Groups, where the column Instance is the ticket id. And from the table GroupMembers you can get this group's member. Take a look at the example below. 1. Record in Groups: +--------+------+-------------+-----------------+-----------+----------+ | id | Name | Description | Domain | Type | Instance | +--------+------+-------------+-----------------+-----------+----------+ | 229203 | NULL | NULL | RT::Ticket-Role | Requestor | 56673 | 2. Respective record in GroupMembers: +--------+---------+----------+ | id | GroupId | MemberId | +--------+---------+----------+ | 129629 | 229203 | 186716 | So you can get the GroupId from the Groups record by searching for Instance=TicketId, and then from GroupMembers record you can get the MemberId by searching for GroupId, then the MemberId is the user's id in Users table. Hope this helps. Regards, David -----Original Message----- From: rt-users-bounces at lists.bestpractical.com [mailto:rt-users-bounces at lists.bestpractical.com] On Behalf Of michael at staff.esc.net.au Sent: Friday, June 09, 2006 8:28 AM To: rt-users at lists.bestpractical.com Subject: [rt-users] where is the requestor stored? Hi, I was wondering if anyone could tell me where in the database the requestor is stored. This is part of the perl script I am using to create the ticket: my $CurrentUser = RT::Interface::CLI::GetCurrentUser(); my $ticket = new RT::Ticket($CurrentUser); my $ticket_body = MIME::Entity->build(Data => " This is a test ticket ", Type => 'text/plain'); my %ticket_vals = ( Queue => 'Test', Subject => 'Tetst', Owner => 'Nobody', Requestor => "test\@mydomain.com", InitialPriority => '10', FinalPriority => '25', MIMEObj => $ticket_body, ); my ($id, $transaction_object, $err) = $ticket->Create(%ticket_vals); The ticket is created without a problem, I just need to know where the requestor is being stored in the mysql database. I have looked in the Tickets and Transactions tables, but it does not appear to be in there. Can anyone point me in the right direction? -------------- next part -------------- An HTML attachment was scrubbed... URL: From pkime at Shopzilla.com Thu Jun 8 23:12:25 2006 From: pkime at Shopzilla.com (Philip Kime) Date: Thu, 8 Jun 2006 20:12:25 -0700 Subject: [rt-users] New queues not visible in RT 3.6rc3? Message-ID: <58B1112F0EEB7349AE14A0AA46F9CEC00137ABEA@szexchange.Shopzilla.inc> When I create a new Queue in 3.6rc3, I can see it in the Queue list and it's enabled as etc. but it won't appear in the Quick Ticket creation dropdown or, for example, the Queue list when I try to move a ticket to another Queue? It seems to be related to the session cache hash - the code never seems to enter the part which would really populate the drop-down since it uses the cache. There doesn't apear to be anything in the $rtroot/var/session_data directory, I've cleared the Mason object cache, I've restarted RT etc. etc. but nothing seem to work to get new Queues to appear in the usual drop-downs? PK -- Philip Kime NOPS Systems Architect 310 401 0407 -------------- next part -------------- An HTML attachment was scrubbed... URL: From todd at chaka.net Thu Jun 8 23:20:09 2006 From: todd at chaka.net (Todd Chapman) Date: Thu, 8 Jun 2006 23:20:09 -0400 Subject: [rt-users] New queues not visible in RT 3.6rc3? In-Reply-To: <58B1112F0EEB7349AE14A0AA46F9CEC00137ABEA@szexchange.Shopzilla.inc> References: <58B1112F0EEB7349AE14A0AA46F9CEC00137ABEA@szexchange.Shopzilla.inc> Message-ID: <20060609032009.GH26200@chaka.net> The queues you can create tickets in are cached. Logging out and back in should show you new queues. -Todd On Thu, Jun 08, 2006 at 08:12:25PM -0700, Philip Kime wrote: > When I create a new Queue in 3.6rc3, I can see it in the Queue list and > it's enabled as etc. but it won't appear in the Quick Ticket creation > dropdown or, for example, the Queue list when I try to move a ticket to > another Queue? It seems to be related to the session cache hash - the > code never seems to enter the part which would really populate the > drop-down since it uses the cache. There doesn't apear to be anything in > the $rtroot/var/session_data directory, I've cleared the Mason object > cache, I've restarted RT etc. etc. but nothing seem to work to get new > Queues to appear in the usual drop-downs? > > PK > > -- > Philip Kime > NOPS Systems Architect > 310 401 0407 > > _______________________________________________ > http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users > > Community help: http://wiki.bestpractical.com > Commercial support: sales at bestpractical.com > > > Discover RT's hidden secrets with RT Essentials from O'Reilly Media. > Buy a copy at http://rtbook.bestpractical.com > > > We're hiring! Come hack Perl for Best Practical: http://bestpractical.com/about/jobs.html From pkime at Shopzilla.com Thu Jun 8 23:20:59 2006 From: pkime at Shopzilla.com (Philip Kime) Date: Thu, 8 Jun 2006 20:20:59 -0700 Subject: [rt-users] New queues not visible in RT 3.6rc3? Message-ID: <58B1112F0EEB7349AE14A0AA46F9CEC00137ABEB@szexchange.Shopzilla.inc> Yes, just realised, sorry - I was used to the older behaviour ... PK -----Original Message----- From: Todd Chapman [mailto:todd at chaka.net] Sent: 08 June 2006 20:20 To: Philip Kime Cc: RT users Subject: Re: [rt-users] New queues not visible in RT 3.6rc3? The queues you can create tickets in are cached. Logging out and back in should show you new queues. -Todd On Thu, Jun 08, 2006 at 08:12:25PM -0700, Philip Kime wrote: > When I create a new Queue in 3.6rc3, I can see it in the Queue list > and it's enabled as etc. but it won't appear in the Quick Ticket > creation dropdown or, for example, the Queue list when I try to move a > ticket to another Queue? It seems to be related to the session cache > hash - the code never seems to enter the part which would really > populate the drop-down since it uses the cache. There doesn't apear to > be anything in the $rtroot/var/session_data directory, I've cleared > the Mason object cache, I've restarted RT etc. etc. but nothing seem > to work to get new Queues to appear in the usual drop-downs? > > PK > > -- > Philip Kime > NOPS Systems Architect > 310 401 0407 > > _______________________________________________ > http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users > > Community help: http://wiki.bestpractical.com Commercial support: > sales at bestpractical.com > > > Discover RT's hidden secrets with RT Essentials from O'Reilly Media. > Buy a copy at http://rtbook.bestpractical.com > > > We're hiring! Come hack Perl for Best Practical: > http://bestpractical.com/about/jobs.html From JLim at netopia.com Fri Jun 9 00:41:31 2006 From: JLim at netopia.com (Lim, Justin) Date: Fri, 9 Jun 2006 00:41:31 -0400 Subject: [rt-users] order of scrips Message-ID: <681060E80F66FC44BE343998E96178BC026C5185@mxma2.corp.netopia.com> Can the order of scrip execution be changed ? i have noticed that the autoreply email is sent first then the values from the customfields are taken in so when i try to put the contents of the customfields it does not display in the emails since the values are null due to the fact that the autoreply is sent first. i have tried to put the extract customfields scrip to run on create then autorespond to run on transition but that generates n-1 # of emails where n = # of customfields. is there a better way to handle this ? Thanks desperately looking for help... -------------- next part -------------- An HTML attachment was scrubbed... URL: From dshannon at techfluent.com Fri Jun 9 02:38:24 2006 From: dshannon at techfluent.com (Duncan Shannon) Date: Fri, 9 Jun 2006 01:38:24 -0500 Subject: [rt-users] Customizing MyTickets Message-ID: <2B7B7880538AA440B5FBCE7A56E8CB4527C2DD@TF-FS2.internal.techfluent.com> > How can I change that to show a different number of tickets? Like 20 > for example? Tisk tisk! A FAQ! http://www.gossamer-threads.com/lists/engine?list=rt&do=search_results&s earch_forum=forum_3&search_string=10+highest+priority+tickets+I+own&sear ch_type=AND or http://tinyurl.com/flwyp if that breaks in your mail client duncan From todd at chaka.net Fri Jun 9 02:55:11 2006 From: todd at chaka.net (Todd Chapman) Date: Fri, 9 Jun 2006 02:55:11 -0400 Subject: [rt-users] order of scrips In-Reply-To: <681060E80F66FC44BE343998E96178BC026C5185@mxma2.corp.netopia.com> References: <681060E80F66FC44BE343998E96178BC026C5185@mxma2.corp.netopia.com> Message-ID: <20060609065511.GI26200@chaka.net> Scrips can be ordered in 3.6. I think it does it by sorting on name. -Todd On Fri, Jun 09, 2006 at 12:41:31AM -0400, Lim, Justin wrote: > Can the order of scrip execution be changed ? > > i have noticed that the autoreply email is sent first then the values > from the customfields are taken in so when i try to put the contents of > the customfields it does not display in the emails since the values are > null due to the fact that the autoreply is sent first. > > i have tried to put the extract customfields scrip to run on create then > autorespond to run on transition but that generates n-1 # of emails > where n = # of customfields. > > is there a better way to handle this ? > > Thanks > desperately looking for help... > _______________________________________________ > http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users > > Community help: http://wiki.bestpractical.com > Commercial support: sales at bestpractical.com > > > Discover RT's hidden secrets with RT Essentials from O'Reilly Media. > Buy a copy at http://rtbook.bestpractical.com > > > We're hiring! Come hack Perl for Best Practical: http://bestpractical.com/about/jobs.html From uli.staerk at globalways.net Fri Jun 9 04:44:14 2006 From: uli.staerk at globalways.net (=?iso-8859-1?Q?Uli_St=E4rk?=) Date: Fri, 9 Jun 2006 10:44:14 +0200 Subject: [rt-users] Customer access to rt Message-ID: I want to allow customers to use the RT, too. Once RT receives an e-mail from a new emailadress, an RT-account should be automatically created (password generated randomly) for this email address. Then this authentication-info should be sent to the customer as a welcome message with a couple of instructions how to use the RT. So if the customer accesses the RT he should see all his open and closed tickets and can perform actions like close ticket, reopen ticket, reply. Is there any existing extension for rt? From uli.staerk at globalways.net Fri Jun 9 05:49:19 2006 From: uli.staerk at globalways.net (=?iso-8859-1?Q?Uli_St=E4rk?=) Date: Fri, 9 Jun 2006 11:49:19 +0200 Subject: [rt-users] No confirmation for a new ticket Message-ID: How can I create a rule that does not send any status-change-emails for a special incoming e-mail address? Eg: domain-robot at company.com -> no notice of receipt and no ticket-close-email From barnesaw at ucrwcu.rwc.uc.edu Fri Jun 9 08:48:33 2006 From: barnesaw at ucrwcu.rwc.uc.edu (Drew Barnes) Date: Fri, 09 Jun 2006 08:48:33 -0400 Subject: [rt-users] Customer access to rt In-Reply-To: References: Message-ID: <44896E21.4030707@ucrwcu.rwc.uc.edu> Search Wiki for "password". It should be near the top. Uli St?rk wrote: > I want to allow customers to use the RT, too. > Once RT receives an e-mail from a new emailadress, an RT-account should be automatically created (password generated randomly) for this email address. Then this authentication-info should be sent to the customer as a welcome message with a couple of instructions how to use the RT. So if the customer accesses the RT he should see all his open and closed tickets and can perform actions like close ticket, reopen ticket, reply. > > Is there any existing extension for rt? > _______________________________________________ > http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users > > Community help: http://wiki.bestpractical.com > Commercial support: sales at bestpractical.com > > > Discover RT's hidden secrets with RT Essentials from O'Reilly Media. > Buy a copy at http://rtbook.bestpractical.com > > > We're hiring! Come hack Perl for Best Practical: http://bestpractical.com/about/jobs.html > -- Drew Barnes Applications Analyst Raymond Walters College University of Cincinnati From JLim at netopia.com Fri Jun 9 09:18:00 2006 From: JLim at netopia.com (Lim, Justin) Date: Fri, 9 Jun 2006 09:18:00 -0400 Subject: [rt-users] order of scrips Message-ID: <681060E80F66FC44BE343998E96178BC026C522D@mxma2.corp.netopia.com> I am trying to do 2 things on "ON CREATE" First is extract custom fields then send an autoreply with the custom fields in the content of the email. When the scrip is setup for on create on both no matter what the description name is it is still sending the autoresponse first... -----Original Message----- From: Todd Chapman [mailto:todd at chaka.net] Sent: Friday, June 09, 2006 1:55 AM To: Lim, Justin Cc: RT-Users at lists.bestpractical.com Subject: Re: [rt-users] order of scrips Scrips can be ordered in 3.6. I think it does it by sorting on name. -Todd On Fri, Jun 09, 2006 at 12:41:31AM -0400, Lim, Justin wrote: > Can the order of scrip execution be changed ? > > i have noticed that the autoreply email is sent first then the values > from the customfields are taken in so when i try to put the contents > of the customfields it does not display in the emails since the values > are null due to the fact that the autoreply is sent first. > > i have tried to put the extract customfields scrip to run on create > then autorespond to run on transition but that generates n-1 # of > emails where n = # of customfields. > > is there a better way to handle this ? > > Thanks > desperately looking for help... > _______________________________________________ > http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users > > Community help: http://wiki.bestpractical.com Commercial support: > sales at bestpractical.com > > > Discover RT's hidden secrets with RT Essentials from O'Reilly Media. > Buy a copy at http://rtbook.bestpractical.com > > > We're hiring! Come hack Perl for Best Practical: > http://bestpractical.com/about/jobs.html From ffarid at pragmatic-source.com Fri Jun 9 09:33:10 2006 From: ffarid at pragmatic-source.com (Farzad FARID) Date: Fri, 09 Jun 2006 15:33:10 +0200 Subject: [rt-users] Handling millions of tickets with RT? Message-ID: <44897896.9090107@pragmatic-source.com> Hi, The customer I'm working for has deployed a customized RT version 3.0.10 to handle incoming and outgoing customers emails. With the actual configuration and recent database optimisations (MySQL 4.0 on a 4 Gb RAM server, 3 web frontends), the system can handle about 700.000 tickets / 2.100.000 transactions and 100 simultaneous users without slowing down too much. But whenever this limit is reached every 3 or 4 months, we have to create another database instance and restart from scratch, which is a painful process technically speaking, and it causes some problems on the business side too (for example because the same tickets Id are being reused, or because a conversation started in one instance cannot be continued in the new, empty instance). With recent RT version is it possible to: * handle millions of tickets tickets in a single databases? That is: keeping many years of history online. or * Easily archive old tickets/transaction in another database, while keeping it online, and easily reachable by users? o This way the main database would remain small and responsive, while historical data would still be available at the cost of a longer access time. And is there a migration path between RT 3.0.10 and the up to date release 3.4.5? And a last remark concerning the Wiki: yesterday I found lots of page content destroyed and replaced by spam! I reverted the content to the original one on 2 or 3 pages but I think it'd be best to password-protect the whole wiki. Regards -- Farzad FARID Architecte Open Source / Pragmatic Source http://www.pragmatic-source.com/ -------------- next part -------------- An HTML attachment was scrubbed... URL: From jesse at bestpractical.com Fri Jun 9 11:05:00 2006 From: jesse at bestpractical.com (Jesse Vincent) Date: 09 Jun 2006 11:05:00 -0400 Subject: [rt-users] No confirmation for a new ticket Message-ID: <3232695921.396550@fsck.com> the clever hack is to create a user who has that email address as a username and no email address Best, Jesse -- This message was sent from my Treo. Please accept my apologies for its brevity and for any typos. -----Original Message----- From: =?iso-8859-1?Q?Uli_St=E4rk?= Date: Friday, Jun 9, 2006 5:49 am Subject: [rt-users] No confirmation for a new ticket How can I create a rule that does not send any status-change-emails for a special incoming e-mail address? Eg: domain-robot at company.com -> no notice of receipt and no ticket-close-email _______________________________________________ http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users Community help: http://wiki.bestpractical.com Commercial support: sales at bestpractical.com Discover RT's hidden secrets with RT Essentials from O'Reilly Media. Buy a copy at http://rtbook.bestpractical.com We're hiring! Come hack Perl for Best Practical: http://bestpractical.com/about/jobs.html From jesse at bestpractical.com Fri Jun 9 11:15:00 2006 From: jesse at bestpractical.com (Jesse Vincent) Date: 09 Jun 2006 11:15:00 -0400 Subject: [rt-users] Adding external links to menus Message-ID: <3232696504.453920@fsck.com> I'm pretty sure we've fixed this in a more recent rt. Best, Jesse -- This message was sent from my Treo. Please accept my apologies for its brevity and for any typos. -----Original Message----- From: "Millard, Matt" Date: Thursday, Jun 8, 2006 4:59 pm Subject: [rt-users] Adding external links to menus I'd like to add some external links to the "Tools" menu for apps we use to reset passwords, manage user and group id's etc. How do I link externally? When I modify the local Tools/Elements/Tabs file to point to the pages I end up with links that are relative. For example: http://rt.server.host.com/https://server2.host.com/cgi-bin/reset.cgi my $tabs = { A => { title => loc('Password Reset'), path => 'https://server2.host.com/cgi-bin/reset.cgi', }, B => { 'title' => loc('Offline'), path => 'Tools/Offline.html', }, }; This is with RT 3.4.2 Matt -----Message Disclaimer----- This e-mail message is intended only for the use of the individual or entity to which it is addressed, and may contain information that is privileged, confidential and exempt from disclosure under applicable law. If you are not the intended recipient, any dissemination, distribution or copying of this communication is strictly prohibited. If you have received this communication in error, please notify us immediately by reply email to Connect at principal.com and delete or destroy all copies of the original message and attachments thereto. Email sent to or from the Principal Financial Group or any of its member companies may be retained as required by law or regulation. Nothing in this message is intended to constitute an Electronic signature for purposes of the Uniform Electronic Transactions Act (UETA) or the Electronic Signatures in Global and National Commerce Act ("E-Sign") unless a specific statement to the contrary is included in this message. _______________________________________________ http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users Community help: http://wiki.bestpractical.com Commercial support: sales at bestpractical.com Discover RT's hidden secrets with RT Essentials from O'Reilly Media. Buy a copy at http://rtbook.bestpractical.com We're hiring! Come hack Perl for Best Practical: http://bestpractical.com/about/jobs.html From jesse at bestpractical.com Fri Jun 9 11:39:00 2006 From: jesse at bestpractical.com (Jesse Vincent) Date: 09 Jun 2006 11:39:00 -0400 Subject: [rt-users] Segmentation Fault Message-ID: <3232697956.598565@fsck.com> this usually indicates a bad dso mod_perl 1.0 build Best, Jesse -- This message was sent from my Treo. Please accept my apologies for its brevity and for any typos. -----Original Message----- From: Nazar Kulynych Date: Wednesday, Jun 7, 2006 5:12 pm Subject: [rt-users] Segmentation Fault I have recently installed RT 3.4.5, when I try to add users I get the following message in my apache error_log. [Wed Jun 07 23:17:36 2006] [notice] child pid 18164 exit signal Segmentation fault (11) [Wed Jun 7 20:17:36 2006] [crit]: Transaction not committed. Usually indicates a software fault.Data loss may have occurred (/www/apps/rt-3.4.5/lib/RT/Interface/Web/Handler.pm:205) Any idea? thanks Nazar _______________________________________________ http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users Community help: http://wiki.bestpractical.com Commercial support: sales at bestpractical.com Discover RT's hidden secrets with RT Essentials from O'Reilly Media. Buy a copy at http://rtbook.bestpractical.com We're hiring! Come hack Perl for Best Practical: http://bestpractical.com/about/jobs.html From jboris at adphila.org Fri Jun 9 12:17:46 2006 From: jboris at adphila.org (John Boris) Date: Fri, 09 Jun 2006 12:17:46 -0400 Subject: [rt-users] Trying to use RTFM Message-ID: I am not sure if this is the correct list. I have RT 3.4.5 installed and RTFM-2.2.0RC2 installed. When I try to run make initdb I get this error: make initdb /usr/bin/perl -Ilib -I/opt/rt3/lib /opt/rt3/sbin/rt-setup-database --action schema --datadir etc --datafile etc/initialdata --dba rt_user DBI connect('dbname=rt3;host=localhost','rt_user',...) failed: Access denied for user 'rt_user'@'localhost' (using password: NO) at /opt/rt3/sbin/rt-setup-database line 170 Failed to connect to dbi:mysql:;host=localhost as rt_user: Access denied for user 'rt_user'@'localhost' (using password: NO) at /opt/rt3/sbin/rt-setup-database line 170. ...returned with error: 65280 make: *** [initdb] Error 255 Do I have to setup any Enviroemnnt variables? Ihave RTUSER and user set to my mysql user. TIA John J. Boris, Sr. JEN-A-SyS Administrator Archdiocese of Philadelphia "Remember! That light at the end of the tunnel Just might be the headlight of an oncoming train!" From checkpoint at ozbergs.com Fri Jun 9 13:23:52 2006 From: checkpoint at ozbergs.com (Stevo) Date: Fri, 09 Jun 2006 10:23:52 -0700 Subject: [rt-users] SelectRequestor Question Message-ID: <4489AEA8.8070903@ozbergs.com> Hey Team, I just found the SelectRequestor code (http://wiki.bestpractical.com/index.cgi?SelectRequestor) which allows you to select a user when creating a ticket which is awesome! I can't tell you how many 'bad' users have been created by my operators because they fat fingered an email address! I have one question.... I'm not much of a coder (at all) and I'd like to remove the Organization piece of this code. All my users are internal to the Company, so the Org field is of no relevance to me. Is there any easy way to remove that and just have the username selectable? Thanks a bunch! -Stevo From dlamers at elcan.com Fri Jun 9 14:00:17 2006 From: dlamers at elcan.com (Lamers, Dan) Date: Fri, 9 Jun 2006 14:00:17 -0400 Subject: [rt-users] Trying to use RTFM Message-ID: <0FB8C170485E29419C3ADAC3A13886CA033F545A@EMEXCH004002> Make sure that you set the user and password in MySql using this command: grant all on rtdb.* to rtuser at localhost identified by 'wibble'; and make sure that your RT_SiteConfig.pm file matches the MySql Set($DatabaseUser , 'rtuser'); Set($DatabasePassword , 'wibble'); Set($DatabaseName , 'rtdb'); Dan -----Original Message----- From: rt-users-bounces at lists.bestpractical.com [mailto:rt-users-bounces at lists.bestpractical.com]On Behalf Of John Boris Sent: June 9, 2006 12:18 PM To: rt-users at lists.bestpractical.com Subject: [rt-users] Trying to use RTFM I am not sure if this is the correct list. I have RT 3.4.5 installed and RTFM-2.2.0RC2 installed. When I try to run make initdb I get this error: make initdb /usr/bin/perl -Ilib -I/opt/rt3/lib /opt/rt3/sbin/rt-setup-database --action schema --datadir etc --datafile etc/initialdata --dba rt_user DBI connect('dbname=rt3;host=localhost','rt_user',...) failed: Access denied for user 'rt_user'@'localhost' (using password: NO) at /opt/rt3/sbin/rt-setup-database line 170 Failed to connect to dbi:mysql:;host=localhost as rt_user: Access denied for user 'rt_user'@'localhost' (using password: NO) at /opt/rt3/sbin/rt-setup-database line 170. ...returned with error: 65280 make: *** [initdb] Error 255 Do I have to setup any Enviroemnnt variables? Ihave RTUSER and user set to my mysql user. TIA John J. Boris, Sr. JEN-A-SyS Administrator Archdiocese of Philadelphia "Remember! That light at the end of the tunnel Just might be the headlight of an oncoming train!" _______________________________________________ http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users Community help: http://wiki.bestpractical.com Commercial support: sales at bestpractical.com Discover RT's hidden secrets with RT Essentials from O'Reilly Media. Buy a copy at http://rtbook.bestpractical.com We're hiring! Come hack Perl for Best Practical: http://bestpractical.com/about/jobs.html DISCLAIMER: The information in this message is confidential and may be legally privileged. It is intended solely for the addressee. Access to this message by anyone else is unauthorized. If you are not the intended recipient, any disclosure, copying, or distribution of the message, or any action or omission taken by you in reliance on it, is prohibited and may be unlawful. Please immediately contact the sender if you have received this message in error. Thank you. From jboris at adphila.org Fri Jun 9 14:08:35 2006 From: jboris at adphila.org (John Boris) Date: Fri, 09 Jun 2006 14:08:35 -0400 Subject: [rt-users] Trying to use RTFM Message-ID: Thanks. I manually edited the lines that were complaining based on a reply I just received and that worked. I thought I had it configured as you write here but I guess I had something misconfigured. It is working now. Thanks for the replies. >>> "Lamers, Dan" 06/09/06 2:00 PM >>> Make sure that you set the user and password in MySql using this command: grant all on rtdb.* to rtuser at localhost identified by 'wibble'; and make sure that your RT_SiteConfig.pm file matches the MySql Set($DatabaseUser , 'rtuser'); Set($DatabasePassword , 'wibble'); Set($DatabaseName , 'rtdb'); Dan -----Original Message----- From: rt-users-bounces at lists.bestpractical.com [mailto:rt-users-bounces at lists.bestpractical.com]On Behalf Of John Boris Sent: June 9, 2006 12:18 PM To: rt-users at lists.bestpractical.com Subject: [rt-users] Trying to use RTFM I am not sure if this is the correct list. I have RT 3.4.5 installed and RTFM-2.2.0RC2 installed. When I try to run make initdb I get this error: make initdb /usr/bin/perl -Ilib -I/opt/rt3/lib /opt/rt3/sbin/rt-setup-database --action schema --datadir etc --datafile etc/initialdata --dba rt_user DBI connect('dbname=rt3;host=localhost','rt_user',...) failed: Access denied for user 'rt_user'@'localhost' (using password: NO) at /opt/rt3/sbin/rt-setup-database line 170 Failed to connect to dbi:mysql:;host=localhost as rt_user: Access denied for user 'rt_user'@'localhost' (using password: NO) at /opt/rt3/sbin/rt-setup-database line 170. ...returned with error: 65280 make: *** [initdb] Error 255 Do I have to setup any Enviroemnnt variables? Ihave RTUSER and user set to my mysql user. TIA John J. Boris, Sr. JEN-A-SyS Administrator Archdiocese of Philadelphia "Remember! That light at the end of the tunnel Just might be the headlight of an oncoming train!" _______________________________________________ http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users Community help: http://wiki.bestpractical.com Commercial support: sales at bestpractical.com Discover RT's hidden secrets with RT Essentials from O'Reilly Media. Buy a copy at http://rtbook.bestpractical.com We're hiring! Come hack Perl for Best Practical: http://bestpractical.com/about/jobs.html DISCLAIMER: The information in this message is confidential and may be legally privileged. It is intended solely for the addressee. Access to this message by anyone else is unauthorized. If you are not the intended recipient, any disclosure, copying, or distribution of the message, or any action or omission taken by you in reliance on it, is prohibited and may be unlawful. Please immediately contact the sender if you have received this message in error. Thank you. From KFCrocker at lbl.gov Fri Jun 9 15:48:57 2006 From: KFCrocker at lbl.gov (Kenneth Crocker) Date: Fri, 09 Jun 2006 12:48:57 -0700 Subject: [rt-users] Global configuratiopn for AdminCc's Message-ID: <4489D0A9.3060201@lbl.gov> We have been using RT 3.4.4 on Oracle 9 (whatever) since it came out and I'm just now thinking "why set up AdminCc privileges for each Queue when I can do it Globally"? Dumb, I know. I should have thought of it before. Now, as I go about doing this, I noticed that at the Queue level, there is no "SeeConfigTab" right but there is at the Global level. When I removed all rights from the AdminCc role in all Queues and set up the Global privileges for AdminCc and applied the "SeeConfigTab" right, my AdminCc's (those users set up as an AdminCc watcher for each respective Queue) could not see the configuration option on their screens. Why is that? When I had them set up individually for each Queue, I had to give the individual user (the one named as AdminCc watcher in that Queue) that right as a user because it wasn't offered at the Queue level for AdminCcs. However, since it is at the global level I figured that would suffice. So what am I missing? Is there another right that must be granted in conjunction with the "SeeConfigTab" privilege? Kenn Crocker LBNL From ocraig at stillsecure.com Fri Jun 9 20:04:15 2006 From: ocraig at stillsecure.com (Ole Craig) Date: Fri, 09 Jun 2006 18:04:15 -0600 Subject: [rt-users] 3.6.x: http/https with the same RT instance? Message-ID: <1149897855.8584.295.camel@hex.latis.com> Is it possible to provide http and https access to the same RT instance without running completely separate configuration trees and mason caches? I have a setup now where the only difference between the http instance and the https instance is that the former is defined within a container and the latter is within a container. Most things seem to work seamlessly; the only exception (and it's a doozy) I've found so far is the "create" button from the "new ticket in ___ queue" screen. Is there a reason this button needs to force a canonical URL instead of using a relative? The reason I'd like to provide plaintext http is to avoid the SSL performance hit for internal users, but I'd like external users to be able to connect securely. Do I really need a duplicate setup to do that? -- /Ole Craig Security Engineer 303-381-3802 (main support hotline) 303-381-3824 (my direct line) 303-381-3801 (fax) www.stillsecure.com . . . From ocraig at stillsecure.com Fri Jun 9 21:12:39 2006 From: ocraig at stillsecure.com (Ole Craig) Date: Fri, 09 Jun 2006 19:12:39 -0600 Subject: [rt-users] 3.6.x: http/https with the same RT instance? In-Reply-To: <70fbbb000606091752n682edfe2gc8674dd2b177e15f@mail.gmail.com> References: <1149897855.8584.295.camel@hex.latis.com> <70fbbb000606091752n682edfe2gc8674dd2b177e15f@mail.gmail.com> Message-ID: <1149901959.8584.312.camel@hex.latis.com> On Fri, 2006-06-09 at 19:52 -0500, TechnoSophos wrote: > Are you using mod_perl, fastcgi, or fcgid? > Sorry, should have thought to include more info. CentOS 4.3 perl 5.8.5 FastCGI 2.4.2 apache 2.0.52 mysql 4.1.12 -- /Ole Craig Security Engineer 303-381-3802 (main support hotline) 303-381-3824 (my direct line) 303-381-3801 (fax) www.stillsecure.com . . . From msnyder at servervault.com Fri Jun 9 21:30:17 2006 From: msnyder at servervault.com (Mathew Snyder) Date: Fri, 09 Jun 2006 21:30:17 -0400 Subject: [rt-users] 3.6.0 Official Release Message-ID: <448A20A9.7050705@servervault.com> Is there a proposed release date for 3.6.0 as a stable platform? -- Mathew Snyder Systems Administrator Network+ ServerVault TechOps From nazark at auska.com Fri Jun 9 21:38:21 2006 From: nazark at auska.com (Nazar Kulynych) Date: Fri, 09 Jun 2006 21:38:21 -0400 Subject: [rt-users] Segmentation Fault In-Reply-To: <3232697956.598565@fsck.com> References: <3232697956.598565@fsck.com> Message-ID: <448A228D.7020102@auska.com> I have this $ENV apache-2.0.58 rt-3.4.5 perl-5.8.5 mod_perl-2.0.2 apache and mod_perl compiled statically. Thanks Nazar this usually indicates a bad dso mod_perl 1.0 build Best, Jesse -- This message was sent from my Treo. Please accept my apologies for its brevity and for any typos. -----Original Message----- From: Nazar Kulynych Date: Wednesday, Jun 7, 2006 5:12 pm Subject: [rt-users] Segmentation Fault I have recently installed RT 3.4.5, when I try to add users I get the following message in my apache error_log. [Wed Jun 07 23:17:36 2006] [notice] child pid 18164 exit signal Segmentation fault (11) [Wed Jun 7 20:17:36 2006] [crit]: Transaction not committed. Usually indicates a software fault.Data loss may have occurred (/www/apps/rt-3.4.5/lib/RT/Interface/Web/Handler.pm:205) Any idea? thanks Nazar _______________________________________________ http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users Community help: http://wiki.bestpractical.com Commercial support: sales at bestpractical.com Discover RT's hidden secrets with RT Essentials from O'Reilly Media. Buy a copy at http://rtbook.bestpractical.com We're hiring! Come hack Perl for Best Practical: http://bestpractical.com/about/jobs.html From pavel.ruzicka at i.cz Sat Jun 10 06:32:40 2006 From: pavel.ruzicka at i.cz (Pavel Ruzicka) Date: Sat, 10 Jun 2006 12:32:40 +0200 Subject: [rt-users] mysqldump refusing to finish In-Reply-To: <44860AB2.5050806@internode.com.au> References: <44860AB2.5050806@internode.com.au> Message-ID: <448A9FC8.7040704@i.cz> try "mysqldump -q" ruza On 07/06/06 01:07, Luke Vanderfluit wrote: > Hi. > > I have a cron job that does a database backup for RT. > That backup is currently failing with the following error: > > mysqldump: Error 2020: Got packet bigger than 'max_allowed_packet' bytes > when dumping table `Attachments` at row: 1784599 > > My mysqldump command looks like this: > > /usr/local/mysql/bin/mysqldump --opt --skip-extended-insert > --skip-lock-tables --single-transaction --complete-insert > --max_allowed_packet=32M rt3 | bzip2 -9 > rt3.out-`date +\%Y\%m\%d-\%H`.bz2 > > > I could increase the 'max_allowed_packet' setting. > I could add '--default-character-set=binary'. > > Would these help? > Does anyone have any other suggestions? > > Kind regards. > -- Pavel Ruzicka, ICZ *** ICZ a.s. ****************************** Hvezdova 1689/2a, 140 00 Prague 4, CZ tel: +420 24 41 00 111 _ Fax: +420 24 41 00 222 @_}-,^--`-- GSM: +420 724 429 641 mailto:pavel.ruzicka at i.cz http://www.i.cz ******************************************* From pkime at Shopzilla.com Sun Jun 11 16:56:12 2006 From: pkime at Shopzilla.com (Philip Kime) Date: Sun, 11 Jun 2006 13:56:12 -0700 Subject: [rt-users] The "fsck.com-rt-" URI scheme Message-ID: <58B1112F0EEB7349AE14A0AA46F9CEC00137ABF6@szexchange.Shopzilla.inc> Will this URI scheme thing be continued in later versions of RT? I remember JV saying that it probably wouldn't. I'm wondering if it's worth bothering with generating patches to get rid of the hard-coded "fsck.com-rt-" scheme because I need to use a lot of REST calls making links etc. and every ticket like comes out as "fsck.com-rt-" ... PK -- Philip Kime NOPS Systems Architect 310 401 0407 -------------- next part -------------- An HTML attachment was scrubbed... URL: From jesse at bestpractical.com Sun Jun 11 16:59:11 2006 From: jesse at bestpractical.com (Jesse Vincent) Date: Sun, 11 Jun 2006 16:59:11 -0400 Subject: [rt-users] The "fsck.com-rt-" URI scheme In-Reply-To: <58B1112F0EEB7349AE14A0AA46F9CEC00137ABF6@szexchange.Shopzilla.inc> References: <58B1112F0EEB7349AE14A0AA46F9CEC00137ABF6@szexchange.Shopzilla.inc> Message-ID: <20060611205910.GN8022@bestpractical.com> On Sun, Jun 11, 2006 at 01:56:12PM -0700, Philip Kime wrote: > Will this URI scheme thing be continued in later versions of RT? I > remember JV saying that it probably wouldn't. When did I say this? From pkime at Shopzilla.com Sun Jun 11 16:59:09 2006 From: pkime at Shopzilla.com (Philip Kime) Date: Sun, 11 Jun 2006 13:59:09 -0700 Subject: [rt-users] The "fsck.com-rt-" URI scheme Message-ID: <58B1112F0EEB7349AE14A0AA46F9CEC00137ABF7@szexchange.Shopzilla.inc> You may well not have done ... I just remembered something about wanting to take it away but not wanting to break too much stuff ...? PK -----Original Message----- From: Jesse Vincent [mailto:jesse at bestpractical.com] Sent: 11 June 2006 13:59 To: Philip Kime Cc: RT users Subject: Re: [rt-users] The "fsck.com-rt-" URI scheme On Sun, Jun 11, 2006 at 01:56:12PM -0700, Philip Kime wrote: > Will this URI scheme thing be continued in later versions of RT? I > remember JV saying that it probably wouldn't. When did I say this? From todd at chaka.net Sun Jun 11 18:46:33 2006 From: todd at chaka.net (Todd Chapman) Date: Sun, 11 Jun 2006 18:46:33 -0400 Subject: [rt-users] The "fsck.com-rt-" URI scheme In-Reply-To: <58B1112F0EEB7349AE14A0AA46F9CEC00137ABF6@szexchange.Shopzilla.inc> References: <58B1112F0EEB7349AE14A0AA46F9CEC00137ABF6@szexchange.Shopzilla.inc> Message-ID: <20060611224633.GJ26200@chaka.net> All tickets should have fsck.com-rt schemes. Why would that be a problem? -Todd On Sun, Jun 11, 2006 at 01:56:12PM -0700, Philip Kime wrote: > Will this URI scheme thing be continued in later versions of RT? I > remember JV saying that it probably wouldn't. I'm wondering if it's > worth bothering with generating patches to get rid of the hard-coded > "fsck.com-rt-" scheme because I need to use a lot of REST calls making > links etc. and every ticket like comes out as "fsck.com-rt-" ... > > PK > > -- > Philip Kime > NOPS Systems Architect > 310 401 0407 > > _______________________________________________ > http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users > > Community help: http://wiki.bestpractical.com > Commercial support: sales at bestpractical.com > > > Discover RT's hidden secrets with RT Essentials from O'Reilly Media. > Buy a copy at http://rtbook.bestpractical.com > > > We're hiring! Come hack Perl for Best Practical: http://bestpractical.com/about/jobs.html From pkime at Shopzilla.com Sun Jun 11 18:50:34 2006 From: pkime at Shopzilla.com (Philip Kime) Date: Sun, 11 Jun 2006 15:50:34 -0700 Subject: [rt-users] The "fsck.com-rt-" URI scheme Message-ID: <58B1112F0EEB7349AE14A0AA46F9CEC00137ABF8@szexchange.Shopzilla.inc> I was more wondering how hard it would be to just default them to an "rt" scheme since it would seem to make more sense for people who have nothing to do with the fsck.com domain. Even RT has nothing to do with the fsck.com domain now since I believe it was the author's personal domain when it was first being developed. The at scheme is just "at", it would be nice for rt to be just "rt" unless you really want a scheme prefix of something else which could be a config file setting. As an exercise, I created an "rt" scheme and altered Record.pm, Ticket_Overlay.pm and URI.pm but in 3.6 REST interface, the links still come out as fsck.com-rt so I've either missed something or something's in the DB. PK -----Original Message----- From: Todd Chapman [mailto:todd at chaka.net] Sent: 11 June 2006 15:47 To: Philip Kime Cc: RT users Subject: Re: [rt-users] The "fsck.com-rt-" URI scheme All tickets should have fsck.com-rt schemes. Why would that be a problem? -Todd On Sun, Jun 11, 2006 at 01:56:12PM -0700, Philip Kime wrote: > Will this URI scheme thing be continued in later versions of RT? I > remember JV saying that it probably wouldn't. I'm wondering if it's > worth bothering with generating patches to get rid of the hard-coded > "fsck.com-rt-" scheme because I need to use a lot of REST calls making > links etc. and every ticket like comes out as "fsck.com-rt-" ... > > PK > > -- > Philip Kime > NOPS Systems Architect > 310 401 0407 > > _______________________________________________ > http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users > > Community help: http://wiki.bestpractical.com Commercial support: > sales at bestpractical.com > > > Discover RT's hidden secrets with RT Essentials from O'Reilly Media. > Buy a copy at http://rtbook.bestpractical.com > > > We're hiring! Come hack Perl for Best Practical: > http://bestpractical.com/about/jobs.html From Jan-Peter.Koopmann at seceidos.de Mon Jun 12 03:49:38 2006 From: Jan-Peter.Koopmann at seceidos.de (Koopmann, Jan-Peter) Date: Mon, 12 Jun 2006 09:49:38 +0200 Subject: [rt-users] Change duedate/priorities from Reply screen Message-ID: Hi, I would love to be able to change the current priority and duedate from the reply, comment etc. screens. I am sure this can be done with Overlays/Callbacks but I am not sure how and what to call. Surely someone already has done this one way or the other. Any help is greatly appreciated! Kind regards, JP From scoutts at bcs.org.uk Mon Jun 12 05:11:23 2006 From: scoutts at bcs.org.uk (Steven Coutts) Date: Mon, 12 Jun 2006 10:11:23 +0100 Subject: [rt-users] Any resolution on apache2/mod_perl2 "Out of Memory!" error on GenToo? In-Reply-To: <013201c66481$1a8a2e20$ad141eac@TSDYoung> References: <013201c66481$1a8a2e20$ad141eac@TSDYoung> Message-ID: <200606121011.23587.scoutts@bcs.org.uk> Did anyone get anywhere with this? Think I have the same problem. On Thursday 20 April 2006 14:48, dyoung-rtusers at techsafari.com wrote: > Please accept my apologies if this particular dead horse has been > sufficiently beaten, but I'm new to this list and I've already searched > through Google as well as the mailing list archives to no avail. > > I'm running: > > rt-3.4.5 > apache-2.0.55-r1 > mod_perl-2.0.1-r2 > gentoo-sources-2.6.15-r1 > mysql-5.0.19-r1 (was using mysql-4, but found something during my > searches that suggested upgrading mysql. No apparent effect) > > (I'm not sure what other info would be helpful, please let me know > and I'll be happy to supply) > > I was wondering (read: hoping) if this list had already discovered a fix or > workaround to the "Out of Memory! Callback called exit" error seen in the > Apache2 error_log when attempting to perform a Ticket Search from within > the RT website. If so, could someone point me in the proper direction > (URL, email, carrier pigeon)? > > Thanks in advance! > > Donovan > dyoung rtusers techsafari com > > _______________________________________________ > http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users > > Community help: http://wiki.bestpractical.com > Commercial support: sales at bestpractical.com > > > Discover RT's hidden secrets with RT Essentials from O'Reilly Media. > Buy a copy at http://rtbook.bestpractical.com > > > We're hiring! Come hack Perl for Best Practical: > http://bestpractical.com/about/jobs.html -- Steven Coutts B.Sc.(Hons) MBCS scoutts at bcs.org.uk PGP Public Key From sturner at MIT.EDU Mon Jun 12 10:27:29 2006 From: sturner at MIT.EDU (Stephen Turner) Date: Mon, 12 Jun 2006 10:27:29 -0400 Subject: [rt-users] custom fields on templates Message-ID: <6.2.3.4.2.20060612102635.0394f0b0@po14.mit.edu> At Thursday 6/8/2006 07:15 PM, you wrote: >Is there a way to see all of the values stored in $Ticket just for >debugging purposes from the template ? > >I am having problems calling CustomField values into the template. > >I am including this in my templates > >{$Ticket->CustomFieldValues('CustomFieldName')} > >and i am recieving > >RT::ObjectCustomFieldValues=HASH(0x3932cd0) >RT::ObjectCustomFieldValues=HASH(0x3931640) > >instead of the values. Justin, [apologies for getting your name wrong on my other email!] Unless you're dealing with a multiple-value CF, you might have better luck with : {$Ticket->FirstCustomFieldValue('CustomFieldName')} If you are using a multi-value CF, you'll have to iterate through the ObjectCustomFieldValues collection returned by $Ticket->CustomFieldValues and print each one in turn. Seeing all the values stored in $Ticket wouldn't help, because technically the CF values aren't stored in $Ticket. Steve From sturner at MIT.EDU Mon Jun 12 10:34:58 2006 From: sturner at MIT.EDU (Stephen Turner) Date: Mon, 12 Jun 2006 10:34:58 -0400 Subject: [rt-users] 3.6.x: http/https with the same RT instance? In-Reply-To: <1149897855.8584.295.camel@hex.latis.com> References: <1149897855.8584.295.camel@hex.latis.com> Message-ID: <6.2.3.4.2.20060612103146.0394f488@po14.mit.edu> At Friday 6/9/2006 08:04 PM, Ole Craig wrote: >Is it possible to provide http and https access to the same RT instance >without running completely separate configuration trees and mason >caches? > >I have a setup now where the only difference between the http instance >and the https instance is that the former is defined within a > container and the latter is within a _default_:443> container. Most things seem to work seamlessly; the only >exception (and it's a doozy) I've found so far is the "create" button >from the "new ticket in ___ queue" screen. Is there a reason this button >needs to force a canonical URL instead of using a relative? > >The reason I'd like to provide plaintext http is to avoid the SSL >performance hit for internal users, but I'd like external users to be >able to connect securely. Do I really need a duplicate setup to do that? I'd be really surprised if SSL caused so much of a difference in performance that it would be worth the effort of figuring out and maintaining this setup. Do you have any measurements for the performance "hit"? Steve From JSpeicher at teksecurelabs.com Mon Jun 12 10:41:32 2006 From: JSpeicher at teksecurelabs.com (Speicher, Joshua (TekSecure Labs)) Date: Mon, 12 Jun 2006 10:41:32 -0400 Subject: [rt-users] RTx Statistics Segmentation Faul Message-ID: <46DB0FCB24C6914A91AB9184978D6A410372DE@cosmo.tekmarkinc.com> I'm getting a child pid #### exit signal Segmentation fault (11) in our Apache error_log whenever we try to view a graph with RTx::Statistics. Did troubleshooting to rule out GD::Graph and GD overall. The samples for GD::Graph work and I'm only getting the Segmentation fault when I try to view statistics in RT. Something with the graphs is causing the issue, any ideas? Running: Apache 1.3.36 PHP 4.4.2 Gd 2.0.28 Perl 5.8.8 Mod_perl 1.29 GDGraph 1.43 Joshua Speicher Web Developer TekSecure Labs (sm) (a division of Tekmark Global Solutions) www.teksecurelabs.com This message is for the designated recipient only and it, as well as any attachments, may contain privileged, proprietary or confidential information. If you are not the intended recipient, do not read, copy or distribute it. Please notify the sender immediately and delete the original at once. Any other use of the email by you is prohibited. Thank you. ------------------------------------------------------------------------ This message is for the designated recipient only and it, as well as any attachments, may contain privileged, proprietary or confidential information. If you are not the intended recipient, do not read, copy or distribute it. Please notify the sender immediately and delete the original at once. Any other use of the email by you is prohibited. Thank you. ------------------------------------------------------------------------ -------------- next part -------------- An HTML attachment was scrubbed... URL: From kfh at mqsoftware.com Mon Jun 12 11:17:53 2006 From: kfh at mqsoftware.com (Kelly F. Hickel) Date: Mon, 12 Jun 2006 10:17:53 -0500 Subject: [rt-users] RTx Statistics Segmentation Faul Message-ID: <63BEA5E623E09F4D92233FB12A9F79431C72DF@emailmn.mqsoftware.com> What version of RT? Do you get any sort of information about what's actually faulting? Httpd? Gd, etc.....? -- Kelly F. Hickel Senior Software Architect MQSoftware, Inc 952.345.8677 kfh at mqsoftware.com ________________________________ From: rt-users-bounces at lists.bestpractical.com [mailto:rt-users-bounces at lists.bestpractical.com] On Behalf Of Speicher, Joshua (TekSecure Labs) Sent: Monday, June 12, 2006 9:42 AM To: rt-users at lists.bestpractical.com Subject: [rt-users] RTx Statistics Segmentation Faul I'm getting a child pid #### exit signal Segmentation fault (11) in our Apache error_log whenever we try to view a graph with RTx::Statistics. Did troubleshooting to rule out GD::Graph and GD overall. The samples for GD::Graph work and I'm only getting the Segmentation fault when I try to view statistics in RT. Something with the graphs is causing the issue, any ideas? Running: Apache 1.3.36 PHP 4.4.2 Gd 2.0.28 Perl 5.8.8 Mod_perl 1.29 GDGraph 1.43 Joshua Speicher Web Developer TekSecure Labs (sm) (a division of Tekmark Global Solutions) www.teksecurelabs.com This message is for the designated recipient only and it, as well as any attachments, may contain privileged, proprietary or confidential information. If you are not the intended recipient, do not read, copy or distribute it. Please notify the sender immediately and delete the original at once. Any other use of the email by you is prohibited. Thank you. ------------------------------------------------------------------------ This message is for the designated recipient only and it, as well as any attachments, may contain privileged, proprietary or confidential information. If you are not the intended recipient, do not read, copy or distribute it. Please notify the sender immediately and delete the original at once. Any other use of the email by you is prohibited. Thank you. ------------------------------------------------------------------------ -------------- next part -------------- An HTML attachment was scrubbed... URL: From JSpeicher at teksecurelabs.com Mon Jun 12 11:31:25 2006 From: JSpeicher at teksecurelabs.com (Speicher, Joshua (TekSecure Labs)) Date: Mon, 12 Jun 2006 11:31:25 -0400 Subject: [rt-users] RTx Statistics Segmentation Faul In-Reply-To: <63BEA5E623E09F4D92233FB12A9F79431C72DF@emailmn.mqsoftware.com> Message-ID: <46DB0FCB24C6914A91AB9184978D6A410372E0@cosmo.tekmarkinc.com> RT 3.4.5. And I have no idea what is actually faulting. I'm seeing some warnings in rt.log about uninitialized values. Example: [warning]: Use of uninitialized value in string eq at /opt/rt3/share/html/RTx/Statistics/Elements/Tabs line 58. (/opt/rt3/lib/RT.pm:287) [warning]: Use of uninitialized value in join or string at /opt/rt3/share/html/RTx/Statistics/DayOfWeek/index.html line 64. (/opt/rt3/lib/RT.pm:287) [warning]: Use of uninitialized value in substitution (s///) at /opt/rt3/share/html/RTx/Statistics/Elements/CollectionAsTable/Row line 102. (/opt/rt3/lib/RT.pm:287) So I'm not sure what exactly is failing, I just know that it is directly related to drawing graphs. ________________________________ From: Kelly F. Hickel [mailto:kfh at mqsoftware.com] Sent: Monday, June 12, 2006 11:18 AM To: Speicher, Joshua (TekSecure Labs); rt-users at lists.bestpractical.com Subject: RE: [rt-users] RTx Statistics Segmentation Faul What version of RT? Do you get any sort of information about what's actually faulting? Httpd? Gd, etc.....? -- Kelly F. Hickel Senior Software Architect MQSoftware, Inc 952.345.8677 kfh at mqsoftware.com ________________________________ From: rt-users-bounces at lists.bestpractical.com [mailto:rt-users-bounces at lists.bestpractical.com] On Behalf Of Speicher, Joshua (TekSecure Labs) Sent: Monday, June 12, 2006 9:42 AM To: rt-users at lists.bestpractical.com Subject: [rt-users] RTx Statistics Segmentation Faul I'm getting a child pid #### exit signal Segmentation fault (11) in our Apache error_log whenever we try to view a graph with RTx::Statistics. Did troubleshooting to rule out GD::Graph and GD overall. The samples for GD::Graph work and I'm only getting the Segmentation fault when I try to view statistics in RT. Something with the graphs is causing the issue, any ideas? Running: Apache 1.3.36 PHP 4.4.2 Gd 2.0.28 Perl 5.8.8 Mod_perl 1.29 GDGraph 1.43 Joshua Speicher Web Developer TekSecure Labs (sm) (a division of Tekmark Global Solutions) www.teksecurelabs.com This message is for the designated recipient only and it, as well as any attachments, may contain privileged, proprietary or confidential information. If you are not the intended recipient, do not read, copy or distribute it. Please notify the sender immediately and delete the original at once. Any other use of the email by you is prohibited. Thank you. ------------------------------------------------------------------------ This message is for the designated recipient only and it, as well as any attachments, may contain privileged, proprietary or confidential information. If you are not the intended recipient, do not read, copy or distribute it. Please notify the sender immediately and delete the original at once. Any other use of the email by you is prohibited. Thank you. ------------------------------------------------------------------------ ------------------------------------------------------------------------ This message is for the designated recipient only and it, as well as any attachments, may contain privileged, proprietary or confidential information. If you are not the intended recipient, do not read, copy or distribute it. Please notify the sender immediately and delete the original at once. Any other use of the email by you is prohibited. Thank you. ------------------------------------------------------------------------ -------------- next part -------------- An HTML attachment was scrubbed... URL: From JLim at netopia.com Mon Jun 12 11:35:11 2006 From: JLim at netopia.com (Lim, Justin) Date: Mon, 12 Jun 2006 11:35:11 -0400 Subject: [rt-users] scrip order Message-ID: <681060E80F66FC44BE343998E96178BC026C56BB@mxma2.corp.netopia.com> I am trying to do 2 things when a ticket is created. first is to extract some of the content and input it into custom fields then sends an auto response with the contents of the custom fields. I have renamed the templates and script names in alphabetical order but the auto response is still being sent before the custom fields are extracted so the auto response is sending out blank fields. is there any other way of doing this ? Thanks -------------- next part -------------- An HTML attachment was scrubbed... URL: From glug2005 at lsd.za.com Mon Jun 12 11:46:12 2006 From: glug2005 at lsd.za.com (Stefan Lesicnik) Date: Mon, 12 Jun 2006 17:46:12 +0200 Subject: [rt-users] Persistent Sessions Message-ID: <448D8C44.1000201@lsd.za.com> Hi Guys, I hope someone can help me. I have two computers both running Gentoo Linux, PHP 5.1.2 / 5.1.4, perl 5.8.8, perl fcgi 0.67 and RT 3.4.5. The one machine is using perl, the other using fastcgi. I am experiencing pretty much the same problem on both machines. I log into the system fine, and when I click on a menu option, i get returned to the login page. I have tried this both from Mozilla Firefox and IE. The machine running fastcgi seems a lot better, and I only get returned to login when i click on the general queue and select a ticket in the queue. The other machine running perl returns me to the login page if i click anything. Below is the output of the access log. No errors are logged anywhere else in the apache log files. 196.2.124.251 - - [12/Jun/2006:15:50:15 +0200] "POST / HTTP/1.1" 200 9486 196.2.124.251 - - [12/Jun/2006:15:50:17 +0200] "GET /NoAuth/webrt.css HTTP/1.1" 200 12658 196.2.124.251 - - [12/Jun/2006:15:50:19 +0200] "GET /NoAuth/printrt.css HTTP/1.1" 200 696 196.2.124.251 - - [12/Jun/2006:15:50:27 +0200] "GET /Search/Build.html HTTP/1.1" 200 2875 196.2.124.251 - - [12/Jun/2006:15:50:27 +0200] "GET /NoAuth/webrt.css HTTP/1.1" 200 12658 196.2.124.251 - - [12/Jun/2006:15:50:28 +0200] "GET /NoAuth/printrt.css HTTP/1.1" 200 696 Anyone got any ideas. I used to run 3.4.4 and it worked. I have reinstalled the OS, so i am not sure going back to 3.4.4 would really work, but if necessary, i could try it. tia Stefan From sturner at MIT.EDU Mon Jun 12 11:57:31 2006 From: sturner at MIT.EDU (Stephen Turner) Date: Mon, 12 Jun 2006 11:57:31 -0400 Subject: [rt-users] Persistent Sessions In-Reply-To: <448D8C44.1000201@lsd.za.com> References: <448D8C44.1000201@lsd.za.com> Message-ID: <6.2.3.4.2.20060612115448.03951048@po14.mit.edu> At Monday 6/12/2006 11:46 AM, Stefan Lesicnik wrote: >Hi Guys, > >I hope someone can help me. I have two computers both running Gentoo >Linux, PHP 5.1.2 / 5.1.4, perl 5.8.8, perl fcgi 0.67 and RT 3.4.5. > >The one machine is using perl, the other using fastcgi. I am >experiencing pretty much the same problem on both machines. I log into >the system fine, and when I click on a menu option, i get returned to >the login page. I have tried this both from Mozilla Firefox and IE. > >The machine running fastcgi seems a lot better, and I only get returned >to login when i click on the general queue and select a ticket in the >queue. The other machine running perl returns me to the login page if i >click anything. > >Below is the output of the access log. No errors are logged anywhere >else in the apache log files. We have this problem on 3.4.2 so I'm not sure if it's specific to an RT version. Have you tried Opera as a brower. For me, the problem doesn't occur at all with Opera, only IE & Firefox. Also, I think including the user & password in the URL ( "?user=myname&pass=mypass" )seemed to help. Steve From ocraig at stillsecure.com Mon Jun 12 12:10:45 2006 From: ocraig at stillsecure.com (Ole Craig) Date: Mon, 12 Jun 2006 10:10:45 -0600 Subject: [rt-users] Persistent Sessions In-Reply-To: <448D8C44.1000201@lsd.za.com> References: <448D8C44.1000201@lsd.za.com> Message-ID: <1150128645.8584.342.camel@hex.latis.com> On Mon, 2006-06-12 at 17:46 +0200, Stefan Lesicnik wrote: > Hi Guys, > > I hope someone can help me. I have two computers both running Gentoo > Linux, PHP 5.1.2 / 5.1.4, perl 5.8.8, perl fcgi 0.67 and RT 3.4.5. > > The one machine is using perl, the other using fastcgi. I am > experiencing pretty much the same problem on both machines. I log into > the system fine, and when I click on a menu option, i get returned to > the login page. I have tried this both from Mozilla Firefox and IE. > > The machine running fastcgi seems a lot better, and I only get returned > to login when i click on the general queue and select a ticket in the > queue. The other machine running perl returns me to the login page if i > click anything. [...] Stefan - Sounds like maybe a cookie issue? I had a similar problem at one point, which turned out to be a combination of * the presence of a couple of firefox settings and * the absence of anything like a mind on my part. (I'm hoping the latter condition was temporary. :-) Under the "privacy" tab of Firefox's preferences dialogue, I had set "allow sites to set cookies...UNLESS I have removed cookies set by the site." During a troubleshooting session, I had explicitly removed a cookie set by RT (because I thought I was getting a cached login.) Because I had explicitly removed a cookie set by my RT site, firefox wasn't setting any more cookies from them. Thus, I would get this behavior (my actions parenthesized): 1. login page displayed 2. (enter uname/pw) 3. login to RT accepted, RT-at-a-glance page displayed 4. (click on a ticket, say #1234) 5. login page displayed 6. (mutter, grumble, enter uname/pw) 7. login to RT accepted, ticket #1234 displayed 8. (click on basics) 9. login page displayed 10. (howl, curse, excessive keyboard abuse while entering uname/pw) 11. login to RT accepted, basics for #1234 displayed [ &etcetera ad frustratiam ] When I unset firefox's "unless I have removed cookies set by this site" preference, the problem went away. -- /Ole Craig Security Engineer 303-381-3802 (main support hotline) 303-381-3824 (my direct line) 303-381-3801 (fax) www.stillsecure.com . . . From bbailey66 at metrocast.net Mon Jun 12 12:26:03 2006 From: bbailey66 at metrocast.net (Brent) Date: Mon, 12 Jun 2006 12:26:03 -0400 Subject: [rt-users] help with RT3 install on apache2 Message-ID: <448D959B.1070904@metrocast.net> -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Hello, I'm have installed Apache/2.0.58 (Unix) mod_ssl/2.0.58 OpenSSL/0.9.8a PHP/4.4.2 mod_fastcgi/2.4.2 mod_perl/2.0.2 Perl/v5.8.7 with Mysql on a solaris 10 server in an effort to try to get RT3 running. However when i try to access the RT3 site it eventually fails with a browser error "500 Internal Server Error" When i look at the error log for apache2 i see the below. Does anyone know what I may be missing or know what the below errors mean and how to fix it ? [Wed May 31 18:53:13 2006] [warn] FastCGI: server "/usr/local/rt3/bin/mason_handler.fcgi" restarted (pid 2721) Can't locate Locale/Maketext/Lexicon.pm in @INC (@INC contains: /usr/local/rt3/local/lib /usr/local/rt3/lib /usr/local/lib/perl5/5.8.7/i86pc-solaris /usr/local/lib/perl5/5.8.7 /usr/local/lib/perl5/site_perl/5.8.7/i86pc-solaris /usr/local/lib/perl5/site_perl/5.8.7 /usr/local/lib/perl5/site_perl) at /usr/local/rt3/lib/RT/I18N.pm line 34. BEGIN failed--compilation aborted at /usr/local/rt3/lib/RT/I18N.pm line 34. Compilation failed in require at /usr/local/rt3/lib/RT.pm line 29. BEGIN failed--compilation aborted at /usr/local/rt3/lib/RT.pm line 29. Compilation failed in require at /usr/local/rt3/bin/webmux.pl line 42. BEGIN failed--compilation aborted at /usr/local/rt3/bin/webmux.pl line 42. Compilation failed in require at /dev/fd/3 line 28. [Wed May 31 18:53:13 2006] [warn] FastCGI: server "/usr/local/rt3/bin/mason_handler.fcgi" (pid 2721) terminated by calling exit with status '2' [Wed May 31 18:53:13 2006] [warn] FastCGI: server "/usr/local/rt3/bin/mason_handler.fcgi" has failed to remain running for 30 seconds given 3 attempts, its restart interval has been backed off to 600 seconds thank you in advance Brent Bailey -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.6 (GNU/Linux) Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org iD8DBQFEjZWb4JTEfu1wem8RAtC8AJ4h0R37vcRSAWiZmakSoqUDZM8ABQCfcqul nCqsUa6jzL3JvfzjnZgM1Ac= =DQtO -----END PGP SIGNATURE----- From JLim at netopia.com Mon Jun 12 12:29:46 2006 From: JLim at netopia.com (Lim, Justin) Date: Mon, 12 Jun 2006 12:29:46 -0400 Subject: [rt-users] scrip order Message-ID: <681060E80F66FC44BE343998E96178BC02737949@mxma2.corp.netopia.com> sorry for the many emails.. i have followed the steps from http://www.gossamer-threads.com/lists/rt/users/45172?search_string=scrip %20order;#45172 and set the extraction scrip as user defined do something in transaction batch mode using the if ($self->TransactionObj->Type eq 'Create') { return(1); } else { return(undef); } then the autoreply stage in transaction batch. when i look at the history of the ticket i see that it is going in the correct order but it is returning blanks for the custom fields that i called in my template. my old setup was on create extract cf's in transaction batch then autoreply on user defined when one of the cf's matched "something" this worked so that the autoreply could call the cf's but it kept sending out the autoreply on every transaction is there a way to define a user define to make it only work 1 time like a counter ? ________________________________ From: rt-users-bounces at lists.bestpractical.com [mailto:rt-users-bounces at lists.bestpractical.com] On Behalf Of Lim, Justin Sent: Monday, June 12, 2006 10:35 AM To: RT-Users at lists.bestpractical.com Subject: [rt-users] scrip order I am trying to do 2 things when a ticket is created. first is to extract some of the content and input it into custom fields then sends an auto response with the contents of the custom fields. I have renamed the templates and script names in alphabetical order but the auto response is still being sent before the custom fields are extracted so the auto response is sending out blank fields. is there any other way of doing this ? Thanks -------------- next part -------------- An HTML attachment was scrubbed... URL: From michael.liebman at gmail.com Mon Jun 12 13:56:27 2006 From: michael.liebman at gmail.com (Michael Liebman) Date: Mon, 12 Jun 2006 13:56:27 -0400 Subject: [rt-users] help with RT3 install on apache2 In-Reply-To: <448D959B.1070904@metrocast.net> References: <448D959B.1070904@metrocast.net> Message-ID: On 6/12/06, Brent wrote: > > -----BEGIN PGP SIGNED MESSAGE----- > Hash: SHA1 > > Hello, > I'm have installed Apache/2.0.58 (Unix) mod_ssl/2.0.58 OpenSSL/0.9.8a > PHP/4.4.2 mod_fastcgi/2.4.2 mod_perl/2.0.2 Perl/v5.8.7 with Mysql on > a solaris 10 server in an effort to try to get RT3 running. However > when i try to access the RT3 site it eventually fails with a browser > error > "500 Internal Server Error" When i look at the error log for apache2 i > see the below. Does anyone know what I may be missing or know what > the below errors mean and how to fix it ? > > > > [Wed May 31 18:53:13 2006] [warn] FastCGI: server > "/usr/local/rt3/bin/mason_handler.fcgi" restarted (pid 2721) > Can't locate Locale/Maketext/Lexicon.pm in @INC It looks like you haven't installed Locale::Maketext::Lexicon. Try running: make fixdeps Michael -- Michael S. Liebman m-liebman at northwestern.edu http://msl521.freeshell.org/ "I have vision and the rest of the world wears bifocals." -Paul Newman in "Butch Cassidy & the Sundance Kid" -------------- next part -------------- An HTML attachment was scrubbed... URL: From michael.liebman at gmail.com Mon Jun 12 14:44:42 2006 From: michael.liebman at gmail.com (Michael Liebman) Date: Mon, 12 Jun 2006 14:44:42 -0400 Subject: [rt-users] help with RT3 install on apache2 In-Reply-To: <448DB227.4080907@metrocast.net> References: <448D959B.1070904@metrocast.net> <448DB227.4080907@metrocast.net> Message-ID: [In the future, please reply to the list so everyone can benefit.] On 6/12/06, Brent wrote: > > -----BEGIN PGP SIGNED MESSAGE----- > Hash: SHA1 > > - From what directory do i run "make fixdeps". Also is that a perl > thing that could be added via CPAN ? Run it from your RT install directory. You could install the module from CPAN by hand, but you should make sure you have all of the modules correctly installed. Running make fixdeps will do that for you. See the README for more information. Michael -- Michael S. Liebman m-liebman at northwestern.edu http://msl521.freeshell.org/ "I have vision and the rest of the world wears bifocals." -Paul Newman in "Butch Cassidy & the Sundance Kid" -------------- next part -------------- An HTML attachment was scrubbed... URL: From joela at umn.edu Mon Jun 12 14:58:28 2006 From: joela at umn.edu (Joel Peter Anderson) Date: Mon, 12 Jun 2006 13:58:28 -0500 (CDT) Subject: [rt-users] RT CLI comment problem In-Reply-To: References: <448D959B.1070904@metrocast.net> <448DB227.4080907@metrocast.net> Message-ID: We're working on a transition from a system running RT 3.0.12 to 3.4.5 and I've run into a problem using the RT CLI - which is important to me because I've built a bunch of automation on top of the RT CLI commands. As far as I've tested, all the existing CLI functionality exists ... *EXCEPT* for adding comments. Any attempt add a comment with the CLI gets this terse response: # Ticket comment does not exist. Even trying something as simple as this: rt comment -m test 144149 # Ticket comment does not exist. --- Is this a known problem? Is there a fix/workaround? Thanks. ------------------------------------------------- joel anderson * joela at umn.edu * 612-625-7389 --> pager: 612-648-6823 Be a part of the Next Age of Exploration http://www.planetary.org/ From justin at jfindlay.us Mon Jun 12 14:54:58 2006 From: justin at jfindlay.us (Justin R Findlay) Date: Mon, 12 Jun 2006 12:54:58 -0600 Subject: [rt-users] rt as secondary website Message-ID: <20060612185458.GE29042@jfindlay.us> I have a server that I would like to get rt running on but I've come to a couple of problems that I can't resolve myself. The machine is CentOS 4.3 and I've followed the install guide for RHEL4 and have everything installed and ready except I can't figure out how to get to the web interface. I thought I could run it under the html document tree of one of the virtual hosts on the box (that we control) but I can't seem to get rt to work on a URL like http://www.example.com/path/to/rt3 and I can't clobber the site already running on http://www.example.com. Another option I've thought of is to run rt on the domain name of the server, http://host.net, but the websites we host (say http://www.website.com) in the interest of having a signed cert for their secure web pages host them on the server's DN: https://host.net/~website.com/secure/index.html and I don't want to interfere with this. I hope this makes enough sense to be understandable. I'm sure there's a way to do it. I'm just not versed with apache and WWW enough to know how to proceed. Justin From jesse at bestpractical.com Mon Jun 12 15:36:16 2006 From: jesse at bestpractical.com (Jesse Vincent) Date: Mon, 12 Jun 2006 15:36:16 -0400 Subject: [rt-users] RT CLI comment problem In-Reply-To: References: <448D959B.1070904@metrocast.net> <448DB227.4080907@metrocast.net> Message-ID: <20060612193615.GX8022@bestpractical.com> On Mon, Jun 12, 2006 at 01:58:28PM -0500, Joel Peter Anderson wrote: > > We're working on a transition from a system running RT 3.0.12 to 3.4.5 and > I've run into a problem using the RT CLI - which is important to me > because I've built a bunch of automation on top of the RT CLI commands. > > As far as I've tested, all the existing CLI functionality exists ... > *EXCEPT* for adding comments. Any attempt add a comment with the CLI gets > this terse response: This is fixed in RT 3.60pre3. > > # Ticket comment does not exist. > > > Even trying something as simple as this: > > rt comment -m test 144149 > # Ticket comment does not exist. > > > --- > > Is this a known problem? Is there a fix/workaround? Thanks. > > ------------------------------------------------- > joel anderson * joela at umn.edu * 612-625-7389 > --> pager: 612-648-6823 > Be a part of the Next Age of Exploration > http://www.planetary.org/ > _______________________________________________ > http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users > > Community help: http://wiki.bestpractical.com > Commercial support: sales at bestpractical.com > > > Discover RT's hidden secrets with RT Essentials from O'Reilly Media. > Buy a copy at http://rtbook.bestpractical.com > > > We're hiring! Come hack Perl for Best Practical: http://bestpractical.com/about/jobs.html > -- From joela at umn.edu Mon Jun 12 15:45:11 2006 From: joela at umn.edu (Joel Peter Anderson) Date: Mon, 12 Jun 2006 14:45:11 -0500 (CDT) Subject: [rt-users] RT CLI comment problem In-Reply-To: <20060612193615.GX8022@bestpractical.com> References: <448D959B.1070904@metrocast.net> <448DB227.4080907@metrocast.net> <20060612193615.GX8022@bestpractical.com> Message-ID: I'm getting resistance to a pre-release; is there any way to resolve the issue in 3.4.5? > On Mon, Jun 12, 2006 at 01:58:28PM -0500, Joel Peter Anderson wrote: > > > > We're working on a transition from a system running RT 3.0.12 to 3.4.5 and > > I've run into a problem using the RT CLI - which is important to me > > because I've built a bunch of automation on top of the RT CLI commands. > > > > As far as I've tested, all the existing CLI functionality exists ... > > *EXCEPT* for adding comments. Any attempt add a comment with the CLI gets > > this terse response: > > This is fixed in RT 3.60pre3. > > > > > # Ticket comment does not exist. > > > > > > Even trying something as simple as this: > > > > rt comment -m test 144149 > > # Ticket comment does not exist. > > > > > > --- > > > > Is this a known problem? Is there a fix/workaround? Thanks. > > > > ------------------------------------------------- > > joel anderson * joela at umn.edu * 612-625-7389 > > --> pager: 612-648-6823 > > Be a part of the Next Age of Exploration > > http://www.planetary.org/ > > _______________________________________________ > > http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users > > > > Community help: http://wiki.bestpractical.com > > Commercial support: sales at bestpractical.com > > > > > > Discover RT's hidden secrets with RT Essentials from O'Reilly Media. > > Buy a copy at http://rtbook.bestpractical.com > > > > > > We're hiring! Come hack Perl for Best Practical: http://bestpractical.com/about/jobs.html > > > > -- > ------------------------------------------------- joel anderson * joela at umn.edu * 612-625-7389 --> pager: 612-648-6823 Be a part of the Next Age of Exploration http://www.planetary.org/ From bentlema at tdg.mobilephone.net Mon Jun 12 15:39:16 2006 From: bentlema at tdg.mobilephone.net (Mark A Bentley) Date: Mon, 12 Jun 2006 12:39:16 -0700 (PDT) Subject: [rt-users] Adding new system rights Message-ID: Hi all, I'm trying to add a new right as documented in Chapter 10 of "RT Essentials". We're running v3.4.5. So far I've added a lib/RT/Queue_Local.pm that looks like this: package RT::Queue; use strict; no warnings qw(redefine); $RIGHTS = { SeeOnDashboard => "bentlema is testing", %{$RIGHTS}, }; 1; I also added a Group_Local.pm that looks the same with the package name changed. I see the new right appear in the list, but when I try to grant that right to a group I get a result of "System error. Right not granted." Is there something else I have to do to add a new right? Thanks, Mark -- Mark A Bentley TPR Lab Systems Support Cingular Wireless - Redmond, WA Email: mark.a.bentley at cingular.com 425-702-3072 (desk) / 425-702-2826 (fax) From bbailey66 at metrocast.net Mon Jun 12 16:41:54 2006 From: bbailey66 at metrocast.net (Brent) Date: Mon, 12 Jun 2006 16:41:54 -0400 Subject: [rt-users] Rt3.012 help Message-ID: <448DD192.2080703@metrocast.net> -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Ive been given the task of migrating our ticketing system RT 3.0.12 running on solaris 9 w/ Apache/1.3.31 (Unix) PHP/4.3.9 mod_fastcgi/2.4.2 mod_ssl/2.8.19 OpenSSL/0.9.7d & mysql On the new server solaris 10 I already have Apache/2.0.58 (Unix) mod_ssl/2.0.58 OpenSSL/0.9.8a PHP/4.4.2 mod_fastcgi/2.4.2 mod_perl/2.0.2 Perl/v5.8.7 ive copied the database from the old server to the new server & copied the working dir of rt3 (/usr/local/rt3) to the new server but when i start apache up i get a ton of error messages none of which ive been able to resolve ..unless someone can help with the errors (BELOW) i see...if not... it looks as though im going to have to start from scratch ... So is there a good howto on installing rt3.0.12 or later on solaris 10 on apache 2.0.58 that i can follow ? please ? thank you Brent - --------------snip of errors------------------------ here are the errors i see in apache: [Mon Jun 12 16:37:33 2006] [warn] FastCGI: server "/usr/local/rt3/bin/mason_handler.fcgi" restarted (pid 21954) Can't locate Locale/Maketext/Lexicon.pm in @INC (@INC contains: /usr/local/rt3/local/lib /usr/local/rt3/lib /usr/local/lib/perl5/5.8.7/i86pc-solaris /usr/local/lib/perl5/5.8.7 /usr/local/lib/perl5/site_perl/5.8.7/i86pc-solaris /usr/local/lib/perl5/site_perl/5.8.7 /usr/local/lib/perl5/site_perl) at /usr/local/rt3/lib/RT/I18N.pm line 34. BEGIN failed--compilation aborted at /usr/local/rt3/lib/RT/I18N.pm line 34. Compilation failed in require at /usr/local/rt3/lib/RT.pm line 29. BEGIN failed--compilation aborted at /usr/local/rt3/lib/RT.pm line 29. Compilation failed in require at /usr/local/rt3/bin/webmux.pl line 42. BEGIN failed--compilation aborted at /usr/local/rt3/bin/webmux.pl line 42. Compilation failed in require at /dev/fd/3 line 28. [Mon Jun 12 16:37:33 2006] [warn] FastCGI: server "/usr/local/rt3/bin/mason_handler.fcgi" (pid 21954) terminated by calling exit with status '2' [Mon Jun 12 16:37:33 2006] [warn] FastCGI: server "/usr/local/rt3/bin/mason_handler.fcgi" has failed to remain running for 30 seconds given 3 attempts, its restart interval has been backed off to 600 seconds [Mon Jun 12 16:33:36 2006] [error] [client 65.175.128.10] FastCGI: incomplete headers (0 bytes) received from server "/usr/local/rt3/bin/mason_handler.fcgi", referer: https://x.x.x.x -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.6 (GNU/Linux) Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org iD8DBQFEjdGS4JTEfu1wem8RAt+xAKCcteh+Jzs0hStfU1aS2gyWcquqGQCeNJa4 DIDAtsc2JTvBuWuE1aDLG28= =43iO -----END PGP SIGNATURE----- From jfenner at vitamix.com Mon Jun 12 16:35:00 2006 From: jfenner at vitamix.com (Jason Fenner) Date: Mon, 12 Jun 2006 16:35:00 -0400 Subject: [rt-users] The "fsck.com-rt-" URI scheme In-Reply-To: <58B1112F0EEB7349AE14A0AA46F9CEC00137ABF8@szexchange.Shopzilla.inc> References: <58B1112F0EEB7349AE14A0AA46F9CEC00137ABF8@szexchange.Shopzilla.inc> Message-ID: <448DCFF4.9030906@vitamix.com> What is this URI used for in RT? How does RT use it? Philip Kime wrote: > I was more wondering how hard it would be to just default them to an > "rt" scheme since it would seem to make more sense for people who have > nothing to do with the fsck.com domain. Even RT has nothing to do with > the fsck.com domain now since I believe it was the author's personal > domain when it was first being developed. > > The at scheme is just "at", it would be nice for rt to be just "rt" > unless you really want a scheme prefix of something else which could be > a config file setting. > > As an exercise, I created an "rt" scheme and altered Record.pm, > Ticket_Overlay.pm and URI.pm but in 3.6 REST interface, the links still > come out as fsck.com-rt so I've either missed something or something's > in the DB. > > PK > > -----Original Message----- > From: Todd Chapman [mailto:todd at chaka.net] > Sent: 11 June 2006 15:47 > To: Philip Kime > Cc: RT users > Subject: Re: [rt-users] The "fsck.com-rt-" URI scheme > > All tickets should have fsck.com-rt schemes. Why would that be a > problem? > > -Todd > > On Sun, Jun 11, 2006 at 01:56:12PM -0700, Philip Kime wrote: > >> Will this URI scheme thing be continued in later versions of RT? I >> remember JV saying that it probably wouldn't. I'm wondering if it's >> worth bothering with generating patches to get rid of the hard-coded >> "fsck.com-rt-" scheme because I need to use a lot of REST calls making >> > > >> links etc. and every ticket like comes out as "fsck.com-rt-" ... >> >> PK >> >> -- >> Philip Kime >> NOPS Systems Architect >> 310 401 0407 >> >> > > >> _______________________________________________ >> http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users >> >> Community help: http://wiki.bestpractical.com Commercial support: >> sales at bestpractical.com >> >> >> Discover RT's hidden secrets with RT Essentials from O'Reilly Media. >> Buy a copy at http://rtbook.bestpractical.com >> >> >> We're hiring! Come hack Perl for Best Practical: >> http://bestpractical.com/about/jobs.html >> > _______________________________________________ > http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users > > Community help: http://wiki.bestpractical.com > Commercial support: sales at bestpractical.com > > > Discover RT's hidden secrets with RT Essentials from O'Reilly Media. > Buy a copy at http://rtbook.bestpractical.com > > > We're hiring! Come hack Perl for Best Practical: http://bestpractical.com/about/jobs.html > > From pkime at Shopzilla.com Mon Jun 12 16:53:14 2006 From: pkime at Shopzilla.com (Philip Kime) Date: Mon, 12 Jun 2006 13:53:14 -0700 Subject: [rt-users] The "fsck.com-rt-" URI scheme Message-ID: <58B1112F0EEB7349AE14A0AA46F9CEC00137ABFC@szexchange.Shopzilla.inc> Well I think it's supposed to allow you to have custom URI schemes so that you could, for example, have custom resolver code for a certain scheme that might even pull in data from external sources or do special things to certain Tickets etc. the default scheme for tickets results in URIs like this fsck.com-rt://$RT::Organization/ticket/ It's the "fsck.com-rt" part which is hard-coded in as the default. If you look in the DB table "Links", you'll see. I think that this scheme thing is very nice idea but I would have thought that the default would be better left at just "rt" so URIs would default to: rt://$RT::Organization/ticket/ But as JV has said - it might well break things for people to change this. I have played around a little and have worked out how to change the default without, so far, breaking anything as there are two ways of approaching this: * Create an "rt" scheme and make this the default for all new tickets. This doesn't seem to break anything since the "fsck.com-rt" scheme is still there, just not the default any more. * Create an "rt" scheme and go through the Links table in the DB and change all "fsck.com-rt" scheme links to "rt". Then remove the "fsck.com-rt" scheme. This would be tidier and I suspect it wouldn't break anything either. The issue would be, do you have any code/modifications which depend on "fsck.com-rt" being the default? I don't so I may move to an "rt" scheme wholesale. The patches to do this are simple and I can post them if there is any interest. PK -----Original Message----- From: Jason Fenner [mailto:jfenner at vitamix.com] Sent: 12 June 2006 13:35 To: Philip Kime Cc: Todd Chapman; RT users Subject: Re: [rt-users] The "fsck.com-rt-" URI scheme What is this URI used for in RT? How does RT use it? Philip Kime wrote: > I was more wondering how hard it would be to just default them to an > "rt" scheme since it would seem to make more sense for people who have > nothing to do with the fsck.com domain. Even RT has nothing to do with > the fsck.com domain now since I believe it was the author's personal > domain when it was first being developed. > > The at scheme is just "at", it would be nice for rt to be just "rt" > unless you really want a scheme prefix of something else which could > be a config file setting. > > As an exercise, I created an "rt" scheme and altered Record.pm, > Ticket_Overlay.pm and URI.pm but in 3.6 REST interface, the links > still come out as fsck.com-rt so I've either missed something or > something's in the DB. > > PK > > -----Original Message----- > From: Todd Chapman [mailto:todd at chaka.net] > Sent: 11 June 2006 15:47 > To: Philip Kime > Cc: RT users > Subject: Re: [rt-users] The "fsck.com-rt-" URI scheme > > All tickets should have fsck.com-rt schemes. Why would that be a > problem? > > -Todd > > On Sun, Jun 11, 2006 at 01:56:12PM -0700, Philip Kime wrote: > >> Will this URI scheme thing be continued in later versions of RT? I >> remember JV saying that it probably wouldn't. I'm wondering if it's >> worth bothering with generating patches to get rid of the hard-coded >> "fsck.com-rt-" scheme because I need to use a lot of REST calls >> making >> > > >> links etc. and every ticket like comes out as "fsck.com-rt-" ... >> >> PK >> >> -- >> Philip Kime >> NOPS Systems Architect >> 310 401 0407 >> >> > > >> _______________________________________________ >> http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users >> >> Community help: http://wiki.bestpractical.com Commercial support: >> sales at bestpractical.com >> >> >> Discover RT's hidden secrets with RT Essentials from O'Reilly Media. >> Buy a copy at http://rtbook.bestpractical.com >> >> >> We're hiring! Come hack Perl for Best Practical: >> http://bestpractical.com/about/jobs.html >> > _______________________________________________ > http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users > > Community help: http://wiki.bestpractical.com Commercial support: > sales at bestpractical.com > > > Discover RT's hidden secrets with RT Essentials from O'Reilly Media. > Buy a copy at http://rtbook.bestpractical.com > > > We're hiring! Come hack Perl for Best Practical: > http://bestpractical.com/about/jobs.html > > From dshannon at techfluent.com Mon Jun 12 17:00:10 2006 From: dshannon at techfluent.com (Duncan Shannon) Date: Mon, 12 Jun 2006 16:00:10 -0500 Subject: [rt-users] rt as secondary website Message-ID: <2B7B7880538AA440B5FBCE7A56E8CB452B4DD5@TF-FS2.internal.techfluent.com> > > I hope this makes enough sense to be understandable. I'm sure there's a Mmm... sort of. > way to do it. I'm just not versed with apache and WWW enough to know > how to proceed. > sounds like an apache thing, not an RT thing. I'd start with apache and virtual host configurations. Good luck, duncan From vadud3 at gmail.com Mon Jun 12 17:23:41 2006 From: vadud3 at gmail.com (Asif Iqbal) Date: Mon, 12 Jun 2006 17:23:41 -0400 Subject: [rt-users] Memory usage Message-ID: I noticed my http servers are taking a lot of memory per session. I have 11 http session running with each ones VSZ is between 500 to 700MB and RSS is between 220 to 350MB. Is this normal? I am using RT 3.4.5 with mod_perl-1.29 and apache_1.3.33 on Solaris 10 x86 in Sun Fire V20z with 4G real memory and 42G disk space for mysql 4.0.24data dir. Here is the InnoDB section of my my.cnf file looks like innodb_data_home_dir = /export/home/ibdata innodb_data_file_path = ibdata1:2000M;ibdata2:50M:autoextend innodb_log_group_home_dir = /export/home/ibdata innodb_log_arch_dir = /export/home/ibdata innodb_log_files_in_group = 2 innodb_buffer_pool_size = 1G innodb_additional_mem_pool_size = 20M innodb_log_file_size = 250M innodb_log_buffer_size = 8M innodb_flush_log_at_trx_commit = 1 innodb_lock_wait_timeout = 50 -- Asif Iqbal PGP Key: 0xE62693C5 KeyServer: pgp.mit.edu -------------- next part -------------- An HTML attachment was scrubbed... URL: From jesse at bestpractical.com Mon Jun 12 17:56:17 2006 From: jesse at bestpractical.com (Jesse Vincent) Date: Mon, 12 Jun 2006 17:56:17 -0400 Subject: [rt-users] The "fsck.com-rt-" URI scheme In-Reply-To: <58B1112F0EEB7349AE14A0AA46F9CEC00137ABFC@szexchange.Shopzilla.inc> References: <58B1112F0EEB7349AE14A0AA46F9CEC00137ABFC@szexchange.Shopzilla.inc> Message-ID: <20060612215617.GA8022@bestpractical.com> > It's the "fsck.com-rt" part which is hard-coded in as the default. If > you look in the DB table "Links", you'll see. I think that this scheme > thing is very nice idea but I would have thought that the default would > be better left at just "rt" so URIs would default to: > If you can get IANA to allocate Best Bractical the "rt:" URI scheme, I'll switch. ;) Best, Jesse From wchever at terracottatech.com Mon Jun 12 17:42:29 2006 From: wchever at terracottatech.com (Bill Chever) Date: Mon, 12 Jun 2006 14:42:29 -0700 Subject: [rt-users] custom field condition Message-ID: <002901c68e69$1b8996f0$5d00000a@wchevepc> Hi All: Using RT 3.4.5 I have a custom field for Severity of the issues submitted, and I want to have a cell phone paged in the event of a ticket being created with a Severity of Critical. Under Configuration->Global->Scrips, I have a scrip with the following attributes; Description: Page Support Condition: On Create Action: Notify Other Recipients Template: Global template: Page Cellphone Stage: Transaction Create My custom condition is; if ($self->TicketObj->FirstCustomFieldValue('Severity') eq "Critical") { return(1);} else { return(undef);} Every newly created ticket fires off the scrip regardless of what value my custom field contains. Can anyone see whatI am doing wrong? Thanks in advance! Bill Chever Product Support Manager Terracotta, Inc. +1.510.915.2425 -------------- next part -------------- An HTML attachment was scrubbed... URL: From wchever at terracottatech.com Mon Jun 12 18:57:45 2006 From: wchever at terracottatech.com (Bill Chever) Date: Mon, 12 Jun 2006 15:57:45 -0700 Subject: [rt-users] RE: custom field condition Message-ID: <002e01c68e73$9f51f6d0$5d00000a@wchevepc> Found it! I was using On Create and should have been using User Defined so the system would actually use the scrip. Doh! Thanks anyway! Bill -------------- next part -------------- An HTML attachment was scrubbed... URL: From lvanderf at internode.com.au Mon Jun 12 20:27:52 2006 From: lvanderf at internode.com.au (Luke Vanderfluit) Date: Tue, 13 Jun 2006 09:57:52 +0930 Subject: [rt-users] mysqldump refusing to finish In-Reply-To: <44860AB2.5050806@internode.com.au> References: <44860AB2.5050806@internode.com.au> Message-ID: <448E0688.30905@internode.com.au> Hi. Thanks for your help. The problem has been solved by adding the default character set directive. Kind regards. Luke. Luke Vanderfluit wrote: > Hi. > > I have a cron job that does a database backup for RT. > That backup is currently failing with the following error: > > mysqldump: Error 2020: Got packet bigger than 'max_allowed_packet' > bytes when dumping table `Attachments` at row: 1784599 > > My mysqldump command looks like this: > > /usr/local/mysql/bin/mysqldump --opt --skip-extended-insert > --skip-lock-tables --single-transaction --complete-insert > --max_allowed_packet=32M rt3 | bzip2 -9 > rt3.out-`date > +\%Y\%m\%d-\%H`.bz2 > > > I could increase the 'max_allowed_packet' setting. > I could add '--default-character-set=binary'. > > Would these help? > Does anyone have any other suggestions? > > Kind regards. > -- Luke Vanderfluit. Analyst/Programmer. Internode Systems Pty. Ltd. From pkime at Shopzilla.com Mon Jun 12 22:07:32 2006 From: pkime at Shopzilla.com (Philip Kime) Date: Mon, 12 Jun 2006 19:07:32 -0700 Subject: [rt-users] The "fsck.com-rt-" URI scheme Message-ID: <58B1112F0EEB7349AE14A0AA46F9CEC00137ABFD@szexchange.Shopzilla.inc> Seriously, though, have you tried? There are less interesting things on the list than rt:// http://www.iana.org/assignments/uri-schemes.html You could always push it as a general URI-enabled app bug reporting URI scheme that resolves to a ticket in some ticketing system. What ticketing system has no concept of a Ticket ID or number? PK -----Original Message----- From: Jesse Vincent [mailto:jesse at bestpractical.com] Sent: 12 June 2006 14:56 To: Philip Kime Cc: Jason Fenner; RT users Subject: Re: [rt-users] The "fsck.com-rt-" URI scheme > It's the "fsck.com-rt" part which is hard-coded in as the default. If > you look in the DB table "Links", you'll see. I think that this scheme > thing is very nice idea but I would have thought that the default > would be better left at just "rt" so URIs would default to: > If you can get IANA to allocate Best Bractical the "rt:" URI scheme, I'll switch. ;) Best, Jesse From todd at chaka.net Mon Jun 12 23:00:52 2006 From: todd at chaka.net (Todd Chapman) Date: Mon, 12 Jun 2006 23:00:52 -0400 Subject: [rt-users] RE: custom field condition In-Reply-To: <002e01c68e73$9f51f6d0$5d00000a@wchevepc> References: <002e01c68e73$9f51f6d0$5d00000a@wchevepc> Message-ID: <20060613030051.GK26200@chaka.net> Bill, You should also use "return;" instead of "return (undef);" because the later will evaluate to true if the scrip condition were to be called in a list context. See Perl Best Practices for more info. -Todd On Mon, Jun 12, 2006 at 03:57:45PM -0700, Bill Chever wrote: > Found it! I was using On Create and should have been using User Defined so the system would actually use the scrip. Doh! Thanks anyway! Bill > _______________________________________________ > http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users > > Community help: http://wiki.bestpractical.com > Commercial support: sales at bestpractical.com > > > Discover RT's hidden secrets with RT Essentials from O'Reilly Media. > Buy a copy at http://rtbook.bestpractical.com > > > We're hiring! Come hack Perl for Best Practical: http://bestpractical.com/about/jobs.html From wchever at terracottatech.com Mon Jun 12 23:01:26 2006 From: wchever at terracottatech.com (Bill Chever) Date: Mon, 12 Jun 2006 20:01:26 -0700 Subject: [rt-users] RE: custom field condition In-Reply-To: <20060613030051.GK26200@chaka.net> Message-ID: <000301c68e95$adcef290$1d00fe0a@wchevepc> Todd, Cool!, and gotcha. Thanks for the quick reply, Dude. (you know, I'm working in California.) -Bill -----Original Message----- From: Todd Chapman [mailto:todd at chaka.net] Sent: Monday, June 12, 2006 8:01 PM To: Bill Chever Cc: rt-users at lists.bestpractical.com Subject: Re: [rt-users] RE: custom field condition Bill, You should also use "return;" instead of "return (undef);" because the later will evaluate to true if the scrip condition were to be called in a list context. See Perl Best Practices for more info. -Todd On Mon, Jun 12, 2006 at 03:57:45PM -0700, Bill Chever wrote: > Found it! I was using On Create and should have been using User > Defined so the system would actually use the scrip. Doh! Thanks > anyway! Bill _______________________________________________ > http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users > > Community help: http://wiki.bestpractical.com Commercial support: > sales at bestpractical.com > > > Discover RT's hidden secrets with RT Essentials from O'Reilly Media. > Buy a copy at http://rtbook.bestpractical.com > > > We're hiring! Come hack Perl for Best Practical: > http://bestpractical.com/about/jobs.html From lvanderf at internode.com.au Mon Jun 12 23:06:50 2006 From: lvanderf at internode.com.au (Luke Vanderfluit) Date: Tue, 13 Jun 2006 12:36:50 +0930 Subject: [rt-users] differentiate tickets created by rt-mailgate Message-ID: <448E2BCA.90900@internode.com.au> Hi. I need to find out which tickets have been created by emails sent in to RT. I'm thiking maybe I can add an attribute value with rt-mailgate, haven't checked the API yet. Anyone know of a way to do this? Thanks. Kind regards. -- Luke Vanderfluit. Analyst/Programmer. Internode Systems Pty. Ltd. From glug2005 at lsd.za.com Tue Jun 13 05:58:44 2006 From: glug2005 at lsd.za.com (Stefan Lesicnik) Date: Tue, 13 Jun 2006 11:58:44 +0200 Subject: [rt-users] Persistent Sessions In-Reply-To: <1150128645.8584.342.camel@hex.latis.com> References: <448D8C44.1000201@lsd.za.com> <1150128645.8584.342.camel@hex.latis.com> Message-ID: <448E8C54.1000909@lsd.za.com> > Stefan - > Sounds like maybe a cookie issue? I had a similar problem at one > point, which turned out to be a combination of > * the presence of a couple of firefox settings and > * the absence of anything like a mind on my part. > > (I'm hoping the latter condition was temporary. :-) > > Under the "privacy" tab of Firefox's preferences dialogue, I had > set "allow sites to set cookies...UNLESS I have removed cookies set by > the site." During a troubleshooting session, I had explicitly removed a > cookie set by RT (because I thought I was getting a cached login.) > Because I had explicitly removed a cookie set by my RT site, firefox > wasn't setting any more cookies from them. Thus, I would get this > behavior (my actions parenthesized): > > 1. login page displayed > 2. (enter uname/pw) > 3. login to RT accepted, RT-at-a-glance page displayed > 4. (click on a ticket, say #1234) > 5. login page displayed > 6. (mutter, grumble, enter uname/pw) > 7. login to RT accepted, ticket #1234 displayed > 8. (click on basics) > 9. login page displayed > 10. (howl, curse, excessive keyboard abuse while entering uname/pw) > 11. login to RT accepted, basics for #1234 displayed > [ &etcetera ad frustratiam ] > > When I unset firefox's "unless I have removed cookies set by > this site" preference, the problem went away. > Heya, Thanks for the responses. I've had a look at the cookies. I receive a cookie from the server. Everything seems to be ok. So i don't think is cookie related. I also as per suggestion tried Opera which didn't make any difference, still just logs me out after choosing any menu item. Specifying ?user=username&pass=password in the url seemed to help, although its not a permanent fix. Further to test, i moved the server from mod_perl to mod_fastcgi and the same problem occurs. I also installed rt 3.4.4 and its the same problem. So i guess i'm pretty lost. Perhaps I will try move back a few apache version. Currently running Apache-2.0.55. If anyone has any other bright ideas, willing to try anything. I could possibly also arrange access to the machine if anyone feels like looking. Thanks Stefan From tmaciak at ci.grand-rapids.mi.us Tue Jun 13 08:19:44 2006 From: tmaciak at ci.grand-rapids.mi.us (tmaciak at ci.grand-rapids.mi.us) Date: Tue, 13 Jun 2006 08:19:44 -0400 Subject: [rt-users] Cookie Time/Session Limit? Message-ID: <"H0000c1a018c5038.1150201184.frozone1.grand-rapids.mi.us*"@MHS> Is there an easy way to change the cookie time/session limit? Currently cookies only last while the browser is still open. Is there any configuration inside RT that will make cookies last say A full week? Or do I have to change the actual code that sets the cookies? T.J. Maciak Internet/Intranet Developer Department of IT City of Grand Rapids P: (616)456-3713 F: (616)456-3448 -------------- next part -------------- An HTML attachment was scrubbed... URL: From Chris.Covington at plusone.com Tue Jun 13 08:51:43 2006 From: Chris.Covington at plusone.com (Covington, Chris) Date: Tue, 13 Jun 2006 08:51:43 -0400 Subject: [rt-users] Persistent Sessions Message-ID: I have had the same exact problem for about a month or so w/no resolution. RT 3.4.5, mysql (4.1.19 & 5.0.22), fastcgi, apache 2.0.54. As a workaround I switched to Apache auth rather than rt's cookie-based auth. --- Chris Covington IT Plus One Health Management 75 Maiden Lane Suite 801 NY, NY 10038 646-312-6269 http://www.plusoneactive.com From tsmith at loc.gov Tue Jun 13 09:09:05 2006 From: tsmith at loc.gov (Timothy Smith) Date: Tue, 13 Jun 2006 09:09:05 -0400 Subject: [rt-users] Custom fields populated with usernames Message-ID: Hello all. I'm building a couple of applications around Request Tracker and in both it would be very useful to have custom field values synced to the user database such that I could select an RT user from a particular group of users and store that user association with the ticket. Has anybody done this or can anyone think of a nice way of doing this? Thanks! Tim Smith tsmith at loc . gov Office of Compliance From todd at chaka.net Tue Jun 13 09:40:12 2006 From: todd at chaka.net (Todd Chapman) Date: Tue, 13 Jun 2006 09:40:12 -0400 Subject: [rt-users] Custom fields populated with usernames In-Reply-To: References: Message-ID: <20060613134012.GL26200@chaka.net> That is a feature of RT 3.8. If I get time I will be back porting it to 3.6. -Todd On Tue, Jun 13, 2006 at 09:09:05AM -0400, Timothy Smith wrote: > Hello all. I'm building a couple of applications around Request Tracker and in both it would be very useful to have custom field values synced to the user database such that I could select an RT user from a particular group of users and store that user association with the ticket. Has anybody done this or can anyone think of a nice way of doing this? > > Thanks! > Tim Smith > tsmith at loc . gov > Office of Compliance > _______________________________________________ > http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users > > Community help: http://wiki.bestpractical.com > Commercial support: sales at bestpractical.com > > > Discover RT's hidden secrets with RT Essentials from O'Reilly Media. > Buy a copy at http://rtbook.bestpractical.com > > > We're hiring! Come hack Perl for Best Practical: http://bestpractical.com/about/jobs.html From sturner at MIT.EDU Tue Jun 13 09:42:58 2006 From: sturner at MIT.EDU (Stephen Turner) Date: Tue, 13 Jun 2006 09:42:58 -0400 Subject: [rt-users] differentiate tickets created by rt-mailgate In-Reply-To: <448E2BCA.90900@internode.com.au> References: <448E2BCA.90900@internode.com.au> Message-ID: <6.2.3.4.2.20060613093929.037ae3b0@po14.mit.edu> At Monday 6/12/2006 11:06 PM, Luke Vanderfluit wrote: >Hi. > >I need to find out which tickets have been created by emails sent in to RT. >I'm thiking maybe I can add an attribute value with rt-mailgate, >haven't checked the API yet. >Anyone know of a way to do this? > >Thanks. >Kind regards. > We have a condition that goes in a scrip to determine this. The code assumes that if the first attachment on a create transaction has a 'Received' header, it's an email create. The code (from the condition) is something like this: my $msgattr = $self->TransactionObj->Message->First; if ( $msgattr and $msgattr->GetHeader('Received') ) { # It's an email creation } It seems to work OK. You could use this in a scrip to set a custom field or whatever. Steve From tsmith at loc.gov Tue Jun 13 09:55:33 2006 From: tsmith at loc.gov (Timothy Smith) Date: Tue, 13 Jun 2006 09:55:33 -0400 Subject: [rt-users] Custom fields populated with usernames Message-ID: >>> Todd Chapman 06/13/06 9:40 AM >>> > That is a feature of RT 3.8. If I get time I will be > back porting it to 3.6. Thanks! Unfortunately, I need this functionality within the next month. For this application, it probably won't be too hideous to keep them in sync manually. I'd still be interested in hearing if and how people have done this in the past. On a side note, I've started developing around 3.4.5. Is this a bad idea / will migrating to 3.6 now save me pain later? Thanks, Tim Smith tsmith at loc . gov Office of Compliance From rbowen at asbury.edu Tue Jun 13 09:51:37 2006 From: rbowen at asbury.edu (Rich Bowen) Date: Tue, 13 Jun 2006 09:51:37 -0400 Subject: [rt-users] Intermittent errors on advanced query Message-ID: <448EC2E9.6080008@asbury.edu> Getting the following, intermittently, on the advanced query page. Not consistently reproduceable. Any hints/pointers would be greatly appreciated. error: RT::Attribute::Name Unimplemented in RT::Attributes. (/usr/lib/perl5/vendor_perl/5.8.6/RT/Attributes_Overlay.pm line 81) context: ... 492: else { 493: my ( $package, $filename, $line ); 494: ( $package, $filename, $line ) = caller; 495: 496: die "$AUTOLOAD Unimplemented in $package. ($filename line $line) \n"; 497: } 498: 499: } 500: ... code stack: /usr/lib/perl5/vendor_perl/5.8.6/DBIx/SearchBuilder/Record.pm:496 /usr/lib/perl5/vendor_perl/5.8.6/RT/Attributes_Overlay.pm:81 /usr/lib/perl5/vendor_perl/5.8.6/RT/Attributes_Overlay.pm:73 /usr/lib/perl5/vendor_perl/5.8.6/RT/Attributes_Overlay.pm:88 /usr/lib/perl5/vendor_perl/5.8.6/RT/Attributes_Overlay.pm:119 /var/www/rt3/Search/Elements/SelectSearchesForObjects:58 /var/www/rt3/Search/Elements/EditSearches:75 /var/www/rt3/Search/Build.html:99 /var/www/rt3/autohandler:215 raw error -- Rich Bowen, '92 Web Database Programmer rbowen at asbury.edu From gian.sartor at worc.ox.ac.uk Tue Jun 13 10:21:26 2006 From: gian.sartor at worc.ox.ac.uk (Gian Sartor) Date: Tue, 13 Jun 2006 15:21:26 +0100 Subject: [rt-users] rt-mailgate not relpying to new tickets via email Message-ID: <448EC9E6.60207@worc.ox.ac.uk> Hello all, We are running RT 3.4, having recently upgraded from 3.3, on Debian testing. I noticed yesterday that the auto response emails to newly created tickets are not being sent out. Tickets are ending up in the correct queues, with the correct requester name, and in the ticket history, RT has a note saying that the email has been sent. Admin CC's of the relevant queues are receiving emails to say that a new ticket has come in. These lines appear in the log file: Jun 13 15:11:13 server RT: #3948/25217 - Scrip 2 Autoreply on Create (/usr/share/request-tracker3.4/lib/RT/Action/SendEmail.pm:237) Jun 13 15:11:13 server postfix/sendmail[26477]: fatal: No recipient addresses found in message header Jun 13 15:11:14 server RT: About to think about scrips for transaction #25218 Jun 13 15:11:14 server RT: sent To: client at client.com Cc: Bc c: (/usr/share/request-tracker3.4/lib/RT/Action/SendEmail.pm:297) While searching for answers, the only thing I have found that relates to my problem is that I am missing the "-t" option from the script that reads the header. I assumed that this would be in rt-mailgate (but I am new to RT and am likely to be wrong) and it is not there. Can anyone help / point me in the right direction? Gian From ESchultz at corp.untd.com Tue Jun 13 11:20:44 2006 From: ESchultz at corp.untd.com (Schultz, Eric) Date: Tue, 13 Jun 2006 08:20:44 -0700 Subject: [rt-users] differentiate tickets created by rt-mailgate Message-ID: <5613F89D78D2F545A40423EBA5535C300FEE15B5@LAXEVS01.lax.corp.int.untd.com> Originally, there was a page at http://wiki.bestpractical.com/index.cgi?IsReplyEmailOrWeb that described this, but it appears to be gone now. You can do this in your scrips, and here is the code: ----------------------------------------------- # Get the message attachment my $msgattr = $self->TransactionObj->Attachments->First; return 0 if (!$msgattr); # if no message attachment - assume web UI return 0 if (!$msgattr->GetHeader('Received')); # exit if not email message ----------------------------------------------- If you make it past those two lines, it must be an email message. I've used this successfully on a few of my queues. Eric Schultz United Online -----Original Message----- From: rt-users-bounces at lists.bestpractical.com [mailto:rt-users-bounces at lists.bestpractical.com] On Behalf Of Luke Vanderfluit Sent: Monday, June 12, 2006 8:07 PM To: rt-users at lists.bestpractical.com Subject: [rt-users] differentiate tickets created by rt-mailgate Hi. I need to find out which tickets have been created by emails sent in to RT. I'm thiking maybe I can add an attribute value with rt-mailgate, haven't checked the API yet. Anyone know of a way to do this? Thanks. Kind regards. -- Luke Vanderfluit. Analyst/Programmer. Internode Systems Pty. Ltd. _______________________________________________ http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users Community help: http://wiki.bestpractical.com Commercial support: sales at bestpractical.com Discover RT's hidden secrets with RT Essentials from O'Reilly Media. Buy a copy at http://rtbook.bestpractical.com We're hiring! Come hack Perl for Best Practical: http://bestpractical.com/about/jobs.html From jcolson at voidgate.org Tue Jun 13 11:30:35 2006 From: jcolson at voidgate.org (Joshua Colson) Date: Tue, 13 Jun 2006 08:30:35 -0700 Subject: [rt-users] Persistent Sessions In-Reply-To: <448D8C44.1000201@lsd.za.com> References: <448D8C44.1000201@lsd.za.com> Message-ID: <1150212635.6512.11.camel@s60r.ination.com> On Mon, 2006-06-12 at 17:46 +0200, Stefan Lesicnik wrote: > Hi Guys, > > I hope someone can help me. I have two computers both running Gentoo > Linux, PHP 5.1.2 / 5.1.4, perl 5.8.8, perl fcgi 0.67 and RT 3.4.5. > > The one machine is using perl, the other using fastcgi. I am > experiencing pretty much the same problem on both machines. I log into > the system fine, and when I click on a menu option, i get returned to > the login page. I have tried this both from Mozilla Firefox and IE. Are you using a proxy server? If so, try removing the proxy settings temporarily (assuming you can) and see if the problem persists. I (like many others) had this problem also and searches of the archives all seemed to indicate a cookies problem. I had the browser configured to accept cookies from the sites that I allowed but it still didn't work. I later found that I was using a proxy server (privoxy, a.k.a. Internet Junk Buster) that was passing the cookies to me but not back to the site or something like that. Good luck. -- Joshua Colson From ESchultz at corp.untd.com Tue Jun 13 11:34:52 2006 From: ESchultz at corp.untd.com (Schultz, Eric) Date: Tue, 13 Jun 2006 08:34:52 -0700 Subject: [rt-users] Persistent Sessions Message-ID: <5613F89D78D2F545A40423EBA5535C300FEE15D2@LAXEVS01.lax.corp.int.untd.com> Could this also be the trailing slash problem that has been talked about a lot on the boards lately? That is, your webserver is configured to have a slash at the end, but not RT_SiteConfig.pm, or vice versa? Eric Schultz United Online -----Original Message----- From: rt-users-bounces at lists.bestpractical.com [mailto:rt-users-bounces at lists.bestpractical.com] On Behalf Of Joshua Colson Sent: Tuesday, June 13, 2006 8:31 AM To: Stefan Lesicnik Cc: rt-users at lists.bestpractical.com Subject: Re: [rt-users] Persistent Sessions On Mon, 2006-06-12 at 17:46 +0200, Stefan Lesicnik wrote: > Hi Guys, > > I hope someone can help me. I have two computers both running Gentoo > Linux, PHP 5.1.2 / 5.1.4, perl 5.8.8, perl fcgi 0.67 and RT 3.4.5. > > The one machine is using perl, the other using fastcgi. I am > experiencing pretty much the same problem on both machines. I log into > the system fine, and when I click on a menu option, i get returned to > the login page. I have tried this both from Mozilla Firefox and IE. Are you using a proxy server? If so, try removing the proxy settings temporarily (assuming you can) and see if the problem persists. I (like many others) had this problem also and searches of the archives all seemed to indicate a cookies problem. I had the browser configured to accept cookies from the sites that I allowed but it still didn't work. I later found that I was using a proxy server (privoxy, a.k.a. Internet Junk Buster) that was passing the cookies to me but not back to the site or something like that. Good luck. -- Joshua Colson _______________________________________________ http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users Community help: http://wiki.bestpractical.com Commercial support: sales at bestpractical.com Discover RT's hidden secrets with RT Essentials from O'Reilly Media. Buy a copy at http://rtbook.bestpractical.com We're hiring! Come hack Perl for Best Practical: http://bestpractical.com/about/jobs.html From khascall at midway.uchicago.edu Tue Jun 13 12:42:28 2006 From: khascall at midway.uchicago.edu (Kaylea Hascall) Date: Tue, 13 Jun 2006 11:42:28 -0500 Subject: [rt-users] troubleshooting "login" problem Message-ID: <200606131642.k5DGgSKR024755@harper.uchicago.edu> Hello all -- Once upon a time, I had a working RT install. But over the last few days, I've been trying to install some new applications on the same server where I run RT (tomcat stuff), and so I've been running the package manager in a fairly profligate manner. I seem to have broken RT -- however, I don't know how (or precisely when). Famous last words, I know. Since my last known good installation, I've updated a lot of perl modules -- so my only idea is that I've upgraded a perl module that I shouldn't have...the question is which one. I can't find any enlightenment in the logs. Maybe there's a debug mode I need to turn on? Here are my symptoms: The login page shows up, but if you try to log in, Firefox bumps you straight back to the login page with no error. Safari gives a 'no such url' error. The password I'm using is correct (I tried resetting it via the wiki instructions to a known encrypted password) -- the wrong password doesn't give any different response. The password in RT_SiteConfig.pm is correct, too. In the apache2 logs, I can see a single GET request, for /rt/, which is correct, but that's it. The http error_log doesn't have any errors in it. The mysql.log and syslog have a bunch of entries which show that RT is still working -- taking in reports, sending out mail, etc. It's like it's not completing the login process, but rather getting hung up in the perl somewhere before it hits the database or web server. I looked at /opt/rt3/var/log, but it's empty. I re-ran the testdeps rt script, and it didn't have any complaints. Here is my environment: Gentoo RT3.4.5 Apache2 ModPerl2 Perl 5.8.7 Any thoughts about where the problem might lie? Tips about how to trace the process through the perl so I can see which module is at fault and downgrade it? Thanks! -Kaylea ------------------ Kaylea Hascall (773) 834-4117 or khascall at uchicago.edu Technology & Scholarly Computing http://nsit.uchicago.edu/academic Assistant Director: Academic Technologies NSIT, University of Chicago From mag at caravan.ru Tue Jun 13 13:01:31 2006 From: mag at caravan.ru (Alexey G Misyurenko) Date: Tue, 13 Jun 2006 21:01:31 +0400 Subject: [rt-users] Per Queue custom field Message-ID: <448EEF6B.1050203@caravan.ru> Hello! Can some body provide information what will be done if I'il try to move ticked from queue there are custom filed exist to another queue, there are no this one custom filed? (rt 3.6.0rc3) From jcolson at voidgate.org Tue Jun 13 13:10:14 2006 From: jcolson at voidgate.org (Joshua Colson) Date: Tue, 13 Jun 2006 10:10:14 -0700 Subject: [rt-users] Per Queue custom field In-Reply-To: <448EEF6B.1050203@caravan.ru> References: <448EEF6B.1050203@caravan.ru> Message-ID: <1150218614.6512.22.camel@s60r.ination.com> On Tue, 2006-06-13 at 21:01 +0400, Alexey G Misyurenko wrote: > Hello! > > Can some body provide information what will be done if > I'il try to move ticked from queue there are custom filed exist to > another queue, there are no this one custom filed? Nothing. The custom field will not be displayed because it is not defined in the new queue. However, custom field values are stored by value, not by reference, so if you move the ticket back to the original queue the custom fields will remain intact. HTH -- Joshua Colson From todd at chaka.net Tue Jun 13 13:35:01 2006 From: todd at chaka.net (Todd Chapman) Date: Tue, 13 Jun 2006 13:35:01 -0400 Subject: [rt-users] Custom fields populated with usernames In-Reply-To: References: Message-ID: <20060613173501.GM26200@chaka.net> On Tue, Jun 13, 2006 at 09:55:33AM -0400, Timothy Smith wrote: > >>> Todd Chapman 06/13/06 9:40 AM >>> > > That is a feature of RT 3.8. If I get time I will be > > back porting it to 3.6. > > Thanks! > Unfortunately, I need this functionality within the next month. For this application, it probably won't be too hideous to keep them in sync manually. I'd still be interested in hearing if and how people have done this in the past. You could write a Perl script that populates the CF once a day. > > On a side note, I've started developing around 3.4.5. Is this a bad idea / will migrating to 3.6 now save me pain later? Depends on what you are doing, but most stuff should transfer over with little or no work. > > Thanks, > Tim Smith > tsmith at loc . gov > Office of Compliance > > _______________________________________________ > http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users > > Community help: http://wiki.bestpractical.com > Commercial support: sales at bestpractical.com > > > Discover RT's hidden secrets with RT Essentials from O'Reilly Media. > Buy a copy at http://rtbook.bestpractical.com > > > We're hiring! Come hack Perl for Best Practical: http://bestpractical.com/about/jobs.html From klusk at brit.com Tue Jun 13 13:59:44 2006 From: klusk at brit.com (Kristopher Lusk) Date: Tue, 13 Jun 2006 12:59:44 -0500 Subject: [rt-users] User Comments \ Customer comments Message-ID: <20060613175947.C8C8CA3AE9@mail.brit.com> Hello List, Does anyone know if it is possible to color code - or differentiate in some way - comments on a ticket (change text color, cell background color)? If so, please explain. What I am attempting to accomplish is to make it easier to see which comments are our Customers' comments and which comments are our own (in-house) comments. This would be beneficial if, for instance, someone was scrolling through a particularly long ticket and only wanted to see what the customer was saying. Does RT allow for customizing the web interface like this? Your help would be greatly appreciated. RT 3.2.2 Debian Thank You, Kris -------------- next part -------------- An HTML attachment was scrubbed... URL: From ocraig at stillsecure.com Tue Jun 13 14:27:12 2006 From: ocraig at stillsecure.com (Ole Craig) Date: Tue, 13 Jun 2006 12:27:12 -0600 Subject: [rt-users] interoperation with Seibel? Message-ID: <1150223232.8584.486.camel@hex.latis.com> Is anyone successfully using RT to interoperate with Seibel? Would you be willing to share your experiences, particularly any tricks that made such an arrangement easier? We are in the preliminary phases of arranging a partnership with a hardware manufacturer who will OEM our software, and I've just discovered that the contract mentions that we will use ther Seibel system to manage support issues. Since we're rolling out RT this is rather dismaying; I don't want our team to have to spend part of their day cutting/pasting information between two ticketing systems. (I thought the whole point of using computers was to *reduce* mindless repetitive tasks...) Thanks for any thoughts you can provide, Ole -- /Ole Craig Security Engineer 303-381-3802 (main support hotline) 303-381-3824 (my direct line) 303-381-3801 (fax) www.stillsecure.com . . . From joela at umn.edu Tue Jun 13 16:04:03 2006 From: joela at umn.edu (Joel Peter Anderson) Date: Tue, 13 Jun 2006 15:04:03 -0500 (CDT) Subject: [rt-users] RT CLI comment problem In-Reply-To: References: <448D959B.1070904@metrocast.net> <448DB227.4080907@metrocast.net> <20060612193615.GX8022@bestpractical.com> Message-ID: As noted - we cannot move to the pre-release; how soon is the official 3.6? And - again, does anyone have a work-around (other than RT 3.60pre3.) > I'm getting resistance to a pre-release; is there any way to resolve the > issue in 3.4.5? > > > On Mon, Jun 12, 2006 at 01:58:28PM -0500, Joel Peter Anderson wrote: > > > > > > We're working on a transition from a system running RT 3.0.12 to 3.4.5 and > > > I've run into a problem using the RT CLI - which is important to me > > > because I've built a bunch of automation on top of the RT CLI commands. > > > > > > As far as I've tested, all the existing CLI functionality exists ... > > > *EXCEPT* for adding comments. Any attempt add a comment with the CLI gets > > > this terse response: > > > > This is fixed in RT 3.60pre3. > > > > > > > > # Ticket comment does not exist. > > > > > > > > > Even trying something as simple as this: > > > > > > rt comment -m test 144149 > > > # Ticket comment does not exist. ------------------------------------------------- joel anderson * joela at umn.edu * 612-625-7389 --> pager: 612-648-6823 Be a part of the Next Age of Exploration http://www.planetary.org/ From justin at jfindlay.us Tue Jun 13 16:19:54 2006 From: justin at jfindlay.us (Justin R Findlay) Date: Tue, 13 Jun 2006 14:19:54 -0600 Subject: [rt-users] rt as secondary website In-Reply-To: <2B7B7880538AA440B5FBCE7A56E8CB452B4DD5@TF-FS2.internal.techfluent.com> References: <2B7B7880538AA440B5FBCE7A56E8CB452B4DD5@TF-FS2.internal.techfluent.com> Message-ID: <20060613201954.GC12441@jfindlay.us> On Mon, Jun 12, 2006 at 04:00:10PM -0500, Duncan Shannon wrote: > > sounds like an apache thing, not an RT thing. I'd start with apache and > virtual host configurations. So is it not possible to run RT from http://www.example.com/rt/? I thought I configured the RT_Siteconfig.pm file correctly but now I realize I have no idea what $rtname, $WebPath, and $WebBaseURL mean. Any direction or suggestions would be welcome at this point. Justin From bobg at uic.edu Tue Jun 13 20:49:09 2006 From: bobg at uic.edu (Bob Goldstein) Date: Tue, 13 Jun 2006 19:49:09 -0500 Subject: [rt-users] rt as secondary website In-Reply-To: Your message of "Tue, 13 Jun 2006 14:19:54 MDT." <20060613201954.GC12441@jfindlay.us> Message-ID: <200606140049.k5E0n943029229@remora.cc.uic.edu> >On Mon, Jun 12, 2006 at 04:00:10PM -0500, Duncan Shannon wrote: >> >> sounds like an apache thing, not an RT thing. I'd start with apache and >> virtual host configurations. > >So is it not possible to run RT from http://www.example.com/rt/? What do you mean? You configure apache to connect certain urls to scripts (usually fcgi or mod_perl) that run rt. But you can certainly connect other urls to other files or scripts that are unrelated to rt. As an example, I do this: ScriptAlias /accc /usr/local/rt/production/bin/mason_handler_accc.fcgi And that connects the url http://example.com/accc to the script mason_handler_accc.fcgi Other urls can do other things. bobg > >I thought I configured the RT_Siteconfig.pm file correctly but now I >realize I have no idea what $rtname, $WebPath, and $WebBaseURL mean. > >Any direction or suggestions would be welcome at this point. > > >Justin >_______________________________________________ >http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users > >Community help: http://wiki.bestpractical.com >Commercial support: sales at bestpractical.com > > >Discover RT's hidden secrets with RT Essentials from O'Reilly Media. >Buy a copy at http://rtbook.bestpractical.com > > >We're hiring! Come hack Perl for Best Practical: http://bestpractical.com/abou >t/jobs.html > From dsmithson at activsupport.com Tue Jun 13 20:55:36 2006 From: dsmithson at activsupport.com (David Smithson) Date: Tue, 13 Jun 2006 17:55:36 -0700 Subject: [rt-users] rt as secondary website Message-ID: Hi all. Just wondering if any of you have developed a canned Scrip that does this: * OnCreate, checks the domain name of the sender to pattern match against queue names * Moves the ticket to the appropriate Queue, based on match, else stays in general queue I realize the pattern match part is the hardest part and I have purposely left it ambiguous. Has anyone else sought this kind of behavior? How do others of you handle ticketing based on company account? I have also seen that I can create a custom field and call it "Company Name" or something, and that each ticket could be manually assigned to the right company name. David Smithson ________________________________ ActivSupport, Inc. Your Flexible IT Partner Microsoft Gold Partner -- Small Business Specialist http://www.activsupport.com Director of Technical Services Direct: (415) 869 2991 ________________________________ Technical Support Hotline: (415) 979 9285 CLICK HERE FOR ONLINE SUPPORT From dsmithson at activsupport.com Tue Jun 13 20:57:46 2006 From: dsmithson at activsupport.com (David Smithson) Date: Tue, 13 Jun 2006 17:57:46 -0700 Subject: [rt-users] rt as secondary website Message-ID: Oops! Sorry man, I forgot to rewrite the subject. This is not related to this thread. I'll repost. David Smithson ________________________________ CLICK HERE FOR ONLINE SUPPORT -----Original Message----- From: rt-users-bounces at lists.bestpractical.com [mailto:rt-users-bounces at lists.bestpractical.com] On Behalf Of David Smithson Sent: Tuesday, June 13, 2006 5:56 PM To: rt-users at lists.bestpractical.com Subject: RE: [rt-users] rt as secondary website Hi all. Just wondering if any of you have developed a canned Scrip that does this: * OnCreate, checks the domain name of the sender to pattern match against queue names * Moves the ticket to the appropriate Queue, based on match, else stays in general queue I realize the pattern match part is the hardest part and I have purposely left it ambiguous. Has anyone else sought this kind of behavior? How do others of you handle ticketing based on company account? I have also seen that I can create a custom field and call it "Company Name" or something, and that each ticket could be manually assigned to the right company name. David Smithson ________________________________ ActivSupport, Inc. Your Flexible IT Partner Microsoft Gold Partner -- Small Business Specialist http://www.activsupport.com Director of Technical Services Direct: (415) 869 2991 ________________________________ Technical Support Hotline: (415) 979 9285 CLICK HERE FOR ONLINE SUPPORT _______________________________________________ http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users Community help: http://wiki.bestpractical.com Commercial support: sales at bestpractical.com Discover RT's hidden secrets with RT Essentials from O'Reilly Media. Buy a copy at http://rtbook.bestpractical.com We're hiring! Come hack Perl for Best Practical: http://bestpractical.com/about/jobs.html From dsmithson at activsupport.com Tue Jun 13 20:58:48 2006 From: dsmithson at activsupport.com (David Smithson) Date: Tue, 13 Jun 2006 17:58:48 -0700 Subject: [rt-users] re-queueing based on sending domain Message-ID: Hi all. Just wondering if any of you have developed a canned Scrip that does this: * OnCreate, checks the domain name of the sender to pattern match against queue names * Moves the ticket to the appropriate Queue, based on match, else stays in general queue I realize the pattern match part is the hardest part and I have purposely left it ambiguous. Has anyone else sought this kind of behavior? How do others of you handle ticketing based on company account? I have also seen that I can create a custom field and call it "Company Name" or something, and that each ticket could be manually assigned to the right company name. David Smithson ________________________________ ActivSupport, Inc. Your Flexible IT Partner Microsoft Gold Partner -- Small Business Specialist http://www.activsupport.com Director of Technical Services Direct: (415) 869 2991 From dsmithson at activsupport.com Tue Jun 13 22:15:08 2006 From: dsmithson at activsupport.com (David Smithson) Date: Tue, 13 Jun 2006 19:15:08 -0700 Subject: [rt-users] re-queueing based on sending domain Message-ID: Aha! Patrick, I hadn't thought of that. That's a good idea, although it does add some complexity on the administrative side of things, because we'd have to add a procmail rule each time we create a new queue. Sounds like the best route though, since there would be no mistake about which domainname belongs to which queue. David Smithson ________________________________ CLICK HERE FOR ONLINE SUPPORT -----Original Message----- From: rt-users-bounces at lists.bestpractical.com [mailto:rt-users-bounces at lists.bestpractical.com] On Behalf Of David Smithson Sent: Tuesday, June 13, 2006 5:59 PM To: rt-users at lists.bestpractical.com Subject: [rt-users] re-queueing based on sending domain Hi all. Just wondering if any of you have developed a canned Scrip that does this: * OnCreate, checks the domain name of the sender to pattern match against queue names * Moves the ticket to the appropriate Queue, based on match, else stays in general queue I realize the pattern match part is the hardest part and I have purposely left it ambiguous. Has anyone else sought this kind of behavior? How do others of you handle ticketing based on company account? I have also seen that I can create a custom field and call it "Company Name" or something, and that each ticket could be manually assigned to the right company name. David Smithson ________________________________ ActivSupport, Inc. Your Flexible IT Partner Microsoft Gold Partner -- Small Business Specialist http://www.activsupport.com Director of Technical Services Direct: (415) 869 2991 _______________________________________________ http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users Community help: http://wiki.bestpractical.com Commercial support: sales at bestpractical.com Discover RT's hidden secrets with RT Essentials from O'Reilly Media. Buy a copy at http://rtbook.bestpractical.com We're hiring! Come hack Perl for Best Practical: http://bestpractical.com/about/jobs.html From dsmithson at activsupport.com Tue Jun 13 22:22:51 2006 From: dsmithson at activsupport.com (David Smithson) Date: Tue, 13 Jun 2006 19:22:51 -0700 Subject: [rt-users] best practice - number of queues Message-ID: What are best practices for the number of queues that RT should have or can handle without noticeably degrading page refreshes? To give you some background to this question: I have read through _RT Essentials_. In the first few chapters, it is mentioned that from an administrative standpoint it is best to have as few queues as needed. When considering the scenario where the request tracker wants to keep track of tickets by customer, is it best to?: * Create a queue for each customer * Create a custom field called 'Customers' * Just generate reports for the billing department based on sending domain Any other options? David Smithson ________________________________ ActivSupport, Inc. Your Flexible IT Partner Microsoft Gold Partner -- Small Business Specialist http://www.activsupport.com Director of Technical Services Direct: (415) 869 2991 From vadud3 at gmail.com Tue Jun 13 23:42:03 2006 From: vadud3 at gmail.com (Asif Iqbal) Date: Tue, 13 Jun 2006 23:42:03 -0400 Subject: [rt-users] Re: Memory usage In-Reply-To: References: Message-ID: I noiced I am using DBIx::SearchBuilder 1.40. Should I be able to upgrade it using CPAN or do I need to upgrade RT as well? I am using RT 3.4.5 On 6/12/06, Asif Iqbal wrote: > > I noticed my http servers are taking a lot of memory per session. I have > 11 http session running with each ones VSZ is between 500 to 700MB and RSS > is between 220 to 350MB. Is this normal? > > I am using RT 3.4.5 with mod_perl- 1.29 and apache_1.3.33 on Solaris 10 > x86 in Sun Fire V20z with 4G real memory and 42G disk space for mysql > 4.0.24 data dir. Here is the InnoDB section of my my.cnf file looks like > > innodb_data_home_dir = /export/home/ibdata > innodb_data_file_path = ibdata1:2000M;ibdata2:50M:autoextend > innodb_log_group_home_dir = /export/home/ibdata > innodb_log_arch_dir = /export/home/ibdata > innodb_log_files_in_group = 2 > innodb_buffer_pool_size = 1G > innodb_additional_mem_pool_size = 20M > innodb_log_file_size = 250M > innodb_log_buffer_size = 8M > innodb_flush_log_at_trx_commit = 1 > innodb_lock_wait_timeout = 50 > > > > -- > Asif Iqbal > PGP Key: 0xE62693C5 KeyServer: pgp.mit.edu > > > -- Asif Iqbal PGP Key: 0xE62693C5 KeyServer: pgp.mit.edu -------------- next part -------------- An HTML attachment was scrubbed... URL: From lvanderf at internode.com.au Wed Jun 14 00:04:44 2006 From: lvanderf at internode.com.au (Luke Vanderfluit) Date: Wed, 14 Jun 2006 13:34:44 +0930 Subject: [rt-users] differentiate tickets created by rt-mailgate In-Reply-To: <6.2.3.4.2.20060613093929.037ae3b0@po14.mit.edu> References: <448E2BCA.90900@internode.com.au> <6.2.3.4.2.20060613093929.037ae3b0@po14.mit.edu> Message-ID: <448F8ADC.6080903@internode.com.au> Hi Stephen & Eric & all. > At Monday 6/12/2006 11:06 PM, Luke Vanderfluit wrote: > >> Hi. >> >> I need to find out which tickets have been created by emails sent in >> to RT. >> I'm thiking maybe I can add an attribute value with rt-mailgate, >> haven't checked the API yet. >> Anyone know of a way to do this? >> >> Thanks. >> Kind regards. >> > > We have a condition that goes in a scrip to determine this. The code > assumes that if the first attachment on a create transaction has a > 'Received' header, it's an email create. The code (from the condition) > is something like this: > > my $msgattr = $self->TransactionObj->Message->First; > if ( $msgattr and $msgattr->GetHeader('Received') ) { > # It's an email creation > } > > It seems to work OK. You could use this in a scrip to set a custom > field or whatever. > The page in the bestpractical wiki is now: http://wiki.bestpractical.com/index.cgi?OnWebCorrespond This was very helpful. When a ticket is created via email, I set the 'TimeLeft' field, which is otherwise unused in our organisation, to '1' as a flag to later test on. First I disable the default Autoreply to the queue in question (Accounts) by modifying the default Autoreply on creation script, modifying its condition: /~~~~~~~~~~~~ if ( $self->TransactionObj->Type eq "Create" ) { if ( $self->TicketObj->QueueObj->Name eq 'Accounts' ) { return 0; } return 1; } \____________ Then I create a scrip in the 'Accounts' queue that has a user-defined condition for 'autoreply to requestors'. This is where I do the work on setting the 'TimeLeft' field: /~~~~~~~~~ my $trans = $self->TransactionObj; # OnCreate: return 0 unless $trans->Type eq "Create"; # Get the message attachment my $msgattr = $trans->Message->First; return 1 unless $msgattr; # no message attachment - assume web UI if ($msgattr->GetHeader('Received')) { $self->TicketObj->__Set( Field => 'TimeLeft', Value => 1); return 1; } return 1; \__________ Thanks. Kind regards. -- Luke Vanderfluit. Analyst/Programmer. Internode Systems Pty. Ltd. From vadud3 at gmail.com Wed Jun 14 00:11:41 2006 From: vadud3 at gmail.com (Asif Iqbal) Date: Wed, 14 Jun 2006 00:11:41 -0400 Subject: [rt-users] Re: Some of the tables are MyISAM In-Reply-To: References: Message-ID: Still wondering if I could convert all the tables that are still MyISAM to InnoDB. I am using RT 3.4.5 with MySQL 4.0.24 On 5/29/06, Asif Iqbal wrote: > > I noticed some of the rt3 database tables are MyISAM. Is it ok if I can > convert them to InnoDB as well without breaking the RT? I am using version > RT 3.4(?) with MySQL 4.0.20(?). > > -- > Asif Iqbal > PGP Key: 0xE62693C5 KeyServer: pgp.mit.edu > > > -- Asif Iqbal PGP Key: 0xE62693C5 KeyServer: pgp.mit.edu -------------- next part -------------- An HTML attachment was scrubbed... URL: From msnyder at servervault.com Wed Jun 14 06:22:57 2006 From: msnyder at servervault.com (Mathew Snyder) Date: Wed, 14 Jun 2006 06:22:57 -0400 Subject: [rt-users] RT CLI comment problem In-Reply-To: References: <448D959B.1070904@metrocast.net> <448DB227.4080907@metrocast.net> <20060612193615.GX8022@bestpractical.com> Message-ID: <448FE381.5070504@servervault.com> Yes please. When do you anticipate 3.6 going stable. I've been working on a project for the last two months trying to get an upgrade in place and just found out that they don't want me using 3.6.0rc3 because it is 'beta'. As much work as I've put into this I would love to continue with this version before I have to revert to 3.4.5. Mathew Snyder Systems Administrator Network+ ServerVault TechOps Joel Peter Anderson wrote: > As noted - we cannot move to the pre-release; how soon is the official > 3.6? And - again, does anyone have a work-around (other than RT > 3.60pre3.) > >> I'm getting resistance to a pre-release; is there any way to resolve the >> issue in 3.4.5? >> >>> On Mon, Jun 12, 2006 at 01:58:28PM -0500, Joel Peter Anderson wrote: >>>> We're working on a transition from a system running RT 3.0.12 to 3.4.5 and >>>> I've run into a problem using the RT CLI - which is important to me >>>> because I've built a bunch of automation on top of the RT CLI commands. >>>> >>>> As far as I've tested, all the existing CLI functionality exists ... >>>> *EXCEPT* for adding comments. Any attempt add a comment with the CLI gets >>>> this terse response: >>> This is fixed in RT 3.60pre3. >>> >>>> # Ticket comment does not exist. >>>> >>>> >>>> Even trying something as simple as this: >>>> >>>> rt comment -m test 144149 >>>> # Ticket comment does not exist. > > > ------------------------------------------------- > joel anderson * joela at umn.edu * 612-625-7389 > --> pager: 612-648-6823 > Be a part of the Next Age of Exploration > http://www.planetary.org/ > _______________________________________________ > http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users > > Community help: http://wiki.bestpractical.com > Commercial support: sales at bestpractical.com > > > Discover RT's hidden secrets with RT Essentials from O'Reilly Media. > Buy a copy at http://rtbook.bestpractical.com > > > We're hiring! Come hack Perl for Best Practical: http://bestpractical.com/about/jobs.html > From ruslan.zakirov at gmail.com Wed Jun 14 06:50:35 2006 From: ruslan.zakirov at gmail.com (Ruslan Zakirov) Date: Wed, 14 Jun 2006 14:50:35 +0400 Subject: [rt-users] Re: Some of the tables are MyISAM In-Reply-To: References: Message-ID: <589c94400606140350t2ec0912fx33bc04fc888ffd72@mail.gmail.com> Yes, you can. On 6/14/06, Asif Iqbal wrote: > Still wondering if I could convert all the tables that are still MyISAM to > InnoDB. I am using RT 3.4.5 with MySQL 4.0.24 > > > On 5/29/06, Asif Iqbal < vadud3 at gmail.com> wrote: > > > > I noticed some of the rt3 database tables are MyISAM. Is it ok if I can > convert them to InnoDB as well without breaking the RT? I am using version > RT 3.4(?) with MySQL 4.0.20(?). > > > > > > -- > > Asif Iqbal > > PGP Key: 0xE62693C5 KeyServer: pgp.mit.edu > > > > > > > > > > -- > Asif Iqbal > PGP Key: 0xE62693C5 KeyServer: pgp.mit.edu > > > > _______________________________________________ > http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users > > Community help: http://wiki.bestpractical.com > Commercial support: sales at bestpractical.com > > > Discover RT's hidden secrets with RT Essentials from O'Reilly Media. > Buy a copy at http://rtbook.bestpractical.com > > > We're hiring! Come hack Perl for Best Practical: > http://bestpractical.com/about/jobs.html > > -- Best regards, Ruslan. From ruslan.zakirov at gmail.com Wed Jun 14 06:51:59 2006 From: ruslan.zakirov at gmail.com (Ruslan Zakirov) Date: Wed, 14 Jun 2006 14:51:59 +0400 Subject: [rt-users] RT CLI comment problem In-Reply-To: <448FE381.5070504@servervault.com> References: <448D959B.1070904@metrocast.net> <448DB227.4080907@metrocast.net> <20060612193615.GX8022@bestpractical.com> <448FE381.5070504@servervault.com> Message-ID: <589c94400606140351w476bc6c0re3cfe0f5b578f8ef@mail.gmail.com> very very soon :) On 6/14/06, Mathew Snyder wrote: > Yes please. When do you anticipate 3.6 going stable. I've been working > on a project for the last two months trying to get an upgrade in place > and just found out that they don't want me using 3.6.0rc3 because it is > 'beta'. As much work as I've put into this I would love to continue > with this version before I have to revert to 3.4.5. > > > Mathew Snyder > Systems Administrator > Network+ > ServerVault TechOps > > > > Joel Peter Anderson wrote: > > As noted - we cannot move to the pre-release; how soon is the official > > 3.6? And - again, does anyone have a work-around (other than RT > > 3.60pre3.) > > > >> I'm getting resistance to a pre-release; is there any way to resolve the > >> issue in 3.4.5? > >> > >>> On Mon, Jun 12, 2006 at 01:58:28PM -0500, Joel Peter Anderson wrote: > >>>> We're working on a transition from a system running RT 3.0.12 to 3.4.5 and > >>>> I've run into a problem using the RT CLI - which is important to me > >>>> because I've built a bunch of automation on top of the RT CLI commands. > >>>> > >>>> As far as I've tested, all the existing CLI functionality exists ... > >>>> *EXCEPT* for adding comments. Any attempt add a comment with the CLI gets > >>>> this terse response: > >>> This is fixed in RT 3.60pre3. > >>> > >>>> # Ticket comment does not exist. > >>>> > >>>> > >>>> Even trying something as simple as this: > >>>> > >>>> rt comment -m test 144149 > >>>> # Ticket comment does not exist. > > > > > > ------------------------------------------------- > > joel anderson * joela at umn.edu * 612-625-7389 > > --> pager: 612-648-6823 > > Be a part of the Next Age of Exploration > > http://www.planetary.org/ > > _______________________________________________ > > http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users > > > > Community help: http://wiki.bestpractical.com > > Commercial support: sales at bestpractical.com > > > > > > Discover RT's hidden secrets with RT Essentials from O'Reilly Media. > > Buy a copy at http://rtbook.bestpractical.com > > > > > > We're hiring! Come hack Perl for Best Practical: http://bestpractical.com/about/jobs.html > > > _______________________________________________ > http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users > > Community help: http://wiki.bestpractical.com > Commercial support: sales at bestpractical.com > > > Discover RT's hidden secrets with RT Essentials from O'Reilly Media. > Buy a copy at http://rtbook.bestpractical.com > > > We're hiring! Come hack Perl for Best Practical: http://bestpractical.com/about/jobs.html > -- Best regards, Ruslan. From jesse at bestpractical.com Tue Jun 13 06:50:57 2006 From: jesse at bestpractical.com (jesse vincent) Date: Tue, 13 Jun 2006 12:50:57 +0200 Subject: [rt-users] RT CLI comment problem In-Reply-To: Message-ID: <20060614110044.5AE384D822F@diesel.bestpractical.com> You could backport the cli changes...or hong on a couple days. I'm giving a talk at the nordic perl workshop that might help assuage those concerns ;) ------- Original message ------- From: Joel Peter Anderson Sent: 12.6.'06, 14:45 > I'm getting resistance to a pre-release; is there any way to resolve the > issue in 3.4.5? > > > On Mon, Jun 12, 2006 at 01:58:28PM -0500, Joel Peter Anderson wrote: > > > > > > We're working on a transition from a system running RT 3.0.12 to 3.4.5 and > > > I've run into a problem using the RT CLI - which is important to me > > > because I've built a bunch of automation on top of the RT CLI commands. > > > > > > As far as I've tested, all the existing CLI functionality exists ... > > > *EXCEPT* for adding comments. Any attempt add a comment with the CLI gets > > > this terse response: > > > > This is fixed in RT 3.60pre3. > > > > > > > > # Ticket comment does not exist. > > > > > > > > > Even trying something as simple as this: > > > > > > rt comment -m test 144149 > > > # Ticket comment does not exist. > > > > > > > > > --- > > > > > > Is this a known problem? Is there a fix/workaround? Thanks. > > > > > > ------------------------------------------------- > > > joel anderson * joela at umn.edu * 612-625-7389 > > > --> pager: 612-648-6823 > > > Be a part of the Next Age of Exploration > > > http://www.planetary.org/ > > > _______________________________________________ > > > http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users > > > > > > Community help: http://wiki.bestpractical.com > > > Commercial support: sales at bestpractical.com > > > > > > > > > Discover RT's hidden secrets with RT Essentials from O'Reilly Media. > > > Buy a copy at http://rtbook.bestpractical.com > > > > > > > > > We're hiring! Come hack Perl for Best Practical: http://bestpractical.com/about/jobs.html > > > > > > > -- > > > > ------------------------------------------------- > joel anderson * joela at umn.edu * 612-625-7389 > --> pager: 612-648-6823 > Be a part of the Next Age of Exploration > http://www.planetary.org/ > From torsten.brumm at kuehne-nagel.com Wed Jun 14 09:00:30 2006 From: torsten.brumm at kuehne-nagel.com (Torsten Brumm) Date: Wed, 14 Jun 2006 15:00:30 +0200 Subject: AW: [rt-users] RT CLI comment problem In-Reply-To: <589c94400606140351w476bc6c0re3cfe0f5b578f8ef@mail.gmail.com> Message-ID: <002801c68fb2$84035780$0aa03e0a@dew04041> define pls very very soon....can you say something like this friday ;-) i plan to migrate this weekend to 3.6rc3 ;-) Torsten -----Urspr?ngliche Nachricht----- Von: rt-users-bounces at lists.bestpractical.com [mailto:rt-users-bounces at lists.bestpractical.com] Im Auftrag von Ruslan Zakirov Gesendet: Mittwoch, 14. Juni 2006 12:52 An: Mathew Snyder Cc: rt-users at lists.bestpractical.com Betreff: Re: [rt-users] RT CLI comment problem very very soon :) On 6/14/06, Mathew Snyder wrote: > Yes please. When do you anticipate 3.6 going stable. I've been > working on a project for the last two months trying to get an upgrade > in place and just found out that they don't want me using 3.6.0rc3 > because it is 'beta'. As much work as I've put into this I would love > to continue with this version before I have to revert to 3.4.5. > > > Mathew Snyder > Systems Administrator > Network+ > ServerVault TechOps > > > > Joel Peter Anderson wrote: > > As noted - we cannot move to the pre-release; how soon is the > > official 3.6? And - again, does anyone have a work-around (other > > than RT > > 3.60pre3.) > > > >> I'm getting resistance to a pre-release; is there any way to > >> resolve the issue in 3.4.5? > >> > >>> On Mon, Jun 12, 2006 at 01:58:28PM -0500, Joel Peter Anderson wrote: > >>>> We're working on a transition from a system running RT 3.0.12 to > >>>> 3.4.5 and I've run into a problem using the RT CLI - which is > >>>> important to me because I've built a bunch of automation on top of the RT CLI commands. > >>>> > >>>> As far as I've tested, all the existing CLI functionality exists ... > >>>> *EXCEPT* for adding comments. Any attempt add a comment with the > >>>> CLI gets this terse response: > >>> This is fixed in RT 3.60pre3. > >>> > >>>> # Ticket comment does not exist. > >>>> > >>>> > >>>> Even trying something as simple as this: > >>>> > >>>> rt comment -m test 144149 > >>>> # Ticket comment does not exist. > > > > > > ------------------------------------------------- > > joel anderson * joela at umn.edu * 612-625-7389 > > --> pager: 612-648-6823 Be a part of the Next > > Age of Exploration > > http://www.planetary.org/ > > _______________________________________________ > > http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users > > > > Community help: http://wiki.bestpractical.com Commercial support: > > sales at bestpractical.com > > > > > > Discover RT's hidden secrets with RT Essentials from O'Reilly Media. > > Buy a copy at http://rtbook.bestpractical.com > > > > > > We're hiring! Come hack Perl for Best Practical: > > http://bestpractical.com/about/jobs.html > > > _______________________________________________ > http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users > > Community help: http://wiki.bestpractical.com Commercial support: > sales at bestpractical.com > > > Discover RT's hidden secrets with RT Essentials from O'Reilly Media. > Buy a copy at http://rtbook.bestpractical.com > > > We're hiring! Come hack Perl for Best Practical: > http://bestpractical.com/about/jobs.html > -- Best regards, Ruslan. _______________________________________________ http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users Community help: http://wiki.bestpractical.com Commercial support: sales at bestpractical.com Discover RT's hidden secrets with RT Essentials from O'Reilly Media. Buy a copy at http://rtbook.bestpractical.com We're hiring! Come hack Perl for Best Practical: http://bestpractical.com/about/jobs.html From stan at claramartin.org Wed Jun 14 10:41:13 2006 From: stan at claramartin.org (Stan Brinkerhoff) Date: Wed, 14 Jun 2006 10:41:13 -0400 Subject: [rt-users] Custom Field Entry in Self Serve Message-ID: <306AF637A84475469E843D3F78C3C01A278153@cmc1.corp.claramartin.org> I apologize if this has been covered previously. I searched the wiki and the mailing list and was unable to find a solution. I am running RT3.4.5 via RPM (from the Wiki documentation). I have setup LDAP authentication so my users can transparently login to the self-serve page without having to setup accounts for each user. All has been working great, until I added a custom field. When a user creates a new ticket with a custom field value, they get this in the Results field: * Ticket 13 created in queue 'it' * Could not add new custom field value. * Could not add new custom field value. * Could not add new custom field value. (once for each custom value attempted to be set). I have given unprivileged and everyone full rights (ie, shotgun approach to fixing a problem) and that still did not fix it. Any ideas? -------------- next part -------------- An HTML attachment was scrubbed... URL: From KFCrocker at lbl.gov Wed Jun 14 11:35:20 2006 From: KFCrocker at lbl.gov (Kenneth Crocker) Date: Wed, 14 Jun 2006 08:35:20 -0700 Subject: [rt-users] Custom Field Entry in Self Serve In-Reply-To: <306AF637A84475469E843D3F78C3C01A278153@cmc1.corp.claramartin.org> References: <306AF637A84475469E843D3F78C3C01A278153@cmc1.corp.claramartin.org> Message-ID: <44902CB8.6000101@lbl.gov> Stan Brinkerhoff wrote: > > I apologize if this has been covered previously. I searched the wiki > and the mailing list and was unable to find a solution. I am running > RT3.4.5 via RPM (from the Wiki documentation). I have setup LDAP > authentication so my users can transparently login to the self-serve > page without having to setup accounts for each user. All has been > working great, until I added a custom field. > > > > When a user creates a new ticket with a custom field value, they get > this in the Results field: > > > > * Ticket 13 created in queue 'it' > * Could not add new custom field value. > * Could not add new custom field value. > * Could not add new custom field value. > > (once for each custom value attempted to be set). > > > > I have given unprivileged and everyone full rights (ie, shotgun > approach to fixing a problem) and that still did not fix it. > > > > Any ideas? > > ------------------------------------------------------------------------ > > _______________________________________________ > http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users > > Community help: http://wiki.bestpractical.com > Commercial support: sales at bestpractical.com > > > Discover RT's hidden secrets with RT Essentials from O'Reilly Media. > Buy a copy at http://rtbook.bestpractical.com > > > We're hiring! Come hack Perl for Best Practical: http://bestpractical.com/about/jobs.html Stan, All Custom fields must also have rights assigned. Go to your Config tab, click on Custom fields, then select a custom field. If already assigned to a Queue, you just click on Group Rights and then give the right to see and modify the custom field. I'd reserve the Admin custom field right for you administrator. But anyway, that must be done or users won't see the custom fields. Kenn From nmetrowsky at digitalglobe.com Wed Jun 14 12:07:39 2006 From: nmetrowsky at digitalglobe.com (Nick Metrowsky) Date: Wed, 14 Jun 2006 10:07:39 -0600 Subject: [rt-users] Ticket Escalation Message-ID: HI Everyone, I have a question with a little twist on Ticket Priority Escalation. We have set up categories as a custom field for tickets. We would like to escalate tickets based upon the category, as opposed to the default queue. We are trying to tie our service level agreements (category) to ticket priorities. So, for example, if we have an SLA of 8 hours response time, we want the priority of the ticket to accelerate much faster, than a ticket whose SLA is 3 days response time. So, it this possible or is it beyond the scope of RT to do this? We are running RT 3.4.4. Take care! Nick ------------------------------------------------------------------------ --------- Nick Metrowsky Consulting System Administrator 303-684-4785 Office 303-684-4100 Fax nmetrowsky at digitalglobe.com DigitalGlobe (r), An Imaging and Information Company http://www.digitalglobe.com ------------------------------------------------------------------------ --------- -------------- next part -------------- An HTML attachment was scrubbed... URL: From nmetrowsky at digitalglobe.com Wed Jun 14 12:22:21 2006 From: nmetrowsky at digitalglobe.com (Nick Metrowsky) Date: Wed, 14 Jun 2006 10:22:21 -0600 Subject: [rt-users] Proper way to set up a read-only user Message-ID: Hi Everyone, I would like to set up users in RT which grant them the rights to view tickets and queues, but they cannot change anything. I would like them to have a user id and password, like privileged users. Is there a way to do this? I noticed that the Everyone and Unprivileged user designation allows users to only use the SelfService menu and that is just about it. Any ideas would be most welcome. Take care! Nick ------------------------------------------------------------------------ --------- Nick Metrowsky Consulting System Administrator 303-684-4785 Office 303-684-4100 Fax nmetrowsky at digitalglobe.com DigitalGlobe (r), An Imaging and Information Company http://www.digitalglobe.com ------------------------------------------------------------------------ --------- -------------- next part -------------- An HTML attachment was scrubbed... URL: From KFCrocker at lbl.gov Wed Jun 14 13:42:17 2006 From: KFCrocker at lbl.gov (Kenneth Crocker) Date: Wed, 14 Jun 2006 10:42:17 -0700 Subject: [rt-users] Proper way to set up a read-only user In-Reply-To: References: Message-ID: <44904A79.1060303@lbl.gov> Nick Metrowsky wrote: > > Hi Everyone, > > > > I would like to set up users in RT which grant them the rights to view > tickets and queues, but they cannot change anything. I would like them > to have a user id and password, like privileged users. Is there a way > to do this? I noticed that the Everyone and Unprivileged user > designation allows users to only use the SelfService menu and that is > just about it. > > > > Any ideas would be most welcome. > > > > Take care! > > > > Nick > > > > *---------------------------------------------------------------------------------* > > *Nick Metrowsky*** > > *Consulting System Administrator*** > > *303-684-4785 Office*** > > *303-684-4100 Fax*** > > *nmetrowsky at digitalglobe.com *** > > *DigitalGlobe ?, An Imaging and Information Company* > > *http://www.digitalglobe.com* > > *---------------------------------------------------------------------------------* > > > > ------------------------------------------------------------------------ > > _______________________________________________ > http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users > > Community help: http://wiki.bestpractical.com > Commercial support: sales at bestpractical.com > > > Discover RT's hidden secrets with RT Essentials from O'Reilly Media. > Buy a copy at http://rtbook.bestpractical.com > > > We're hiring! Come hack Perl for Best Practical: http://bestpractical.com/about/jobs.html Nick, Everyone already INCLUDES unprivileged so giving both is redundant. Kenn From JLim at netopia.com Wed Jun 14 13:47:05 2006 From: JLim at netopia.com (Lim, Justin) Date: Wed, 14 Jun 2006 13:47:05 -0400 Subject: [rt-users] email from address problems Message-ID: <681060E80F66FC44BE343998E96178BC0273811C@mxma2.corp.netopia.com> I have set the $CorrespondAddress = 'help at help.domain.com'; $CommentAddress = 'help-comment at help.domain.com'; but when the emails arrive it will have help at domain.com for the from address is there any way to change this so that it will say help at help.domain.com ? Thanks Justin -------------- next part -------------- An HTML attachment was scrubbed... URL: From justin at jfindlay.us Wed Jun 14 13:51:15 2006 From: justin at jfindlay.us (Justin R Findlay) Date: Wed, 14 Jun 2006 11:51:15 -0600 Subject: [rt-users] rt as secondary website In-Reply-To: <200606140049.k5E0n943029229@remora.cc.uic.edu> References: <20060613201954.GC12441@jfindlay.us> <200606140049.k5E0n943029229@remora.cc.uic.edu> Message-ID: <20060614175115.GB9245@jfindlay.us> On Tue, Jun 13, 2006 at 07:49:09PM -0500, Bob Goldstein wrote: > What do you mean? > > You configure apache to connect certain urls to scripts (usually fcgi or mod_perl) > that run rt. But you can certainly connect other urls to other files > or scripts that are unrelated to rt. > > As an example, I do this: > > ScriptAlias /accc /usr/local/rt/production/bin/mason_handler_accc.fcgi > > And that connects the url http://example.com/accc to > the script mason_handler_accc.fcgi > > Other urls can do other things. I'm sorry for appearing like I want this list to solve my apache problems. It seems there are a few more things I need to learn myself seeing that I wasn't sure what questions to ask. Justin From todd at chaka.net Wed Jun 14 16:01:41 2006 From: todd at chaka.net (Todd Chapman) Date: Wed, 14 Jun 2006 16:01:41 -0400 Subject: [rt-users] Proper way to set up a read-only user In-Reply-To: References: Message-ID: <20060614200141.GN26200@chaka.net> On Wed, Jun 14, 2006 at 10:22:21AM -0600, Nick Metrowsky wrote: > Hi Everyone, > > > > I would like to set up users in RT which grant them the rights to view > tickets and queues, but they cannot change anything. I would like them > to have a user id and password, like privileged users. Is there a way to > do this? I noticed that the Everyone and Unprivileged user designation > allows users to only use the SelfService menu and that is just about it. > Make them privileged but don't grant them any rights other thatn See/Show rights. -Todd From nmetrowsky at digitalglobe.com Wed Jun 14 17:20:42 2006 From: nmetrowsky at digitalglobe.com (Nick Metrowsky) Date: Wed, 14 Jun 2006 15:20:42 -0600 Subject: [rt-users] Proper way to set up a read-only user Message-ID: Hi Todd, Thank you for writing. Apparently the Privileged global system group has Super User and Delegate Rights, plus every other right set up. I tried removing all the rights, so just Show Ticket and See Queue were available. I was then going to grant more rights on a group by group and/or user by user basis for those users who really need them. Unfortunately, I cannot revoke Super User and Delegate Rights from the Privileged global system group. So, when I create a user, with just See type rights, they can do anything they want (I did not place them in any group other than checking the box "Let this user be granted rights"). By the way, when I look in Rights Matrix, everything is set to "Y" for this user. I also checked the various queues, and the Privileged group has no rights, and the same goes for the user accounts. The privileges are assigned only at the global group level. We set up a global group for each queue; again the test user was not assigned to any group. One other observation, the NULL account, user id #1 is assign the Super User privilege, is this supposed be right? I tried to revoke it and RT will not let me do it. I did not set up RT originally, as the privilege set up was a carry over from the RT 2 system. I knew this was a bit of a mess, I just did not really know who much a mess it was. Anyway, what should be the defaults for the Everyone, Unprivileged and Privileged global system groups? Do I need to be logged into a special account to revoke Super User and Delegate rights from the Privileged global system group? I guess the next question, is this something I really want to do? Any insight would be greatly appreciated. Take care! Nick ------------------------------------------------------------------------ --------- Nick Metrowsky Consulting System Administrator 303-684-4785 Office 303-684-4100 Fax nmetrowsky at digitalglobe.com DigitalGlobe (r), An Imaging and Information Company http://www.digitalglobe.com ------------------------------------------------------------------------ --------- -----Original Message----- From: Todd Chapman [mailto:todd at chaka.net] Sent: Wednesday, June 14, 2006 2:02 PM To: Nick Metrowsky Cc: rt-users at lists.bestpractical.com Subject: Re: [rt-users] Proper way to set up a read-only user On Wed, Jun 14, 2006 at 10:22:21AM -0600, Nick Metrowsky wrote: > Hi Everyone, > > > > I would like to set up users in RT which grant them the rights to view > tickets and queues, but they cannot change anything. I would like them > to have a user id and password, like privileged users. Is there a way to > do this? I noticed that the Everyone and Unprivileged user designation > allows users to only use the SelfService menu and that is just about it. > Make them privileged but don't grant them any rights other thatn See/Show rights. -Todd From yan at seiner.com Wed Jun 14 18:03:38 2006 From: yan at seiner.com (yan seiner) Date: Wed, 14 Jun 2006 15:03:38 -0700 Subject: [rt-users] Quoting program (shopping cart-type features) Message-ID: <449087BA.6080507@seiner.com> OK, I know this is far from the typical uses of RT, but we have an idea.... :-) We're looking at RT to provide dealer and customer support. Most of our delivery problems consist of dealers not ordering the proper parts, or the factory (us) putting the wrong parts in the box. So, what we want to do is to incorporate a quoting system in with RT, so that a dealer can spec a machine as part of a support ticket. This makes sense since each machine is semi-custom, and we (the factory) approve each order. So what we need is something like the following: The dealer starts a support ticket for a possible sale. He enters the sales requirements, customer info, application, and so on. As part of that, he selects the options that he wants on the machine. The only complexity is that some options require others - Option A might require Option B, while selecting Option C removes Option A, and so on. We also need disclaimers on some options; if a dealer selects Option X, we need to warn him that the warranty will be void if the machine is allowed to freeze, whereas without X, it can be left in the cold, and these click-throughs need to be saved as part of the ticket. Has anyone implemented anything like this? Thanks, --Yan From phanoko at yahoo.com Wed Jun 14 18:23:03 2006 From: phanoko at yahoo.com (Phanoko) Date: Wed, 14 Jun 2006 15:23:03 -0700 (PDT) Subject: [rt-users] Ticket numbers.. revisited. Message-ID: <20060614222303.61857.qmail@web53911.mail.yahoo.com> I've floated this out here before but was unable to get an answer so I thought I would float it again. Can I change the ticket numbering to something like this? Year-number 06-8475 or Year-number 2006-8475 06- would be perm until 07 then it would of course roll or need to be manually reset. Thanks for any help on this. __________________________________________________ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com From ruslan.zakirov at gmail.com Wed Jun 14 19:25:30 2006 From: ruslan.zakirov at gmail.com (Ruslan Zakirov) Date: Thu, 15 Jun 2006 03:25:30 +0400 Subject: [rt-users] Ticket numbers.. revisited. In-Reply-To: <20060614222303.61857.qmail@web53911.mail.yahoo.com> References: <20060614222303.61857.qmail@web53911.mail.yahoo.com> Message-ID: <589c94400606141625p55016ddmbc3bc9dfe2925878@mail.gmail.com> bad idea, but start from http://wiki.bestpractical.com/index.cgi?SetStartingId On 6/15/06, Phanoko wrote: > I've floated this out here before but was unable to > get an answer so I thought I would float it again. > Can I change the ticket numbering to something like > this? > Year-number > 06-8475 > or > Year-number > 2006-8475 > 06- would be perm until 07 then it would of course > roll or need to be manually reset. > Thanks for any help on this. > > __________________________________________________ > Do You Yahoo!? > Tired of spam? Yahoo! Mail has the best spam protection around > http://mail.yahoo.com > _______________________________________________ > http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users > > Community help: http://wiki.bestpractical.com > Commercial support: sales at bestpractical.com > > > Discover RT's hidden secrets with RT Essentials from O'Reilly Media. > Buy a copy at http://rtbook.bestpractical.com > > > We're hiring! Come hack Perl for Best Practical: http://bestpractical.com/about/jobs.html > -- Best regards, Ruslan. From msnyder at servervault.com Thu Jun 15 03:21:28 2006 From: msnyder at servervault.com (Mathew Snyder) Date: Thu, 15 Jun 2006 03:21:28 -0400 Subject: [rt-users] RT CLI comment problem In-Reply-To: <589c94400606140351w476bc6c0re3cfe0f5b578f8ef@mail.gmail.com> References: <448D959B.1070904@metrocast.net> <448DB227.4080907@metrocast.net> <20060612193615.GX8022@bestpractical.com> <448FE381.5070504@servervault.com> <589c94400606140351w476bc6c0re3cfe0f5b578f8ef@mail.gmail.com> Message-ID: <44910A78.3090100@servervault.com> The suspense is killing me :D Mathew Snyder Systems Administrator Network+ ServerVault TechOps Ruslan Zakirov wrote: > very very soon :) > > On 6/14/06, Mathew Snyder wrote: >> Yes please. When do you anticipate 3.6 going stable. I've been working >> on a project for the last two months trying to get an upgrade in place >> and just found out that they don't want me using 3.6.0rc3 because it is >> 'beta'. As much work as I've put into this I would love to continue >> with this version before I have to revert to 3.4.5. >> >> >> Mathew Snyder >> Systems Administrator >> Network+ >> ServerVault TechOps >> >> >> >> Joel Peter Anderson wrote: >> > As noted - we cannot move to the pre-release; how soon is the official >> > 3.6? And - again, does anyone have a work-around (other than RT >> > 3.60pre3.) >> > >> >> I'm getting resistance to a pre-release; is there any way to >> resolve the >> >> issue in 3.4.5? >> >> >> >>> On Mon, Jun 12, 2006 at 01:58:28PM -0500, Joel Peter Anderson wrote: >> >>>> We're working on a transition from a system running RT 3.0.12 to >> 3.4.5 and >> >>>> I've run into a problem using the RT CLI - which is important to me >> >>>> because I've built a bunch of automation on top of the RT CLI >> commands. >> >>>> >> >>>> As far as I've tested, all the existing CLI functionality exists ... >> >>>> *EXCEPT* for adding comments. Any attempt add a comment with the >> CLI gets >> >>>> this terse response: >> >>> This is fixed in RT 3.60pre3. >> >>> >> >>>> # Ticket comment does not exist. >> >>>> >> >>>> >> >>>> Even trying something as simple as this: >> >>>> >> >>>> rt comment -m test 144149 >> >>>> # Ticket comment does not exist. >> > >> > >> > ------------------------------------------------- >> > joel anderson * joela at umn.edu * 612-625-7389 >> > --> pager: 612-648-6823 >> > Be a part of the Next Age of Exploration >> > http://www.planetary.org/ >> > _______________________________________________ >> > http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users >> > >> > Community help: http://wiki.bestpractical.com >> > Commercial support: sales at bestpractical.com >> > >> > >> > Discover RT's hidden secrets with RT Essentials from O'Reilly Media. >> > Buy a copy at http://rtbook.bestpractical.com >> > >> > >> > We're hiring! Come hack Perl for Best Practical: >> http://bestpractical.com/about/jobs.html >> > >> _______________________________________________ >> http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users >> >> Community help: http://wiki.bestpractical.com >> Commercial support: sales at bestpractical.com >> >> >> Discover RT's hidden secrets with RT Essentials from O'Reilly Media. >> Buy a copy at http://rtbook.bestpractical.com >> >> >> We're hiring! Come hack Perl for Best Practical: >> http://bestpractical.com/about/jobs.html >> > > From doogles at doogles.com Thu Jun 15 07:38:27 2006 From: doogles at doogles.com (Jason A. Diegmueller) Date: Thu, 15 Jun 2006 07:38:27 -0400 (EDT) Subject: [rt-users] RT CLI comment problem In-Reply-To: <44910A78.3090100@servervault.com> References: <448D959B.1070904@metrocast.net> <448DB227.4080907@metrocast.net> <20060612193615.GX8022@bestpractical.com> <448FE381.5070504@servervault.com> <589c94400606140351w476bc6c0re3cfe0f5b578f8ef@mail.gmail.com> <44910A78.3090100@servervault.com> Message-ID: <20060615073739.K21970@spaceball1.doogles.com> Mathew-- For the time being, modify lib/RT.pm. Change the following line: $VERSION = '3.6.0rc3'; to $VERSION = '3.6.0'; Bosses can't fault you for running pre-release software now! -jd On Thu, 15 Jun 2006, Mathew Snyder wrote: > The suspense is killing me :D > > > Mathew Snyder > Systems Administrator > Network+ > ServerVault TechOps > > > > Ruslan Zakirov wrote: >> very very soon :) >> >> On 6/14/06, Mathew Snyder wrote: >>> Yes please. When do you anticipate 3.6 going stable. I've been working >>> on a project for the last two months trying to get an upgrade in place >>> and just found out that they don't want me using 3.6.0rc3 because it is >>> 'beta'. As much work as I've put into this I would love to continue >>> with this version before I have to revert to 3.4.5. >>> >>> >>> Mathew Snyder >>> Systems Administrator >>> Network+ >>> ServerVault TechOps >>> >>> >>> >>> Joel Peter Anderson wrote: >>>> As noted - we cannot move to the pre-release; how soon is the official >>>> 3.6? And - again, does anyone have a work-around (other than RT >>>> 3.60pre3.) >>>> >>>>> I'm getting resistance to a pre-release; is there any way to >>> resolve the >>>>> issue in 3.4.5? >>>>> >>>>>> On Mon, Jun 12, 2006 at 01:58:28PM -0500, Joel Peter Anderson wrote: >>>>>>> We're working on a transition from a system running RT 3.0.12 to >>> 3.4.5 and >>>>>>> I've run into a problem using the RT CLI - which is important to me >>>>>>> because I've built a bunch of automation on top of the RT CLI >>> commands. >>>>>>> >>>>>>> As far as I've tested, all the existing CLI functionality exists ... >>>>>>> *EXCEPT* for adding comments. Any attempt add a comment with the >>> CLI gets >>>>>>> this terse response: >>>>>> This is fixed in RT 3.60pre3. >>>>>> >>>>>>> # Ticket comment does not exist. >>>>>>> >>>>>>> >>>>>>> Even trying something as simple as this: >>>>>>> >>>>>>> rt comment -m test 144149 >>>>>>> # Ticket comment does not exist. >>>> >>>> >>>> ------------------------------------------------- >>>> joel anderson * joela at umn.edu * 612-625-7389 >>>> --> pager: 612-648-6823 >>>> Be a part of the Next Age of Exploration >>>> http://www.planetary.org/ >>>> _______________________________________________ >>>> http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users >>>> >>>> Community help: http://wiki.bestpractical.com >>>> Commercial support: sales at bestpractical.com >>>> >>>> >>>> Discover RT's hidden secrets with RT Essentials from O'Reilly Media. >>>> Buy a copy at http://rtbook.bestpractical.com >>>> >>>> >>>> We're hiring! Come hack Perl for Best Practical: >>> http://bestpractical.com/about/jobs.html >>>> >>> _______________________________________________ >>> http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users >>> >>> Community help: http://wiki.bestpractical.com >>> Commercial support: sales at bestpractical.com >>> >>> >>> Discover RT's hidden secrets with RT Essentials from O'Reilly Media. >>> Buy a copy at http://rtbook.bestpractical.com >>> >>> >>> We're hiring! Come hack Perl for Best Practical: >>> http://bestpractical.com/about/jobs.html >>> >> >> > _______________________________________________ > http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users > > Community help: http://wiki.bestpractical.com > Commercial support: sales at bestpractical.com > > > Discover RT's hidden secrets with RT Essentials from O'Reilly Media. > Buy a copy at http://rtbook.bestpractical.com > > > We're hiring! Come hack Perl for Best Practical: http://bestpractical.com/about/jobs.html > From jesse at bestpractical.com Thu Jun 15 07:49:05 2006 From: jesse at bestpractical.com (Jesse Vincent) Date: Thu, 15 Jun 2006 13:49:05 +0200 Subject: [rt-users] [Rt-announce] RT 3.6.0 Released Message-ID: -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 - -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Live from the Nordic Perl Workshop, it gives me great pleasure to announce the immediate release of RT 3.6.0. This release features a number of really exciting changes, as well as a large number of not- so-exciting improvements and bug fixes. This release is the result of three separate lines of development over more than a year. Within several minutes, the release should be available from: http://download.bestpractical.com/pub/rt/release/rt-3.6.0.tar.gz The distribution's PGP signature will be available at: http://download.bestpractical.com/pub/rt/release/rt-3.6.0.tar.gz.sig Below, you'll find an annotated change log and release notes list. I'd like to extend my gratitude to the many, many individuals and organizations who have contributed to this release. In particular, I'd like to thank Kevin Riggle for his work building the change log below. This summer marks RT's 10th birthday and I'm absolutely thrilled to be able to release RT 3.6.0 to commemorate the occasion This is, by far, the most significant new release of RT since version 3.0 and is, by far, the release of RT that features the most code written by developers other than myself. I am constantly humbled and amazed by the strength and diversity of the RT community. Best, Jesse Vincent Best Practical Exciting New Features - - ------------------------------- Redid the RT UI in XHTML and CSS. Made sure the UI fails gracefully in less-featureful browsers. Gave RT a clean new look with the 3.5-default stylesheet, but also added a 3.4-compatability stylesheet to closely mimic the visual style of RT 3.4. Gave users the ability to customize their RT home page with boxes containing their saved searches, lists of their queues and tickets, and their Reminders. Gave users the ability to set their default search preferences -- how many rows per page to display, what fields to display, and how to order the tickets. Introduced basic reporting and charting. Added Reminders on tickets. Added the ability to make custom fields link to and include content from other systems. Added bulk update of custom fields. Security - - -------- Changed /^$foo$/ regexes to 'eq $foo' to prevent regex insertion exploits. Core - - ---- Made general improvements to the documentation, fixed typos, added comments, ran perltidy, and generally tried to make the code cleaner and more understanable. Updated a number of module version dependencies, including DBIx::SearchBuilder, XML::RSS. RT-Ticket: 6713 Added dependencies on Text::WikiFormat, Calendar::Simple RT-Ticket: 6491 Updated the Postgres dependency. Made global pre-defined searches into attributes of RT::System. Made saving a search to RT::System work. Made SeeQueue permission filtering happen in AddRecord so both Next() and ItemsArrayRef work. Added an OwnGroups method in User_Overlay.pm to get a collection of groups of which the user is a member. Revamped ObjectTypeStr in RT::Record according to suggestions. Introduced basic reporting functionality to RT. Improved reporting functionality to group by day, month, and year. Fixed "group by id" in reports, which was broken by refactoring. Added an AsHREF method RT::URI, as per the promised Links API. Generalized Elements/QueryString to work with arrays in %ARGS. Compensate if ->Resolver isn't a valid object when trying to resolve a URI. Changed "Updated FM" to "Updated Article" in RT::Record. Added the total number of tickets found to the statistical reports. Added autohandler code to deal properly with fractional units of time. Clarified the documentation and added tests for RT::Record- >FirstAttribute. Thanks to Todd Chapman. Fixed the autohandler that serves out images on misconfigured or downlevel platforms. Cleaned up how the content-type is set for CSS and JavaScript. Conquered a redirect bug at long last; perlbug #17650 was the culprit. Removed two duplicate methods in lib/RT/User_Overlay.pm. Discovered and patched by Joby Walker. Changed RT::Record to use the server-side function to lowercase values, if the Handle will give us one. Thanks to Tom Yu. Added EquivObjects support for ACL queries. Thanks to Todd Chapman. Replaced %FIELDS in Tickets_Overlay.pm (which has pseudohash meaning) with %FIELD_METADATA. Changed the joins for sorting watchers and group members on a ticket to a left join. Applied merge bugfixes. Thanks to Jeff Voskamp and Joe Micciche. Changed webmux.pl to process the JavaScript files with Mason. Gave the algorithm for picking transaction content a reasonable-enough fallback case. Changed Ticket_Overlay.pm to check the PrincipalId it gets to do the right thing if it's our own email address, instead of our own principal. Removed an unneeded join to attachments in Ticket_Overlay.pm. RT-Ticket: 7149 Cleaned up attachment creation in lib/RT/Attachment_Overlay.pm. Thanks to Ruslan Zakirov. RT-Ticket: 7143 Made minor cleanups to RT::Record. Thanks to Ruslan Zakirov. RT-Ticket: 7148 Applied Todd Chapman's patch, which (1) orders user members of a group by Name, (2) doesn't list them in the select if they're already a member, and (3) doesn't list the group itself because a group can't have itself as a member. Cleaned up the way we were opening files in the image autohandler, including setting binmode and flushing the buffers to prevent loading the entire file into memory. Added support for an optional OPERATOR argument in LimitLinked(From|To) in Tickets_Overlay.pm, and added this to methods Limit(HasMemeber|DependsOn|...). Added support in _LinkLimit for IS NOT NULL queries ala "has at least one link of defined type". Also, the operator '!=' didn't work at all - - -- now it works with the meaning "has no link with defined ticket". Fixed the things broken by the queries changes, eg. "id = 123 OR MemberOf = 123". All breakages were already covered in the tests. RT-Ticket: 7324 Bumped the Postgres dependency. Joby Walker at the University of Washington discovered incorrect ordering behaviour with DBD::Pg 1.42 and earlier. Made RT::Record not update the TimeTaken value, if the given transaction is on something other than a ticket. Fixed the new sorting behavior so as to not break the Bulk update page (and by extension, the spreadsheet download). Thanks to David Schweikert for the catch. Made Ticket_Overlay.pm canonicalize a user-supplied email address and then compare it case-insensitively when checking it against the current user's email address. RT::Attachment should only convert attachments if $enc'oding contains something. Updated the Create, _?AddLink, and DeleteLink methods in RT::Ticket to deal properly with the $StrictLinkACL configuration option. Moved all ACL checks from _AddLink to AddLink in RT::Ticket. Prevented the re-creation of the transaction if the user tries to create a link which already exists. Web UI - - ------ Applied TitleBox and CSS fixes. Thanks to Gogod. Made TitleBox use
instead of . Wrapped a div#all right inside to avoid a margin problem on IE. Used div.right-column and div.left-column to split columns. Set up the login form and homepage semantics and associated CSS. Moved TitleBox to Widgets/ Changed calls to TitleBoxStart + TitleBoxEnd into a single call to TitleBox which contains the content. Deprecated TitleBoxStart + TitleBoxEnd. Allowed users to override the display options for pre-defined searches. Allowed users to configure the Quicksearch portlet. Added the new MyAdminQueues and MySupportQueues portlets. Allowed users to configure the "RT at a glance" page with pre-defined searches, allowed components, and saved searches. Cleaned up Search/Build.html to reduce duplicated code. Fixed title_right_href in the TitleBox element. Cleaned up the original Quicksearch to use QueueSummary for summary portlets. Fixed a bug where MyRT only got one component in a pane. Added a SelectionBox Widget which works for both JavaScript and CGI. Made the front page customization UI use the SelectionBox widget. Added minimum regression tests for frontpage customization. Removed all referrers and "go back"s. Moved selectAll to form onSubmit. Made SummaryRow a user preference. Added subtabs to MyRT. Ensured that the MyRT components selected are within the given Available ones. Ensured that permissions are checked when saving searches to RT::System. Ensured that permissions are checked with the correct object when saving a search. Moved _parse_saved_search and _load_container_object to RT::Interface::Web. Made highlighted menu options the right size. Renamed "My Requests" to "Unowned Tickets". Allowed AutoSave mode for the SelectionBox widget. Made the error when a saved search fails more readable and prevented a deleterious side-effect. Made the code test if saved search is listed as an available item in the "RT at a glance" preferences. Fixed certain search-related actions, which weren't displaying the page footer due to calls to $m->abort();. Fixed the bug which prevented displaying the page footer when creating a ticket. Refactored bulk update to use more standard components. Fixed the regexp injecting checkbox into bulk edit format. Added support for bulk update of custom fields. Added support for search paging in the bulk update UI. Significantly cleaned up the search UI. Fixed the code which builds FormatString to prevent if from html- escaping loc(). Updated webrt.css to restore the black text color for titleboxright text. Made the overview search for stalled tickets in addition to open and new tickets. Added support for sorting by requestor/watcher. Merged forward a clicky-headers fix from 3.4. Removed "Search by group membership" from search UI, since it hit horrible scaling issues. Allowed the user to select minutes or hours when entering time worked/left/etc. Allowed click-to-sort on Requestor/Cc/AdminCc. Added support for search display preferences. Renamed "Quick Search" to "Simple Search". Added tabs for SearchOptions. Renamed "quick" search to "Googlish" search in the code. Fixed Googleish simple search. Fixed support for uploading attachmends in SelfService mode. Thanks to HC Chien. Applied an XHTML overhaul from gugod. Clarified and renamed some buttons in QueryBuilder. Updated Quicksearch to add Status search and Switch content searches to subject searches. Added code to pay attention to the saved search preference for "Unlimited results per page". Applied more XHTML fixes. Thanks to gugod. Lowercased all HTML tags and attribute names. Double-quoted attribute values. Changed -> , -> ,
->
, and -> . Provided better defaulting for searching for 'no rows per page'. Forced the homepage to preserve its format and rows per page when the user clicks through the Saved Search titlebars. Added a custom field Category Admin UI. Added Owner to the ticket basics page. Reimplemented "Hours/Minutes" selects for time worked/estimated/spent. Fixed the Combobox layout in w3m. Added a