From jpierce at cambridgeenergyalliance.org Sun Feb 1 15:58:23 2009 From: jpierce at cambridgeenergyalliance.org (Jerrad Pierce) Date: Sun, 1 Feb 2009 15:58:23 -0500 Subject: [rt-users] queue tag moved from left of subject to right of subject? In-Reply-To: <3DD5DF2C-DABB-480D-9FDC-8658D03D81FB@netconsonance.com> References: <3DD5DF2C-DABB-480D-9FDC-8658D03D81FB@netconsonance.com> Message-ID: > From this point forward, the tag in the e-mail will be on the right > instead of the left. I cannot figure out exactly what causes this > shift. Can someone clue me in? Can we prevent it? Same thing occurs here. Never really looked into it though. From jpierce at cambridgeenergyalliance.org Sun Feb 1 16:03:39 2009 From: jpierce at cambridgeenergyalliance.org (Jerrad Pierce) Date: Sun, 1 Feb 2009 16:03:39 -0500 Subject: [rt-users] RT Time fields in days? In-Reply-To: <49837B73.1000307@lbl.gov> References: <49837B73.1000307@lbl.gov> Message-ID: See share/html/Elements/SelectTimeUnits But I'd just tell them to multiply by 8 business hours per day. -- Cambridge Energy Alliance: Save money. Save the planet. From micah at onshore.com Sun Feb 1 21:00:57 2009 From: micah at onshore.com (Micah Gersten) Date: Sun, 01 Feb 2009 20:00:57 -0600 Subject: [rt-users] A problem with Ticket Search In-Reply-To: <21453763.post@talk.nabble.com> References: <21453763.post@talk.nabble.com> Message-ID: <498653D9.8060604@onshore.com> I'm also having this issue. Does anyone know how to limit which users show up in the Query Builder? Thank you, Micah Gersten onShore Networks Internal Developer http://www.onshore.com anusiak wrote: > I am a begginer RT administrator, and we are using RT with our company's user > support system. We have about 100000 or more e-mail addresses/users in RT > database at the moment, and trying to enter search engine, run simple > search or bulk update causes all of those e-mail addresses to load (which > takes approximately 20-30 minutes) before we can do anything. Is there any > way to configure RT not to load all of those data? I would appreciate any > help. > From gravyface at gmail.com Sun Feb 1 21:51:20 2009 From: gravyface at gmail.com (GravyFace) Date: Sun, 1 Feb 2009 21:51:20 -0500 Subject: [rt-users] Anyone get Exchange working? Message-ID: <19fa96670902011851y2cc6001aq338229237cdbf6ff@mail.gmail.com> Having a heck of a time using Exchange as a relay/smarthost as described in the wiki article's scenario 2: http://wiki.bestpractical.com/view/MSExchangeRelay If anyone has this working, please give me a hand. Thank you From ktm at rice.edu Sun Feb 1 22:41:42 2009 From: ktm at rice.edu (Kenneth Marshall) Date: Sun, 1 Feb 2009 21:41:42 -0600 Subject: [rt-users] RT full text indexing with PostgreSQL Message-ID: <20090202034142.GB29522@it.is.rice.edu> I just updated the PostgreSQLFullText pages on the wiki with the triggers to keep the parsed document columns updated whenever there is a change to the dependent columns. Here are the commands for adding the triggers to keep the textsearchable columns corresponding to attachments.subject/content and objectcustomfieldvalues.largecontent up to date: CREATE TRIGGER tsvectorupdate BEFORE INSERT OR UPDATE ON attachments FOR EACH ROW EXECUTE PROCEDURE tsvector_update_trigger(textsearchable, 'pg_catalog.english', subject, content); CREATE TRIGGER tsvectorupdate BEFORE INSERT OR UPDATE ON objectcustomfieldvalues FOR EACH ROW EXECUTE PROCEDURE tsvector_update_trigger(textsearchable, 'pg_catalog.english', largecontent); Please let me know if there are any problems and bon voyage. Ken From aaron at guise.net.nz Sun Feb 1 22:47:26 2009 From: aaron at guise.net.nz (Aaron Guise) Date: Mon, 2 Feb 2009 16:47:26 +1300 Subject: [rt-users] Anyone get Exchange working? In-Reply-To: <19fa96670902011851y2cc6001aq338229237cdbf6ff@mail.gmail.com> References: <19fa96670902011851y2cc6001aq338229237cdbf6ff@mail.gmail.com> Message-ID: Hi, I have RT working very well indeed at my workplace. Running Sendmail with our exchange server running as a smart host. All outgoing email is passwed through the exchange server and as for inbound mail this is forwarded from exchange to RT via an email contact. But as said it works very well. What are you having difficullty with? Which MTA are you using Sendmail/Postfix? *Regards,* *Aaron Guise 027 212 6638 aaron at guise.net.nz * On Mon, Feb 2, 2009 at 3:51 PM, GravyFace wrote: > Having a heck of a time using Exchange as a relay/smarthost as > described in the wiki article's scenario 2: > http://wiki.bestpractical.com/view/MSExchangeRelay > > If anyone has this working, please give me a hand. > > Thank you > _______________________________________________ > 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 > -------------- next part -------------- An HTML attachment was scrubbed... URL: From elacour at easter-eggs.com Mon Feb 2 03:06:11 2009 From: elacour at easter-eggs.com (Emmanuel Lacour) Date: Mon, 2 Feb 2009 09:06:11 +0100 Subject: [rt-users] A problem with Ticket Search In-Reply-To: <21453763.post@talk.nabble.com> References: <21453763.post@talk.nabble.com> Message-ID: <20090202080609.GA31690@easter-eggs.com> On Wed, Jan 14, 2009 at 02:58:28AM -0800, anusiak wrote: > > I am a begginer RT administrator, and we are using RT with our company's user > support system. We have about 100000 or more e-mail addresses/users in RT > database at the moment, and trying to enter search engine, run simple > search or bulk update causes all of those e-mail addresses to load (which > takes approximately 20-30 minutes) before we can do anything. Is there any > way to configure RT not to load all of those data? I would appreciate any > help. > That souunds you give right "OwnTicket" to all your users (priveleged/unprivileged). You should review you're permissions and limit OwnTicket to your members of support teams. From elacour at easter-eggs.com Mon Feb 2 03:10:50 2009 From: elacour at easter-eggs.com (Emmanuel Lacour) Date: Mon, 2 Feb 2009 09:10:50 +0100 Subject: [rt-users] New Created Queues are not visible in RT after upgrade. In-Reply-To: <2282948c0901310751n13b467f8g6c75ce020a6a8874@mail.gmail.com> References: <2282948c0901310751n13b467f8g6c75ce020a6a8874@mail.gmail.com> Message-ID: <20090202081048.GB31690@easter-eggs.com> On Sat, Jan 31, 2009 at 08:51:58PM +0500, Rana Tanveer wrote: > Hi RT Users/Admins > > I have upgraded my RT from 3.6.5 to 3.8.1 after reading UPGRADING.mysql and > other relevant documents. it seems working fine now. > > but i am facing one problem. when i create new Queue and assign its > user/group rights to users/groups it is not visible to that particular > users/groups in "New Ticket in" Drop Down, dont know why. > > can some one guide me as i am suffering from disaster. > In 3.6.7 (as I remember) and over, there is caching of queues (which make RT really faster), users have to logout to see newly created queues. (or you can clear their sessions on server side) From martin at proxmox.com Mon Feb 2 03:46:56 2009 From: martin at proxmox.com (Martin Maurer) Date: Mon, 2 Feb 2009 09:46:56 +0100 Subject: [rt-users] Anyone get Exchange working? In-Reply-To: <19fa96670902011851y2cc6001aq338229237cdbf6ff@mail.gmail.com> References: <19fa96670902011851y2cc6001aq338229237cdbf6ff@mail.gmail.com> Message-ID: <7B7881568CF40E4388B615CD06F87B980989D1@clara.maurer-it.com> Hi, I am just working on a howto for our RT virtual appliance - with exchange: http://pve.proxmox.com/wiki/RT_Request_Tracker#Integrate_RT_to_Exchange_ Server_2000.2F2003_environment (should be finished end of week) In short: - I prefer using a new user with address at domain.com (this is the address of the queue) - this user forwards to a contact: interal-rt at rt.domain.com) - configure a SMTP connector sending the address space (rt.domain.com) to your RT server If you change anything on SMTP Exchange: restart the smtp service AND the "Microsoft Exchange Routing Engine" Also check the mailer-setup on RT: I use postfix on RT, see our virtual appliance for more details. Br, Martin > -----Original Message----- > From: rt-users-bounces at lists.bestpractical.com [mailto:rt-users- > bounces at lists.bestpractical.com] On Behalf Of GravyFace > Sent: Montag, 2. Februar 2009 03:51 > To: rt-users at lists.bestpractical.com > Subject: [rt-users] Anyone get Exchange working? > > Having a heck of a time using Exchange as a relay/smarthost as > described in the wiki article's scenario 2: > http://wiki.bestpractical.com/view/MSExchangeRelay > > If anyone has this working, please give me a hand. > > Thank you > _______________________________________________ > 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 From pht at spatium.org Mon Feb 2 04:40:59 2009 From: pht at spatium.org (Michal Svoboda) Date: Mon, 2 Feb 2009 10:40:59 +0100 Subject: [rt-users] replytoticket, modifyticket and change queue right Message-ID: <20090202094059.GH21599@feynman.spatium.org> Hi, in my RT setup I need to distinguish two groups of people: 1) internal staff which may not directly communicate with requestor 2) support manager who may I understand that the comment/correspondence mechanism is suitable for this scenario. However, it is important that the internal staff does not mistakingly respond with 'reply', thus I need to revoke their right to do so. If I understand the rights correctly, one has to remove ReplyToTicket as well as ModifyTicket. Taking away ModifyTicket removes other goodies though, such as changing the queue (ie. forwarding of ticket between departments). And there's no separate "change queue" privilege. What do you suggest? Regards, Michal Svoboda From chris at de-punkt.de Mon Feb 2 07:15:30 2009 From: chris at de-punkt.de (Christopher Kunz (Filoo GmbH)) Date: Mon, 02 Feb 2009 13:15:30 +0100 Subject: [rt-users] RT 3.6.4, user list too long when resolving multiple tickets Message-ID: <4986E3E2.9040003@de-punkt.de> Hi all, since our upgrade to RT 3.6.4, the "resolve multiple tickets" functionality shows erratic behavior in my installation. When before, it only showed the privileged users (which are in the ballpark of 3-10 per queue), it then started to show *all* users who ever submitted tickets, including obvious spam and bogus users. This leads to inacceptable long loading times (the "resolve multiple tickets" page takes about 3 minutes to load). We're currently around ticket #74000 in our installation, so there are quite some ticket owners in the database... Unfortunately, I am not completely sure if the update to 3.6.4 is the actual reason for this change in behavior, since I have also made some minor changes in the configuration (which, of course, I don't remember now). Is there a switch in the config files that might have caused this behavior? Thanks for pointers, --ck -- Christopher Kunz | Gesch?ftsf?hrung | chris at filoo.de Filoo GmbH | Tilsiter Str. 1 | 33449 Langenberg | HRB4355 AG G?tersloh Gesch?ftsf?hrer: S.Grewing | J.Rehp?hler | C.Kunz Hotline: 07000-3378658 | Fax: 01805-963951172 (jew. 14 ct./Min.) From elacour at easter-eggs.com Mon Feb 2 07:22:38 2009 From: elacour at easter-eggs.com (Emmanuel Lacour) Date: Mon, 2 Feb 2009 13:22:38 +0100 Subject: [rt-users] RT 3.6.4, user list too long when resolving multiple tickets In-Reply-To: <4986E3E2.9040003@de-punkt.de> References: <4986E3E2.9040003@de-punkt.de> Message-ID: <20090202122236.GG31690@easter-eggs.com> On Mon, Feb 02, 2009 at 01:15:30PM +0100, Christopher Kunz (Filoo GmbH) wrote: > Hi all, > > since our upgrade to RT 3.6.4, the "resolve multiple tickets" > functionality shows erratic behavior in my installation. When before, it > only showed the privileged users (which are in the ballpark of 3-10 per > queue), it then started to show *all* users who ever submitted tickets, > including obvious spam and bogus users. > you seems to gave OwnTicket right to everyone or unprivileged users, check your permissions. From chris at de-punkt.de Mon Feb 2 07:33:19 2009 From: chris at de-punkt.de (Christopher Kunz (Filoo GmbH)) Date: Mon, 02 Feb 2009 13:33:19 +0100 Subject: [rt-users] RT 3.6.4, user list too long when resolving multiple tickets In-Reply-To: <20090202122236.GG31690@easter-eggs.com> References: <4986E3E2.9040003@de-punkt.de> <20090202122236.GG31690@easter-eggs.com> Message-ID: <4986E80F.7030202@de-punkt.de> Emmanuel Lacour schrieb: > you seems to gave OwnTicket right to everyone or unprivileged users, > check your permissions. Currently, global Group Rights are as follows: Everyone: CreateTicket Privileged: ShowOutgoingEmail Unprivileged: CreateTicket, ReplyToTicket, ShowOutgoingEmail, Watch Requestor: CreateTicket, ModifyTicket, ReplyToTicket All other relevant groups: No rights granted. For testing, I have now removed ShowOutgoingEmail and Watch from the Unprivileged group and the behavior does not seem to have changed. I have checked queue-specific groups and there are no additional default privileges. Any other ideas? Regards, --ck -- Christopher Kunz | Gesch?ftsf?hrung | chris at filoo.de Filoo GmbH | Tilsiter Str. 1 | 33449 Langenberg | HRB4355 AG G?tersloh Gesch?ftsf?hrer: S.Grewing | J.Rehp?hler | C.Kunz Hotline: 07000-3378658 | Fax: 01805-963951172 (jew. 14 ct./Min.) From elacour at easter-eggs.com Mon Feb 2 08:40:46 2009 From: elacour at easter-eggs.com (Emmanuel Lacour) Date: Mon, 2 Feb 2009 14:40:46 +0100 Subject: [rt-users] RT 3.6.4, user list too long when resolving multiple tickets In-Reply-To: <4986E80F.7030202@de-punkt.de> References: <4986E3E2.9040003@de-punkt.de> <20090202122236.GG31690@easter-eggs.com> <4986E80F.7030202@de-punkt.de> Message-ID: <20090202134045.GH31690@easter-eggs.com> On Mon, Feb 02, 2009 at 01:33:19PM +0100, Christopher Kunz (Filoo GmbH) wrote: > Emmanuel Lacour schrieb: > > you seems to gave OwnTicket right to everyone or unprivileged users, > > check your permissions. > > Any other ideas? > Is DBIx::SearchBuilder up to date? From chris at de-punkt.de Mon Feb 2 08:53:43 2009 From: chris at de-punkt.de (Christopher Kunz (Filoo GmbH)) Date: Mon, 02 Feb 2009 14:53:43 +0100 Subject: [rt-users] RT 3.6.4, user list too long when resolving multiple tickets In-Reply-To: <20090202134045.GH31690@easter-eggs.com> References: <4986E3E2.9040003@de-punkt.de> <20090202122236.GG31690@easter-eggs.com> <4986E80F.7030202@de-punkt.de> <20090202134045.GH31690@easter-eggs.com> Message-ID: <4986FAE7.3080806@de-punkt.de> Emmanuel Lacour schrieb: > On Mon, Feb 02, 2009 at 01:33:19PM +0100, Christopher Kunz (Filoo GmbH) wrote: >> Emmanuel Lacour schrieb: >>> you seems to gave OwnTicket right to everyone or unprivileged users, >>> check your permissions. >> Any other ideas? >> > > Is DBIx::SearchBuilder up to date? Yes, it's current: cpan[12]> r DBIx::SearchBuilder All modules are up to date for DBIx::SearchBuilder Regards, --ck -- Christopher Kunz | Gesch?ftsf?hrung | chris at filoo.de Filoo GmbH | Tilsiter Str. 1 | 33449 Langenberg | HRB4355 AG G?tersloh Gesch?ftsf?hrer: S.Grewing | J.Rehp?hler | C.Kunz Hotline: 07000-3378658 | Fax: 01805-963951172 (jew. 14 ct./Min.) From elacour at easter-eggs.com Mon Feb 2 09:00:38 2009 From: elacour at easter-eggs.com (Emmanuel Lacour) Date: Mon, 2 Feb 2009 15:00:38 +0100 Subject: [rt-users] RT 3.6.4, user list too long when resolving multiple tickets In-Reply-To: <4986FAE7.3080806@de-punkt.de> References: <4986E3E2.9040003@de-punkt.de> <20090202122236.GG31690@easter-eggs.com> <4986E80F.7030202@de-punkt.de> <20090202134045.GH31690@easter-eggs.com> <4986FAE7.3080806@de-punkt.de> Message-ID: <20090202140037.GI31690@easter-eggs.com> On Mon, Feb 02, 2009 at 02:53:43PM +0100, Christopher Kunz (Filoo GmbH) wrote: > > Yes, it's current: > > cpan[12]> r DBIx::SearchBuilder > All modules are up to date for DBIx::SearchBuilder > Do you still get unprivileged users if you access this directly: http://..../rt/Elements/SelectOwner ? Here it should show every users that has OwnTicket right, either global or on one of the queues, as a group right, user right or system right. From joe.hartley at retailsolutions.com Mon Feb 2 09:42:01 2009 From: joe.hartley at retailsolutions.com (Joe Hartley) Date: Mon, 2 Feb 2009 06:42:01 -0800 Subject: [rt-users] Drop Attachments or Deny attachments In-Reply-To: <2282948c0901301257r49a8ef1ao1c93feb756712903@mail.gmail.com> References: <2282948c0901301257r49a8ef1ao1c93feb756712903@mail.gmail.com> Message-ID: <580CB599E684764C84C5CCFA64A929B40159722B@EXVBE011-2.exch011.intermedia.net> I use a script called stripmime to take out attachments and HTML formatting in emails going to RT. It's at http://www.phred.org/~alex/stripmime.html -- Joe Hartley | Sr. Linux SysAdmin Retail Solutions, Inc. 40 Sharpe Drive Cranston, RI 02920 joe.hartley at retailsolutions.com +1 401.824.5040 (o) | +1 401.824.5002 (f) From: rt-users-bounces at lists.bestpractical.com [mailto:rt-users-bounces at lists.bestpractical.com] On Behalf Of Rana Tanveer Sent: Friday, January 30, 2009 3:57 PM To: RT Users Subject: [rt-users] Drop Attachments or Deny attachments Hi RT Admins/Users I want to stop attachemt received at RT, means RT is configured in a way that it should not receive any attachment throug mails. is there any way to configure RT in such a way. i try to use DropAttachments like methods but attachemts are still there i want to deny/stop/drop attachments via RT if possible please give me guideline so i can implement this. -- --------------------------------------------- Rana Tanveer +923224194457 http://www.sysadminsline.com --------------------------------------------- -------------- next part -------------- An HTML attachment was scrubbed... URL: From kemcho12345 at yahoo.com Mon Feb 2 09:55:21 2009 From: kemcho12345 at yahoo.com (kem cho) Date: Mon, 2 Feb 2009 06:55:21 -0800 (PST) Subject: [rt-users] RT 3.6.4, user list too long when resolving multiple tickets In-Reply-To: <4986E3E2.9040003@de-punkt.de> Message-ID: <522789.42900.qm@web52502.mail.re2.yahoo.com> Check this out: ? http://www.gossamer-threads.com/lists/rt/users/81858#81858 --- On Mon, 2/2/09, Christopher Kunz (Filoo GmbH) wrote: From: Christopher Kunz (Filoo GmbH) Subject: [rt-users] RT 3.6.4, user list too long when resolving multiple tickets To: RT-Users at lists.bestpractical.com Date: Monday, February 2, 2009, 6:15 AM Hi all, since our upgrade to RT 3.6.4, the "resolve multiple tickets" functionality shows erratic behavior in my installation. When before, it only showed the privileged users (which are in the ballpark of 3-10 per queue), it then started to show *all* users who ever submitted tickets, including obvious spam and bogus users. This leads to inacceptable long loading times (the "resolve multiple tickets" page takes about 3 minutes to load). We're currently around ticket #74000 in our installation, so there are quite some ticket owners in the database... Unfortunately, I am not completely sure if the update to 3.6.4 is the actual reason for this change in behavior, since I have also made some minor changes in the configuration (which, of course, I don't remember now). Is there a switch in the config files that might have caused this behavior? Thanks for pointers, --ck -- Christopher Kunz | Gesch?ftsf?hrung | chris at filoo.de Filoo GmbH | Tilsiter Str. 1 | 33449 Langenberg | HRB4355 AG G?tersloh Gesch?ftsf?hrer: S.Grewing | J.Rehp?hler | C.Kunz Hotline: 07000-3378658 | Fax: 01805-963951172 (jew. 14 ct./Min.) _______________________________________________ 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 -------------- next part -------------- An HTML attachment was scrubbed... URL: From chris at de-punkt.de Mon Feb 2 09:57:45 2009 From: chris at de-punkt.de (Christopher Kunz (Filoo GmbH)) Date: Mon, 02 Feb 2009 15:57:45 +0100 Subject: [rt-users] RT 3.6.4, user list too long when resolving multiple tickets In-Reply-To: <522789.42900.qm@web52502.mail.re2.yahoo.com> References: <522789.42900.qm@web52502.mail.re2.yahoo.com> Message-ID: <498709E9.4060100@de-punkt.de> kem cho schrieb: > Check this out: > > http://www.gossamer-threads.com/lists/rt/users/81858#81858 > Nice workaround, works fine for me. Owner change is very rarely used in our setup, anyway. Regards, --ck -- Christopher Kunz | Gesch?ftsf?hrung | chris at filoo.de Filoo GmbH | Tilsiter Str. 1 | 33449 Langenberg | HRB4355 AG G?tersloh Gesch?ftsf?hrer: S.Grewing | J.Rehp?hler | C.Kunz Hotline: 07000-3378658 | Fax: 01805-963951172 (jew. 14 ct./Min.) From sturner at MIT.EDU Mon Feb 2 10:05:13 2009 From: sturner at MIT.EDU (Stephen Turner) Date: Mon, 02 Feb 2009 10:05:13 -0500 Subject: [rt-users] RT 3.6.4, user list too long when resolving multiple tickets In-Reply-To: <498709E9.4060100@de-punkt.de> References: <522789.42900.qm@web52502.mail.re2.yahoo.com> <498709E9.4060100@de-punkt.de> Message-ID: On Mon, 02 Feb 2009 09:57:45 -0500, Christopher Kunz (Filoo GmbH) wrote: > kem cho schrieb: >> Check this out: >> >> http://www.gossamer-threads.com/lists/rt/users/81858#81858 >> > > > Nice workaround, works fine for me. Owner change is very rarely used in > our setup, anyway. > > Regards, > > --ck > > We did the same thing for Query Builder too (html/Search/Elements/PickBasics) Steve -- Stephen Turner Senior Programmer/Analyst - SAIS MIT IS&T From elacour at easter-eggs.com Mon Feb 2 10:07:11 2009 From: elacour at easter-eggs.com (Emmanuel Lacour) Date: Mon, 2 Feb 2009 16:07:11 +0100 Subject: [rt-users] RT 3.6.4, user list too long when resolving multiple tickets In-Reply-To: <498709E9.4060100@de-punkt.de> References: <522789.42900.qm@web52502.mail.re2.yahoo.com> <498709E9.4060100@de-punkt.de> Message-ID: <20090202150710.GK31690@easter-eggs.com> On Mon, Feb 02, 2009 at 03:57:45PM +0100, Christopher Kunz (Filoo GmbH) wrote: > kem cho schrieb: > > Check this out: > > > > http://www.gossamer-threads.com/lists/rt/users/81858#81858 > > > > > Nice workaround, works fine for me. Owner change is very rarely used in > our setup, anyway. > Yes, but it hides the fact that you seems to have an ACL issue in your setup. What is the result of this sql query on your DB: select * from ACL where RightName='OwnTicket'; From chris at de-punkt.de Mon Feb 2 10:13:52 2009 From: chris at de-punkt.de (Christopher Kunz (Filoo GmbH)) Date: Mon, 02 Feb 2009 16:13:52 +0100 Subject: [rt-users] RT 3.6.4, user list too long when resolving multiple tickets In-Reply-To: <20090202150710.GK31690@easter-eggs.com> References: <522789.42900.qm@web52502.mail.re2.yahoo.com> <498709E9.4060100@de-punkt.de> <20090202150710.GK31690@easter-eggs.com> Message-ID: <49870DB0.8040703@de-punkt.de> Emmanuel Lacour schrieb: > > select * from ACL where RightName='OwnTicket'; > mysql> select * from ACL where RightName='OwnTicket'; +------+---------------+-------------+-----------+------------+----------+-------------+---------------+ | id | PrincipalType | PrincipalId | RightName | ObjectType | ObjectId | DelegatedBy | DelegatedFrom | +------+---------------+-------------+-----------+------------+----------+-------------+---------------+ | 19 | Group | 8881 | OwnTicket | RT::Queue | 3 | 0 | 0 | | 843 | Group | 7616 | OwnTicket | RT::Queue | 4 | 0 | 0 | | 35 | Group | 8880 | OwnTicket | RT::Queue | 4 | 0 | 0 | | 853 | Group | 264326 | OwnTicket | RT::Queue | 4 | 0 | 0 | | 67 | Group | 5252 | OwnTicket | RT::Queue | 5 | 0 | 0 | | 66 | Group | 8881 | OwnTicket | RT::Queue | 5 | 0 | 0 | | 105 | Group | 8879 | OwnTicket | RT::Queue | 6 | 0 | 0 | | 106 | Group | 8882 | OwnTicket | RT::Queue | 6 | 0 | 0 | | 143 | Group | 8879 | OwnTicket | RT::Queue | 7 | 0 | 0 | | 144 | Group | 8882 | OwnTicket | RT::Queue | 7 | 0 | 0 | | 181 | Group | 8879 | OwnTicket | RT::Queue | 8 | 0 | 0 | | 182 | Group | 8882 | OwnTicket | RT::Queue | 8 | 0 | 0 | | 205 | Group | 8881 | OwnTicket | RT::Queue | 9 | 0 | 0 | | 1204 | Group | 7616 | OwnTicket | RT::Queue | 10 | 0 | 0 | | 232 | Group | 8178 | OwnTicket | RT::Queue | 10 | 0 | 0 | | 231 | Group | 8880 | OwnTicket | RT::Queue | 10 | 0 | 0 | | 264 | Group | 7616 | OwnTicket | RT::Queue | 11 | 0 | 0 | | 263 | Group | 8881 | OwnTicket | RT::Queue | 11 | 0 | 0 | | 298 | Group | 8178 | OwnTicket | RT::Queue | 13 | 0 | 0 | | 297 | Group | 8880 | OwnTicket | RT::Queue | 13 | 0 | 0 | | 358 | Group | 4054 | OwnTicket | RT::Queue | 14 | 0 | 0 | | 377 | Group | 6780 | OwnTicket | RT::Queue | 14 | 0 | 0 | | 396 | Group | 7086 | OwnTicket | RT::Queue | 14 | 0 | 0 | | 329 | Group | 8880 | OwnTicket | RT::Queue | 14 | 0 | 0 | | 412 | Group | 8881 | OwnTicket | RT::Queue | 14 | 0 | 0 | | 338 | Owner | 8930 | OwnTicket | RT::Queue | 14 | 0 | 0 | | 421 | Group | 8880 | OwnTicket | RT::Queue | 15 | 0 | 0 | | 435 | Group | 8880 | OwnTicket | RT::Queue | 16 | 0 | 0 | | 448 | Group | 8881 | OwnTicket | RT::Queue | 17 | 0 | 0 | | 696 | Group | 101044 | OwnTicket | RT::Queue | 18 | 0 | 0 | | 734 | Group | 205245 | OwnTicket | RT::Queue | 18 | 0 | 0 | | 673 | Group | 101044 | OwnTicket | RT::Queue | 19 | 0 | 0 | | 650 | Group | 101044 | OwnTicket | RT::Queue | 20 | 0 | 0 | | 558 | Group | 97763 | OwnTicket | RT::Queue | 21 | 0 | 0 | | 803 | Group | 101044 | OwnTicket | RT::Queue | 21 | 0 | 0 | | 780 | Group | 205245 | OwnTicket | RT::Queue | 21 | 0 | 0 | | 466 | Group | 97763 | OwnTicket | RT::Queue | 22 | 0 | 0 | | 581 | Group | 97763 | OwnTicket | RT::Queue | 23 | 0 | 0 | | 627 | Group | 97763 | OwnTicket | RT::Queue | 24 | 0 | 0 | | 604 | Group | 97763 | OwnTicket | RT::Queue | 25 | 0 | 0 | | 826 | Group | 101044 | OwnTicket | RT::Queue | 25 | 0 | 0 | | 757 | Group | 205245 | OwnTicket | RT::Queue | 25 | 0 | 0 | | 863 | Group | 264326 | OwnTicket | RT::Queue | 28 | 0 | 0 | | 904 | Group | 8881 | OwnTicket | RT::Queue | 29 | 0 | 0 | | 881 | Group | 53747 | OwnTicket | RT::Queue | 29 | 0 | 0 | | 923 | Group | 268168 | OwnTicket | RT::Queue | 29 | 0 | 0 | | 1139 | Group | 3508 | OwnTicket | RT::Queue | 30 | 0 | 0 | | 1000 | Group | 4054 | OwnTicket | RT::Queue | 30 | 0 | 0 | | 954 | Group | 5054 | OwnTicket | RT::Queue | 30 | 0 | 0 | | 1116 | Group | 7086 | OwnTicket | RT::Queue | 30 | 0 | 0 | | 1069 | Group | 7462 | OwnTicket | RT::Queue | 30 | 0 | 0 | | 977 | Group | 7616 | OwnTicket | RT::Queue | 30 | 0 | 0 | | 1093 | Group | 225814 | OwnTicket | RT::Queue | 30 | 0 | 0 | | 1046 | Group | 289503 | OwnTicket | RT::Queue | 30 | 0 | 0 | | 1023 | Group | 312162 | OwnTicket | RT::Queue | 30 | 0 | 0 | | 1268 | Group | 1642 | OwnTicket | RT::Queue | 32 | 0 | 0 | | 1245 | Group | 4054 | OwnTicket | RT::Queue | 32 | 0 | 0 | | 1222 | Group | 7086 | OwnTicket | RT::Queue | 32 | 0 | 0 | | 1163 | Group | 7616 | OwnTicket | RT::Queue | 32 | 0 | 0 | | 1176 | Group | 3 | OwnTicket | RT::Queue | 33 | 0 | 0 | | 1179 | Group | 5 | OwnTicket | RT::Queue | 33 | 0 | 0 | | 1177 | Requestor | 349496 | OwnTicket | RT::Queue | 33 | 0 | 0 | | 1186 | Group | 4 | OwnTicket | RT::Queue | 34 | 0 | 0 | | 1183 | Owner | 349523 | OwnTicket | RT::Queue | 34 | 0 | 0 | | 1191 | Group | 4 | OwnTicket | RT::Queue | 35 | 0 | 0 | | 2 | Group | 11 | OwnTicket | RT::System | 1 | 0 | 0 | +------+---------------+-------------+-----------+------------+----------+-------------+---------------+ 66 rows in set (0.00 sec) Regards, --ck -- Christopher Kunz | Gesch?ftsf?hrung | chris at filoo.de Filoo GmbH | Tilsiter Str. 1 | 33449 Langenberg | HRB4355 AG G?tersloh Gesch?ftsf?hrer: S.Grewing | J.Rehp?hler | C.Kunz Hotline: 07000-3378658 | Fax: 01805-963951172 (jew. 14 ct./Min.) From brgsousa at gmail.com Mon Feb 2 10:21:20 2009 From: brgsousa at gmail.com (=?ISO-8859-1?Q?Bruno_Guimar=E3es_Sousa?=) Date: Mon, 2 Feb 2009 12:21:20 -0300 Subject: [rt-users] RT (request racker) mail sending configuration In-Reply-To: <8fae230c0901301225k4d70f769ldf2992f5a5802fb5@mail.gmail.com> References: <8fae230c0901301225k4d70f769ldf2992f5a5802fb5@mail.gmail.com> Message-ID: I created an account in my mail server just for that. I am imagining something like this: 1) RT wants to send a message to a recipient, then it requests localhost for that 2) Localhost is configured with exim4 and for every smtp request it authenticates in the mail server with an specific account 3) The mail server sends the message. Both are running Debian. Mail server has postfix installed. -- Bruno Guimar?es Sousa www.brunosousa.co.nr COINF-CEFET-BA Ci?ncia da Computa??o UFBA Registered Linux user #465914 On Fri, Jan 30, 2009 at 5:25 PM, Rob Munsch wrote: > On Fri, Jan 30, 2009 at 9:15 AM, Bruno Guimar?es Sousa > wrote: > > Hi, > > My RT instalation is working fine and retrieving emails through > fetchmail. > > But the last thing I need to configure is the mail sending. I have exim4 > > installed and it is not working to send emails when a ticket gets a > answer > > or a comment. > > How can I configure that so that every message sended goes to another > > server? > > It sounds like you need to tell exim4 that you have another "real" > email server, called a smarthost. > How you do this may depend on what that other server is and what > flavor of *nix you're running. > > Generally, there's an Exim conf directive to tell your it "smarthost = > server.name.tld" and what happens after that will also depend on how > you need to auth to that mail server. > > -- > /chown -R us:us /yourbase > -------------- next part -------------- An HTML attachment was scrubbed... URL: From elacour at easter-eggs.com Mon Feb 2 10:38:29 2009 From: elacour at easter-eggs.com (Emmanuel Lacour) Date: Mon, 2 Feb 2009 16:38:29 +0100 Subject: [rt-users] RT 3.6.4, user list too long when resolving multiple tickets In-Reply-To: <49870DB0.8040703@de-punkt.de> References: <522789.42900.qm@web52502.mail.re2.yahoo.com> <498709E9.4060100@de-punkt.de> <20090202150710.GK31690@easter-eggs.com> <49870DB0.8040703@de-punkt.de> Message-ID: <20090202153828.GM31690@easter-eggs.com> On Mon, Feb 02, 2009 at 04:13:52PM +0100, Christopher Kunz (Filoo GmbH) wrote: > Emmanuel Lacour schrieb: > > > > select * from ACL where RightName='OwnTicket'; > > > > > mysql> select * from ACL where RightName='OwnTicket'; > +------+---------------+-------------+-----------+------------+----------+-------------+---------------+ > | id | PrincipalType | PrincipalId | RightName | ObjectType | ObjectId > | DelegatedBy | DelegatedFrom | > +------+---------------+-------------+-----------+------------+----------+-------------+---------------+ [...] > | 1179 | Group | 5 | OwnTicket | RT::Queue | 33 > | 0 | 0 | On queue with Id 33, you gave right OwnTicket to Group 5 and Group 5 is usually the "Unprivileged" group! From ruslan.zakirov at gmail.com Mon Feb 2 10:44:07 2009 From: ruslan.zakirov at gmail.com (Ruslan Zakirov) Date: Mon, 2 Feb 2009 18:44:07 +0300 Subject: [rt-users] RT 3.6.4, user list too long when resolving multiple tickets In-Reply-To: <589c94400902020742o36020ac0xedc55b3f59020155@mail.gmail.com> References: <4986E3E2.9040003@de-punkt.de> <20090202122236.GG31690@easter-eggs.com> <4986E80F.7030202@de-punkt.de> <589c94400902020742o36020ac0xedc55b3f59020155@mail.gmail.com> Message-ID: <589c94400902020744n709f41a7u251b2103898e95a1@mail.gmail.com> Sorry :) you've already analyzed this with Emmanuel. On Mon, Feb 2, 2009 at 6:42 PM, Ruslan Zakirov wrote: > SELECT * FROM ACL WHERE RightName = 'OwnTicket'; > > paste here > > It can be a role on a queue. > > On Mon, Feb 2, 2009 at 3:33 PM, Christopher Kunz (Filoo GmbH) > wrote: >> Emmanuel Lacour schrieb: >>> you seems to gave OwnTicket right to everyone or unprivileged users, >>> check your permissions. >> >> Currently, global Group Rights are as follows: >> >> Everyone: CreateTicket >> Privileged: ShowOutgoingEmail >> Unprivileged: CreateTicket, ReplyToTicket, ShowOutgoingEmail, Watch >> Requestor: CreateTicket, ModifyTicket, ReplyToTicket >> All other relevant groups: No rights granted. >> >> For testing, I have now removed ShowOutgoingEmail and Watch from the >> Unprivileged group and the behavior does not seem to have changed. >> >> I have checked queue-specific groups and there are no additional default >> privileges. >> >> Any other ideas? >> >> Regards, >> >> --ck >> >> -- >> Christopher Kunz | Gesch?ftsf?hrung | chris at filoo.de >> Filoo GmbH | Tilsiter Str. 1 | 33449 Langenberg | HRB4355 AG G?tersloh >> Gesch?ftsf?hrer: S.Grewing | J.Rehp?hler | C.Kunz >> Hotline: 07000-3378658 | Fax: 01805-963951172 (jew. 14 ct./Min.) >> _______________________________________________ >> 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 >> > > > > -- > Best regards, Ruslan. > -- Best regards, Ruslan. From ruslan.zakirov at gmail.com Mon Feb 2 10:42:26 2009 From: ruslan.zakirov at gmail.com (Ruslan Zakirov) Date: Mon, 2 Feb 2009 18:42:26 +0300 Subject: [rt-users] RT 3.6.4, user list too long when resolving multiple tickets In-Reply-To: <4986E80F.7030202@de-punkt.de> References: <4986E3E2.9040003@de-punkt.de> <20090202122236.GG31690@easter-eggs.com> <4986E80F.7030202@de-punkt.de> Message-ID: <589c94400902020742o36020ac0xedc55b3f59020155@mail.gmail.com> SELECT * FROM ACL WHERE RightName = 'OwnTicket'; paste here It can be a role on a queue. On Mon, Feb 2, 2009 at 3:33 PM, Christopher Kunz (Filoo GmbH) wrote: > Emmanuel Lacour schrieb: >> you seems to gave OwnTicket right to everyone or unprivileged users, >> check your permissions. > > Currently, global Group Rights are as follows: > > Everyone: CreateTicket > Privileged: ShowOutgoingEmail > Unprivileged: CreateTicket, ReplyToTicket, ShowOutgoingEmail, Watch > Requestor: CreateTicket, ModifyTicket, ReplyToTicket > All other relevant groups: No rights granted. > > For testing, I have now removed ShowOutgoingEmail and Watch from the > Unprivileged group and the behavior does not seem to have changed. > > I have checked queue-specific groups and there are no additional default > privileges. > > Any other ideas? > > Regards, > > --ck > > -- > Christopher Kunz | Gesch?ftsf?hrung | chris at filoo.de > Filoo GmbH | Tilsiter Str. 1 | 33449 Langenberg | HRB4355 AG G?tersloh > Gesch?ftsf?hrer: S.Grewing | J.Rehp?hler | C.Kunz > Hotline: 07000-3378658 | Fax: 01805-963951172 (jew. 14 ct./Min.) > _______________________________________________ > 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 > -- Best regards, Ruslan. From chris at de-punkt.de Mon Feb 2 11:03:26 2009 From: chris at de-punkt.de (Christopher Kunz (Filoo GmbH)) Date: Mon, 02 Feb 2009 17:03:26 +0100 Subject: [rt-users] RT 3.6.4, user list too long when resolving multiple tickets In-Reply-To: <20090202153828.GM31690@easter-eggs.com> References: <522789.42900.qm@web52502.mail.re2.yahoo.com> <498709E9.4060100@de-punkt.de> <20090202150710.GK31690@easter-eggs.com> <49870DB0.8040703@de-punkt.de> <20090202153828.GM31690@easter-eggs.com> Message-ID: <4987194E.6070100@de-punkt.de> Emmanuel Lacour schrieb: > On queue with Id 33, you gave right OwnTicket to Group 5 and Group 5 is > usually the "Unprivileged" group! I removed that privilege from the respective queue (it is a test queue that was never actually used), and double-checked all other queues. However, I found a couple other queues in our installation that have Rights like CreateTicket, CommentOnTicket, ReplyTicket, ModifyTicket or others (*not* OwnTicket) set. Is this a problem, too? The issue persists (I have tested it with Elements/SelectOwner). Regards, --ck -- Christopher Kunz | Gesch?ftsf?hrung | chris at filoo.de Filoo GmbH | Tilsiter Str. 1 | 33449 Langenberg | HRB4355 AG G?tersloh Gesch?ftsf?hrer: S.Grewing | J.Rehp?hler | C.Kunz Hotline: 07000-3378658 | Fax: 01805-963951172 (jew. 14 ct./Min.) From elacour at easter-eggs.com Mon Feb 2 11:06:52 2009 From: elacour at easter-eggs.com (Emmanuel Lacour) Date: Mon, 2 Feb 2009 17:06:52 +0100 Subject: [rt-users] RT 3.6.4, user list too long when resolving multiple tickets In-Reply-To: <589c94400902020744n709f41a7u251b2103898e95a1@mail.gmail.com> References: <4986E3E2.9040003@de-punkt.de> <20090202122236.GG31690@easter-eggs.com> <4986E80F.7030202@de-punkt.de> <589c94400902020742o36020ac0xedc55b3f59020155@mail.gmail.com> <589c94400902020744n709f41a7u251b2103898e95a1@mail.gmail.com> Message-ID: <20090202160651.GN31690@easter-eggs.com> On Mon, Feb 02, 2009 at 06:44:07PM +0300, Ruslan Zakirov wrote: > Sorry :) you've already analyzed this with Emmanuel. > I just added this in the FAQ (section Performances) on the wiki :) http://wiki.bestpractical.com/view/FAQ From elacour at easter-eggs.com Mon Feb 2 12:08:18 2009 From: elacour at easter-eggs.com (Emmanuel Lacour) Date: Mon, 2 Feb 2009 18:08:18 +0100 Subject: [rt-users] RT 3.6.4, user list too long when resolving multiple tickets In-Reply-To: <4987194E.6070100@de-punkt.de> References: <522789.42900.qm@web52502.mail.re2.yahoo.com> <498709E9.4060100@de-punkt.de> <20090202150710.GK31690@easter-eggs.com> <49870DB0.8040703@de-punkt.de> <20090202153828.GM31690@easter-eggs.com> <4987194E.6070100@de-punkt.de> Message-ID: <20090202170817.GA6772@easter-eggs.com> On Mon, Feb 02, 2009 at 05:03:26PM +0100, Christopher Kunz (Filoo GmbH) wrote: > Emmanuel Lacour schrieb: > > On queue with Id 33, you gave right OwnTicket to Group 5 and Group 5 is > > usually the "Unprivileged" group! > > I removed that privilege from the respective queue (it is a test queue > that was never actually used), and double-checked all other queues. THere was also OwnTicket granted to "Everyone" on this queue, did you removed it? > However, I found a couple other queues in our installation that have > Rights like CreateTicket, CommentOnTicket, ReplyTicket, ModifyTicket or > others (*not* OwnTicket) set. Is this a problem, too? Shouldn't. > > The issue persists (I have tested it with Elements/SelectOwner). > About how many users do you get in SelectOwner? 10, 100, 1000, more? If you removed the OwnTicket right on Unprivileged and Everyone group of your test queue and still got a high number of people in SelectOwner, then it's probably because either one or more of your user groups contains those people, or because you made too many people privileged. From chris at de-punkt.de Mon Feb 2 12:11:27 2009 From: chris at de-punkt.de (Christopher Kunz (Filoo GmbH)) Date: Mon, 02 Feb 2009 18:11:27 +0100 Subject: [rt-users] RT 3.6.4, user list too long when resolving multiple tickets In-Reply-To: <20090202170817.GA6772@easter-eggs.com> References: <522789.42900.qm@web52502.mail.re2.yahoo.com> <498709E9.4060100@de-punkt.de> <20090202150710.GK31690@easter-eggs.com> <49870DB0.8040703@de-punkt.de> <20090202153828.GM31690@easter-eggs.com> <4987194E.6070100@de-punkt.de> <20090202170817.GA6772@easter-eggs.com> Message-ID: <4987293F.7040202@de-punkt.de> Emmanuel Lacour schrieb: > On Mon, Feb 02, 2009 at 05:03:26PM +0100, Christopher Kunz (Filoo GmbH) wrote: >> Emmanuel Lacour schrieb: >>> On queue with Id 33, you gave right OwnTicket to Group 5 and Group 5 is >>> usually the "Unprivileged" group! >> I removed that privilege from the respective queue (it is a test queue >> that was never actually used), and double-checked all other queues. > > THere was also OwnTicket granted to "Everyone" on this queue, did you > removed it? That did the trick. Thanks so much! Regards, --ck -- Christopher Kunz | Gesch?ftsf?hrung | chris at filoo.de Filoo GmbH | Tilsiter Str. 1 | 33449 Langenberg | HRB4355 AG G?tersloh Gesch?ftsf?hrer: S.Grewing | J.Rehp?hler | C.Kunz Hotline: 07000-3378658 | Fax: 01805-963951172 (jew. 14 ct./Min.) From ktm at rice.edu Mon Feb 2 12:29:01 2009 From: ktm at rice.edu (Kenneth Marshall) Date: Mon, 2 Feb 2009 11:29:01 -0600 Subject: [rt-users] RT full text indexing with PostgreSQL In-Reply-To: <20090202034142.GB29522@it.is.rice.edu> References: <20090202034142.GB29522@it.is.rice.edu> Message-ID: <20090202172901.GB2995@it.is.rice.edu> On Sun, Feb 01, 2009 at 09:41:42PM -0600, Kenneth Marshall wrote: > I just updated the PostgreSQLFullText pages on the wiki with > the triggers to keep the parsed document columns updated whenever > there is a change to the dependent columns. > > Here are the commands for adding the triggers to keep the textsearchable > columns corresponding to attachments.subject/content and > objectcustomfieldvalues.largecontent up to date: > > CREATE TRIGGER tsvectorupdate BEFORE INSERT OR UPDATE > ON attachments FOR EACH ROW EXECUTE PROCEDURE > tsvector_update_trigger(textsearchable, 'pg_catalog.english', subject, content); > > CREATE TRIGGER tsvectorupdate BEFORE INSERT OR UPDATE > ON objectcustomfieldvalues FOR EACH ROW EXECUTE PROCEDURE > tsvector_update_trigger(textsearchable, 'pg_catalog.english', largecontent); > > Please let me know if there are any problems and bon voyage. > > Ken I have added a variation of the above triggers to the wiki page to only pre-parse the first 1MB of attachments/customfields: CREATE FUNCTION attachments_trigger() RETURNS trigger AS $$ begin new.textsearchable := to_tsvector('pg_catalog.english', substring(coalesce(new.subject, '') || coalesce(new.content, '') from 1 for 1000000)); return new; end $$ LANGUAGE plpgsql; CREATE TRIGGER tsvectorupdate BEFORE INSERT OR UPDATE ON attachments FOR EACH ROW EXECUTE PROCEDURE attachments_trigger(); CREATE FUNCTION objectcustomfieldvalues_trigger() RETURNS trigger AS $$ begin new.textsearchable := to_tsvector('pg_catalog.english', substring(coalesce(new.largecontent, '') from 1 for 1000000)); return new; end $$ LANGUAGE plpgsql; CREATE TRIGGER tsvectorupdate BEFORE INSERT OR UPDATE ON objectcustomfieldvalues FOR EACH ROW EXECUTE PROCEDURE objectcustomfieldvalues_trigger(); Please send me any feedback or suggestions. Cheers, Ken PS. The fast full contents searches really rock! From jesse at bestpractical.com Mon Feb 2 12:54:25 2009 From: jesse at bestpractical.com (Jesse Vincent) Date: Mon, 2 Feb 2009 12:54:25 -0500 Subject: [rt-users] queue tag moved from left of subject to right of subject? In-Reply-To: References: <3DD5DF2C-DABB-480D-9FDC-8658D03D81FB@netconsonance.com> Message-ID: <20090202175425.GV595@bestpractical.com> On Sun, Feb 01, 2009 at 03:58:23PM -0500, Jerrad Pierce wrote: > > From this point forward, the tag in the e-mail will be on the right > > instead of the left. I cannot figure out exactly what causes this > > shift. Can someone clue me in? Can we prevent it? > Same thing occurs here. Never really looked into it though. This is the subject-token extraction kicking in. It's designed to let two RT's talk to each other. There's a global scrip. I'm not sure why it would kick in for your own RT's tag though. Patches gratefully 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 > -- From jpierce at cambridgeenergyalliance.org Mon Feb 2 12:58:26 2009 From: jpierce at cambridgeenergyalliance.org (Jerrad Pierce) Date: Mon, 2 Feb 2009 12:58:26 -0500 Subject: [rt-users] queue tag moved from left of subject to right of subject? In-Reply-To: <20090202175425.GV595@bestpractical.com> References: <3DD5DF2C-DABB-480D-9FDC-8658D03D81FB@netconsonance.com> <20090202175425.GV595@bestpractical.com> Message-ID: > On Sun, Feb 01, 2009 at 03:58:23PM -0500, Jerrad Pierce wrote: >> > From this point forward, the tag in the e-mail will be on the right >> > instead of the left. I cannot figure out exactly what causes this >> > shift. Can someone clue me in? Can we prevent it? >> Same thing occurs here. Never really looked into it though. > > This is the subject-token extraction kicking in. It's designed to let > two RT's talk to each other. There's a global scrip. > > I'm not sure why it would kick in for your own RT's tag though. Patches > gratefully appreciated. Do you have a particular location in mind? I thought I fixed everything relevant, but in my case, it might being tripped up (though only occasionally) because I customized the tag to include the queue name a la [ORG Q ID], so that it had some user friendly/usability merit. From gravyface at gmail.com Mon Feb 2 14:10:07 2009 From: gravyface at gmail.com (GravyFace) Date: Mon, 2 Feb 2009 14:10:07 -0500 Subject: [rt-users] Anyone get Exchange working? In-Reply-To: <7B7881568CF40E4388B615CD06F87B980989D1@clara.maurer-it.com> References: <19fa96670902011851y2cc6001aq338229237cdbf6ff@mail.gmail.com> <7B7881568CF40E4388B615CD06F87B980989D1@clara.maurer-it.com> Message-ID: <19fa96670902021110m27b15f84t5987ebd04bb169fb@mail.gmail.com> Forwarders! I completely overlooked that. I was trying to share address space between both boxes using the KB article on the subject and was having no luck. Working like a charm now, and don't have to mess with my default policies at all. I actually created two distributions groups: one for correspondence the other for comments and added the corresponding rt.mydomain.com contacts to each one. This way, if RT goes down for some reason I can easily add my team to the distribution group so we can at least get support request emails. Thanks alot. On Mon, Feb 2, 2009 at 3:46 AM, Martin Maurer wrote: > Hi, > > I am just working on a howto for our RT virtual appliance - with > exchange: > http://pve.proxmox.com/wiki/RT_Request_Tracker#Integrate_RT_to_Exchange_ > Server_2000.2F2003_environment > > (should be finished end of week) > > In short: > - I prefer using a new user with address at domain.com (this is the address > of the queue) > - this user forwards to a contact: interal-rt at rt.domain.com) > - configure a SMTP connector sending the address space (rt.domain.com) > to your RT server > > If you change anything on SMTP Exchange: restart the smtp service AND > the "Microsoft Exchange Routing Engine" > > Also check the mailer-setup on RT: I use postfix on RT, see our virtual > appliance for more details. > > Br, Martin > >> -----Original Message----- >> From: rt-users-bounces at lists.bestpractical.com [mailto:rt-users- >> bounces at lists.bestpractical.com] On Behalf Of GravyFace >> Sent: Montag, 2. Februar 2009 03:51 >> To: rt-users at lists.bestpractical.com >> Subject: [rt-users] Anyone get Exchange working? >> >> Having a heck of a time using Exchange as a relay/smarthost as >> described in the wiki article's scenario 2: >> http://wiki.bestpractical.com/view/MSExchangeRelay >> >> If anyone has this working, please give me a hand. >> >> Thank you >> _______________________________________________ >> 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 > > > From jpierce at cambridgeenergyalliance.org Mon Feb 2 14:36:42 2009 From: jpierce at cambridgeenergyalliance.org (Jerrad Pierce) Date: Mon, 2 Feb 2009 14:36:42 -0500 Subject: [rt-users] RLIKE Query? Message-ID: Is there any way to use RLIKE from the GUI? I see nothing on the wiki nor list archives, and Advanced Query Builder barfs :-/ In this case I'm just doing alternation so I can explode the query, but it's ugly and there are other times where that won;t be an option... -- Cambridge Energy Alliance: Save money. Save the planet. From gravyface at gmail.com Mon Feb 2 14:37:04 2009 From: gravyface at gmail.com (GravyFace) Date: Mon, 2 Feb 2009 14:37:04 -0500 Subject: [rt-users] Setting up Rights for Multiple Clients Message-ID: <19fa96670902021137i69f5f3c5v12b46c01e627df96@mail.gmail.com> I'm following along on "ItsFinallyInstalledNowWhat" and "Rights" wiki entries and while the "Rights" has described something similar to what we want to achieve, I'm not sure if it's going to provide the kind of client separation we want. We provide IT support for a few dozen small businesses. Most of our customers have a "point of contact" whom is responsible for handling requests/issues internally before contacting us. This isn't always the case though: there's a chance that a new employee or client may need assistance before someone gets around to creating a user in RT. Because of this, I've allowed Everyone to CreateTickets and ReplyToTickets in my only queue I've created so far: Support. I'd also like to implement SelfService, and allow Requestors to view their own tickets; I don't want them to be able to view any other Requestor's tickets. The SeeQueue permission is required for UI options/actions, but would that also let them see the subject line and/or Requestor of tickets in the queue that do not belong to them? Secondly, I see through the AutogeneratedPassword wiki item that there's a method of generating a password and email it to them. However, if I give them the ModifySelf permissions, would they then be able to change their password? I'm also seeing that auto-created users are done so as "Unprivileged": 1) can I change this to Privileged 2) is that bad thing, assuming I'm setting up permissions as described herein? For my company, I'm creating users for each technician and have created/assigned them to a group called SupportTeam with TakeTickets, StealTickets, DeleteTickets; I'm almost tempted to give all technicians full control over it as there's no trust issues between us and I'm not concerned about foul play. Bad idea? Finally, has anyone done any domain suffix matching for ticket viewing permissions? i.e. bob at acme.com and sally at acme.com have ShowTicket and ReplyToTicket rights for any ticket created by a Requestor's email matching *@acme.com. Thanks in advance. From daksh at olemiss.edu Mon Feb 2 15:17:40 2009 From: daksh at olemiss.edu (Daksh Chauhan) Date: Mon, 2 Feb 2009 14:17:40 -0600 Subject: [rt-users] RT 3.6.4, user list too long when resolving multiple tickets References: Message-ID: <3A66A6F0759F4C3F9F5796466A532036@itdox> I agree with Emmanuel that workaround does not really provide a "fix" on this issue. I have read and followed this issue (of users list too long, or QueryBuilder and Bulk update page takes too long to load) for a while. FYI: I am running RT 3.8.1 on opensuse11; perl 5.10; mysql 5.0 I did not see same issue as described in "Message 5" below. But, I did notice one of my queues had a permissions of "OwnTicket" to group 3. When I looked; group 3 is "Everyone", but the queue it was assigned to did not exist! Not sure why, perhaps it was deleted by prior admin. So, I removed that privilege from the "unknown" queue, and now my pages are much faster (i.e; I do not have a long list of users in "Own Ticket" drop down box). Thanks everyone for helping on this issue. Daksh > ------------------------------ > > Message: 2 > Date: Mon, 2 Feb 2009 16:07:11 +0100 > From: Emmanuel Lacour > Subject: Re: [rt-users] RT 3.6.4, user list too long when resolving > multiple tickets > To: rt-users at lists.bestpractical.com > Message-ID: <20090202150710.GK31690 at easter-eggs.com> > Content-Type: text/plain; charset=us-ascii > > On Mon, Feb 02, 2009 at 03:57:45PM +0100, Christopher Kunz (Filoo GmbH) > wrote: >> kem cho schrieb: >> > Check this out: >> > >> > http://www.gossamer-threads.com/lists/rt/users/81858#81858 >> > >> >> >> Nice workaround, works fine for me. Owner change is very rarely used in >> our setup, anyway. >> > > Yes, but it hides the fact that you seems to have an ACL issue in your > setup. What is the result of this sql query on your DB: > > select * from ACL where RightName='OwnTicket'; > > > ------------------------------ > > Message: 5 > Date: Mon, 2 Feb 2009 16:38:29 +0100 > From: Emmanuel Lacour > Subject: Re: [rt-users] RT 3.6.4, user list too long when resolving > multiple tickets > To: rt-users at lists.bestpractical.com > Message-ID: <20090202153828.GM31690 at easter-eggs.com> > Content-Type: text/plain; charset=us-ascii > > On Mon, Feb 02, 2009 at 04:13:52PM +0100, Christopher Kunz (Filoo GmbH) > wrote: >> Emmanuel Lacour schrieb: >> > >> > select * from ACL where RightName='OwnTicket'; >> > >> >> >> mysql> select * from ACL where RightName='OwnTicket'; >> +------+---------------+-------------+-----------+------------+----------+-------------+---------------+ >> | id | PrincipalType | PrincipalId | RightName | ObjectType | ObjectId >> | DelegatedBy | DelegatedFrom | >> +------+---------------+-------------+-----------+------------+----------+-------------+---------------+ > [...] >> | 1179 | Group | 5 | OwnTicket | RT::Queue | 33 >> | 0 | 0 | > > > On queue with Id 33, you gave right OwnTicket to Group 5 and Group 5 is > usually the "Unprivileged" group! > From jpierce at cambridgeenergyalliance.org Mon Feb 2 15:53:18 2009 From: jpierce at cambridgeenergyalliance.org (Jerrad Pierce) Date: Mon, 2 Feb 2009 15:53:18 -0500 Subject: [rt-users] queue tag moved from left of subject to right of subject? In-Reply-To: References: <3DD5DF2C-DABB-480D-9FDC-8658D03D81FB@netconsonance.com> <20090202175425.GV595@bestpractical.com> Message-ID: In particular, I have the following local/lib/RT/Interface/Email_Local.pm: http://codepad.org/pSthWrxD -- Cambridge Energy Alliance: Save money. Save the planet. From jpierce at cambridgeenergyalliance.org Mon Feb 2 16:12:48 2009 From: jpierce at cambridgeenergyalliance.org (Jerrad Pierce) Date: Mon, 2 Feb 2009 16:12:48 -0500 Subject: [rt-users] RT 3.8.2 question In-Reply-To: <49650EAD.2010400@lbl.gov> References: <49650EAD.2010400@lbl.gov> Message-ID: On Wed, Jan 7, 2009 at 15:21, Kenneth Crocker wrote: > To all, > We are planning to move up to 3.8.2 soon (a month?). One of the tings > my users do not like is that there are many CF's that are sowing up in > their "Modify Ticket" screen that some use, some don't ,but needs to be > available for all. They want to be able to move the one's they do NOT > use (individually) out of the way (to the far right and to the bottom). > Is this something that is offered as a feature in 3.8.2 or do we need to > modify code? Thanks. I've never seen any such thing, and would use GreaseMonkey or another client solution rather than monkeying with the the codebase. -- Cambridge Energy Alliance: Save money. Save the planet. From jesse at bestpractical.com Mon Feb 2 16:47:35 2009 From: jesse at bestpractical.com (Jesse Vincent) Date: Mon, 2 Feb 2009 16:47:35 -0500 Subject: [rt-users] queue tag moved from left of subject to right of subject? In-Reply-To: References: <3DD5DF2C-DABB-480D-9FDC-8658D03D81FB@netconsonance.com> <20090202175425.GV595@bestpractical.com> Message-ID: <20090202214735.GE595@bestpractical.com> On Mon, Feb 02, 2009 at 03:53:18PM -0500, Jerrad Pierce wrote: > In particular, I have the following local/lib/RT/Interface/Email_Local.pm: > http://codepad.org/pSthWrxD Does RT work correctly without your custom code? > -- > Cambridge Energy Alliance: Save money. Save the planet. > -- From jpierce at cambridgeenergyalliance.org Mon Feb 2 17:03:56 2009 From: jpierce at cambridgeenergyalliance.org (Jerrad Pierce) Date: Mon, 2 Feb 2009 17:03:56 -0500 Subject: [rt-users] queue tag moved from left of subject to right of subject? In-Reply-To: <20090202215251.GF595@bestpractical.com> References: <3DD5DF2C-DABB-480D-9FDC-8658D03D81FB@netconsonance.com> <20090202175425.GV595@bestpractical.com> <20090202214735.GE595@bestpractical.com> <20090202215251.GF595@bestpractical.com> Message-ID: Doh! Must amend $ExtractSubjectTagMatch in RT_SiteConfig to match the RE in my code. (Actually, why does RT::Interface::Email have a mix of config & hard-coded regexpen?) From joe.rtuser at gmail.com Mon Feb 2 17:26:14 2009 From: joe.rtuser at gmail.com (Akash) Date: Mon, 2 Feb 2009 17:26:14 -0500 Subject: [rt-users] Security risk! Passwords can be compromised! Message-ID: Hi all, When I enabled logging of stack traces, the user passwords are being written in cleartext in the log files! I enabled stack tracing by adding the the following line in RT_SiteConfig.pm: Set($LogStackTraces, 4); Can somebody please fix this serious error so that passwords are encrypted? I am using RT 3.8.1 installed from ports on a FreeBSD machine. (Actually I think I got a patch from someone in this mailing list.) If the error has been fixed in 3.8.2, please let me know. Also, if a 3.8.2 port is available, is it stable enough to update my 3.8.1 version? Thanks, Akash. -------------- next part -------------- An HTML attachment was scrubbed... URL: From jrhett at netconsonance.com Mon Feb 2 18:14:03 2009 From: jrhett at netconsonance.com (Jo Rhett) Date: Mon, 2 Feb 2009 15:14:03 -0800 Subject: [rt-users] Security risk! Passwords can be compromised! In-Reply-To: References: Message-ID: On Feb 2, 2009, at 2:26 PM, Akash wrote: > Also, if a 3.8.2 port is available, is it stable enough to update my > 3.8.1 > version? The 3.8.2 port update is here: http://www.freebsd.org/cgi/query-pr.cgi?pr=131167 And we've been running it for a week with no problems. The change from 3.8.1 to 3.8.2 was only the version number in the port configuration ;-) -- Jo Rhett Net Consonance : consonant endings by net philanthropy, open source and other randomness From jesse at bestpractical.com Mon Feb 2 18:16:38 2009 From: jesse at bestpractical.com (Jesse Vincent) Date: Mon, 2 Feb 2009 18:16:38 -0500 Subject: [rt-users] Security risk! Passwords can be compromised! In-Reply-To: References: Message-ID: <20090202231638.GA5043@17h.local> Akash, Just as a general point of etiquette, it's customary to notify vendors of security related issues privately before publicly announcing them. Posting the details of security-related issues to a public mailinglist without giving the folks who make a package to address a potential vulnerability is irresponsible and potentially dangerous. Thankfully, at first glance, it looks like the issue you've run into isn't particularly dangerous. RT ships with stack trace logging disabled and _generally_ the folks who have access to application logs are also the folks who manage the application. I do believe that the issue you've noticed merits a note in the config file that it's possible for sensitive data to get logged if that function is enabled. I intend to make that change for RT 3.8.3, but don't currently believe that this issue requires an accelerated release schedule. Best, Jesse Vincent Best Practical On Mon 2.Feb'09 at 17:26:14 -0500, Akash wrote: > Hi all, > > When I enabled logging of stack traces, the user passwords are being > written in cleartext in the log files! > I enabled stack tracing by adding the the following line in > RT_SiteConfig.pm: > > Set($LogStackTraces, 4); > > Can somebody please fix this serious error so that passwords are > encrypted? I am using RT 3.8.1 installed > from ports on a FreeBSD machine. (Actually I think I got a patch from > someone in this mailing list.) If > the error has been fixed in 3.8.2, please let me know. > > Also, if a 3.8.2 port is available, is it stable enough to update my 3.8.1 > version? > > Thanks, > Akash. > _______________________________________________ > 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 -- -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 194 bytes Desc: not available URL: From jrhett at netconsonance.com Mon Feb 2 18:20:07 2009 From: jrhett at netconsonance.com (Jo Rhett) Date: Mon, 2 Feb 2009 15:20:07 -0800 Subject: [rt-users] queue tag moved from left of subject to right of subject? In-Reply-To: <20090202175425.GV595@bestpractical.com> References: <3DD5DF2C-DABB-480D-9FDC-8658D03D81FB@netconsonance.com> <20090202175425.GV595@bestpractical.com> Message-ID: <986B70B5-D366-492E-B250-207CC15C0AD5@netconsonance.com> On Feb 2, 2009, at 9:54 AM, Jesse Vincent wrote: > This is the subject-token extraction kicking in. It's designed to let > two RT's talk to each other. There's a global scrip. > > I'm not sure why it would kick in for your own RT's tag though. > Patches > gratefully appreciated. Okay, so it seems that my problem was that I gave every queue its own separate subject line tag, but didn't add each one of these to $EmailSubjectTagRegex. I assume I need something like this? Set( $EmailSubjectTagRegex, qr/\Q($rtname|Abuse|IPadmin|Security)\E/ i ); Likewise, I assume that if I got off my butt and created a patch which set this list based on all of the configured subject tags you'd be okay with that? -- Jo Rhett Net Consonance : consonant endings by net philanthropy, open source and other randomness From jesse at bestpractical.com Mon Feb 2 18:24:15 2009 From: jesse at bestpractical.com (Jesse Vincent) Date: Mon, 2 Feb 2009 18:24:15 -0500 Subject: [rt-users] queue tag moved from left of subject to right of subject? In-Reply-To: <986B70B5-D366-492E-B250-207CC15C0AD5@netconsonance.com> References: <3DD5DF2C-DABB-480D-9FDC-8658D03D81FB@netconsonance.com> <20090202175425.GV595@bestpractical.com> <986B70B5-D366-492E-B250-207CC15C0AD5@netconsonance.com> Message-ID: <20090202232415.GI595@bestpractical.com> > Likewise, I assume that if I got off my butt and created a patch which > set this list based on all of the configured subject tags you'd be > okay with that? Certainly. It probably makes sense to extract the code from lib/RT/Interface/Email.pm's ParseTicketId so it can be used by both. -jesse > -- > Jo Rhett > Net Consonance : consonant endings by net philanthropy, open source > and other randomness > > -- From rt at northpb.com Mon Feb 2 19:05:57 2009 From: rt at northpb.com (Dan O'Neill) Date: Mon, 02 Feb 2009 16:05:57 -0800 Subject: [rt-users] Scrip send email on create Message-ID: <49878A65.4070002@northpb.com> Enclosed is a script that adds one or more AdminCC's to a ticket during Create. This does not cause the AdminCC's to receive an email. How do I modify this Scrip or otherwise configure the Queue such that AdminCC's will receive a copy of the text in the opening transaction? Here is the scrip information. I've reviewed the contributions page and read what I can before asking this question. Thanks for the help. Condition: On Create Action: User Defined Template: Global template: Blank Stage: Transaction Create Custom condition: Custom action preparation code: return 1; Custom action cleanup code: my $owner_id = $self->TicketObj->Owner; my $requestor_email = $self->TicketObj->RequestorAddresses; my $admincclist = $self->TicketObj->AdminCc; my @actors = ('fred at company.com', 'wilma at company.com'); my $user = RT::User->new($RT::SystemUser); if ( $self->TicketObj->Subject =~ m/Customer A/i ) { foreach my $actor (@actors) { $user->LoadByEmail($actor); my $user_id = $user->Id; my $user_email = $user->EmailAddress; if ( $user_email ne $requestor_email ) { my($status, $msg) = $admincclist->AddMember($user->Id); unless( $status ) { $RT::Logger->warning( "can't add ticket owner as Cc : msg" ); return undef; } } } } else { return 0; } From jpierce at cambridgeenergyalliance.org Mon Feb 2 19:17:42 2009 From: jpierce at cambridgeenergyalliance.org (Jerrad Pierce) Date: Mon, 2 Feb 2009 19:17:42 -0500 Subject: [rt-users] queue tag moved from left of subject to right of subject? In-Reply-To: References: <3DD5DF2C-DABB-480D-9FDC-8658D03D81FB@netconsonance.com> <20090202175425.GV595@bestpractical.com> <20090202214735.GE595@bestpractical.com> <20090202215251.GF595@bestpractical.com> Message-ID: For anyone interested in using that queue name in tag hack, this is the other half to keep RT from munging subjects: Set($ExtractSubjectTagMatch, qr/\[.+?\s+(?:\w+\s+)?\#\d+\]/); Set($ExtractSubjectTagNoMatch, ( ${RT::EmailSubjectTagRegex} ? qr/\[(?:${RT::EmailSubjectTagRegex})\s+(?:\w+\s+)?#\d+\]/ : qr/\[\Q$RT::rtname\E\s+(?:\w+\s+)?#\d+\]/)); From schenkin at gmail.com Tue Feb 3 00:00:36 2009 From: schenkin at gmail.com (Sam Chenkin) Date: Tue, 3 Feb 2009 00:00:36 -0500 Subject: [rt-users] Get Value of Custom Field in Custom Action Message-ID: <2f7527a00902022100t45f591c0jabef365f3f0d9a19@mail.gmail.com> Hello all, I am trying to write a custom action that pulls a custom value from a user and changes the new ticket's priority based on that value. Below is the code I've written so far. It does successfully pull values (The ->Count method returns the correct number of values), but I can't GET the values out. ->Next just returns an empty variable. Any ideas? Thanks, ~Sam my $currentTicket = $self->TicketObj; my $currentUser = new RT::CurrentUser; $currentUser->LoadByEmail( $currentTicket->RequestorAddresses() ); $RT::Logger->debug("I found the user: " . $currentUser->Name); my $CF_Obj = RT::CustomField->new($RT::SystemUser); $CF_Obj->Load( '3' ); $RT::Logger->debug("Name of found CF Object is: " . $CF_Obj->Name() . " Created on " . $CF_Obj->Created); my $startPriority = ($CF_Obj->ValuesForObject( $currentUser )); $RT::Logger->debug( "There are " . $startPriority->Count . " objects"); From alf at stockton.co.za Tue Feb 3 03:43:43 2009 From: alf at stockton.co.za (Alf Stockton) Date: Tue, 03 Feb 2009 10:43:43 +0200 Subject: [rt-users] User forgot Message-ID: <498803BF.6040606@stockton.co.za> My user has mislaid/forgotten their ID's and passwords.....:-( Is there any way I can retrieve them? For that matter is there a default administrator user name and password? The version involved is 3.6 -- Regards, Alf Stockton www.stockton.co.za Q: What do they call the alphabet in Arkansas? A: The impossible dream. From alf at stockton.co.za Tue Feb 3 03:46:07 2009 From: alf at stockton.co.za (Alf Stockton) Date: Tue, 03 Feb 2009 10:46:07 +0200 Subject: [rt-users] Running two versions side by side Message-ID: <4988044F.50809@stockton.co.za> I have 3.6 installed on my users server and now would like to implement 3.8.2 running side by side with that, rather than an upgrade. Is this possible? -- Regards, Alf Stockton www.stockton.co.za Q: What do they call the alphabet in Arkansas? A: The impossible dream. From aaron at guise.net.nz Tue Feb 3 05:01:12 2009 From: aaron at guise.net.nz (Aaron Guise) Date: Tue, 3 Feb 2009 23:01:12 +1300 Subject: [rt-users] User forgot In-Reply-To: <498803BF.6040606@stockton.co.za> References: <498803BF.6040606@stockton.co.za> Message-ID: The default account is actually root. password is password unless whoever set it up has changed it, On Tue, Feb 3, 2009 at 9:43 PM, Alf Stockton wrote: > My user has mislaid/forgotten their ID's and passwords.....:-( > Is there any way I can retrieve them? > For that matter is there a default administrator user name and password? > The version involved is 3.6 > > -- > Regards, > Alf Stockton www.stockton.co.za > > Q: What do they call the alphabet in Arkansas? > A: The impossible dream. > _______________________________________________ > 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 > -------------- next part -------------- An HTML attachment was scrubbed... URL: From Milos.Barina at seznam.cz Tue Feb 3 05:23:03 2009 From: Milos.Barina at seznam.cz (=?us-ascii?Q?Milos=2EBarina?=) Date: Tue, 03 Feb 2009 11:23:03 +0100 (CET) Subject: [rt-users] 4 questions - Shredder, Link Rights and Attachments Message-ID: <749.1665-22096-759568605-1233656583@seznam.cz> Hi, I am a newbie RT admin and have a few questions related to RT problems I was not able to tackle myself. I am using RT 3.6.3. My four questions follow: SHREDDER 1/ Shredder Only Upgrade? Could I use the new shredder from RT 3.8.2 version while still keeping the rest of RT at level 3.6.3? Could this cause any problems? How should I proceed with such upgrade? 2/ How to shred a queue whose name starts with a space? The Shredder doesn't accept such queue names. I tried all kinds of escape sequences but to no avail. LINK RIGHTS 3/ Which right does a user need for linking by 'refers to'? My users see Permission denied when trying to link (by refers to) to a ticket in a queue where they don't have sufficient rights. I'd like to assign such "linking right" on a global level, perhaps to the Everyone group, however, I don't know which specific right to set to achieve this. Is it possible to do that or is there at least some workaround? What rights should I assign to get rid of the permission denied error message? So far I have a benevolent rights setting where almost all rights are assigned to the default group Everyone, see below: Everyone: AssignCustomFields CreateSavedSearch CreateTicket EditSavedSearches LoadSavedSearch ModifyCustomField ReplyToTicket SeeCustomField SeeQueue ShowSavedSearches ShowTicket ShowTicketComments Watch Unprivileged: No rights granted. Privileged: ModifySelf -------------------------- ATTACHMENTS 4/ Error when inserting two Attachments (.zip and .png). Occasionally we see errors when inserting attachments. One specific case is described below: When inserting two attachment (zip and png) only the png file came through sucessfully while the zip file threw the following error. --------start of error listing -------------------------------- error: MIME::Body::File->open /tmp/Z0t1q5h87B: No such file or directory at /usr/lib/perl5/site_perl/5.8.8/MIME/Body.pm line 435. context: ... 431: if( $mode ne 'r' && $mode ne 'w' ) { 432: die "bad mode: '$mode'"; 433: } 434: 435: my $IO = IO::File->new($path, $mode) || die "MIME::Body::File- >open $path: $!"; 436: 437: $IO->binmode() if $self->binmode; 438: 439: return $IO; ... code stack: /usr/lib/perl5/site_perl/5.8.8/MIME/Body.pm:435 /usr/lib/perl5/site_perl/5.8.8/MIME/Body.pm:335 /usr/lib/perl5/site_perl/5.8.8/MIME/Body.pm:217 /srv/rt3/lib/RT/Attachment_Overlay.pm:202 /srv/rt3/lib/RT/Attachment_Overlay.pm:187 /srv/rt3/lib/RT/Attachment_Overlay.pm:187 /srv/rt3/lib/RT/Transaction_Overlay.pm:485 /srv/rt3/lib/RT/Transaction_Overlay.pm:156 /srv/rt3/lib/RT/Record.pm:1444 /srv/rt3/lib/RT/Ticket_Overlay.pm:2441 /srv/rt3/lib/RT/Ticket_Overlay.pm:2355 /srv/rt3/lib/RT/Interface/Web.pm:570 /srv/rt3/share/html/Ticket/Display.html:142 /srv/rt3/share/html/Ticket/Update.html:216 /srv/rt3/share/html/autohandler:292 raw error ------raw-error------------------------------------------- MIME::Body::File->open /tmp/Z0t1q5h87B: No such file or directory at / usr/lib/perl5/site_perl/5.8.8/MIME/Body.pm line 435. Trace begun at /usr/lib/perl5/site_perl/5.8.8/HTML/Mason/Exceptions.pm line 129 HTML::Mason::Exceptions::rethrow_exception('MIME::Body::File->open /tmp/ Z0t1q5h87B: No such file or directory at /usr/lib/perl5/site_perl/5.8.8/ MIME/Body.pm line 435.^J') called at /usr/lib/perl5/site_perl/5.8.8/ MIME/Body.pm line 435 MIME::Body::File::open('MIME::Body::File=HASH(0xc710308)', 'r') called at /usr/lib/perl5/site_perl/5.8.8/MIME/Body.pm line 335 MIME::Body::print('MIME::Body::File=HASH(0xc710308)', 'IO::File=GLOB (0xc8b8408)') called at /usr/lib/perl5/site_perl/5.8.8/MIME/Body.pm line 217 MIME::Body::as_string('MIME::Body::File=HASH(0xc710308)') called at / srv/rt3/lib/RT/Attachment_Overlay.pm line 202 RT::Attachment::Create('RT::Attachment=HASH(0xc8c08f0)', 'TransactionId', 3243773, 'Parent', 1783283, 'Attachment', 'MIME::Entity=HASH(0xc719a1c)') called at /srv/rt3/lib/RT/ Attachment_Overlay.pm line 187 RT::Attachment::Create('RT::Attachment=HASH(0xc8b7904)', 'TransactionId', 3243773, 'Parent', 1783278, 'Attachment', 'MIME::Entity=HASH(0xc49bb3c)') called at /srv/rt3/lib/RT/ Attachment_Overlay.pm line 187 RT::Attachment::Create('RT::Attachment=HASH(0xc7090fc)', 'TransactionId', 3243773, 'Attachment', 'MIME::Entity=HASH(0xc4a21f4)') called at /srv/rt3/lib/RT/Transaction_Overlay.pm line 485 RT::Transaction::_Attach('RT::Transaction=HASH(0xc4a5748)', 'MIME::Entity=HASH(0xc4a21f4)') called at /srv/rt3/lib/RT/ Transaction_Overlay.pm line 156 RT::Transaction::Create('RT::Transaction=HASH(0xc4a5748)', 'ObjectId', 190259, 'ObjectType', 'RT::Ticket', 'TimeTaken', '', 'Type', 'Correspond', 'Data', 'No Subject', 'Field', undef, 'NewValue', undef, 'OldValue', undef, 'NewReference', undef, 'OldReference', undef, 'ReferenceType', undef, 'MIMEObj', 'MIME::Entity=HASH(0xc4a21f4)', 'ActivateScrips', 1, 'CommitScrips', 1) called at /srv/rt3/lib/RT/ Record.pm line 1444 RT::Record::_NewTransaction('RT::Ticket=HASH(0xc3df734)', 'Type', 'Correspond', 'Data', 'No Subject', 'TimeTaken', '', 'MIMEObj', 'MIME::Entity=HASH(0xc4a21f4)', 'CommitScrips', 1) called at /srv/rt3/ lib/RT/Ticket_Overlay.pm line 2441 RT::Ticket::_RecordNote('RT::Ticket=HASH(0xc3df734)', 'BccMessageTo', '', 'CcMessageTo', '', 'MIMEObj', 'MIME::Entity=HASH(0xc4a21f4)', 'NoteType', 'Correspond', 'Content', undef, 'TimeTaken', '') called at / srv/rt3/lib/RT/Ticket_Overlay.pm line 2355 RT::Ticket::Correspond('RT::Ticket=HASH(0xc3df734)', 'CcMessageTo', '', 'BccMessageTo', '', 'MIMEObj', 'MIME::Entity=HASH(0xc4a21f4)', 'TimeTaken', '') called at /srv/rt3/lib/RT/Interface/Web.pm line 570 HTML::Mason::Commands::ProcessUpdateMessage('ARGSRef', 'HASH (0xc1f23f0)', 'Actions', 'ARRAY(0x8fef0c0)', 'TicketObj', 'RT::Ticket=HASH(0xc3df734)') called at /srv/rt3/share/html/Ticket/ Display.html line 142 HTML::Mason::Commands::__ANON__('TicketObj', 'RT::Ticket=HASH (0xc3df734)', 'UpdateCc', '', 'UpdateTimeWorked', '', 'SubmitTicket', 'Aktualizovat po?adavek', 'Status', '', 'UpdateSubject', 'Grafika pro KS (flash) - ?MSS', 'QuoteTransaction', 3233394, 'UpdateBcc', '', 'UpdateType', 'response', 'Owner', '', 'Action', 'Respond', 'Attach', 'Fh=GLOB(0xc49dcc8)', 'UpdateContent', 'Ahoj, posilam flash animaci menu +statickou lisku v zip souboru a na hled ^M^Jodpovedniho formulare.^M^JPavel', 'UpdateTimeWorked-TimeUnits', 'minutes', 'UpdateAttach', 1, 'id', 190259, 'DefaultStatus', 'open') called at / usr/lib/perl5/site_perl/5.8.8/HTML/Mason/Component.pm line 135 HTML::Mason::Component::run('HTML::Mason::Component::FileBased=HASH (0xc1b9b88)', 'TicketObj', 'RT::Ticket=HASH(0xc3df734)', 'UpdateCc', '', 'UpdateTimeWorked', '', 'SubmitTicket', 'Aktualizovat po?adavek', 'Status', '', 'UpdateSubject', 'Grafika pro KS (flash) - ?MSS', 'QuoteTransaction', 3233394, 'UpdateBcc', '', 'UpdateType', 'response', 'Owner', '', 'Action', 'Respond', 'Attach', 'Fh=GLOB(0xc49dcc8)', 'UpdateContent', 'Ahoj, posilam flash animaci menu+statickou lisku v zip souboru a na hled ^M^Jodpovedniho formulare.^M^JPavel', 'UpdateTimeWorked-TimeUnits', 'minutes', 'UpdateAttach', 1, 'id', 190259, 'DefaultStatus', 'open') called at /usr/lib/perl5/ site_perl/5.8.8/HTML/Mason/Request.pm line 1278 eval {...} at /usr/lib/perl5/site_perl/5.8.8/HTML/Mason/Request.pm line 1268 HTML::Mason::Request::comp(undef, undef, 'TicketObj', 'RT::Ticket=HASH (0xc3df734)', 'UpdateCc', '', 'UpdateTimeWorked', '', 'SubmitTicket', 'Aktualizovat po?adavek', 'Status', '', 'UpdateSubject', 'Grafika pro KS (flash) - ?MSS', 'QuoteTransaction', 3233394, 'UpdateBcc', '', 'UpdateType', 'response', 'Owner', '', 'Action', 'Respond', 'Attach', 'Fh=GLOB(0xc49dcc8)', 'UpdateContent', 'Ahoj, posilam flash animaci menu +statickou lisku v zip souboru a na hled ^M^Jodpovedniho formulare.^M^JPavel', 'UpdateTimeWorked-TimeUnits', 'minutes', 'UpdateAttach', 1, 'id', 190259, 'DefaultStatus', 'open') called at / srv/rt3/share/html/Ticket/Update.html line 216 HTML::Mason::Commands::__ANON__('UpdateCc', '', 'UpdateTimeWorked', '', 'SubmitTicket', 'Aktualizovat po?adavek', 'Status', '', 'UpdateSubject', 'Grafika pro KS (flash) - ?MSS', 'QuoteTransaction', 3233394, 'UpdateBcc', '', 'Owner', '', 'UpdateType', 'response', 'UpdateContent', 'Ahoj, posilam flash animaci menu+statickou lisku v zip souboru a na hled ^M^Jodpovedniho formulare.^M^JPavel', 'Attach', 'Fh=GLOB (0xc49dcc8)', 'Action', 'Respond', 'UpdateAttach', 1, 'UpdateTimeWorked- TimeUnits', 'minutes', 'id', 190259, 'DefaultStatus', 'open') called at /usr/lib/perl5/site_perl/5.8.8/HTML/Mason/Component.pm line 135 HTML::Mason::Component::run('HTML::Mason::Component::FileBased=HASH (0xc1db8bc)', 'UpdateCc', '', 'UpdateTimeWorked', '', 'SubmitTicket', 'Aktualizovat po?adavek', 'Status', '', 'UpdateSubject', 'Grafika pro KS (flash) - ?MSS', 'QuoteTransaction', 3233394, 'UpdateBcc', '', 'Owner', '', 'UpdateType', 'response', 'UpdateContent', 'Ahoj, posilam flash animaci menu+statickou lisku v zip souboru a na hled ^M^Jodpovedniho formulare.^M^JPavel', 'Attach', 'Fh=GLOB(0xc49dcc8)', 'Action', 'Respond', 'UpdateAttach', 1, 'UpdateTimeWorked-TimeUnits', 'minutes', 'id', 190259, 'DefaultStatus', 'open') called at /usr/lib/perl5/ site_perl/5.8.8/HTML/Mason/Request.pm line 1278 eval {...} at /usr/lib/perl5/site_perl/5.8.8/HTML/Mason/Request.pm line 1268 HTML::Mason::Request::comp(undef, undef, undef, 'UpdateCc', '', 'UpdateTimeWorked', '', 'SubmitTicket', 'Aktualizovat po?adavek', 'Status', '', 'UpdateSubject', 'Grafika pro KS (flash) - ?MSS', 'QuoteTransaction', 3233394, 'UpdateBcc', '', 'Owner', '', 'UpdateType', 'response', 'UpdateContent', 'Ahoj, posilam flash animaci menu+statickou lisku v zip souboru a na hled ^M^Jodpovedniho formulare.^M^JPavel', 'Attach', 'Fh=GLOB(0xc49dcc8)', 'Action', 'Respond', 'UpdateAttach', 1, 'UpdateTimeWorked-TimeUnits', 'minutes', 'id', 190259, 'DefaultStatus', 'open') called at /srv/rt3/share/html/autohandler line 292 HTML::Mason::Commands::__ANON__('UpdateCc', '', 'UpdateTimeWorked', '', 'SubmitTicket', 'Aktualizovat poM-EM->adavek', 'Status', '', 'UpdateSubject', 'Grafika pro KS (flash) - M-DM-^LMSS', 'QuoteTransaction', 3233394, 'UpdateBcc', '', 'Owner', '', 'UpdateType', 'response', 'UpdateContent', 'Ahoj, posilam flash animaci menu+statickou lisku v zip souboru a na hled ^M^Jodpovedniho formulare.^M^JPavel', 'Attach', 'Fh=GLOB(0xc49dcc8)', 'Action', 'Respond', 'UpdateAttach', 1, 'UpdateTimeWorked-TimeUnits', 'minutes', 'id', 190259, 'DefaultStatus', 'open') called at /usr/lib/perl5/site_perl/5.8.8/HTML/Mason/ Component.pm line 135 HTML::Mason::Component::run('HTML::Mason::Component::FileBased=HASH (0xb5c8cd0)', 'UpdateCc', '', 'UpdateTimeWorked', '', 'SubmitTicket', 'Aktualizovat poM-EM->adavek', 'Status', '', 'UpdateSubject', 'Grafika pro KS (flash) - M-DM-^LMSS', 'QuoteTransaction', 3233394, 'UpdateBcc', '', 'Owner', '', 'UpdateType', 'response', 'UpdateContent', 'Ahoj, posilam flash animaci menu+statickou lisku v zip souboru a na hled ^M^Jodpovedniho formulare.^M^JPavel', 'Attach', 'Fh=GLOB(0xc49dcc8)', 'Action', 'Respond', 'UpdateAttach', 1, 'UpdateTimeWorked-TimeUnits', 'minutes', 'id', 190259, 'DefaultStatus', 'open') called at /usr/lib/ perl5/site_perl/5.8.8/HTML/Mason/Request.pm line 1273 eval {...} at /usr/lib/perl5/site_perl/5.8.8/HTML/Mason/Request.pm line 1268 HTML::Mason::Request::comp(undef, undef, undef, 'UpdateCc', '', 'UpdateTimeWorked', '', 'SubmitTicket', 'Aktualizovat poM-EM->adavek', 'Status', '', 'UpdateSubject', 'Grafika pro KS (flash) - M-DM-^LMSS', 'QuoteTransaction', 3233394, 'UpdateBcc', '', 'Owner', '', 'UpdateType', 'response', 'UpdateContent', 'Ahoj, posilam flash animaci menu+statickou lisku v zip souboru a na hled ^M^Jodpovedniho formulare.^M^JPavel', 'Attach', 'Fh=GLOB(0xc49dcc8)', 'Action', 'Respond', 'UpdateAttach', 1, 'UpdateTimeWorked-TimeUnits', 'minutes', 'id', 190259, 'DefaultStatus', 'open') called at /usr/lib/perl5/site_perl/5.8.8/HTML/Mason/Request.pm line 467 eval {...} at /usr/lib/perl5/site_perl/5.8.8/HTML/Mason/Request.pm line 467 eval {...} at /usr/lib/perl5/site_perl/5.8.8/HTML/Mason/Request.pm line 419 HTML::Mason::Request::exec('HTML::Mason::Request::ApacheHandler=HASH (0xc8c37dc)') called at /usr/lib/perl5/site_perl/5.8.8/HTML/Mason/ ApacheHandler.pm line 168 HTML::Mason::Request::ApacheHandler::exec ('HTML::Mason::Request::ApacheHandler=HASH(0xc8c37dc)') called at /usr/ lib/perl5/site_perl/5.8.8/HTML/Mason/ApacheHandler.pm line 825 HTML::Mason::ApacheHandler::handle_request ('HTML::Mason::ApacheHandler=HASH(0x8dd28f0)', 'Apache2::RequestRec=SCALAR(0xc712350)') called at /srv/rt3/bin/ webmux.pl line 123 eval {...} at /srv/rt3/bin/webmux.pl line 123 RT::Mason::handler('Apache2::RequestRec=SCALAR(0xc712350)') called at -e line 0 eval {...} at -e line 0 -----------end of error listing------------------------------ I will be grateful for any help. Milos From aheinlein at gmx.com Tue Feb 3 05:44:50 2009 From: aheinlein at gmx.com (Andreas Heinlein) Date: Tue, 03 Feb 2009 11:44:50 +0100 Subject: [rt-users] Duplicate Mail Message-ID: <49882022.7010805@gmx.com> Hello, is there any way to prevent RT from sending mail twice to the same recipient? In our current setup, we often get the same mail for the same transaction twice. It is perfectly valid in our setup for a ticket to have abc at foo.bar as the requestor of a ticket and be its owner as well. This may even be the case when abc at foo.bar is a watcher of the queue the ticket is in. I currently have set up scrips like this - On Correspond notify Requestors, Cc and AdminCc with template Correspondence - On Correspond notify Owner with template Correspondence - On Correspond notify Other Recipients with template Correspondence The same for comments, except it should not notify the Requestor. That is the way we need it. Any way to get rid of the duplicates? We are using RT 3.6 on Debian etch, and I'd like to stick with 3.6 at least until lenny is final. Bye, Andreas From dave at sherohman.org Tue Feb 3 05:53:16 2009 From: dave at sherohman.org (Dave Sherohman) Date: Tue, 3 Feb 2009 04:53:16 -0600 Subject: [rt-users] Security risk! Passwords can be compromised! In-Reply-To: <20090202231638.GA5043@17h.local> References: <20090202231638.GA5043@17h.local> Message-ID: <20090203105316.GW1432@sherohman.org> On Mon, Feb 02, 2009 at 06:16:38PM -0500, Jesse Vincent wrote: > Thankfully, at first glance, it looks like the issue you've run into > isn't particularly dangerous. RT ships with stack trace logging > disabled and _generally_ the folks who have access to application logs > are also the folks who manage the application. I can't say that I find the latter point particularly relevant, as many users are in the habit of re-using passwords across multiple sites. If I, as an RT admin, have access to my RT users' passwords, then that may not present any risk to the security of my RT installation (as admin, I have full access anyhow), but it does potentially place those users' email accounts, bank accounts, etc. at risk if they use the same passwords on those sites as they do on my RT install. This isn't a serious issue for me personally (I use unique passwords for each site where I care about security and I don't currently use any RTs other than my own), but it is definitely significant in the larger scheme of things due to the risk it presents to users who choose to maintain a smaller collection of passwords. -- Dave Sherohman NomadNet, Inc. http://nomadnetinc.com/ From aheinlein at gmx.com Tue Feb 3 07:55:41 2009 From: aheinlein at gmx.com (Andreas Heinlein) Date: Tue, 03 Feb 2009 13:55:41 +0100 Subject: [rt-users] Security risk! Passwords can be compromised! In-Reply-To: <20090203105316.GW1432@sherohman.org> References: <20090202231638.GA5043@17h.local> <20090203105316.GW1432@sherohman.org> Message-ID: <49883ECD.1010305@gmx.com> Dave Sherohman schrieb: > > I can't say that I find the latter point particularly relevant, as many > users are in the habit of re-using passwords across multiple sites. > > If I, as an RT admin, have access to my RT users' passwords, then that > may not present any risk to the security of my RT installation (as > admin, I have full access anyhow), but it does potentially place those > users' email accounts, bank accounts, etc. at risk if they use the same > passwords on those sites as they do on my RT install. > If such people want to find out users passwords in order to try them out elsewhere, they could just remove the cloaking of passwords from the RT source, or sniff the http packets (or set up a man-in-the-middle-attack if RT is using HTTPS), or design their own login page that writes down the passwords before passing them to RT, or... In many organizations, it is policy that admins do not know and cannot recover their users passwords, including ours. That's OK for secure applications and authentication frameworks like Windows domain logons or Kerberos. But there's no way to secure a plain http login against your own admins. You will have to use some other form of authentication for RT if you want this. Bye, Andreas From torsten.brumm at googlemail.com Tue Feb 3 08:50:58 2009 From: torsten.brumm at googlemail.com (Torsten Brumm) Date: Tue, 3 Feb 2009 14:50:58 +0100 Subject: [rt-users] Running two versions side by side In-Reply-To: <4988044F.50809@stockton.co.za> References: <4988044F.50809@stockton.co.za> Message-ID: Sure. http://wiki.bestpractical.com/view/MultipleInstances tob 2009/2/3 Alf Stockton > I have 3.6 installed on my users server and now would like to implement > 3.8.2 > running side by side with that, rather than an upgrade. > > Is this possible? > > -- > Regards, > Alf Stockton www.stockton.co.za > > Q: What do they call the alphabet in Arkansas? > A: The impossible dream. > _______________________________________________ > 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 > -- MFG Torsten Brumm http://www.torsten-brumm.de -------------- next part -------------- An HTML attachment was scrubbed... URL: From joe.rtuser at gmail.com Tue Feb 3 08:58:05 2009 From: joe.rtuser at gmail.com (Akash) Date: Tue, 3 Feb 2009 08:58:05 -0500 Subject: [rt-users] Security risk! Passwords can be compromised! In-Reply-To: <49883ECD.1010305@gmx.com> References: <20090202231638.GA5043@17h.local> <20090203105316.GW1432@sherohman.org> <49883ECD.1010305@gmx.com> Message-ID: Well, the point is that it is wrong for anyone (even the admin) to know the passwords of any user "in the clear" just by looking at the log files. (How someone can obtain the passwords is a different matter.) On Tue, Feb 3, 2009 at 7:55 AM, Andreas Heinlein wrote: > Dave Sherohman schrieb: > > > > I can't say that I find the latter point particularly relevant, as many > > users are in the habit of re-using passwords across multiple sites. > > > > If I, as an RT admin, have access to my RT users' passwords, then that > > may not present any risk to the security of my RT installation (as > > admin, I have full access anyhow), but it does potentially place those > > users' email accounts, bank accounts, etc. at risk if they use the same > > passwords on those sites as they do on my RT install. > > > If such people want to find out users passwords in order to try them out > elsewhere, they could just remove the cloaking of passwords from the RT > source, or sniff the http packets (or set up a man-in-the-middle-attack > if RT is using HTTPS), or design their own login page that writes down > the passwords before passing them to RT, or... > > In many organizations, it is policy that admins do not know and cannot > recover their users passwords, including ours. That's OK for secure > applications and authentication frameworks like Windows domain logons or > Kerberos. But there's no way to secure a plain http login against your > own admins. You will have to use some other form of authentication for > RT if you want this. > > Bye, > Andreas > _______________________________________________ > 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 > -------------- next part -------------- An HTML attachment was scrubbed... URL: From dave at sherohman.org Tue Feb 3 09:45:07 2009 From: dave at sherohman.org (Dave Sherohman) Date: Tue, 3 Feb 2009 08:45:07 -0600 Subject: [rt-users] Security risk! Passwords can be compromised! In-Reply-To: <49883ECD.1010305@gmx.com> References: <20090202231638.GA5043@17h.local> <20090203105316.GW1432@sherohman.org> <49883ECD.1010305@gmx.com> Message-ID: <20090203144507.GX1432@sherohman.org> On Tue, Feb 03, 2009 at 01:55:41PM +0100, Andreas Heinlein wrote: > Dave Sherohman schrieb: > > > > I can't say that I find the latter point particularly relevant, as many > > users are in the habit of re-using passwords across multiple sites. > > > > If I, as an RT admin, have access to my RT users' passwords, then that > > may not present any risk to the security of my RT installation (as > > admin, I have full access anyhow), but it does potentially place those > > users' email accounts, bank accounts, etc. at risk if they use the same > > passwords on those sites as they do on my RT install. > > > If such people want to find out users passwords in order to try them out > elsewhere, they could just remove the cloaking of passwords from the RT > source, or sniff the http packets (or set up a man-in-the-middle-attack > if RT is using HTTPS), or design their own login page that writes down > the passwords before passing them to RT, or... Fair point, but I still see a significant difference between "turn on this switch and we'll hand you the passwords in a log file" and the various methods you mention, any of which would require some degree of skill and/or effort to implement. Doubly so when the switch in question has other, legitimate, uses which can result in the admin accidentally making a plaintext record of the passwords without even realizing it. -- Dave Sherohman NomadNet, Inc. http://nomadnetinc.com/ From G.E.Fowler at lboro.ac.uk Tue Feb 3 09:23:26 2009 From: G.E.Fowler at lboro.ac.uk (Graeme Fowler) Date: Tue, 03 Feb 2009 14:23:26 +0000 Subject: [rt-users] Security risk! Passwords can be compromised! In-Reply-To: References: <20090202231638.GA5043@17h.local> <20090203105316.GW1432@sherohman.org> <49883ECD.1010305@gmx.com> Message-ID: <4988535E.5010101@lboro.ac.uk> Akash wrote: > Well, the point is that it is wrong for anyone (even the admin) to know the > passwords of any user "in the clear" just by looking at the log files. > (How someone can obtain the passwords is a different matter.) I disagree. On rare occasions, characters *within* a password can cause problems - especially in systems where there are proxies or other handlers such as FastCGI or mod_perl2 which can exert their own translations to the data they handle. It's always useful, in that event, to be able to switch the debug level up and see what data the application is processing. I've seen several system problems in the past caused by poor, limited or non-existent escaping of characters in passwords which get translated into something else by the processing system. Think UTF-8 to other charset conversions, for example. It shouldn't be the normal mode of operation, but a high level of debug info is always a useful tool to have. Graeme -- Graeme Fowler Team Manager, Internet Services and Software Solutions, IT Services Loughborough University, UK T: +44 1509 226014 E: G.E.Fowler at lboro.ac.uk From rfh at vialtus.com Tue Feb 3 10:04:59 2009 From: rfh at vialtus.com (Raed El-Hames) Date: Tue, 03 Feb 2009 15:04:59 +0000 Subject: [rt-users] Security risk! Passwords can be compromised! In-Reply-To: <20090203144507.GX1432@sherohman.org> References: <20090202231638.GA5043@17h.local> <20090203105316.GW1432@sherohman.org> <49883ECD.1010305@gmx.com> <20090203144507.GX1432@sherohman.org> Message-ID: <49885D1B.1070702@vialtus.com> I would agree with Jesse input that the first email should have gone to best practical and not a mailing list, I would also agree with Jesse and a couple others that this is "not" a security risk .. The fact that a sys admin can see a users password and then use it on bank accounts or anything else is a very scary thought, this sys admin may have access to far more sensitive systems such as finance or billing where he/she would be able to access far more information easier and quicker ... I personally think its a bug that should be looked at, but its not a security risk. Regards; Roy Dave Sherohman wrote: > On Tue, Feb 03, 2009 at 01:55:41PM +0100, Andreas Heinlein wrote: > >> Dave Sherohman schrieb: >> >>> I can't say that I find the latter point particularly relevant, as many >>> users are in the habit of re-using passwords across multiple sites. >>> >>> If I, as an RT admin, have access to my RT users' passwords, then that >>> may not present any risk to the security of my RT installation (as >>> admin, I have full access anyhow), but it does potentially place those >>> users' email accounts, bank accounts, etc. at risk if they use the same >>> passwords on those sites as they do on my RT install. >>> >>> >> If such people want to find out users passwords in order to try them out >> elsewhere, they could just remove the cloaking of passwords from the RT >> source, or sniff the http packets (or set up a man-in-the-middle-attack >> if RT is using HTTPS), or design their own login page that writes down >> the passwords before passing them to RT, or... >> > > Fair point, but I still see a significant difference between "turn on > this switch and we'll hand you the passwords in a log file" and the > various methods you mention, any of which would require some degree of > skill and/or effort to implement. Doubly so when the switch in question > has other, legitimate, uses which can result in the admin accidentally > making a plaintext record of the passwords without even realizing it. > > -- > Dave Sherohman > NomadNet, Inc. > http://nomadnetinc.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 > From aheinlein at gmx.com Tue Feb 3 10:25:04 2009 From: aheinlein at gmx.com (Andreas Heinlein) Date: Tue, 03 Feb 2009 16:25:04 +0100 Subject: [rt-users] Security risk! Passwords can be compromised! In-Reply-To: <20090203144507.GX1432@sherohman.org> References: <20090202231638.GA5043@17h.local> <20090203105316.GW1432@sherohman.org> <49883ECD.1010305@gmx.com> <20090203144507.GX1432@sherohman.org> Message-ID: <498861D0.6080109@gmx.com> Dave Sherohman schrieb: > On Tue, Feb 03, 2009 at 01:55:41PM +0100, Andreas Heinlein wrote: > >> Dave Sherohman schrieb: >> >>> I can't say that I find the latter point particularly relevant, as many >>> users are in the habit of re-using passwords across multiple sites. >>> >>> If I, as an RT admin, have access to my RT users' passwords, then that >>> may not present any risk to the security of my RT installation (as >>> admin, I have full access anyhow), but it does potentially place those >>> users' email accounts, bank accounts, etc. at risk if they use the same >>> passwords on those sites as they do on my RT install. >>> >>> >> If such people want to find out users passwords in order to try them out >> elsewhere, they could just remove the cloaking of passwords from the RT >> source, or sniff the http packets (or set up a man-in-the-middle-attack >> if RT is using HTTPS), or design their own login page that writes down >> the passwords before passing them to RT, or... >> > > Fair point, but I still see a significant difference between "turn on > this switch and we'll hand you the passwords in a log file" and the > various methods you mention, any of which would require some degree of > skill and/or effort to implement. aptitude install dsniff dsniff -i eth0 > passwords.txt That's it, basically ;-) (when run on the RT server) Bye, Andreas From dave at sherohman.org Tue Feb 3 10:43:53 2009 From: dave at sherohman.org (Dave Sherohman) Date: Tue, 3 Feb 2009 09:43:53 -0600 Subject: [rt-users] Security risk! Passwords can be compromised! In-Reply-To: <498861D0.6080109@gmx.com> References: <20090202231638.GA5043@17h.local> <20090203105316.GW1432@sherohman.org> <49883ECD.1010305@gmx.com> <20090203144507.GX1432@sherohman.org> <498861D0.6080109@gmx.com> Message-ID: <20090203154353.GB1432@sherohman.org> On Tue, Feb 03, 2009 at 04:25:04PM +0100, Andreas Heinlein wrote: > Dave Sherohman schrieb: > > Fair point, but I still see a significant difference between "turn on > > this switch and we'll hand you the passwords in a log file" and the > > various methods you mention, any of which would require some degree of > > skill and/or effort to implement. > aptitude install dsniff > dsniff -i eth0 > passwords.txt > > That's it, basically ;-) > (when run on the RT server) Yup. I didn't say it would be a *large* degree of skill or effort involved. :) (And, personally, I prefer ngrep. Something like ngrep -d eth0 password dst port 80 > passwords.txt wouldn't capture nearly as much random traffic along with the passwords.) -- Dave Sherohman NomadNet, Inc. http://nomadnetinc.com/ From jfiske at clarkson.edu Tue Feb 3 11:10:05 2009 From: jfiske at clarkson.edu (Josh Fiske) Date: Tue, 3 Feb 2009 11:10:05 -0500 Subject: [rt-users] RTFM 2.4.1 on RT 3.8.2 Message-ID: <6708B7A5C8087B4AA393C1CDD1D56200107289@mbox1.ad.clarkson.edu> I am attempting to install RTFM 2.4.1 on my existing (fully functional) RT 3.8.2 installation. This is on a CentOS 5 host with RT installed in the standard location (/opt/rt3). So, I do the following (all of which complete without any error messages): cd /usr/local/src wget http://download.bestpractical.com/pub/rt/release/RTFM-2.4.1.tar.gz tar zxf RTFM-2.4.1.tar.gz cd RTFM-2.4.1 perl Makefile.PL make make install make initdb /etc/init.d/httpd restart I login to RT as a SuperUser and I don't see any reference to RTFM. I know that with other RT plugins (RT-Authen-ExternalAuth), I have needed to include a line in my RT_SiteConfig.pm. But when I tried adding this [ Set( @Plugins, (qw(RT::Authen::ExternalAuth),RT-FM)); ] and restarting, it had no impact. Any suggestions? Am I missing a simple step? Thanks, Josh - - - - Joshua Fiske '03, '04 Network and Security Engineer Clarkson University, Office of Information Technology (315) 268-6722 -- Fax: (315) 268-6570 I route, therefore you are. Think before you print. CONFIDENTIALITY: This e-mail (including any attachments) may contain confidential, proprietary and privileged information, and unauthorized disclosure or use is prohibited. If you received this e-mail in error, please notify the sender and delete this e-mail from your system. -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: image001.gif Type: image/gif Size: 87 bytes Desc: image001.gif URL: From smccreadie at CanyonPartners.com Tue Feb 3 11:28:49 2009 From: smccreadie at CanyonPartners.com (Sean McCreadie) Date: Tue, 3 Feb 2009 08:28:49 -0800 Subject: [rt-users] RTFM 2.4.1 on RT 3.8.2 In-Reply-To: <6708B7A5C8087B4AA393C1CDD1D56200107289@mbox1.ad.clarkson.edu> References: <6708B7A5C8087B4AA393C1CDD1D56200107289@mbox1.ad.clarkson.edu> Message-ID: <6A8A671AFE630144BC8AE1D84E6700B801AF10DF@SR-ES-EMAIL01.canyonpartners.local> Josh, My RT_Siteconfig.pm looks like this: Set(@Plugins,qw(RT::FM)); Maybe this will help. Sean From: rt-users-bounces at lists.bestpractical.com [mailto:rt-users-bounces at lists.bestpractical.com] On Behalf Of Josh Fiske Sent: Tuesday, February 03, 2009 8:10 AM To: RT-Users at lists.bestpractical.com Subject: [rt-users] RTFM 2.4.1 on RT 3.8.2 I am attempting to install RTFM 2.4.1 on my existing (fully functional) RT 3.8.2 installation. This is on a CentOS 5 host with RT installed in the standard location (/opt/rt3). So, I do the following (all of which complete without any error messages): cd /usr/local/src wget http://download.bestpractical.com/pub/rt/release/RTFM-2.4.1.tar.gz tar zxf RTFM-2.4.1.tar.gz cd RTFM-2.4.1 perl Makefile.PL make make install make initdb /etc/init.d/httpd restart I login to RT as a SuperUser and I don't see any reference to RTFM. I know that with other RT plugins (RT-Authen-ExternalAuth), I have needed to include a line in my RT_SiteConfig.pm. But when I tried adding this [ Set( @Plugins, (qw(RT::Authen::ExternalAuth),RT-FM)); ] and restarting, it had no impact. Any suggestions? Am I missing a simple step? Thanks, Josh - - - - Joshua Fiske '03, '04 Network and Security Engineer Clarkson University, Office of Information Technology (315) 268-6722 -- Fax: (315) 268-6570 I route, therefore you are. Think before you print. CONFIDENTIALITY: This e-mail (including any attachments) may contain confidential, proprietary and privileged information, and unauthorized disclosure or use is prohibited. If you received this e-mail in error, please notify the sender and delete this e-mail from your system. -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: image001.gif Type: image/gif Size: 87 bytes Desc: image001.gif URL: From jfiske at clarkson.edu Tue Feb 3 11:35:40 2009 From: jfiske at clarkson.edu (Josh Fiske) Date: Tue, 3 Feb 2009 11:35:40 -0500 Subject: [rt-users] RTFM 2.4.1 on RT 3.8.2 In-Reply-To: <6A8A671AFE630144BC8AE1D84E6700B801AF10DF@SR-ES-EMAIL01.canyonpartners.local> References: <6708B7A5C8087B4AA393C1CDD1D56200107289@mbox1.ad.clarkson.edu> <6A8A671AFE630144BC8AE1D84E6700B801AF10DF@SR-ES-EMAIL01.canyonpartners.local> Message-ID: <6708B7A5C8087B4AA393C1CDD1D5620010728B@mbox1.ad.clarkson.edu> That did the trick! Thanks for the quick help! I've also updated the wiki to reflect this step that was missing from the documentation: http://wiki.bestpractical.com/view/RTFM - - - - Joshua Fiske '03, '04 Network and Security Engineer Clarkson University, Office of Information Technology (315) 268-6722 -- Fax: (315) 268-6570 I route, therefore you are. Think before you print. CONFIDENTIALITY: This e-mail (including any attachments) may contain confidential, proprietary and privileged information, and unauthorized disclosure or use is prohibited. If you received this e-mail in error, please notify the sender and delete this e-mail from your system. From: Sean McCreadie [mailto:smccreadie at CanyonPartners.com] Sent: Tuesday, February 03, 2009 11:29 AM To: Josh Fiske; RT-Users at lists.bestpractical.com Subject: RE: [rt-users] RTFM 2.4.1 on RT 3.8.2 Josh, My RT_Siteconfig.pm looks like this: Set(@Plugins,qw(RT::FM)); Maybe this will help. Sean From: rt-users-bounces at lists.bestpractical.com [mailto:rt-users-bounces at lists.bestpractical.com] On Behalf Of Josh Fiske Sent: Tuesday, February 03, 2009 8:10 AM To: RT-Users at lists.bestpractical.com Subject: [rt-users] RTFM 2.4.1 on RT 3.8.2 I am attempting to install RTFM 2.4.1 on my existing (fully functional) RT 3.8.2 installation. This is on a CentOS 5 host with RT installed in the standard location (/opt/rt3). So, I do the following (all of which complete without any error messages): cd /usr/local/src wget http://download.bestpractical.com/pub/rt/release/RTFM-2.4.1.tar.gz tar zxf RTFM-2.4.1.tar.gz cd RTFM-2.4.1 perl Makefile.PL make make install make initdb /etc/init.d/httpd restart I login to RT as a SuperUser and I don't see any reference to RTFM. I know that with other RT plugins (RT-Authen-ExternalAuth), I have needed to include a line in my RT_SiteConfig.pm. But when I tried adding this [ Set( @Plugins, (qw(RT::Authen::ExternalAuth),RT-FM)); ] and restarting, it had no impact. Any suggestions? Am I missing a simple step? Thanks, Josh - - - - Joshua Fiske '03, '04 Network and Security Engineer Clarkson University, Office of Information Technology (315) 268-6722 -- Fax: (315) 268-6570 I route, therefore you are. Think before you print. CONFIDENTIALITY: This e-mail (including any attachments) may contain confidential, proprietary and privileged information, and unauthorized disclosure or use is prohibited. If you received this e-mail in error, please notify the sender and delete this e-mail from your system. -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: image001.gif Type: image/gif Size: 87 bytes Desc: image001.gif URL: From sladkofo at yahoo-inc.com Tue Feb 3 11:31:42 2009 From: sladkofo at yahoo-inc.com (Oleg Sladkoff) Date: Tue, 03 Feb 2009 17:31:42 +0100 Subject: [rt-users] RTFM 2.4.1 on RT 3.8.2 In-Reply-To: <6708B7A5C8087B4AA393C1CDD1D56200107289@mbox1.ad.clarkson.edu> References: <6708B7A5C8087B4AA393C1CDD1D56200107289@mbox1.ad.clarkson.edu> Message-ID: <1233678702.3396.1.camel@prettyenter.grenoble.corp.yahoo.com> Hi, I have added this in my RT_SiteConfig.pm : Set(@Plugins,qw(RT::FM)); regards On Tue, 2009-02-03 at 16:10 +0000, Josh Fiske wrote: > > I am attempting to install RTFM 2.4.1 on my existing (fully > functional) RT 3.8.2 installation. This is on a CentOS 5 host with RT > installed in the standard location (/opt/rt3). So, I do the following > (all of which complete without any error messages): > > > > cd /usr/local/src > > wget > http://download.bestpractical.com/pub/rt/release/RTFM-2.4.1.tar.gz > > tar zxf RTFM-2.4.1.tar.gz > > cd RTFM-2.4.1 > > perl Makefile.PL > > make > > make install > > make initdb > > /etc/init.d/httpd restart > > > > I login to RT as a SuperUser and I don?t see any reference to RTFM. > > > > I know that with other RT plugins (RT-Authen-ExternalAuth), I have > needed to include a line in my RT_SiteConfig.pm. But when I tried > adding this [ Set( @Plugins, > (qw(RT::Authen::ExternalAuth),RT-FM)); ] and restarting, it had no > impact. > > > > Any suggestions? Am I missing a simple step? Thanks, > > > > Josh > > - - - - > > Joshua Fiske '03, '04 > > Network and Security Engineer > > Clarkson University, Office of Information Technology > > (315) 268-6722 -- Fax: (315) 268-6570 > > I route, therefore you are. > > > > green Think before you print. > > > > CONFIDENTIALITY: This e-mail (including any attachments) may contain > confidential, proprietary and privileged information, and unauthorized > disclosure or use is prohibited. If you received this e-mail in > error, please notify the sender and delete this e-mail from your > system. > > > > -- Oleg Sladkoff KELKOO - Service Architect oleg.sladkoff at yahoo-inc.com Yahoo messenger : Kelkoooleg tel : +33 (0)476848147 gsm : +33(0)675768532 From jburke at crypticstudios.com Tue Feb 3 12:23:58 2009 From: jburke at crypticstudios.com (Jeremy Burke) Date: Tue, 3 Feb 2009 09:23:58 -0800 Subject: [rt-users] RT::CustomFieldValues::External question In-Reply-To: References: Message-ID: I have a package that does a SQL search and populates my "Select one Value" custom field with about 300 items. I would like to use the Category function of the custom field in order to provide the ability to filter based on another field I have in by Database which I grab with my SQL query. Is this possible? It doesn't look like this option is exposed in the External custom field package. I know the Category field is an attribute in the database which is probably why it wasn't exposed via this method. I don't really care if the category gets saved or not as I'm just using it as a filter. I'm using RT 3.8.1, CentOS 5.2, apache 2.2.3, and mod_perl2. Thanks, Jeremy -------------- next part -------------- An HTML attachment was scrubbed... URL: From trey at kingfisherops.com Tue Feb 3 11:21:53 2009 From: trey at kingfisherops.com (Trey Darley) Date: Tue, 3 Feb 2009 17:21:53 +0100 (CET) Subject: [rt-users] Date custom field type Message-ID: <13516.192.101.252.156.1233678113.squirrel@kingfisherops.com> Hi, y'all - I'd like to have custom fields that work like the existing date fields (started, due, etc). My google-fu may just be weak today. Please, does anyone have any helpful pointers they could share with me? Cheers, --Trey ++----------------------------------------------------------------------------++ Kingfisher Operations Trey Darley - Principal From elacour at easter-eggs.com Tue Feb 3 12:59:50 2009 From: elacour at easter-eggs.com (Emmanuel Lacour) Date: Tue, 3 Feb 2009 18:59:50 +0100 Subject: [rt-users] Date custom field type In-Reply-To: <13516.192.101.252.156.1233678113.squirrel@kingfisherops.com> References: <13516.192.101.252.156.1233678113.squirrel@kingfisherops.com> Message-ID: <20090203175948.GA2624@easter-eggs.com> On Tue, Feb 03, 2009 at 05:21:53PM +0100, Trey Darley wrote: > Hi, y'all - > > I'd like to have custom fields that work like the existing date fields > (started, due, etc). My google-fu may just be weak today. Please, does > anyone have any helpful pointers they could share with me? > http://rt3.fsck.com/Ticket/Display.html?id=8721&user=guest&pass=guest From ktm at rice.edu Tue Feb 3 13:06:40 2009 From: ktm at rice.edu (Kenneth Marshall) Date: Tue, 3 Feb 2009 12:06:40 -0600 Subject: [rt-users] Chart problem with PostgreSQL 8.3 Message-ID: <20090203180640.GK2995@it.is.rice.edu> Just a bug report and a hopefully simple fix. The chart option for Created Daily, Created Monthly,... gives the following error when run: Feb 3 10:54:23 rt1 RT: RT::Handle=HASH(0xa891050) couldn't execute the query 'SELECT COUNT(main.id) AS id, SUBSTR(Created,1,7) AS createdmonthly FROM Tickets main WHERE (main.Status != 'deleted') AND (main.Created > '2008-01-01 06:00:00' AND main.Created < '2009-01-01 06:00:00') AND (main.Type = 'ticket') AND (main.EffectiveId = main.id) GROUP BY SUBSTR(Created,1,7) ' at /usr/site/perl-5.8.8/lib/site_perl/5.8.8/DBIx/SearchBuilder/Handle.pm line 518 DBIx::SearchBuilder::Handle::SimpleQuery('RT::Handle=HASH(0xa891050)', 'SELECT COUNT(main.id) AS id, SUBSTR(Created,1,7) AS createdmo...') called at /usr/site/perl-5.8.8/lib/site_perl/5.8.8/DBIx/SearchBuilder.pm line 238 DBIx::SearchBuilder::_DoSearch('RT::Report::Tickets=HASH(0x86a2630)') called at /usr/site/rt-3.8/DEV/bin/../lib/RT/Tickets_Overlay.pm line 2672 RT::Tickets::_DoSearch('RT::Report::Tickets=HASH(0x86a2630)') called at /usr/site/rt-3.8/DEV/bin/../local/lib/RT/Report/Tickets.pm line 152 RT::Report::Tickets::_DoSearch('RT::Report::Tickets=HASH( Feb 3 10:54:25 rt1 RT: DBD::Pg::st execute failed: ERROR: function substr(timestamp without time zone, integer, integer) does not exist LINE 1: SELECT COUNT(main.id) AS id, SUBSTR(Created,1,7) AS createdm... ^ HINT: No function matches the given name and argument types. You might need to add explicit type casts. at /usr/site/perl-5.8.8/lib/site_perl/5.8.8/DBIx/SearchBuilder/Handle.pm line 505. (/usr/site/perl-5.8.8/lib/site_perl/5.8.8/DBIx/SearchBuilder/Handle.pm:505) I fixed the current problem by making a local change to lib/RT/Report/Tickets.pm to cast the timestamp to text. Hopefully, there is a fix that will work across all backends: -------------------------------- diff -u lib/RT/Report/Tickets.pm . --- local/lib/RT/Report/Tickets.pm 2009-01-21 13:12:22.000000000 -0600 +++ ./Tickets.pm 2009-02-03 11:06:35.000000000 -0600 @@ -169,13 +169,16 @@ if ($field =~ /^(.*)(Daily|Monthly|Annually)$/) { my ($field, $grouping) = ($1, $2); if ( $grouping =~ /Daily/ ) { - $args{'FUNCTION'} = "SUBSTR($field,1,10)"; +# $args{'FUNCTION'} = "SUBSTR($field,1,10)"; + $args{'FUNCTION'} = "SUBSTR(${field}::text,1,10)"; } elsif ( $grouping =~ /Monthly/ ) { - $args{'FUNCTION'} = "SUBSTR($field,1,7)"; +# $args{'FUNCTION'} = "SUBSTR($field,1,7)"; + $args{'FUNCTION'} = "SUBSTR(${field}::text,1,7)"; } elsif ( $grouping =~ /Annually/ ) { - $args{'FUNCTION'} = "SUBSTR($field,1,4)"; +# $args{'FUNCTION'} = "SUBSTR($field,1,4)"; + $args{'FUNCTION'} = "SUBSTR(${field}::text,1,4)"; } } elsif ( $field =~ /^(?:CF|CustomField)\.{(.*)}$/ ) { #XXX: use CFDecipher method my $cf_name = $1; -------------------------------- Cheers, Ken From ktm at rice.edu Tue Feb 3 15:38:32 2009 From: ktm at rice.edu (Kenneth Marshall) Date: Tue, 3 Feb 2009 14:38:32 -0600 Subject: [rt-users] Another Chart buglet with Customfields Message-ID: <20090203203832.GN2995@it.is.rice.edu> FYI, When the results of a search are ordered by a custom field value, the top of the display shows CF.{###} and not the name of the custom field which would be more understandable. Cheers, Ken From anthony at strand1.com Tue Feb 3 16:25:44 2009 From: anthony at strand1.com (Anthony Sorace) Date: Tue, 3 Feb 2009 16:25:44 -0500 Subject: [rt-users] undefined value as a HASH reference Message-ID: <3EF54DFE-6201-4B78-9FC4-E621CE0F334E@strand1.com> Folks: I just got myself into a bit of a jam. With my properly working RT installation (3.8.1 with MySQL on OS X 10.5), I tried to install some of the extensions, via CPAN. In particular, I installed RTx::Tags, RT::BugTracker, and RT::BugTracker::Public. In a bout of carelessness, I installed three at once rather than testing after each, so I'm not sure which package is causing my problems. Regardless, I now get the following message on any page (and only this message): Can't use an undefined value as a HASH reference at /opt/rt3/share/ html/Elements/Header line 144. Modification time on that file says it hasn't changed in almost a year (I'm not aware of CPAN tweaking file modification times). As far as I can tell, all the modifications to my rt3 tree are confined to / local/, yet various heavy-weight things like moving it out of the way don't cause any change. Anyone know what this message is about, or what's caused this change? Anthony Sorace Strand 1 From ruslan.zakirov at gmail.com Tue Feb 3 17:06:38 2009 From: ruslan.zakirov at gmail.com (Ruslan Zakirov) Date: Wed, 4 Feb 2009 01:06:38 +0300 Subject: [rt-users] Duplicate Mail In-Reply-To: <49882022.7010805@gmx.com> References: <49882022.7010805@gmx.com> Message-ID: <589c94400902031406j70fda227mbf81293ee0b24ce5@mail.gmail.com> http://wiki.bestpractical.com/view/ScripAction On Tue, Feb 3, 2009 at 1:44 PM, Andreas Heinlein wrote: > Hello, > > is there any way to prevent RT from sending mail twice to the same > recipient? In our current setup, we often get the same mail for the same > transaction twice. > > It is perfectly valid in our setup for a ticket to have abc at foo.bar as > the requestor of a ticket and be its owner as well. This may even be the > case when abc at foo.bar is a watcher of the queue the ticket is in. > > I currently have set up scrips like this > - On Correspond notify Requestors, Cc and AdminCc with template > Correspondence > - On Correspond notify Owner with template Correspondence > - On Correspond notify Other Recipients with template Correspondence > > The same for comments, except it should not notify the Requestor. > That is the way we need it. > > Any way to get rid of the duplicates? We are using RT 3.6 on Debian > etch, and I'd like to stick with 3.6 at least until lenny is final. > > Bye, > Andreas > _______________________________________________ > 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 > -- Best regards, Ruslan. From ruslan.zakirov at gmail.com Tue Feb 3 17:17:16 2009 From: ruslan.zakirov at gmail.com (Ruslan Zakirov) Date: Wed, 4 Feb 2009 01:17:16 +0300 Subject: [rt-users] RT::CustomFieldValues::External question In-Reply-To: References: Message-ID: <589c94400902031417p6f7cb56do4506e6a97fe2a762@mail.gmail.com> Categories don't work with CFs that fetch list of values from external sources. If you try to solve long list issue then you can use field with auto-completion. Description field is also used in auto-completion that can be useful and help people find values. On Tue, Feb 3, 2009 at 8:23 PM, Jeremy Burke wrote: > I have a package that does a SQL search and populates my "Select one Value" > custom field with about 300 items. I would like to use the Category > function of the custom field in order to provide the ability to filter based > on another field I have in by Database which I grab with my SQL query. > > > > Is this possible? It doesn't look like this option is exposed in the > External custom field package. I know the Category field is an attribute in > the database which is probably why it wasn't exposed via this method. I > don't really care if the category gets saved or not as I'm just using it as > a filter. > > > > I'm using RT 3.8.1, CentOS 5.2, apache 2.2.3, and mod_perl2. > > > > Thanks, > > Jeremy > > _______________________________________________ > 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 > -- Best regards, Ruslan. From ruslan.zakirov at gmail.com Tue Feb 3 17:40:19 2009 From: ruslan.zakirov at gmail.com (Ruslan Zakirov) Date: Wed, 4 Feb 2009 01:40:19 +0300 Subject: [rt-users] undefined value as a HASH reference In-Reply-To: <3EF54DFE-6201-4B78-9FC4-E621CE0F334E@strand1.com> References: <3EF54DFE-6201-4B78-9FC4-E621CE0F334E@strand1.com> Message-ID: <589c94400902031440p19d9e19bj90af928ee1526d8a@mail.gmail.com> Either RT::BugTracker or RT::BugTracker::Public which still use overlays for some mason components. Check local/html, however I suspect that files in share/html has been overwriten, so you'll have to restore them from RT tarball or backup you created before installing extensions. On Wed, Feb 4, 2009 at 12:25 AM, Anthony Sorace wrote: > Folks: > I just got myself into a bit of a jam. With my properly working RT > installation (3.8.1 with MySQL on OS X 10.5), I tried to install some > of the extensions, via CPAN. In particular, I installed RTx::Tags, > RT::BugTracker, and RT::BugTracker::Public. In a bout of carelessness, > I installed three at once rather than testing after each, so I'm not > sure which package is causing my problems. > > Regardless, I now get the following message on any page (and only > this message): > > Can't use an undefined value as a HASH reference at /opt/rt3/share/ > html/Elements/Header line 144. > > Modification time on that file says it hasn't changed in almost a year > (I'm not aware of CPAN tweaking file modification times). As far as I > can tell, all the modifications to my rt3 tree are confined to / > local/, yet various heavy-weight things like moving it out of the way > don't cause any change. > > Anyone know what this message is about, or what's caused this change? > > Anthony Sorace > Strand 1 > > > > _______________________________________________ > 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 > -- Best regards, Ruslan. From KFCrocker at lbl.gov Tue Feb 3 18:11:07 2009 From: KFCrocker at lbl.gov (Kenneth Crocker) Date: Tue, 03 Feb 2009 15:11:07 -0800 Subject: [rt-users] RT Time fields in days? In-Reply-To: References: <49837B73.1000307@lbl.gov> Message-ID: <4988CF0B.1070400@lbl.gov> Jerrad, Thanks. Is this available in 3.6.4? Kenn LBNL On 2/1/2009 1:03 PM, Jerrad Pierce wrote: > See share/html/Elements/SelectTimeUnits > But I'd just tell them to multiply by 8 business hours per day. > From KFCrocker at lbl.gov Tue Feb 3 18:31:25 2009 From: KFCrocker at lbl.gov (Kenneth Crocker) Date: Tue, 03 Feb 2009 15:31:25 -0800 Subject: [rt-users] Scrip send email on create In-Reply-To: <49878A65.4070002@northpb.com> References: <49878A65.4070002@northpb.com> Message-ID: <4988D3CD.7020809@lbl.gov> Dan, I didn't see a template listed. listed. I don't think an Email can be sent without one. Kenn LBNL On 2/2/2009 4:05 PM, Dan O'Neill wrote: > Enclosed is a script that adds one or more AdminCC's to a ticket during > Create. This does not cause the AdminCC's to receive an email. > > How do I modify this Scrip or otherwise configure the Queue such that > AdminCC's will receive a copy of the text in the opening transaction? > > Here is the scrip information. I've reviewed the contributions page and > read what I can before asking this question. Thanks for the help. > > Condition: On Create > Action: User Defined > Template: Global template: Blank > Stage: Transaction Create > > Custom condition: > Custom action preparation code: return 1; > Custom action cleanup code: > > my $owner_id = $self->TicketObj->Owner; > my $requestor_email = $self->TicketObj->RequestorAddresses; > my $admincclist = $self->TicketObj->AdminCc; > my @actors = ('fred at company.com', 'wilma at company.com'); > my $user = RT::User->new($RT::SystemUser); > > if ( $self->TicketObj->Subject =~ m/Customer A/i ) { > foreach my $actor (@actors) { > $user->LoadByEmail($actor); > my $user_id = $user->Id; > my $user_email = $user->EmailAddress; > if ( $user_email ne $requestor_email ) > { > my($status, $msg) = $admincclist->AddMember($user->Id); > unless( $status ) { > $RT::Logger->warning( "can't add ticket owner as Cc : msg" ); > return undef; > } > } > } > } else { > return 0; > } > _______________________________________________ > 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 > From ktm at rice.edu Tue Feb 3 18:45:13 2009 From: ktm at rice.edu (Kenneth Marshall) Date: Tue, 3 Feb 2009 17:45:13 -0600 Subject: [rt-users] RT full text indexing with PostgreSQL Message-ID: <20090203234513.GR2995@it.is.rice.edu> On Sun, Feb 01, 2009 at 09:41:42PM -0600, Kenneth Marshall wrote: > > I just updated the PostgreSQLFullText pages on the wiki with > > the triggers to keep the parsed document columns updated whenever > > there is a change to the dependent columns. > > > > Here are the commands for adding the triggers to keep the textsearchable > > columns corresponding to attachments.subject/content and > > objectcustomfieldvalues.largecontent up to date: > > > > CREATE TRIGGER tsvectorupdate BEFORE INSERT OR UPDATE > > ON attachments FOR EACH ROW EXECUTE PROCEDURE > > tsvector_update_trigger(textsearchable, 'pg_catalog.english', subject, content); > > > > CREATE TRIGGER tsvectorupdate BEFORE INSERT OR UPDATE > > ON objectcustomfieldvalues FOR EACH ROW EXECUTE PROCEDURE > > tsvector_update_trigger(textsearchable, 'pg_catalog.english', largecontent); > > > > Please let me know if there are any problems and bon voyage. > > > > Ken > > I have added a variation of the above triggers to the wiki page > to only pre-parse the first 1MB of attachments/customfields: > > CREATE FUNCTION attachments_trigger() RETURNS trigger AS $$ > begin > new.textsearchable := > to_tsvector('pg_catalog.english', substring(coalesce(new.subject, '') || coalesce(new.content, '') from 1 for 1000000)); > return new; > end > $$ LANGUAGE plpgsql; > > CREATE TRIGGER tsvectorupdate BEFORE INSERT OR UPDATE > ON attachments FOR EACH ROW EXECUTE PROCEDURE attachments_trigger(); > > CREATE FUNCTION objectcustomfieldvalues_trigger() RETURNS trigger AS $$ > begin > new.textsearchable := > to_tsvector('pg_catalog.english', substring(coalesce(new.largecontent, '') from 1 for 1000000)); > return new; > end > $$ LANGUAGE plpgsql; > > CREATE TRIGGER tsvectorupdate BEFORE INSERT OR UPDATE > ON objectcustomfieldvalues FOR EACH ROW EXECUTE PROCEDURE > objectcustomfieldvalues_trigger(); > > Please send me any feedback or suggestions. > > Cheers, > Ken > > PS. The fast full contents searches really rock! > Dear RT Users, I just finished testing the two index types for PostgreSQL text indexing (GIST and GIN). Here are the index creation commands using the GIN index type. I have tried both, and unless you are in an extremely update intensive environment you will really want GIN -- very, very fast queries. CREATE INDEX attachments_textsearch ON attachments USING GIN (textsearchable ); CREATE INDEX largecontent_textsearch ON objectcustomfieldvalues USING GIN (textsearchable ); Happy full text searching, Ken From rt at northpb.com Tue Feb 3 19:51:30 2009 From: rt at northpb.com (Dan O'Neill) Date: Tue, 03 Feb 2009 16:51:30 -0800 Subject: [rt-users] Scrip send email on create In-Reply-To: <49878A65.4070002@northpb.com> References: <49878A65.4070002@northpb.com> Message-ID: <4988E692.5040208@northpb.com> Dan O'Neill wrote: > Enclosed is a script that adds one or more AdminCC's to a ticket during > Create. This does not cause the AdminCC's to receive an email. > > How do I modify this Scrip or otherwise configure the Queue such that > AdminCC's will receive a copy of the text in the opening transaction? > > Here is the scrip information. I've reviewed the contributions page and > read what I can before asking this question. Thanks for the help. > > Condition: On Create > Action: User Defined > Template: Global template: Blank > Stage: Transaction Create A little update. At the suggestion of some docs on the wiki, I added a new template to see if that would get this scrip to send a notification to the AdminCC's. Didn't work, still no outbound notification. I'll whip up an Amazon gift certificate to anyone who can help me resolve this problem before close of business Wednesday. Thanks, Dan From gordon at cryologic.com Tue Feb 3 20:06:02 2009 From: gordon at cryologic.com (gordon at cryologic.com) Date: Wed, 04 Feb 2009 12:06:02 +1100 Subject: [rt-users] Scrip send email on create In-Reply-To: <4988E692.5040208@northpb.com> References: <49878A65.4070002@northpb.com> <4988E692.5040208@northpb.com> Message-ID: <4988E9FA.1080200@cryologic.com> possibly: Stage: TransactionBatch From memory (at least in RT-3.6.x) I think you also have to enable batch transactions in RTSiteConfig.pm, something like: Set($UseTransactionBatch , 1); Gordon Dan O'Neill wrote: > Dan O'Neill wrote: >> Enclosed is a script that adds one or more AdminCC's to a ticket during >> Create. This does not cause the AdminCC's to receive an email. >> >> How do I modify this Scrip or otherwise configure the Queue such that >> AdminCC's will receive a copy of the text in the opening transaction? >> >> Here is the scrip information. I've reviewed the contributions page and >> read what I can before asking this question. Thanks for the help. >> >> Condition: On Create >> Action: User Defined >> Template: Global template: Blank >> Stage: Transaction Create > > A little update. At the suggestion of some docs on the wiki, I added a > new template to see if that would get this scrip to send a notification > to the AdminCC's. Didn't work, still no outbound notification. I'll > whip up an Amazon gift certificate to anyone who can help me resolve > this problem before close of business Wednesday. > > Thanks, > > Dan > _______________________________________________ > 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 From jburke at crypticstudios.com Tue Feb 3 20:55:29 2009 From: jburke at crypticstudios.com (Jeremy Burke) Date: Tue, 3 Feb 2009 17:55:29 -0800 Subject: [rt-users] Scrip send email on create In-Reply-To: <4988E692.5040208@northpb.com> References: <49878A65.4070002@northpb.com> <4988E692.5040208@northpb.com> Message-ID: I think you need 2 scrips. The scrip you have below and then another scrip to send e-mail on create to the AdminCCs. You need to make sure the Add AdminCC scrip you have below is executed before the scrip that sends to the AdminCCs. I'm using RT 3.8.1 and this is how I have it setup to work. The 1 at the beginning of Scrip #2's description forces this scrip to be run before scrip #1 Scrip #1: Description: On Create Notify AdminCcs Condition: On Create Action: Notify AdminCcs Template: Global template: Transaction Stage: Transaction Create Custom condition: Custom action preparation code: Custom action cleanup code: Scrip #2: Description: 1 Add AdminCC Condition: On Create Action: User Defined Template: Global Template: Blank Stage: TransactionCreate Custom condition: Custom action preparation code: return 1; Custom action cleanup code: my $owner_id = $self->TicketObj->Owner; my $requestor_email = $self->TicketObj->RequestorAddresses; my $admincclist = $self->TicketObj->AdminCc; my @actors = ('fred at company.com', 'wilma at company.com'); my $user = RT::User->new($RT::SystemUser); if ( $self->TicketObj->Subject =~ m/Customer A/i ) { foreach my $actor (@actors) { $user->LoadByEmail($actor); my $user_id = $user->Id; my $user_email = $user->EmailAddress; if ( $user_email ne $requestor_email ) { my($status, $msg) = $admincclist->AddMember($user->Id); unless( $status ) { $RT::Logger->warning( "can't add ticket owner as Cc : msg" ); return undef; } } } } else { return 0; } Hope this helps. -----Original Message----- From: rt-users-bounces at lists.bestpractical.com [mailto:rt-users-bounces at lists.bestpractical.com] On Behalf Of Dan O'Neill Sent: Tuesday, February 03, 2009 4:52 PM To: rt-users at lists.bestpractical.com Subject: Re: [rt-users] Scrip send email on create Dan O'Neill wrote: > Enclosed is a script that adds one or more AdminCC's to a ticket during > Create. This does not cause the AdminCC's to receive an email. > > How do I modify this Scrip or otherwise configure the Queue such that > AdminCC's will receive a copy of the text in the opening transaction? > > Here is the scrip information. I've reviewed the contributions page and > read what I can before asking this question. Thanks for the help. > > Condition: On Create > Action: User Defined > Template: Global template: Blank > Stage: Transaction Create A little update. At the suggestion of some docs on the wiki, I added a new template to see if that would get this scrip to send a notification to the AdminCC's. Didn't work, still no outbound notification. I'll whip up an Amazon gift certificate to anyone who can help me resolve this problem before close of business Wednesday. Thanks, Dan _______________________________________________ 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 From jesse at bestpractical.com Tue Feb 3 18:06:46 2009 From: jesse at bestpractical.com (Jesse Vincent) Date: Tue, 3 Feb 2009 18:06:46 -0500 Subject: [rt-users] Security risk! Passwords can be compromised! In-Reply-To: <20090203105316.GW1432@sherohman.org> References: <20090202231638.GA5043@17h.local> <20090203105316.GW1432@sherohman.org> Message-ID: <20090203230646.GE9468@72-60-194-184.pools.spcsdns.net> On Tue 3.Feb'09 at 4:53:16 -0600, Dave Sherohman wrote: > On Mon, Feb 02, 2009 at 06:16:38PM -0500, Jesse Vincent wrote: > > Thankfully, at first glance, it looks like the issue you've run into > > isn't particularly dangerous. RT ships with stack trace logging > > disabled and _generally_ the folks who have access to application logs > > are also the folks who manage the application. The docs for 'LogStackTrace' have been updated as follows. How do folks feel about the new notice? If set to a log level then logging will include stack traces for messages with level equal to or greater than specified. NOTICE: Stack traces include parameters that functions or methods were called wiht. It is possible for stack trace logging to revealsensitive information such as passwords or ticket content in yourlogs. -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 194 bytes Desc: not available URL: From isaac at purdue.edu Tue Feb 3 22:37:59 2009 From: isaac at purdue.edu (Isaac Vetter) Date: Tue, 03 Feb 2009 22:37:59 -0500 Subject: [rt-users] Security risk! Passwords can be compromised! In-Reply-To: <20090203230646.GE9468@72-60-194-184.pools.spcsdns.net> Message-ID: > The docs for 'LogStackTrace' have been updated as follows. How do > folks feel about the new notice? > > If set then logging will include stack > traces for messages with level equal or greater than > specified. > > NOTICE: Stack traces include parameters that functions or methods > were called with. It is possible for stack trace logging to reveal sensitive > information such as passwords and ticket content in your logs. Jesse, Since you're asking (and towards the goal of something useful coming from this thread). :) I would say that, in this case, you shouldn't end a sentence with a preposition. How about: "Stack traces include the parameters of called functions." or "Stack traces include the parameters used within methods and functions." or ... Isaac Vetter From matthew.seaman at thebunker.net Wed Feb 4 03:06:34 2009 From: matthew.seaman at thebunker.net (Matthew Seaman) Date: Wed, 04 Feb 2009 08:06:34 +0000 Subject: [rt-users] Security risk! Passwords can be compromised! In-Reply-To: References: Message-ID: <49894C8A.5030103@thebunker.net> Isaac Vetter wrote: >> The docs for 'LogStackTrace' have been updated as follows. How do >> folks feel about the new notice? >> >> If set then logging will include stack >> traces for messages with level equal or greater than >> specified. >> >> NOTICE: Stack traces include parameters that functions or methods >> were called with. It is possible for stack trace logging to reveal sensitive >> information such as passwords and ticket content in your logs. > > Jesse, > > Since you're asking (and towards the goal of something useful coming from > this thread). :) > > I would say that, in this case, you shouldn't end a sentence with a > preposition. > > How about: > "Stack traces include the parameters of called functions." > or > "Stack traces include the parameters used within methods and functions." > or > ... One idea I've seen and quite like is what OpenLDAP does. Passwords and other security tokens are Base64 encoded in all output[*]. Sure it's a trivial encoding that anyone could decode in moments, but it prevents people trivially reading passwords over your shoulder when they are displayed on your screen. Cheers, Matthew [*] Actually I think this is primarily because those object classes are defined as containing non-ascii data, rather than specifically as a security measure. It's a handy side-effect though. -- Dr Matthew Seaman The Bunker, Ash Radar Station PGP: 0x60AE908C on servers Marshborough Rd Tel: +44 1304 814890 Sandwich Fax: +44 1304 814899 Kent, CT13 0PL, UK -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 259 bytes Desc: OpenPGP digital signature URL: From alf at stockton.co.za Wed Feb 4 03:46:18 2009 From: alf at stockton.co.za (Alf Stockton) Date: Wed, 04 Feb 2009 10:46:18 +0200 Subject: [rt-users] Apache connection failing Message-ID: <498955DA.7060707@stockton.co.za> I have just installed 3.8.2 on my Ubuntu 8.04 server and when I attempt to connect via the web I get an error and see the following message in my /var/log/apache2/error.log [Wed Feb 04 10:32:36 2009] [error] [client 192.168.30.185] Can't locate object method "CleanSlate" via package "RT::Action::SendEmail" at /opt/rt3/bin/../lib/RT/Interface/Web/Handler.pm line 213.\n, referer: http://general.dev.sharing.org.za/rt38 Please tell me what I need to fix and possibly how. -- Regards, Alf Stockton www.stockton.co.za A light wife doth make a heavy husband. -- Wm. Shakespeare, "The Merchant of Venice" From aheinlein at gmx.com Wed Feb 4 04:16:02 2009 From: aheinlein at gmx.com (Andreas Heinlein) Date: Wed, 04 Feb 2009 10:16:02 +0100 Subject: [rt-users] Stall (postpone) tickets until a future date? Message-ID: <49895CD2.3090703@gmx.com> Hello, I'd like to have a feature in RT that will allow me to postpone open tickets until some day in the future. For example: Yesterday I reorganized a users mail folders and made a backup, which I want to keep for one month just in case. I do not want to keep that ticket open for a month, but I'd like to stall it and have RT automatically reopen it on 3/3/2009. Is that possible? (I stumbled upon a mistranslation here in the german version. The "Reminders" are called "Wiedervorlage" here, and that would just be what I want. However, RTs "Reminders" are obviously something different, reminding you to do something until a due date. That would better be called "Erinnerung" in german.) Bye, Andreas From elacour at easter-eggs.com Wed Feb 4 04:20:46 2009 From: elacour at easter-eggs.com (Emmanuel Lacour) Date: Wed, 4 Feb 2009 10:20:46 +0100 Subject: [rt-users] Stall (postpone) tickets until a future date? In-Reply-To: <49895CD2.3090703@gmx.com> References: <49895CD2.3090703@gmx.com> Message-ID: <20090204092045.GB4264@easter-eggs.com> On Wed, Feb 04, 2009 at 10:16:02AM +0100, Andreas Heinlein wrote: > Hello, > > I'd like to have a feature in RT that will allow me to postpone open > tickets until some day in the future. For example: > > Yesterday I reorganized a users mail folders and made a backup, which I > want to keep for one month just in case. I do not want to keep that > ticket open for a month, but I'd like to stall it and have RT > automatically reopen it on 3/3/2009. > > Is that possible? > you can use the "stalled" status for this ticket, put a "due date" and use rt-crontool (from cron) on your system to automatically reopen such tickets. From dominic.hargreaves at oucs.ox.ac.uk Wed Feb 4 04:39:08 2009 From: dominic.hargreaves at oucs.ox.ac.uk (Dominic Hargreaves) Date: Wed, 4 Feb 2009 09:39:08 +0000 Subject: [rt-users] Security risk! Passwords can be compromised! In-Reply-To: <49894C8A.5030103@thebunker.net> References: <49894C8A.5030103@thebunker.net> Message-ID: <20090204093907.GA31458@gunboat-diplomat.oucs.ox.ac.uk> On Wed, Feb 04, 2009 at 08:06:34AM +0000, Matthew Seaman wrote: > One idea I've seen and quite like is what OpenLDAP does. Passwords and > other security tokens are Base64 encoded in all output[*]. Sure it's a > trivial encoding that anyone could decode in moments, but it prevents > people trivially reading passwords over your shoulder when they are > displayed on your screen. Are you sure what you're actually looking at isn't a password *hash*? That's what you'd normally expect to find in the userPassword attribute, and isn't the same thing at all. -- Dominic Hargreaves, Systems Development and Support Team Computing Services, University of Oxford From roydepp at gmail.com Wed Feb 4 05:14:14 2009 From: roydepp at gmail.com (Roy Depp) Date: Wed, 4 Feb 2009 12:14:14 +0200 Subject: [rt-users] RT 3.8.2 Dashboard Can't find object SearchIds Message-ID: Greetings, I've searched for this issue on the archives and couldn't find anything related to it. RT 3.8.2 clean install. When going to Tools->Dashboards->Queries I get the following error message: Can't locate object method "SearchIds" via package "RT::Dashboard" at /opt/rt3/share/html/Dashboards/Queries.html line 95, line 47. Any ideas? Thanks, Roy. From kristian.davies at gmail.com Wed Feb 4 05:46:02 2009 From: kristian.davies at gmail.com (Kristian Davies) Date: Wed, 4 Feb 2009 10:46:02 +0000 Subject: [rt-users] RT Time fields in days? In-Reply-To: <4988CF0B.1070400@lbl.gov> References: <49837B73.1000307@lbl.gov> <4988CF0B.1070400@lbl.gov> Message-ID: Not my code, but in the interest of sharing: local/html/Elements/SelectTimeUnits %# END BPS TAGGED BLOCK }}} % my $selected = 'minutes'; % $selected = 'hours' if $minutes > 60; % $selected = 'days' if $minutes > 480; <%INIT> $Name .= '-TimeUnits' unless $Name =~ /-TimeUnits$/io; <%ARGS> $Name => '' $minutes => '' Kristian From alexander.bourgett at s1nn.de Wed Feb 4 07:53:11 2009 From: alexander.bourgett at s1nn.de (Alexander Bourgett) Date: Wed, 4 Feb 2009 13:53:11 +0100 Subject: [rt-users] Dashboard deleted but still send Message-ID: <75BB753482B74678AC5D6D0A0279ED60@s1nn.int> Hello all, I have a strange problem with Dashboards and was not able to find a solution in the ML archive. We start using the Dashboard feature of RT here. So for testing I created a test dashboard for root to see the feature working. Cron job was set up etc. However this dashboard was never send out via mail. I then created a new dashboard for a normal RT user. This dashboard was send out via mail. Being happy now :-), I deleted the former one. The funny thing is that RT now started to send out this deleted dashboard daily per email and I'm not able to stop it doing so as it does not appear in Dashboard menu anymore. I tried creating a new dashboard again with the same name as the deleted one and deleted this again. Now I got the following error message, which is the first error I found in the logs regarding dashboard: [warning]: Unable to load dashboard 493 of subscription 494 for user root: Failed to load dashboard 493: Couldn't find row (/opt/rt3/sbin/rt-email-dashboards:120) Does anybody know what went wrong? Or is this a known bug? Thanks in advance. Kind regards Alexander Bourgett From bashir.jahed at nha.co.za Wed Feb 4 08:15:31 2009 From: bashir.jahed at nha.co.za (Bashir Jahed) Date: Wed, 4 Feb 2009 15:15:31 +0200 Subject: [rt-users] Merging 2 RT systems Message-ID: <03D0CD3BAC1F2949B639858D2686296E02028AD9@musca.ctn.nha.co.za> Hi All, I have a request from business to merge 2 RT systems. One is RT 3.x and the other is RT 2.x Is this possible, if yes could anyone advise on best route to take? Thanks ________________________________ bashir jahed nha | enhance 5 protea road | claremont | 7708 po box 24 | newlands | 7725 telephone +27 (21) 657-2574 mobile +27 (83) 414-0453 facsimile +27 (21) 657-2575 e-mail | messenger bashir.jahed at nha.co.za ________________________________ this message is subject to the disclaimer at www.nha.co.za/disclaimer.asp or disclaimer at nha.co.za -------------- next part -------------- An HTML attachment was scrubbed... URL: From dominic.hargreaves at oucs.ox.ac.uk Wed Feb 4 09:05:27 2009 From: dominic.hargreaves at oucs.ox.ac.uk (Dominic Hargreaves) Date: Wed, 4 Feb 2009 14:05:27 +0000 Subject: [rt-users] RT 3.8.2 packages for Debian Lenny? In-Reply-To: <20090127164514.GE24389@gunboat-diplomat.oucs.ox.ac.uk> References: <20090116083550.GE25934@gunboat-diplomat.oucs.ox.ac.uk> <7B7881568CF40E4388B615CD06F87B9809896A@clara.maurer-it.com> <20090127164514.GE24389@gunboat-diplomat.oucs.ox.ac.uk> Message-ID: <20090204140527.GK31458@gunboat-diplomat.oucs.ox.ac.uk> On Tue, Jan 27, 2009 at 04:45:15PM +0000, Dominic Hargreaves wrote: > I hesitate to say again, since I previously expected to be able to do an > upload the same week. I'm just testing our current candidate, but > there's a new bug which requires a new package upload to Debian which > I'll want to get in before a new upload, so it may not be for another > week or so. Current status is that this is currently stalled on a new package waiting in NEW[0] (libipc-run-safehandles-perl) I would hazard a guess that ftpmasters are busy preparing for the release of Lenny, so this might not get processed for a few weeks. [0] http://ftp-master.debian.org/new.html -- Dominic Hargreaves, Systems Development and Support Team Computing Services, University of Oxford From ktm at rice.edu Wed Feb 4 09:05:39 2009 From: ktm at rice.edu (Kenneth Marshall) Date: Wed, 4 Feb 2009 08:05:39 -0600 Subject: [rt-users] Stall (postpone) tickets until a future date? In-Reply-To: <49895CD2.3090703@gmx.com> References: <49895CD2.3090703@gmx.com> Message-ID: <20090204140539.GS2995@it.is.rice.edu> On Wed, Feb 04, 2009 at 10:16:02AM +0100, Andreas Heinlein wrote: > Hello, > > I'd like to have a feature in RT that will allow me to postpone open > tickets until some day in the future. For example: > > Yesterday I reorganized a users mail folders and made a backup, which I > want to keep for one month just in case. I do not want to keep that > ticket open for a month, but I'd like to stall it and have RT > automatically reopen it on 3/3/2009. > > Is that possible? > > (I stumbled upon a mistranslation here in the german version. The > "Reminders" are called "Wiedervorlage" here, and that would just be what > I want. However, RTs "Reminders" are obviously something different, > reminding you to do something until a due date. That would better be > called "Erinnerung" in german.) > > Bye, > Andreas I think that reminders are a reasonable substitute for what you need. They actually only pop up at a future preset date. I do not think that they can re-open a ticket, but you could certainly do that yourself. Cheers, Ken From Jim.Tambling at datatote.co.uk Wed Feb 4 09:40:04 2009 From: Jim.Tambling at datatote.co.uk (Jim Tambling) Date: Wed, 4 Feb 2009 14:40:04 -0000 Subject: [rt-users] Quick Ticket Creation widget - how to remove it? Message-ID: <72D9E13A8FC8994794D448E91198AE070133FB94@mail.sys.internal> As per the subject, fairly new to RT but I have looked everywhere and can't find a simple way to do it. Regards -------------- next part -------------- An HTML attachment was scrubbed... URL: From Jim.Tambling at datatote.co.uk Wed Feb 4 09:53:59 2009 From: Jim.Tambling at datatote.co.uk (Jim Tambling) Date: Wed, 4 Feb 2009 14:53:59 -0000 Subject: [rt-users] FW: Quick Ticket Creation widget - how to remove it? Message-ID: <72D9E13A8FC8994794D448E91198AE070133FB96@mail.sys.internal> That only removes it from the layout of the user that's logged in. I want to remove it from everyone's layout. Jim -----Original Message----- From: Jeff Voskamp [mailto:javoskam at uwaterloo.ca] Sent: 04 February 2009 14:49 To: Jim Tambling Subject: Re: [rt-users] Quick Ticket Creation widget - how to remove it? Jim Tambling wrote: > > As per the subject, fairly new to RT but I have looked everywhere and > can't find a simple way to do it. > > Regards > Configuration->Global-RT at a Glance and pull it from the layout. Jeff From alf at stockton.co.za Wed Feb 4 10:46:45 2009 From: alf at stockton.co.za (Alf Stockton) Date: Wed, 04 Feb 2009 17:46:45 +0200 Subject: [rt-users] Installing RT3.8.2 on Ubuntu 8.04 Message-ID: <4989B865.3070904@stockton.co.za> In an install of 3.8.2 I cannot restart Apache due to the following errors [Wed Feb 04 17:30:46 2009] [error] Can't locate object method "Config" via package "RT" at /etc/request-tracker3.8.2/bin/webmux.pl line 100.\nBEGIN failed--compilation aborted at /etc/request-tracker3.8.2/bin/webmux.pl line 102.\nCompilation failed in require at (eval 239) line 1.\n [Wed Feb 04 17:30:46 2009] [error] Can't load Perl file: /etc/request-tracker3.8.2/bin/webmux.pl for server general.sharing.org.za:0, exiting... Please tell me how to repair this. -- Regards, Alf Stockton www.stockton.co.za Beware the one behind you. From rt at northpb.com Wed Feb 4 13:34:46 2009 From: rt at northpb.com (Dan O'Neill) Date: Wed, 04 Feb 2009 10:34:46 -0800 Subject: [rt-users] Scrip send email on create In-Reply-To: References: <49878A65.4070002@northpb.com> <4988E692.5040208@northpb.com> Message-ID: <4989DFC6.1030201@northpb.com> Jeremy Burke wrote: > I think you need 2 scrips. The scrip you have below and then another scrip to send e-mail on create to the AdminCCs. You need to make sure the Add AdminCC scrip you have below is executed before the scrip that sends to the AdminCCs. > > I'm using RT 3.8.1 and this is how I have it setup to work. The 1 at the beginning of Scrip #2's description forces this scrip to be run before scrip #1 Jeremy, Thanks for the information. This helps, but doesn't solve the problem because I'm using RT 3.4.5 which does not guarantee scrip order. Thus, an upgrade is likely to be the path I have to take. I really don't want to upgrade right now. This wiki article http://wiki.bestpractical.com/view/TransactionBatchStage covers my problem well. Does anyone have a solution for rt 3.4.5? Dan From macnlos at ti-994a.com Wed Feb 4 13:36:29 2009 From: macnlos at ti-994a.com (Macnlos) Date: Wed, 4 Feb 2009 12:36:29 -0600 Subject: [rt-users] Fetchmail issues with RT 3.8.1 Message-ID: <0F36831D-FE90-4071-A52C-EC46B1B73EEC@ti-994a.com> I've upgraded a 3.6.7 installation to 3.8.1 and I'm having troubles with fetchmail. When I run fetchmail and it passes an email off to the RT-Mailgate app I get the following errors: --------------------- Can't locate object method "decode_bodies" via package "MIME::Parser" at /opt/rt3/bin/../lib/RT/EmailParser.pm line 201. Stack: [/opt/rt3/bin/../lib/RT/EmailParser.pm:201] [/opt/rt3/bin/../lib/RT/EmailParser.pm:165] [/opt/rt3/bin/../lib/RT/EmailParser.pm:135] [/opt/rt3/share/html/REST/1.0/NoAuth/mail-gateway:61] fetchmail: MDA returned nonzero status 75 --------------------- I've ran TESTDEPS and it says I'm up-to-date with everything. I went down into our Perl distribution and it looks like there are two versions of MIME::Parser installed. One of the versions has "decode_bodies" method and the other doesn't. I've moved the older one out of the path but still no go. Searched the lists and couldn't find anything either. I'm hoping someone can point me in the write direction. Thanks, C.Randolph From jpierce at cambridgeenergyalliance.org Wed Feb 4 13:44:00 2009 From: jpierce at cambridgeenergyalliance.org (Jerrad Pierce) Date: Wed, 4 Feb 2009 13:44:00 -0500 Subject: [rt-users] RTx::Tags 0.14 Message-ID: Just a quick note that 0.14 is now on PAUSE, and on its way out to CPAN mirrors near you. I consider this a rather mature release, as it now supports most things you could reasonably want including: * tag search negation/complement * optional front-page widget * per-object class (Ticket, User, what have you) breakdown of Tags * ability to only display tags for active tickets, or other statuses * persistent search expression in the simple search field Cheers! -- Cambridge Energy Alliance: Save money. Save the planet. From sartak at bestpractical.com Wed Feb 4 14:39:59 2009 From: sartak at bestpractical.com (Shawn M Moore) Date: Wed, 4 Feb 2009 14:39:59 -0500 Subject: [rt-users] Dashboard deleted but still send In-Reply-To: <75BB753482B74678AC5D6D0A0279ED60@s1nn.int> References: <75BB753482B74678AC5D6D0A0279ED60@s1nn.int> Message-ID: <20090204193959.GA10767@bestpractical.com> On Wed, Feb 04, 2009 at 01:53:11PM +0100, Alexander Bourgett wrote: > Hello all, Hi Alexander, I tried reproducing the problem but couldn't. :( > RT now started to send out this deleted dashboard daily per email and > I'm not able to stop it doing so as it does not appear in Dashboard > menu anymore. When the email script detects a missing dashboard, it alerts the user with a different email (using the 'Error: Missing dashboard' template). Then the script deletes the subscription (since the user would have no other way to disable that daily email). If the dashboard isn't showing up in the menu, either you deleted it (in which case RT should quickly stop mailing you about it) or you don't have permission to see it. If you log in as root and check its dashboards, is the rogue dashboard still there? > I tried creating a new dashboard again with the same > name as the deleted one and deleted this again. Names aren't actually used for identifying dashboards, they're just used for display. Internally, it's all id-based. :) > Now I got the following error message, which is the first error I > found in the logs regarding dashboard: > > [warning]: Unable to load dashboard 493 of subscription 494 for user root: > Failed to load dashboard 493: Couldn't find row > (/opt/rt3/sbin/rt-email-dashboards:120) You should have also gotten a single email saying that the dashboard with id 493 was missing. Did you? Are you still getting messages about the original dashboard that was created by root then deleted? > Does anybody know what went wrong? Or is this a known bug? This is the first news I've heard of this bug. I'd like to get to the bottom of it! > Thanks in advance. > > Kind regards > Alexander Bourgett Shawn From sturner at MIT.EDU Wed Feb 4 14:47:47 2009 From: sturner at MIT.EDU (Stephen Turner) Date: Wed, 04 Feb 2009 14:47:47 -0500 Subject: [rt-users] Deleting individual attachments Message-ID: We have a ticket in which several files were attached to email replies. So the file attachments are now viewable through "Download" links in the ticket history. The queue owner would like to remove the attached files while leaving the text part of the email message intact. Are there any bad consequences of using Attachment's Delete method by itself? We've used Transaction->Delete before to remove whole transactions, but we've never removed individual attachments. Thanks, Steve -- Stephen Turner Senior Programmer/Analyst - SAIS MIT IS&T From macnlos at ti-994a.com Wed Feb 4 15:27:26 2009 From: macnlos at ti-994a.com (Macnlos) Date: Wed, 4 Feb 2009 14:27:26 -0600 Subject: [rt-users] Date issue with a Scrip Message-ID: I've got two RT systems; 1 production and 1 development instance. Each night I do a mysqldump of production and move it to development so I can work the latest version and data. Production is at 3.6.7 and Development is at 3.8.1 at the moment. I have a scrip that parses when a ticket is submitted and based on the date/time it will email a pager if it is off-hours. The scrip is running fine in production and it's been in use for over a year. But for some reason my development instance is tripping on the date/time checks. My thinking at this point is that the scrip is evaluating GMT rather than CST. I tried an RT::Logger and the hour variable is showing up as 20 (8pm) when it's should be 14 (2pm). This would confirm my suspicion about GMT. So here is the question: Did something change from 3.6.7 to 3.8.1 that would account for Scrips being processed in GMT rather than the local timezone? CR From jpierce at cambridgeenergyalliance.org Wed Feb 4 15:33:33 2009 From: jpierce at cambridgeenergyalliance.org (Jerrad Pierce) Date: Wed, 4 Feb 2009 15:33:33 -0500 Subject: [rt-users] Deleting individual attachments In-Reply-To: References: Message-ID: On Wed, Feb 4, 2009 at 14:47, Stephen Turner wrote: > We have a ticket in which several files were attached to email replies. So > the file attachments are now viewable through "Download" links in the > ticket history. The queue owner would like to remove the attached files > while leaving the text part of the email message intact. > > Are there any bad consequences of using Attachment's Delete method by > itself? We've used Transaction->Delete before to remove whole > transactions, but we've never removed individual attachments. I'm not familiar with the API you are referring to, but I've used the (built-in) RTx::Shredder to remove plenty of attachments without visible consequence. Presumably it's using the same API underneath? -- Cambridge Energy Alliance: Save money. Save the planet. From macnlos at ti-994a.com Wed Feb 4 15:33:56 2009 From: macnlos at ti-994a.com (Macnlos) Date: Wed, 4 Feb 2009 14:33:56 -0600 Subject: [rt-users] Fetchmail issues with RT 3.8.1 In-Reply-To: <0F36831D-FE90-4071-A52C-EC46B1B73EEC@ti-994a.com> References: <0F36831D-FE90-4071-A52C-EC46B1B73EEC@ti-994a.com> Message-ID: <76D8DE32-30B8-4AEB-98EE-6459A549EA2F@ti-994a.com> Never mind on this one... I had to cycle apache/mod_perl for the changes to take effect. But... that still doesn't answer why after running TESTDEPS sucessfully that I had an unresolved dependency with MIME::Parser which is part of MIME::tools. CR On Feb 4, 2009, at 12:36 PM, Macnlos wrote: > I've upgraded a 3.6.7 installation to 3.8.1 and I'm having troubles > with fetchmail. When I run fetchmail and it passes an email off to > the RT-Mailgate app I get the following errors: > > --------------------- > > Can't locate object method "decode_bodies" via package "MIME::Parser" > at /opt/rt3/bin/../lib/RT/EmailParser.pm line 201. > > Stack: > [/opt/rt3/bin/../lib/RT/EmailParser.pm:201] > [/opt/rt3/bin/../lib/RT/EmailParser.pm:165] > [/opt/rt3/bin/../lib/RT/EmailParser.pm:135] > [/opt/rt3/share/html/REST/1.0/NoAuth/mail-gateway:61] > > fetchmail: MDA returned nonzero status 75 > > --------------------- > > I've ran TESTDEPS and it says I'm up-to-date with everything. I went > down into our Perl distribution and it looks like there are two > versions of MIME::Parser installed. One of the versions has > "decode_bodies" method and the other doesn't. I've moved the older > one out of the path but still no go. > > Searched the lists and couldn't find anything either. I'm hoping > someone can point me in the write direction. > > Thanks, > C.Randolph > _______________________________________________ > 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 From sturner at MIT.EDU Wed Feb 4 15:44:29 2009 From: sturner at MIT.EDU (Stephen Turner) Date: Wed, 04 Feb 2009 15:44:29 -0500 Subject: [rt-users] Deleting individual attachments In-Reply-To: References: Message-ID: On Wed, 04 Feb 2009 15:33:33 -0500, Jerrad Pierce wrote: > I'm not familiar with the API you are referring to, but I've used the > (built-in) > RTx::Shredder to remove plenty of attachments without visible > consequence. > Presumably it's using the same API underneath? > Presumably - though we're unfortunately still on 3.4 (Shredder isn't built in), and we haven't gotten around to installing Sgredder yet. Thanks, Steve -- Stephen Turner Senior Programmer/Analyst - SAIS MIT IS&T From KFCrocker at lbl.gov Wed Feb 4 16:33:18 2009 From: KFCrocker at lbl.gov (Kenneth Crocker) Date: Wed, 04 Feb 2009 13:33:18 -0800 Subject: [rt-users] RT Custom Field Error Message-ID: <498A099E.7010800@lbl.gov> Hi all, I have a Custom Field that is "Select One Value". I recently added some new values and then identified them with categories. When a User updates that CF, the new value goes in, but an error message appears as "User asked for an unknown update type for custom field Work-Status for RT::Ticket object #59578". Now, some of the values are repeated, but they are in a different category. I ran some queries pulling tickets with the same values (different categories), and the results seemed to ignore the category difference and used the content only, which is what I expected and would want. So, why the error? Anyone have any info on that? Thanks. Kenn LBNL From rt at northpb.com Wed Feb 4 17:08:32 2009 From: rt at northpb.com (Dan O'Neill) Date: Wed, 04 Feb 2009 14:08:32 -0800 Subject: [rt-users] Scrip send email on create - SOLVED In-Reply-To: References: <49878A65.4070002@northpb.com> <4988E692.5040208@northpb.com> <4989DFC6.1030201@northpb.com> Message-ID: <498A11E0.4040505@northpb.com> The solution provided by Jeremy Burke was effective for RT 3.4.5. Thanks Jeremy! dan Jeremy Burke wrote: > Hi Dan, > > I should preface this by saying I'm pretty new at Perl and the whole RT thing, so I'm trying to learn as I go which is why I'm interested in your issue. > > You could try to do this using a Custom Condition that checks to see if it is during create and if it is, add the AdminCCs there. Then use the Notify AdminCCs Action. If you always want to notify AdminCCs on create, you just need to make sure the Condition always returns true whether or not an AdminCC is added by your scrip. > > Something like this maybe? > > Description: Add AdminCC and always email AdminCC > Condition: User Defined > Action: Notify AdminCCs > Template: Global template: Transaction > Custom Condition: > > # Return 0 and exit if not Create > if ($self->TransactionObj->Type ne "Create") { return 0; } > # Add AdminCC if subject match and always e-mail AdminCC > my $owner_id = $self->TicketObj->Owner; > my $requestor_email = $self->TicketObj->RequestorAddresses; > my $admincclist = $self->TicketObj->AdminCc; > my @actors = ('fred at company.com', 'wilma at company.com'); > my $user = RT::User->new($RT::SystemUser); > > if ( $self->TicketObj->Subject =~ m/Customer A/i ) { > foreach my $actor (@actors) { > $user->LoadByEmail($actor); > my $user_id = $user->Id; > my $user_email = $user->EmailAddress; > if ( $user_email ne $requestor_email ) > { > my($status, $msg) = $admincclist->AddMember($user->Id); > unless( $status ) { > $RT::Logger->warning( "can't add ticket owner as Cc : msg" ); > return 1; > } > } > } > } > > 1; > > Custom action preparation code: > Custom action cleanup code: > > Good Luck, > > Jeremy > > -----Original Message----- > From: Dan O'Neill [mailto:rt at northpb.com] > Sent: Wednesday, February 04, 2009 10:35 AM > To: Jeremy Burke > Cc: rt-users at lists.bestpractical.com > Subject: Re: [rt-users] Scrip send email on create > > Jeremy Burke wrote: >> I think you need 2 scrips. The scrip you have below and then another scrip to send e-mail on create to the AdminCCs. You need to make sure the Add AdminCC scrip you have below is executed before the scrip that sends to the AdminCCs. >> >> I'm using RT 3.8.1 and this is how I have it setup to work. The 1 at the beginning of Scrip #2's description forces this scrip to be run before scrip #1 > > Jeremy, > > Thanks for the information. This helps, but doesn't solve the problem > because I'm using RT 3.4.5 which does not guarantee scrip order. Thus, > an upgrade is likely to be the path I have to take. I really don't want > to upgrade right now. > > This wiki article > http://wiki.bestpractical.com/view/TransactionBatchStage covers my > problem well. > > Does anyone have a solution for rt 3.4.5? > > Dan From jrhett at netconsonance.com Wed Feb 4 18:12:50 2009 From: jrhett at netconsonance.com (Jo Rhett) Date: Wed, 4 Feb 2009 15:12:50 -0800 Subject: [rt-users] create a new ticket with a forward? Message-ID: For some reason I thought this would be easy, but it appears not. Let's say I get a ticket opened. I need to create a child subticket and send that to a customer/vendor who needs to address part of the issue. I need to add some text to that. Is there any easy way to do this, or am I looking at hacking the source tree to do this? The issues as I see it are: 1. Forward just forwards the original mail. It either includes the existing ticket number or not, based on a option. There's no way I can find for it to assign a new ticket number. 2. It doesn't allow me to add comments above the forwarded mail. 3. The brute force "copy all", create child ticket, "paste all" doesn't work because linefeeds are removed from the pasted text. This has to do with the lines not having both CR and Linefeed when sent to Firefox and style problems the developers say, but either way it makes copy/paste useless. -- Jo Rhett Net Consonance : consonant endings by net philanthropy, open source and other randomness From jrhett at netconsonance.com Wed Feb 4 18:47:13 2009 From: jrhett at netconsonance.com (Jo Rhett) Date: Wed, 4 Feb 2009 15:47:13 -0800 Subject: [rt-users] complete docs for ExtractSubjectTagMatch? Message-ID: <4C5A363F-374E-4F81-8BA1-7E80EF95CB8F@netconsonance.com> I'm having some trouble with ExtractSubjectTagMatch or at least I think I am. On some replies, the reply will open a brank new ticket even though the ticket tag is clearly in the subject line. I'm having trouble figuring out what is wrong. Here's an example: [Support #49] Re: [Support #48] replace "Store Credit" with "Credit" on invoices Are there complete docs on how to do this appropriately? The wiki seems quite minimal in this regard -- most of the options have no specific documentation. I'm not asking anyone to help me get it right other than by pointing me to complete docs, but if you are so inclined here is my current config: Set( $rtname, 'Support' ); Set( $RTAddressRegexp, '^(abuse-support|support|tickets|ipadmin) \@netconsonance\.com$' ); Set( $EmailSubjectTagRegex, qr/\Q(Support|Abuse)\E/i ); Set($ExtractSubjectTagMatch, qr/\[.+? #\d+\]/); Set($ExtractSubjectTagNoMatch, ( ${RT::EmailSubjectTagRegex} ? qr/\[(?:${RT::EmailSubjectTagRegex}) #\d+\]/ : qr/\[\Q$RT::rtname\E #\d+\]/) ); -- Jo Rhett Net Consonance : consonant endings by net philanthropy, open source and other randomness From rob.munsch at gmail.com Wed Feb 4 20:58:33 2009 From: rob.munsch at gmail.com (Rob Munsch) Date: Wed, 4 Feb 2009 20:58:33 -0500 Subject: [rt-users] 10 Newest Unowned tickets i'm allowed to see Message-ID: <8fae230c0902041758o56bef54lbfefecdb93a72456@mail.gmail.com> Hello list, After some initial confusion, i realized that a user's "10 latest" block gets the 10 latest tickets, and THEN filters it for what queues that user is allowed to see - sometimes resulting in 4 tickets, or 1 ticket, or no tickets at all! I'm not sure how, or if i can, change this behaviour. I'd like the 10 most recent to show 10 tickets at all times - for permissions-filtering to occur before the 10 most recent are counted. Any ideas? -- /chown -R us:us /yourbase From JoopvandeWege at mococo.nl Thu Feb 5 02:51:53 2009 From: JoopvandeWege at mococo.nl (Joop) Date: Thu, 05 Feb 2009 08:51:53 +0100 Subject: [rt-users] RT Custom Field Error In-Reply-To: <498A099E.7010800@lbl.gov> References: <498A099E.7010800@lbl.gov> Message-ID: <498A9A99.4070204@mococo.nl> Kenneth Crocker wrote: > Hi all, > > > I have a Custom Field that is "Select One Value". I recently added some > new values and then identified them with categories. When a User updates > that CF, the new value goes in, but an error message appears as "User > asked for an unknown update type for custom field Work-Status for > RT::Ticket object #59578". > I think that is an known error message for rt-3.6.x and it was fixed in 3.8. It is annoying to see but I think it is not harmful. Joop From aperotti at cutaway.it Thu Feb 5 04:11:27 2009 From: aperotti at cutaway.it (Andrea Perotti) Date: Thu, 05 Feb 2009 10:11:27 +0100 Subject: [rt-users] RT Book : does it worth? Message-ID: <498AAD3F.4030707@cutaway.it> Hi guys is the book published by O'Reilly still actual or too much time has passed since 2005 and the info written there are no more updated? I've seen in changelog from 3.6 to 3.8 a big step head and reading about the idea of release 4.0 during 2009 make me even more in doubt about buying it... Have you read it? Did you find it useful, or the way RT is intended to be documented nowadays is via wiki and this ML ? Thank you for your answers and opinions. cheers -- Andrea Perotti Cutaway S.r.l. c/o Seat PagineGialle email : aperotti at cutaway.it www : http://www.cutaway.it -------------- next part -------------- A non-text attachment was scrubbed... Name: smime.p7s Type: application/x-pkcs7-signature Size: 3480 bytes Desc: S/MIME Cryptographic Signature URL: From elacour at easter-eggs.com Thu Feb 5 08:15:35 2009 From: elacour at easter-eggs.com (Emmanuel Lacour) Date: Thu, 5 Feb 2009 14:15:35 +0100 Subject: [rt-users] 10 Newest Unowned tickets i'm allowed to see In-Reply-To: <8fae230c0902041758o56bef54lbfefecdb93a72456@mail.gmail.com> References: <8fae230c0902041758o56bef54lbfefecdb93a72456@mail.gmail.com> Message-ID: <20090205131534.GB21728@easter-eggs.com> On Wed, Feb 04, 2009 at 08:58:33PM -0500, Rob Munsch wrote: > Hello list, > > After some initial confusion, i realized that a user's "10 latest" > block gets the 10 latest tickets, and THEN filters it for what queues > that user is allowed to see - sometimes resulting in 4 tickets, or 1 > ticket, or no tickets at all! > > I'm not sure how, or if i can, change this behaviour. I'd like the 10 > most recent to show 10 tickets at all times - for > permissions-filtering to occur before the 10 most recent are counted. > Any ideas? > Depending on your RT version, you can try the following option: Set($UseSQLForACLChecks, 1); but read comment on it in RT_Config.pm before enabling it. From torsten.brumm at Kuehne-Nagel.com Thu Feb 5 08:37:32 2009 From: torsten.brumm at Kuehne-Nagel.com (Ham MI-ID, Torsten Brumm) Date: Thu, 5 Feb 2009 14:37:32 +0100 Subject: [rt-users] RT Book : does it worth? In-Reply-To: <498AAD3F.4030707@cutaway.it> References: <498AAD3F.4030707@cutaway.it> Message-ID: <16426EA38D57E74CB1DE5A6AE1DB039401D0EF0C@w3hamboex11.ger.win.int.kn> Hi Andrea, i remember a threat like this some months ago and again: Yes, the book is still actual! There are many changes since 2005 but the core and most of the main features are working the same way. Torsten Kuehne + Nagel (AG & Co.) KG, Geschaeftsleitung: Hans-Georg Brinkmann (Vors.), Uwe Bielang (Stellv.), Bruno Mang, Dirk Blesius (Stellv.), Alfred Manke, Christian Marnett? (Stellv.), Mark Reinhardt (Stellv.), Jens Wollesen, Rainer Wunn, Sitz: Bremen, Registergericht: Bremen, HRA 21928, USt-IdNr.: DE 812773878, Persoenlich haftende Gesellschaft: Kuehne & Nagel A.G., Sitz: Contern/Luxemburg Geschaeftsfuehrender Verwaltungsrat: Klaus-Michael Kuehne -----Urspruengliche Nachricht----- Von: rt-users-bounces at lists.bestpractical.com [mailto:rt-users-bounces at lists.bestpractical.com] Im Auftrag von Andrea Perotti Gesendet: Donnerstag, 5. Februar 2009 10:11 An: rt-users at lists.bestpractical.com Betreff: [rt-users] RT Book : does it worth? Hi guys is the book published by O'Reilly still actual or too much time has passed since 2005 and the info written there are no more updated? I've seen in changelog from 3.6 to 3.8 a big step head and reading about the idea of release 4.0 during 2009 make me even more in doubt about buying it... Have you read it? Did you find it useful, or the way RT is intended to be documented nowadays is via wiki and this ML ? Thank you for your answers and opinions. cheers -- Andrea Perotti Cutaway S.r.l. c/o Seat PagineGialle email : aperotti at cutaway.it www : http://www.cutaway.it From calvin at utilyx.com Thu Feb 5 09:30:26 2009 From: calvin at utilyx.com (Calvin Chiang) Date: Thu, 05 Feb 2009 14:30:26 +0000 Subject: [rt-users] custom reports newbie Message-ID: <498AF802.3070500@utilyx.com> Hi All, I'm a newbie to custom reports. Are there any good templates floating about to start from? or any good guides to building them? Cheers, -- Calvin Chiang Network Admin Utilyx 1st Floor, 55 North Wharf Road Paddington London, W2 1LA Tel: 020 7087 8673 www.utilyx.com ______________________________________________________________________ "Utilyx" is the trading name of "Utilyx Limited" and "Utilyx Risk Management Limited" (URML). URML is authorised and regulated by the Financial Services Authority (FSA). This message contains information that may be privileged or confidential and is the property of Utilyx. It is intended only for the person to whom it is addressed. No confidentiality or privilege is waived or lost by any mistransmission. Any views or opinions expressed in this message are solely those of the author and do not necessarily represent those of Utilyx. Unless otherwise stated, any pricing information given in this message is indicative only and does not constitute an offer to deal at any price quoted. If you are not the intended recipient, you are not authorized to read, print, retain, copy, disseminate, distribute or use this message or any part thereof. If you receive this message in error, please notify the sender immediately and delete all copies of this message. ______________________________________________________________________ This email has been scanned by the MessageLabs Email Security System. For more information please visit http://www.messagelabs.com/email ______________________________________________________________________ From bjoern.schulz at desy.de Thu Feb 5 09:49:20 2009 From: bjoern.schulz at desy.de (Bjoern Schulz) Date: Thu, 05 Feb 2009 15:49:20 +0100 Subject: [rt-users] Merging 2 RT systems In-Reply-To: <03D0CD3BAC1F2949B639858D2686296E02028AD9@musca.ctn.nha.co.za> References: <03D0CD3BAC1F2949B639858D2686296E02028AD9@musca.ctn.nha.co.za> Message-ID: <498AFC70.1000600@desy.de> Hi, If I remember correctly, we use RT-Extension-RT2toRT3 several years ago. Kevin programmed it. http://www.cpan.org/authors/id/F/FA/FALCONE/RT-Extension-RT2toRT3-1.26.readme Cheers, Bj?rn Bashir Jahed wrote: > Hi All, > > > > I have a request from business to merge 2 RT systems. One is RT 3.x and > the other is RT 2.x > > > > Is this possible, if yes could anyone advise on best route to take? > > > > Thanks > > > > ------------------------------------------------------------------------ > > bashir jahed > nha | enhance > > > 5 protea road | claremont | 7708 > po box 24 | newlands | 7725 > > > telephone +27 (21) 657-2574 > > > > mobile +27 (83) 414-0453 > > facsimile +27 (21) 657-2575 > > > > e-mail | messenger bashir.jahed at nha.co.za > > ------------------------------------------------------------------------ > > this message is subject to the disclaimer at > www.nha.co.za/disclaimer.asp or > disclaimer at nha.co.za > > > > > > > > ------------------------------------------------------------------------ > > _______________________________________________ > 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 From rob.munsch at gmail.com Thu Feb 5 10:59:13 2009 From: rob.munsch at gmail.com (Rob Munsch) Date: Thu, 5 Feb 2009 10:59:13 -0500 Subject: [rt-users] 10 Newest Unowned tickets i'm allowed to see In-Reply-To: <20090205131534.GB21728@easter-eggs.com> References: <8fae230c0902041758o56bef54lbfefecdb93a72456@mail.gmail.com> <20090205131534.GB21728@easter-eggs.com> Message-ID: <8fae230c0902050759w6adfd793t5999b8157ca08749@mail.gmail.com> On Thu, Feb 5, 2009 at 8:15 AM, Emmanuel Lacour wrote: > Depending on your RT version, you can try the following option: > > Set($UseSQLForACLChecks, 1); > > but read comment on it in RT_Config.pm before enabling it. Go not to the docs for counsel, for they will say both no and yes. "In some cases it result in performance improvements, but some setups can not handle it." Is this hardware- or memory-dependent? What are the variables in whether it improves or degrades...? At any rate, trying it now, as this sys isn't in production yet. Thanks for the pointer, i saw that option but i didn't understand what it meant at the time. -- /chown -R us:us /yourbase From rainer at ultra-secure.de Thu Feb 5 11:43:11 2009 From: rainer at ultra-secure.de (Rainer Duffner) Date: Thu, 05 Feb 2009 17:43:11 +0100 Subject: [rt-users] RT Book : does it worth? In-Reply-To: <16426EA38D57E74CB1DE5A6AE1DB039401D0EF0C@w3hamboex11.ger.win.int.kn> References: <498AAD3F.4030707@cutaway.it> <16426EA38D57E74CB1DE5A6AE1DB039401D0EF0C@w3hamboex11.ger.win.int.kn> Message-ID: <498B171F.2070503@ultra-secure.de> Ham MI-ID, Torsten Brumm schrieb: > Hi Andrea, > > i remember a threat like this some months ago and again: Yes, the book is still actual! There are many changes since 2005 but the core and most of the main features are working the same way. > > Torsten > > That said, maybe "somebody" finds the time to do a follow-up that O'Reilly can sell in the form of their PDF-only "short-cuts" for 10 USD. But I guess Bestpractical makes more money by hosting trainings than through the sales of the book... Rainer From jesse at bestpractical.com Thu Feb 5 11:50:29 2009 From: jesse at bestpractical.com (Jesse Vincent) Date: Thu, 5 Feb 2009 11:50:29 -0500 Subject: [rt-users] RT Book : does it worth? In-Reply-To: <498B171F.2070503@ultra-secure.de> References: <498AAD3F.4030707@cutaway.it> <16426EA38D57E74CB1DE5A6AE1DB039401D0EF0C@w3hamboex11.ger.win.int.kn> <498B171F.2070503@ultra-secure.de> Message-ID: <20090205165029.GA7130@17h.local> > > That said, maybe "somebody" finds the time to do a follow-up that > O'Reilly can sell in the form of their PDF-only "short-cuts" for 10 USD. > > But I guess Bestpractical makes more money by hosting trainings than > through the sales of the book... > That may be true, but has nothing to do with why I haven't been pressuring O'Reilly to do a new RT book. I'd love to see it happen - It's just not very high on the priority list...and I'd rather see a new book covering RT4 than RT 3.8. (http://wiki.bestpractical.com/view/RT4) -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 194 bytes Desc: not available URL: From rainer at ultra-secure.de Thu Feb 5 12:10:31 2009 From: rainer at ultra-secure.de (Rainer Duffner) Date: Thu, 05 Feb 2009 18:10:31 +0100 Subject: [rt-users] RT Book : does it worth? In-Reply-To: <20090205165029.GA7130@17h.local> References: <498AAD3F.4030707@cutaway.it> <16426EA38D57E74CB1DE5A6AE1DB039401D0EF0C@w3hamboex11.ger.win.int.kn> <498B171F.2070503@ultra-secure.de> <20090205165029.GA7130@17h.local> Message-ID: <498B1D87.2020603@ultra-secure.de> Jesse Vincent schrieb: >> That said, maybe "somebody" finds the time to do a follow-up that >> O'Reilly can sell in the form of their PDF-only "short-cuts" for 10 USD. >> >> But I guess Bestpractical makes more money by hosting trainings than >> through the sales of the book... >> >> > > That may be true, Well, it wasn't meant to sound negative. Just realistic ;-) > but has nothing to do with why I haven't been > pressuring O'Reilly to do a new RT book. Hm. I thought you wrote the book ;-) (With some others) > I'd love to see it happen - > It's just not very high on the priority list...and I'd rather see a new > book covering RT4 than RT 3.8. (http://wiki.bestpractical.com/view/RT4) > Ah, interesting read. I wish you good progress ;-) But realistically, somebody would need to start writing that book now. Like all those "Missing manual" books that are released shortly after the software hits the street. Can you make an announcement, once you have a version that can be built and run to get an idea of what it looks like? I always want to make a VM-image of RT3.8 on FreeBSD with Postgres, but I never get around doing that, either... Best Regards, Rainer From jesse at bestpractical.com Thu Feb 5 12:16:46 2009 From: jesse at bestpractical.com (Jesse Vincent) Date: Thu, 5 Feb 2009 12:16:46 -0500 Subject: [rt-users] RT Book : does it worth? In-Reply-To: <498B1D87.2020603@ultra-secure.de> References: <498AAD3F.4030707@cutaway.it> <16426EA38D57E74CB1DE5A6AE1DB039401D0EF0C@w3hamboex11.ger.win.int.kn> <498B171F.2070503@ultra-secure.de> <20090205165029.GA7130@17h.local> <498B1D87.2020603@ultra-secure.de> Message-ID: <20090205171646.GC11161@17h.local> > Well, it wasn't meant to sound negative. Just realistic ;-) No worries. I just want to be clear that we're not intentionally holding back on docs to sell training :) > > > I'd love to see it happen - > > It's just not very high on the priority list...and I'd rather see a new > > book covering RT4 than RT 3.8. (http://wiki.bestpractical.com/view/RT4) > > > Can you make an announcement, once you have a version that can be built > and run to get an idea of what it looks like? > The first alphas will really be "look! It compiles! don't use it." We've started by gutting the internals and leaving the featureset alone. After 5+ years, it's something RT really needs. As we get toward beta, it will be more worth playing with. -j -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 194 bytes Desc: not available URL: From ktm at rice.edu Thu Feb 5 13:21:14 2009 From: ktm at rice.edu (Kenneth Marshall) Date: Thu, 5 Feb 2009 12:21:14 -0600 Subject: [rt-users] 10 Newest Unowned tickets i'm allowed to see In-Reply-To: <8fae230c0902050759w6adfd793t5999b8157ca08749@mail.gmail.com> References: <8fae230c0902041758o56bef54lbfefecdb93a72456@mail.gmail.com> <20090205131534.GB21728@easter-eggs.com> <8fae230c0902050759w6adfd793t5999b8157ca08749@mail.gmail.com> Message-ID: <20090205182113.GF2995@it.is.rice.edu> On Thu, Feb 05, 2009 at 10:59:13AM -0500, Rob Munsch wrote: > On Thu, Feb 5, 2009 at 8:15 AM, Emmanuel Lacour wrote: > > > Depending on your RT version, you can try the following option: > > > > Set($UseSQLForACLChecks, 1); > > > > but read comment on it in RT_Config.pm before enabling it. > > Go not to the docs for counsel, for they will say both no and yes. > "In some cases it result in performance improvements, but some setups > can not handle it." > Is this hardware- or memory-dependent? What are the variables in > whether it improves or degrades...? > > At any rate, trying it now, as this sys isn't in production yet. > Thanks for the pointer, i saw that option but i didn't understand what > it meant at the time. > I suspect that with certain backends or SearchBuilder versions, the DB plans could be umm... non-optimal for this feature. :) I am trying it here as well. Cheers, Ken From jesse at bestpractical.com Thu Feb 5 13:28:47 2009 From: jesse at bestpractical.com (Jesse Vincent) Date: Thu, 5 Feb 2009 13:28:47 -0500 Subject: [rt-users] 10 Newest Unowned tickets i'm allowed to see In-Reply-To: <20090205182113.GF2995@it.is.rice.edu> References: <8fae230c0902041758o56bef54lbfefecdb93a72456@mail.gmail.com> <20090205131534.GB21728@easter-eggs.com> <8fae230c0902050759w6adfd793t5999b8157ca08749@mail.gmail.com> <20090205182113.GF2995@it.is.rice.edu> Message-ID: <20090205182847.GA11034@17h.local> > I suspect that with certain backends or SearchBuilder versions, the > DB plans could be umm... non-optimal for this feature. :) I am trying > it here as well. Indeed. It's still largely experimental. I'd always been fairly certain that it was "impossible", but Ruslan worked a whole bunch of magic. Feedback would be hugely appreciated. -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 194 bytes Desc: not available URL: From damon at thinkingphones.com Thu Feb 5 14:23:36 2009 From: damon at thinkingphones.com (Damon Miller) Date: Thu, 5 Feb 2009 11:23:36 -0800 Subject: [rt-users] RT 3.8.2, Postfix, and external aliases Message-ID: <4A29003103C85E46A118982CC4731B8901D3AD43@EXVBE005-2.exch005intermedia.net> Hi all. I need a little guidance on a problem I'm having with RT 3.8.2 using Postfix as the MTA. The issue is that replies are not sent from RT when an external alias is used; these messages are identified as bounces because their 'Return-Path' header is empty. Replies are sent without incident when the actual address on the RT server is used. I do not have control over the remote server's configuration (running Microsoft Exchange). I do have control over my own Postfix server. The basic configuration is as follows: helpdesk-support at provider.com -- RT's queue address (for the Support queue) support at consumer.com -- Remote alias used for convenience The support at consumer.com address points to helpdesk-support at provider.com by way of a "Distribution List" which contains only one "Contact", the target address. I'm told this is how one creates an alias on Exchange without having to create a new mailbox. When Postfix receives mail by way of the alias the headers look something like this: >From MAILER-DAEMON Wed Feb 4 14:21:39 2009 Return-Path: <> X-Original-To: testinstance-support at provider.com [etc.] I do see the original destination address further down but that's expected since the message has to originate somewhere. When Postfix receives mail sent to the actual local address, the headers are more complete: >From testaccount at gmail.com Thu Feb 5 09:36:41 2009 Return-Path: X-Original-To: helpdesk-support at provider.com I realize this may be a Postfix question but I'm just not sure where to start... My understanding is that the local delivery agent is responsible for setting the "Return-Path" and "From" headers but I assumed Postfix would do that if necessary. It is doing this for messages sent directly to addresses. The remote server is not setting these headers; I verified by sniffing the SMTP session. Any suggestions would be most appreciated. Thanks very much, Damon From jrhett at netconsonance.com Thu Feb 5 14:56:12 2009 From: jrhett at netconsonance.com (Jo Rhett) Date: Thu, 5 Feb 2009 11:56:12 -0800 Subject: [rt-users] RT 3.8.2, Postfix, and external aliases In-Reply-To: <4A29003103C85E46A118982CC4731B8901D3AD43@EXVBE005-2.exch005intermedia.net> References: <4A29003103C85E46A118982CC4731B8901D3AD43@EXVBE005-2.exch005intermedia.net> Message-ID: I don't know if postfix supports this, but Sendmail proper allows "- ba" which means that it populates the envelope sender from the From: line in the message. Adding this to the sendmailpipe invocation would solve your problem if postfix does this as well. On Feb 5, 2009, at 11:23 AM, Damon Miller wrote: > Hi all. I need a little guidance on a problem I'm having with RT > 3.8.2 > using Postfix as the MTA. > > > > The issue is that replies are not sent from RT when an external > alias is > used; these messages are identified as bounces because their > 'Return-Path' header is empty. Replies are sent without incident when > the actual address on the RT server is used. > > > > I do not have control over the remote server's configuration (running > Microsoft Exchange). I do have control over my own Postfix server. > > > > The basic configuration is as follows: > > helpdesk-support at provider.com -- RT's queue address (for the Support > queue) > > support at consumer.com -- Remote alias used for convenience > > The support at consumer.com address points to helpdesk-support at provider.com > by way of a "Distribution List" which contains only one "Contact", the > target address. I'm told this is how one creates an alias on Exchange > without having to create a new mailbox. > > > > When Postfix receives mail by way of the alias the headers look > something like this: > > From MAILER-DAEMON Wed Feb 4 14:21:39 2009 > Return-Path: <> > X-Original-To: testinstance-support at provider.com > > [etc.] > > I do see the original destination address further down but that's > expected since the message has to originate somewhere. > > > > When Postfix receives mail sent to the actual local address, the > headers > are more complete: > > From testaccount at gmail.com Thu Feb 5 09:36:41 2009 > Return-Path: > X-Original-To: helpdesk-support at provider.com > > > > I realize this may be a Postfix question but I'm just not sure where > to > start... My understanding is that the local delivery agent is > responsible for setting the "Return-Path" and "From" headers but I > assumed Postfix would do that if necessary. It is doing this for > messages sent directly to addresses. The remote server is not setting > these headers; I verified by sniffing the SMTP session. > > > > Any suggestions would be most appreciated. > > > > Thanks very much, > > Damon > > > _______________________________________________ > 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 -- Jo Rhett Net Consonance : consonant endings by net philanthropy, open source and other randomness From schenkin at gmail.com Thu Feb 5 15:01:33 2009 From: schenkin at gmail.com (Sam Chenkin) Date: Thu, 5 Feb 2009 15:01:33 -0500 Subject: [rt-users] Quick hack to add "Resolved" column to Quicksearch Message-ID: <2f7527a00902051201q6231d61ch2efc7abdbf1172e@mail.gmail.com> I had a request from one of my users to add a link to view all resolved tickets to he Quicksearch block in the rt-at-a-glance. Thought someone might find this useful. Make the following change to /opt/rt3/share/html/Elements (add line 65). You can add any other status by changing that line. It ONLY affects the quicksearch. 62 foreach ( RT::Queue->ActiveStatusArray ) { 63 push @conditions, { cond => "Status = '$_'", name => loc($_) }; 64 } 65 + push @conditions, { cond => "Status = 'resolved'", name=>'resolved'}; ~Sam From damon at thinkingphones.com Thu Feb 5 15:38:18 2009 From: damon at thinkingphones.com (Damon Miller) Date: Thu, 5 Feb 2009 12:38:18 -0800 Subject: [rt-users] RT 3.8.2, Postfix, and external aliases In-Reply-To: References: <4A29003103C85E46A118982CC4731B8901D3AD43@EXVBE005-2.exch005intermedia.net> Message-ID: <4A29003103C85E46A118982CC4731B8901D3ADAF@EXVBE005-2.exch005intermedia.net> Jo, Thanks very much for your reply. I don't think Postfix's command-line 'sendmail' supports this option, unfortunately... Postfix's documentation states that the local delivery agent ('local') does prepend Return-Path and From headers but this isn't happening for me. I'll send a note to the Postfix list. Hopefully someone will provide some guidance. Thanks again, Damon -- Damon T. Miller Director of Application Services Thinking Phone Networks damon at thinkingphones.com 617-649-1388 (Office) > -----Original Message----- > From: Jo Rhett [mailto:jrhett at netconsonance.com] > Sent: Thursday, February 05, 2009 2:56 PM > To: Damon Miller > Cc: rt-users at lists.bestpractical.com > Subject: Re: [rt-users] RT 3.8.2, Postfix, and external aliases > > I don't know if postfix supports this, but Sendmail proper allows "- > ba" which means that it populates the envelope sender from the From: > line in the message. Adding this to the sendmailpipe invocation would > solve your problem if postfix does this as well. > > On Feb 5, 2009, at 11:23 AM, Damon Miller wrote: > > Hi all. I need a little guidance on a problem I'm having with RT > > 3.8.2 > > using Postfix as the MTA. > > > > > > > > The issue is that replies are not sent from RT when an external > > alias is > > used; these messages are identified as bounces because their > > 'Return-Path' header is empty. Replies are sent without incident when > > the actual address on the RT server is used. > > > > > > > > I do not have control over the remote server's configuration (running > > Microsoft Exchange). I do have control over my own Postfix server. > > > > > > > > The basic configuration is as follows: > > > > helpdesk-support at provider.com -- RT's queue address (for the Support > > queue) > > > > support at consumer.com -- Remote alias used for convenience > > > > The support at consumer.com address points to helpdesk-support at provider.com > > by way of a "Distribution List" which contains only one "Contact", the > > target address. I'm told this is how one creates an alias on Exchange > > without having to create a new mailbox. > > > > > > > > When Postfix receives mail by way of the alias the headers look > > something like this: > > > > From MAILER-DAEMON Wed Feb 4 14:21:39 2009 > > Return-Path: <> > > X-Original-To: testinstance-support at provider.com > > > > [etc.] > > > > I do see the original destination address further down but that's > > expected since the message has to originate somewhere. > > > > > > > > When Postfix receives mail sent to the actual local address, the > > headers > > are more complete: > > > > From testaccount at gmail.com Thu Feb 5 09:36:41 2009 > > Return-Path: > > X-Original-To: helpdesk-support at provider.com > > > > > > > > I realize this may be a Postfix question but I'm just not sure where > > to > > start... My understanding is that the local delivery agent is > > responsible for setting the "Return-Path" and "From" headers but I > > assumed Postfix would do that if necessary. It is doing this for > > messages sent directly to addresses. The remote server is not setting > > these headers; I verified by sniffing the SMTP session. > > > > > > > > Any suggestions would be most appreciated. > > > > > > > > Thanks very much, > > > > Damon > > > > > > _______________________________________________ > > 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 > > -- > Jo Rhett > Net Consonance : consonant endings by net philanthropy, open source > and other randomness > From KFCrocker at lbl.gov Thu Feb 5 15:45:32 2009 From: KFCrocker at lbl.gov (Kenneth Crocker) Date: Thu, 05 Feb 2009 12:45:32 -0800 Subject: [rt-users] RT Time fields in days? In-Reply-To: References: <49837B73.1000307@lbl.gov> <4988CF0B.1070400@lbl.gov> Message-ID: <498B4FEC.5090004@lbl.gov> Kristian, Thanks. I'll give it a try. Kenn LBNL On 2/4/2009 2:46 AM, Kristian Davies wrote: > Not my code, but in the interest of sharing: > > local/html/Elements/SelectTimeUnits > > %# END BPS TAGGED BLOCK }}} > % my $selected = 'minutes'; > % $selected = 'hours' if $minutes > 60; > % $selected = 'days' if $minutes > 480; > > <%INIT> > $Name .= '-TimeUnits' unless $Name =~ /-TimeUnits$/io; > > <%ARGS> > $Name => '' > $minutes => '' > > > Kristian > From jesse at bestpractical.com Thu Feb 5 15:47:39 2009 From: jesse at bestpractical.com (Jesse Vincent) Date: Thu, 5 Feb 2009 15:47:39 -0500 Subject: [rt-users] Security risk! Passwords can be compromised! In-Reply-To: References: <20090203230646.GE9468@72-60-194-184.pools.spcsdns.net> Message-ID: <20090205204739.GJ11034@17h.local> On Tue 3.Feb'09 at 22:37:59 -0500, Isaac Vetter wrote: > > The docs for 'LogStackTrace' have been updated as follows. How do > > folks feel about the new notice? > > > > If set then logging will include stack > > traces for messages with level equal or greater than > > specified. > > > > NOTICE: Stack traces include parameters that functions or methods > > were called with. It is possible for stack trace logging to reveal sensitive > > information such as passwords and ticket content in your logs. > > Jesse, > > Since you're asking (and towards the goal of something useful coming from > this thread). :) > > I would say that, in this case, you shouldn't end a sentence with a > preposition. > > How about: > "Stack traces include the parameters of called functions." > or > "Stack traces include the parameters used within methods and functions." > or > ... I've just checked in this: NOTICE: Stack traces include parameters supplied to functions or methods. It is possible for stack trace logging to reveal sensitive information such as passwords or ticket content in your logs. -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 194 bytes Desc: not available URL: From KFCrocker at lbl.gov Thu Feb 5 15:50:19 2009 From: KFCrocker at lbl.gov (Kenneth Crocker) Date: Thu, 05 Feb 2009 12:50:19 -0800 Subject: [rt-users] Scrip send email on create In-Reply-To: <4989DFC6.1030201@northpb.com> References: <49878A65.4070002@northpb.com> <4988E692.5040208@northpb.com> <4989DFC6.1030201@northpb.com> Message-ID: <498B510B.6000809@lbl.gov> Dan, I may be wrong, but I believe you can order the sequence of scrips by the name field. I put a 1a, 1b, 2a, 2c in front of the name of several scrips I have that run for the same transaction, but need them to run in sequence. That and setting the TransactionBatch to 1 works for me. Hope this helps. Hope this helps. Kenn LBNL On 2/4/2009 10:34 AM, Dan O'Neill wrote: > Jeremy Burke wrote: >> I think you need 2 scrips. The scrip you have below and then another scrip to send e-mail on create to the AdminCCs. You need to make sure the Add AdminCC scrip you have below is executed before the scrip that sends to the AdminCCs. >> >> I'm using RT 3.8.1 and this is how I have it setup to work. The 1 at the beginning of Scrip #2's description forces this scrip to be run before scrip #1 > > Jeremy, > > Thanks for the information. This helps, but doesn't solve the problem > because I'm using RT 3.4.5 which does not guarantee scrip order. Thus, > an upgrade is likely to be the path I have to take. I really don't want > to upgrade right now. > > This wiki article > http://wiki.bestpractical.com/view/TransactionBatchStage covers my > problem well. > > Does anyone have a solution for rt 3.4.5? > > Dan > _______________________________________________ > 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 > From KFCrocker at lbl.gov Thu Feb 5 15:54:29 2009 From: KFCrocker at lbl.gov (Kenneth Crocker) Date: Thu, 05 Feb 2009 12:54:29 -0800 Subject: [rt-users] FW: Quick Ticket Creation widget - how to remove it? In-Reply-To: <72D9E13A8FC8994794D448E91198AE070133FB96@mail.sys.internal> References: <72D9E13A8FC8994794D448E91198AE070133FB96@mail.sys.internal> Message-ID: <498B5205.70807@lbl.gov> Jim, I'mnot sure, but I think you have to remove that particular entry from the ATTRIBUTES Table for each user that has selected the feature on their home page (3.6+). Also, you need to remove it from the RT_SiteConfig.pm file. I removed it from mine - "Set($HomepageComponents, [qw(Quicksearch MySupportQueues MyReminders RefreshHomepage)]);". Hope this helps. Kenn LBNL On 2/4/2009 6:53 AM, Jim Tambling wrote: > That only removes it from the layout of the user that's logged in. I > want to remove it from everyone's layout. > > Jim > > -----Original Message----- > From: Jeff Voskamp [mailto:javoskam at uwaterloo.ca] > Sent: 04 February 2009 14:49 > To: Jim Tambling > Subject: Re: [rt-users] Quick Ticket Creation widget - how to remove it? > > Jim Tambling wrote: >> As per the subject, fairly new to RT but I have looked everywhere and >> can't find a simple way to do it. >> >> Regards >> > Configuration->Global-RT at a Glance and pull it from the layout. > > Jeff > _______________________________________________ > 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 > From rob.munsch at gmail.com Thu Feb 5 17:02:07 2009 From: rob.munsch at gmail.com (Rob Munsch) Date: Thu, 5 Feb 2009 17:02:07 -0500 Subject: [rt-users] Security risk! Passwords can be compromised! In-Reply-To: <20090205204739.GJ11034@17h.local> References: <20090203230646.GE9468@72-60-194-184.pools.spcsdns.net> <20090205204739.GJ11034@17h.local> Message-ID: <8fae230c0902051402k675b8651scd3798c8939724b9@mail.gmail.com> On Thu, Feb 5, 2009 at 3:47 PM, Jesse Vincent wrote: > > > > On Tue 3.Feb'09 at 22:37:59 -0500, Isaac Vetter wrote: >> > The docs for 'LogStackTrace' have been updated as follows. How do >> > folks feel about the new notice? >> > >> > If set then logging will include stack >> > traces for messages with level equal or greater than >> > specified. >> > >> > NOTICE: Stack traces include parameters that functions or methods >> > were called with. It is possible for stack trace logging to reveal sensitive >> > information such as passwords and ticket content in your logs. >> >> Jesse, >> >> Since you're asking (and towards the goal of something useful coming from >> this thread). :) >> >> I would say that, in this case, you shouldn't end a sentence with a >> preposition. >> >> How about: >> "Stack traces include the parameters of called functions." >> or >> "Stack traces include the parameters used within methods and functions." >> or >> ... > > I've just checked in this: > > NOTICE: Stack traces include parameters supplied to functions or > methods. It is possible for stack trace logging to reveal sensitive > information such as passwords or ticket content in your logs. That sounds perfect. Once i was done testing ExternalAuth, i turned off stack traces then manually blew away those sections of the logs that contained the passwords anyway, just to keep in paranoia practice. -- /chown -R us:us /yourbase From rob.munsch at gmail.com Thu Feb 5 17:07:40 2009 From: rob.munsch at gmail.com (Rob Munsch) Date: Thu, 5 Feb 2009 17:07:40 -0500 Subject: [rt-users] FW: Quick Ticket Creation widget - how to remove it? In-Reply-To: <498B5205.70807@lbl.gov> References: <72D9E13A8FC8994794D448E91198AE070133FB96@mail.sys.internal> <498B5205.70807@lbl.gov> Message-ID: <8fae230c0902051407n546ff6c4t3472f121bfde4092@mail.gmail.com> On Thu, Feb 5, 2009 at 3:54 PM, Kenneth Crocker wrote: > Jim, > > I'mnot sure, but I think you have to remove that particular entry from > the ATTRIBUTES Table for each user that has selected the feature on > their home page (3.6+). Also, you need to remove it from the > RT_SiteConfig.pm file. I removed it from mine - > "Set($HomepageComponents, [qw(Quicksearch MySupportQueues MyReminders > RefreshHomepage)]);". Hope this helps. > > > Kenn > LBNL > > On 2/4/2009 6:53 AM, Jim Tambling wrote: >> That only removes it from the layout of the user that's logged in. I >> want to remove it from everyone's layout. >> >> Jim >> >> -----Original Message----- >> From: Jeff Voskamp [mailto:javoskam at uwaterloo.ca] >> Sent: 04 February 2009 14:49 >> To: Jim Tambling >> Subject: Re: [rt-users] Quick Ticket Creation widget - how to remove it? >> >> Jim Tambling wrote: >>> As per the subject, fairly new to RT but I have looked everywhere and >>> can't find a simple way to do it. >>> >>> Regards >>> >> Configuration->Global-RT at a Glance and pull it from the layout. >> >> Jeff When logged in as root, Global -> RT at a glance - which describes itself as altering "the default view" - lets me remove QuickCreate. Logging out as root and back in as a normal (privileged, in a group) user no longer has the QuickCreate widget in my At A Glance, indicating that it does indeed modify the default view for all users. The user as far as i can tell does not have permissions to add it back. This is in 3.8.2, if that matters. -- /chown -R us:us /yourbase From stuart.browne at ausregistry.com.au Thu Feb 5 19:16:20 2009 From: stuart.browne at ausregistry.com.au (Stuart Browne) Date: Fri, 6 Feb 2009 11:16:20 +1100 Subject: [rt-users] FW: 3.8.1 - New upgrade slow on 'New Search click Message-ID: <8CEF048B9EC83748B1517DC64EA130FB18F130DD4E@off-win2003-01.ausregistrygroup.local> I sent this through a while ago, but got no responses. Anybody know what can help with this slow 'Search page' coming up issue? I've since seen a few other people mention the issue, but no response there either.. Anybody? Stuart -----Original Message----- From: Stuart Browne Sent: Thursday, 4 December 2008 12:06 To: 'rt-users at lists.bestpractical.com' Subject: 3.8.1 - New upgrade slow on 'New Search click Hi, After doing a 3.8.1 upgrade (install into new directory, upgrade db from 3.6.5), clicking on 'Tickets' / 'New Search' causes a 10-15 second pause. Digging through the active queries when that occurs shows the following query: SELECT DISTINCT main.* FROM Users main CROSS JOIN ACL ACL_4 JOIN Principals Principals_1 ON ( Principals_1.id = main.id ) JOIN CachedGroupMembers CachedGroupMembers_2 ON ( CachedGroupMembers_2.MemberId = Principals_1.id ) JOIN Groups Groups_3 ON ( Groups_3.id = CachedGroupMembers_2.GroupId ) WHERE (Principals_1.Disabled = '0') AND (ACL_4.PrincipalType = Groups_3.Type) AND (Principals_1.id != '1') AND (Principals_1.PrincipalType = 'User') AND (ACL_4.RightName = 'OwnTicket' OR ACL_4.RightName = 'SuperUser') AND (Groups_3.Domain = 'RT::Queue-Role') AND ((ACL_4.ObjectType = 'RT::Queue') OR (ACL_4.ObjectType = 'RT::System')) ORDER BY main.Name ASC Eww. Anyway. The explain on this shows: *************************** 1. row *************************** id: 1 select_type: SIMPLE table: main type: range possible_keys: PRIMARY key: PRIMARY key_len: 4 ref: NULL rows: 65 Extra: Using where; Using temporary; Using filesort *************************** 2. row *************************** id: 1 select_type: SIMPLE table: Principals_1 type: eq_ref possible_keys: PRIMARY key: PRIMARY key_len: 4 ref: rt3.main.id rows: 1 Extra: Using where; Distinct *************************** 3. row *************************** id: 1 select_type: SIMPLE table: CachedGroupMembers_2 type: ref possible_keys: DisGrouMem,CachedGroupMembers3 key: CachedGroupMembers3 key_len: 5 ref: rt3.Principals_1.id rows: 1 Extra: Using where; Distinct *************************** 4. row *************************** id: 1 select_type: SIMPLE table: ACL_4 type: range possible_keys: ACL1 key: ACL1 key_len: 54 ref: NULL rows: 82 Extra: Using where; Using index; Distinct *************************** 5. row *************************** id: 1 select_type: SIMPLE table: Groups_3 type: eq_ref possible_keys: PRIMARY,Groups1,Groups2 key: PRIMARY key_len: 4 ref: rt3.CachedGroupMembers_2.GroupId rows: 1 Extra: Using where; Distinct Using google, two possible matches were found. - One of the queues has a 'Group Right' allowing 'Everyone' to 'Own Ticket'. I have gone through all our queues, found one queue with this permission. Removed the permission, issue still persists. I've even gone through and verified disabled queue's group rights. - The explain shows 'Using filesort' and the 'tmp_table_size' should be increased. Changing this to 4 times the default has had no effect. This coupled with the fact that our DB isn't that big. So, I was wondering if anybody else was experiencing this pause, and preferably if anybody knows what's causing it so I can fix it. Thanks Stuart J. Browne From ruslan.zakirov at gmail.com Thu Feb 5 22:44:14 2009 From: ruslan.zakirov at gmail.com (Ruslan Zakirov) Date: Fri, 6 Feb 2009 06:44:14 +0300 Subject: [rt-users] 10 Newest Unowned tickets i'm allowed to see In-Reply-To: <8fae230c0902050759w6adfd793t5999b8157ca08749@mail.gmail.com> References: <8fae230c0902041758o56bef54lbfefecdb93a72456@mail.gmail.com> <20090205131534.GB21728@easter-eggs.com> <8fae230c0902050759w6adfd793t5999b8157ca08749@mail.gmail.com> Message-ID: <589c94400902051944k68ea02cama33aac9ae5404812@mail.gmail.com> DB and setup dependent. ACL checks in RT are painful for all DBs, however these days we at least know how to cook old queries and there are a lot of knowledge on the web. This new feature changes balance. New queries may need new indexes, new execution paths may need new optimizations and bug fixes and... On Thu, Feb 5, 2009 at 6:59 PM, Rob Munsch wrote: > On Thu, Feb 5, 2009 at 8:15 AM, Emmanuel Lacour wrote: > >> Depending on your RT version, you can try the following option: >> >> Set($UseSQLForACLChecks, 1); >> >> but read comment on it in RT_Config.pm before enabling it. > > Go not to the docs for counsel, for they will say both no and yes. > "In some cases it result in performance improvements, but some setups > can not handle it." > Is this hardware- or memory-dependent? What are the variables in > whether it improves or degrades...? > > At any rate, trying it now, as this sys isn't in production yet. > Thanks for the pointer, i saw that option but i didn't understand what > it meant at the time. > > -- > /chown -R us:us /yourbase > _______________________________________________ > 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 > -- Best regards, Ruslan. From tbskyd at gmail.com Fri Feb 6 04:17:45 2009 From: tbskyd at gmail.com (d tbsky) Date: Fri, 6 Feb 2009 17:17:45 +0800 Subject: [rt-users] selectowner right? Message-ID: <49002b820902060117h354762a9u1f96abcbc459e231@mail.gmail.com> hi: i have a queue which has rights below for user-group: CreateTicket SeeQueue ShowTicket and there is admin-group which has all the rights for the queue. when user creates a ticket, he can use the "owner" drop down list to see the admin-group users and assign owner. i don't want user-group to do this. can i prevent them seeing the "owner" list (or only see nobody in the list)? i hope user-group can only create ticket, not assign the owner. can this be done? thanks for help!! Regards, tbskyd From sven.sternberger at desy.de Fri Feb 6 04:17:55 2009 From: sven.sternberger at desy.de (Sven Sternberger) Date: Fri, 06 Feb 2009 10:17:55 +0100 Subject: [rt-users] RT Book : does it worth? In-Reply-To: <498B171F.2070503@ultra-secure.de> References: <498AAD3F.4030707@cutaway.it> <16426EA38D57E74CB1DE5A6AE1DB039401D0EF0C@w3hamboex11.ger.win.int.kn> <498B171F.2070503@ultra-secure.de> Message-ID: <1233911875.6694.17.camel@pcx4546.desy.de> Hello Andrea! We bought the book, it is not the ultimative guide to set up a working ticket infrastructure. But it gives you some ideas how RT works, some nice examples. And it costs 30 bucks, and if it saves you 1 hour it is a good buy. The difference between 3.6 and 3.8 are marginal It is more or less only on the WebInterface (and you can still configure 3.8 to look like 3.6). But I think a really good book which gives you an idea about how to set up ticket infrastructures in complex and/or large environments would be helpful It should not only handle the technical part but also how to organize your queues. For this kind of information I think I would spend more than 30 bucks. regards sven On Do, 2009-02-05 at 17:43 +0100, Rainer Duffner wrote: > Ham MI-ID, Torsten Brumm schrieb: > > Hi Andrea, > > > > i remember a threat like this some months ago and again: Yes, the book is still actual! There are many changes since 2005 but the core and most of the main features are working the same way. > > > > Torsten > > > > > > > That said, maybe "somebody" finds the time to do a follow-up that > O'Reilly can sell in the form of their PDF-only "short-cuts" for 10 USD. > > But I guess Bestpractical makes more money by hosting trainings than > through the sales of the book... > > > > Rainer > > _______________________________________________ > 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 From r.m.guerrero at usit.uio.no Fri Feb 6 05:01:31 2009 From: r.m.guerrero at usit.uio.no (Rafael Martinez) Date: Fri, 06 Feb 2009 11:01:31 +0100 Subject: [rt-users] RT full text indexing with PostgreSQL In-Reply-To: <20090203234513.GR2995@it.is.rice.edu> References: <20090203234513.GR2995@it.is.rice.edu> Message-ID: <498C0A7B.9050206@usit.uio.no> Kenneth Marshall wrote: > On Sun, Feb 01, 2009 at 09:41:42PM -0600, Kenneth Marshall wrote: >>> I just updated the PostgreSQLFullText pages on the wiki with >>> the triggers to keep the parsed document columns updated whenever >>> there is a change to the dependent columns. >>> Hello Kenneth First of all thank you for this work. We have been waiting for this for a long time but the work we thought had to be done with the RT-code has stopped us to implement full text search. After a close check of the wiki page: http://wiki.bestpractical.com/view/PostgreSQLFullText .... I think that the patch of DBIx::SearchBuilder is not 100% complete/correct. All lines has the '-' (minus) symbol. I suppose that at least some of them should be '+' and not '-'? This is a tiny patch, would not be an idea to implement this in RT-core functionality, maybe with some config parameters that activate/deactivate full text search (when using postgresql/oracle, etc) . regards -- Rafael Martinez, Center for Information Technology Services University of Oslo, Norway PGP Public Key: http://folk.uio.no/rafael/ From bashir.jahed at nha.co.za Fri Feb 6 05:14:35 2009 From: bashir.jahed at nha.co.za (Bashir Jahed) Date: Fri, 6 Feb 2009 12:14:35 +0200 Subject: [rt-users] View User - Dissallow tickets from being assisgned Message-ID: <03D0CD3BAC1F2949B639858D2686296E020611B6@musca.ctn.nha.co.za> Hi All, Is there a way in RT to disallow tickets from being assigned to a specific user? Bash ________________________________ bashir jahed nha | enhance 5 protea road | claremont | 7708 po box 24 | newlands | 7725 telephone +27 (21) 657-2574 mobile +27 (83) 414-0453 facsimile +27 (21) 657-2575 e-mail | messenger bashir.jahed at nha.co.za ________________________________ this message is subject to the disclaimer at www.nha.co.za/disclaimer.asp or disclaimer at nha.co.za -------------- next part -------------- An HTML attachment was scrubbed... URL: From barnesaw at ucrwcu.rwc.uc.edu Fri Feb 6 08:43:07 2009 From: barnesaw at ucrwcu.rwc.uc.edu (Drew Barnes) Date: Fri, 06 Feb 2009 08:43:07 -0500 Subject: [rt-users] FW: Quick Ticket Creation widget - how to remove it? In-Reply-To: <8fae230c0902051407n546ff6c4t3472f121bfde4092@mail.gmail.com> References: <72D9E13A8FC8994794D448E91198AE070133FB96@mail.sys.internal> <498B5205.70807@lbl.gov> <8fae230c0902051407n546ff6c4t3472f121bfde4092@mail.gmail.com> Message-ID: <498C3E6B.5000502@ucrwcu.rwc.uc.edu> Rob Munsch wrote: > On Thu, Feb 5, 2009 at 3:54 PM, Kenneth Crocker wrote: > >> Jim, >> >> I'mnot sure, but I think you have to remove that particular entry from >> the ATTRIBUTES Table for each user that has selected the feature on >> their home page (3.6+). Also, you need to remove it from the >> RT_SiteConfig.pm file. I removed it from mine - >> "Set($HomepageComponents, [qw(Quicksearch MySupportQueues MyReminders >> RefreshHomepage)]);". Hope this helps. >> >> >> Kenn >> LBNL >> This will work for anyone who has not customized they At A Glance yet, but I don't know of a way to remove it if someone has, since the layout is stored as a serialized hash in the database. In a pinch I suppose you could remove that file, but that may stop their home page from loading... D -- Drew Barnes Applications Analyst Network Resources Department Raymond Walters College University of Cincinnati From ktm at rice.edu Fri Feb 6 08:44:25 2009 From: ktm at rice.edu (Kenneth Marshall) Date: Fri, 6 Feb 2009 07:44:25 -0600 Subject: [rt-users] RT full text indexing with PostgreSQL In-Reply-To: <498C0A7B.9050206@usit.uio.no> References: <20090203234513.GR2995@it.is.rice.edu> <498C0A7B.9050206@usit.uio.no> Message-ID: <20090206134425.GG2995@it.is.rice.edu> On Fri, Feb 06, 2009 at 11:01:31AM +0100, Rafael Martinez wrote: > Kenneth Marshall wrote: > > On Sun, Feb 01, 2009 at 09:41:42PM -0600, Kenneth Marshall wrote: > >>> I just updated the PostgreSQLFullText pages on the wiki with > >>> the triggers to keep the parsed document columns updated whenever > >>> there is a change to the dependent columns. > >>> > > Hello Kenneth > > First of all thank you for this work. We have been waiting for this for > a long time but the work we thought had to be done with the RT-code has > stopped us to implement full text search. > > After a close check of the wiki page: > http://wiki.bestpractical.com/view/PostgreSQLFullText .... > > I think that the patch of DBIx::SearchBuilder is not 100% > complete/correct. All lines has the '-' (minus) symbol. I suppose that > at least some of them should be '+' and not '-'? > > This is a tiny patch, would not be an idea to implement this in RT-core > functionality, maybe with some config parameters that > activate/deactivate full text search (when using postgresql/oracle, etc) . > > regards > -- > Rafael Martinez, > Center for Information Technology Services > University of Oslo, Norway > > PGP Public Key: http://folk.uio.no/rafael/ > Rafael, The diff I posted was to go from the FULLTEXT patch to the original one. I agree that it would make more sense to go the other way. I have updated the page. I do think that having it as an option in RT-core would be nice. I know for PostgreSQL versions 8.3 and higher, you can use the patch by default since FULLTEXT indexing comes with the database as a standard feature. PostgreSQL will simply convert the attachment field automatically using to_tsvector() on the fly so it will just work as is. Of course creating the needed index will greatly improve the performance. I do not know if OracleText has the same fallback in the absence of the FULLTEXT setup and index. I suspect that run-time tests for a configuration option would be needed. Cheers, Ken From ktm at rice.edu Fri Feb 6 08:46:41 2009 From: ktm at rice.edu (Kenneth Marshall) Date: Fri, 6 Feb 2009 07:46:41 -0600 Subject: [rt-users] RT full text indexing with PostgreSQL In-Reply-To: <20090206134425.GG2995@it.is.rice.edu> References: <20090203234513.GR2995@it.is.rice.edu> <498C0A7B.9050206@usit.uio.no> <20090206134425.GG2995@it.is.rice.edu> Message-ID: <20090206134641.GH2995@it.is.rice.edu> On Fri, Feb 06, 2009 at 07:44:25AM -0600, Kenneth Marshall wrote: > On Fri, Feb 06, 2009 at 11:01:31AM +0100, Rafael Martinez wrote: > > Kenneth Marshall wrote: > > > On Sun, Feb 01, 2009 at 09:41:42PM -0600, Kenneth Marshall wrote: > > >>> I just updated the PostgreSQLFullText pages on the wiki with > > >>> the triggers to keep the parsed document columns updated whenever > > >>> there is a change to the dependent columns. > > >>> > > > > Hello Kenneth > > > > First of all thank you for this work. We have been waiting for this for > > a long time but the work we thought had to be done with the RT-code has > > stopped us to implement full text search. > > > > After a close check of the wiki page: > > http://wiki.bestpractical.com/view/PostgreSQLFullText .... > > > > I think that the patch of DBIx::SearchBuilder is not 100% > > complete/correct. All lines has the '-' (minus) symbol. I suppose that > > at least some of them should be '+' and not '-'? > > > > This is a tiny patch, would not be an idea to implement this in RT-core > > functionality, maybe with some config parameters that > > activate/deactivate full text search (when using postgresql/oracle, etc) . > > > > regards > > -- > > Rafael Martinez, > > Center for Information Technology Services > > University of Oslo, Norway > > > > PGP Public Key: http://folk.uio.no/rafael/ > > > > Rafael, > > The diff I posted was to go from the FULLTEXT patch to the > original one. I agree that it would make more sense to go the > other way. I have updated the page. I do think that having it > as an option in RT-core would be nice. I know for PostgreSQL > versions 8.3 and higher, you can use the patch by default since > FULLTEXT indexing comes with the database as a standard feature. > PostgreSQL will simply convert the attachment field automatically > using to_tsvector() on the fly so it will just work as is. Of > course creating the needed index will greatly improve the performance. > I do not know if OracleText has the same fallback in the absence of > the FULLTEXT setup and index. I suspect that run-time tests for > a configuration option would be needed. > > Cheers, > Ken Sorry about this post. It applied to the version that did not use an additional column to store the processed attachments/largecontent not the one I posted. Ken From rfh at vialtus.com Fri Feb 6 12:03:09 2009 From: rfh at vialtus.com (Raed El-Hames) Date: Fri, 06 Feb 2009 17:03:09 +0000 Subject: [rt-users] Group and Users CF Missing Tab (a bug or deliberate) Message-ID: <498C6D4D.3070501@vialtus.com> Hi; I am running (still) version 3.6.2 and noticed a while ago that the Tab(link) for custom fields is missing from both the Admin/Users and Admin/Groups ? And added the link to appropriate Admin/Element/xTabs Today I was browsing a 3.8 demo on http://rt.easter-eggs.org/demos/stable , and noticed these links still missing, so I am starting to wonder if these are left out for a reason ! if there is a reason can I ask why? Thanks; Roy -- From Gabriele.Franzini at nervianoms.com Fri Feb 6 09:04:09 2009 From: Gabriele.Franzini at nervianoms.com (Franzini, Gabriele [Nervianoms]) Date: Fri, 6 Feb 2009 15:04:09 +0100 Subject: [rt-users] Prevent status change? References: Message-ID: <20090206175245.3CD7D4DCED8@diesel.bestpractical.com> Hello, We are trying the approach of making a local SelectStatus element, so that it filters which statuses to display in the dropdown box on the basis of the current one: [...] %foreach my $status (@status) { %next if ($SkipDeleted && $status eq 'deleted'); ==> example conditions: %next if (($Default =~ /new/) && ($status ne 'new')); %next if (($DefaultLabel =~ /new/) && ($status ne 'open' && $status ne 'stalled' && $status ne 'new')); %next if (($DefaultLabel =~ /open/) && ($status ne 'stalled' && $status ne 'resolved' && $status ne 'open')); %next if (($DefaultLabel =~ /resolved/) && ($status ne 'open' && $status ne 'archived' && $status ne 'resolved')); [...] % } [...] The current status would not be the only factor to determine possible next ones, but at least we can prevent obvious errors, like going back from 'open' to 'new'. So far it seems to be working, HTH, Gabriele Franzini ICT Applications Manager Nerviano Medical Sciences SRL PO Box 11 - Viale Pasteur 10 20014 Nerviano Italy tel +39 0331581477 fax +39 0331581456 ---------------------------------------------------------------------- > Message: 1 > Date: Thu, 29 Jan 2009 18:29:43 +0100 > From: Yves-Alexis Perez > Subject: [rt-users] Prevent status change? > To: RT-Users at lists.bestpractical.com > Message-ID: <1233250184.13586.20.camel at miria> > Content-Type: text/plain; charset=UTF-8 > > Hi, > > I would like to ask if it sounds possible to implement some kind of basic > workflows in RT (3.8), especially preventing some status changes. > > We are currently designing a hotline/helpdesk, and we need some people not > to be able to change the status of some tickets. Because the workflow we > want to implement say it's not possible to go from open to resolved > directly, or stuff like that. > > Basically, I'd like to be able to configure RT and tell it which transitions > are authorized and which ones aren't, but it doesn't seem possible atm. [...] From jrhett at netconsonance.com Fri Feb 6 13:27:03 2009 From: jrhett at netconsonance.com (Jo Rhett) Date: Fri, 6 Feb 2009 10:27:03 -0800 Subject: [rt-users] person "time off" or "offline" ability? Message-ID: I haven't seen even a suggestion of this in the documentation, but I figured I'd ask before assuming. Is there any ability for a person to become 'offline' for a bit? Motive: a person is set up to be a Watcher of dozens of tickets and/ or queues. Person goes on vacation and doesn't want all this e-mail. Without going to find every queue and ticket they are watching, we'd like to 'disable' e-mail to the person for a period of time. Likewise we could use the same feature for NOC shift workers... I don't much care about implementation. Hours worked, disable status, etc. Just give me some function to do this ;-) Better yet if the person can do it for themselves. -- Jo Rhett Net Consonance : consonant endings by net philanthropy, open source and other randomness From jesse at bestpractical.com Fri Feb 6 13:29:25 2009 From: jesse at bestpractical.com (Jesse Vincent) Date: Fri, 6 Feb 2009 13:29:25 -0500 Subject: [rt-users] person "time off" or "offline" ability? In-Reply-To: References: Message-ID: <20090206182925.GI4075@bestpractical.com> On Fri, Feb 06, 2009 at 10:27:03AM -0800, Jo Rhett wrote: > I haven't seen even a suggestion of this in the documentation, but I > figured I'd ask before assuming. Is there any ability for a person to > become 'offline' for a bit? > > Motive: a person is set up to be a Watcher of dozens of tickets and/ > or queues. Person goes on vacation and doesn't want all this e-mail. > Without going to find every queue and ticket they are watching, we'd > like to 'disable' e-mail to the person for a period of time. Preferences -> Settings -> Email Delivery > > Likewise we could use the same feature for NOC shift workers... > > I don't much care about implementation. Hours worked, disable status, > etc. Just give me some function to do this ;-) Better yet if the > person can do it for themselves. > > -- > Jo Rhett > Net Consonance : consonant endings by net philanthropy, open source > and other randomness > > > _______________________________________________ > 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 > -- From KFCrocker at lbl.gov Fri Feb 6 14:02:48 2009 From: KFCrocker at lbl.gov (Kenneth Crocker) Date: Fri, 06 Feb 2009 11:02:48 -0800 Subject: [rt-users] selectowner right? In-Reply-To: <49002b820902060117h354762a9u1f96abcbc459e231@mail.gmail.com> References: <49002b820902060117h354762a9u1f96abcbc459e231@mail.gmail.com> Message-ID: <498C8958.10706@lbl.gov> dtbsky, I'm not sure if you can stop them from seeing the drop-down without a change to the basic RT code. However, you can "re-set" the owner to "Nobody" with a "on-create" scrip. That will at least "undo" what they did. Hope this helps. Kenn LBNL On 2/6/2009 1:17 AM, d tbsky wrote: > hi: > i have a queue which has rights below for user-group: > > CreateTicket > SeeQueue > ShowTicket > > and there is admin-group which has all the rights for the queue. > > when user creates a ticket, he can use the "owner" drop down list > to see the admin-group users and assign owner. i don't want user-group > to do this. can i prevent them seeing the "owner" list (or only see > nobody in the list)? i hope user-group can only create ticket, not > assign the owner. can this be done? > > thanks for help!! > > Regards, > tbskyd > _______________________________________________ > 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 > From KFCrocker at lbl.gov Fri Feb 6 14:09:42 2009 From: KFCrocker at lbl.gov (Kenneth Crocker) Date: Fri, 06 Feb 2009 11:09:42 -0800 Subject: [rt-users] Group and Users CF Missing Tab (a bug or deliberate) In-Reply-To: <498C6D4D.3070501@vialtus.com> References: <498C6D4D.3070501@vialtus.com> Message-ID: <498C8AF6.3000703@lbl.gov> Raed, Are talking about being able to navigate to Custom Fields from Configuration? Kenn LBNL On 2/6/2009 9:03 AM, Raed El-Hames wrote: > Hi; > > I am running (still) version 3.6.2 and noticed a while ago that the > Tab(link) for custom fields is missing from both the Admin/Users and > Admin/Groups ? > And added the link to appropriate Admin/Element/xTabs > > Today I was browsing a 3.8 demo on > http://rt.easter-eggs.org/demos/stable , and noticed these links still > missing, so I am starting to wonder if these are left out for a reason ! > if there is a reason can I ask why? > > Thanks; > Roy > From KFCrocker at lbl.gov Fri Feb 6 14:35:14 2009 From: KFCrocker at lbl.gov (Kenneth Crocker) Date: Fri, 06 Feb 2009 11:35:14 -0800 Subject: [rt-users] Questions on installing CommandByEmail Message-ID: <498C90F2.2090803@lbl.gov> To all, I'm about to install the "CommandByEmail" extension and I am on 3.6.4. I have a couple questions: 1) Can I use the latest version with 3.6.4? 2) When I go to Tools->Offline I see what appears to be a form for creating a ticket. Is this the basic format to be used by those users that want to use "CommandByEmail" to create/modify ticket via Email? I know these questions may seem trite, but I haven't had any experience installing this stuff. Most of my time has been using it and we did not set our RT session up to use this extension. Thank you. Kenn LBNL From lgrella at acquiremedia.com Fri Feb 6 15:33:40 2009 From: lgrella at acquiremedia.com (Laura Grella) Date: Fri, 6 Feb 2009 12:33:40 -0800 (PST) Subject: [rt-users] Custom field not mandatory in all queues Message-ID: <21880139.post@talk.nabble.com> Is there a way to make a custom field mandatory in 3 queues, but not mandatory in a 4th queue? Thanks, Laura -- View this message in context: http://www.nabble.com/Custom-field-not-mandatory-in-all-queues-tp21880139p21880139.html Sent from the Request Tracker - User mailing list archive at Nabble.com. From macnlos at ti-994a.com Fri Feb 6 15:42:12 2009 From: macnlos at ti-994a.com (Macnlos) Date: Fri, 6 Feb 2009 14:42:12 -0600 Subject: [rt-users] Date issue with a Scrip In-Reply-To: References: Message-ID: I'm been plugging away on this but no solution as of yet. Any thoughts? CR On Feb 4, 2009, at 2:27 PM, Macnlos wrote: > I've got two RT systems; 1 production and 1 development instance. > Each night I do a mysqldump of production and move it to development > so I can work the latest version and data. Production is at 3.6.7 and > Development is at 3.8.1 at the moment. > > I have a scrip that parses when a ticket is submitted and based on the > date/time it will email a pager if it is off-hours. The scrip is > running fine in production and it's been in use for over a year. But > for some reason my development instance is tripping on the date/time > checks. > > My thinking at this point is that the scrip is evaluating GMT rather > than CST. I tried an RT::Logger and the hour variable is showing up > as 20 (8pm) when it's should be 14 (2pm). This would confirm my > suspicion about GMT. So here is the question: > > Did something change from 3.6.7 to 3.8.1 that would account for Scrips > being processed in GMT rather than the local timezone? > > CR > _______________________________________________ > 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 From KFCrocker at lbl.gov Fri Feb 6 16:25:24 2009 From: KFCrocker at lbl.gov (Kenneth Crocker) Date: Fri, 06 Feb 2009 13:25:24 -0800 Subject: [rt-users] Custom field not mandatory in all queues In-Reply-To: <21880139.post@talk.nabble.com> References: <21880139.post@talk.nabble.com> Message-ID: <498CAAC4.1040206@lbl.gov> Laura, I'm only on 3.6.4 so my comment may be out of date. I don't think that's possible in configuration. If a CF is set up to be mandatory, then whenever it is applied to a queue, those tickets will require an entry. What you can do is remove the "Mandatory" setting and then write a scrip for the queues you want it to be mandatory in and do a return 0 when checking it against the desired transactions and it is empty. Hope this helps. Kenn LBNL On 2/6/2009 12:33 PM, Laura Grella wrote: > Is there a way to make a custom field mandatory in 3 queues, but not > mandatory in a 4th queue? > > Thanks, > Laura From lgrella at acquiremedia.com Fri Feb 6 16:30:17 2009 From: lgrella at acquiremedia.com (Laura Grella) Date: Fri, 6 Feb 2009 13:30:17 -0800 (PST) Subject: [rt-users] Custom field not mandatory in all queues In-Reply-To: <498CAAC4.1040206@lbl.gov> References: <21880139.post@talk.nabble.com> <498CAAC4.1040206@lbl.gov> Message-ID: <21880998.post@talk.nabble.com> Thanks Kenn, It has been at least 6 months since I have done any scrip coding and was wondering if you had any sample code that would check the field and return 0 when empty? I'd really appreciate it. Thanks, Laura Kenneth Crocker wrote: > > Laura, > > I'm only on 3.6.4 so my comment may be out of date. I don't think > that's possible in configuration. If a CF is set up to be mandatory, > then whenever it is applied to a queue, those tickets will require an > entry. What you can do is remove the "Mandatory" setting and then write > a scrip for the queues you want it to be mandatory in and do a return 0 > when checking it against the desired transactions and it is empty. Hope > this helps. > > > Kenn > LBNL > > On 2/6/2009 12:33 PM, Laura Grella wrote: >> Is there a way to make a custom field mandatory in 3 queues, but not >> mandatory in a 4th queue? >> >> Thanks, >> Laura > > _______________________________________________ > 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 > > -- View this message in context: http://www.nabble.com/Custom-field-not-mandatory-in-all-queues-tp21880139p21880998.html Sent from the Request Tracker - User mailing list archive at Nabble.com. From macnlos at ti-994a.com Fri Feb 6 16:47:56 2009 From: macnlos at ti-994a.com (Macnlos) Date: Fri, 6 Feb 2009 15:47:56 -0600 Subject: [rt-users] Custom field not mandatory in all queues In-Reply-To: <21880998.post@talk.nabble.com> References: <21880139.post@talk.nabble.com> <498CAAC4.1040206@lbl.gov> <21880998.post@talk.nabble.com> Message-ID: This is a code example where I'm checking to see if a CustomField called "Application" has a value in it. If it doesn't then the cleanup code changes the status back to OPEN and add a comment to the ticket stating it was missing a value. The Custom Action code has to handle that an update may involve multiple transactions and you have to look at each transaction to if one of them is going to update that field. Hope that helps, CR ------------------------------- CONDITION: On Resolve ------------------------------- ACTION: User Defined ------------------------------- STAGE: TransactionBatch ------------------------------- #CUSTOM ACTION PREPARATION ### See if there is a Transaction modifying Application field my @batch= @{ $self->TicketObj->TransactionBatch }; foreach my $txn ( @batch ) { my $txnType = $txn->Type; my $txnDesc = $txn->Description; if ($txnType eq 'CustomField') { if ($txnDesc =~ /^Application/) { return 0; # There is a transaction updating Application so don't run } } } ### Get the Application value my $CFV = $self->TicketObj->FirstCustomFieldValue('Application'); ### Choose whether to run script if ($CFV) { return 0; # There is a value so don't execute scrip } if ($self->TicketObj->QueueObj->Name eq 'Server') { return 0; # Skipping the Server queue } else { return 1; # There isn't a value so execute scrip } return 0; ------------------------------- #CUSTOM ACTION CLEANUP ### Set ticket status to open my ($status, $msg) = $self->TicketObj->SetStatus( 'open' ); unless( $status ) { $RT::Logger->error( "ERROR - NoApplication SCRIP: $msg" ); return undef; } ### Add a comment to the ticket $self->TicketObj->Comment( Content => 'Missing Custom Field Value - Application! - Status has been changed to OPEN'); return 1; ------------------------------- On Feb 6, 2009, at 3:30 PM, Laura Grella wrote: > > Thanks Kenn, > > It has been at least 6 months since I have done any scrip coding and > was > wondering if you had any sample code that would check the field and > return 0 > when empty? I'd really appreciate it. > > Thanks, > Laura > > Kenneth Crocker wrote: >> >> Laura, >> >> I'm only on 3.6.4 so my comment may be out of date. I don't think >> that's possible in configuration. If a CF is set up to be mandatory, >> then whenever it is applied to a queue, those tickets will require an >> entry. What you can do is remove the "Mandatory" setting and then >> write >> a scrip for the queues you want it to be mandatory in and do a >> return 0 >> when checking it against the desired transactions and it is empty. >> Hope >> this helps. >> >> >> Kenn >> LBNL >> >> On 2/6/2009 12:33 PM, Laura Grella wrote: >>> Is there a way to make a custom field mandatory in 3 queues, but not >>> mandatory in a 4th queue? >>> >>> Thanks, >>> Laura >> >> _______________________________________________ >> 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 >> >> > > -- > View this message in context: http://www.nabble.com/Custom-field-not-mandatory-in-all-queues-tp21880139p21880998.html > Sent from the Request Tracker - User mailing list archive at > Nabble.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 -------------- next part -------------- An HTML attachment was scrubbed... URL: From todd at chaka.net Fri Feb 6 16:49:11 2009 From: todd at chaka.net (Todd Chapman) Date: Fri, 6 Feb 2009 16:49:11 -0500 Subject: [rt-users] Custom field not mandatory in all queues In-Reply-To: <21880998.post@talk.nabble.com> References: <21880139.post@talk.nabble.com> <498CAAC4.1040206@lbl.gov> <21880998.post@talk.nabble.com> Message-ID: <519782dc0902061349r2f9783e7l8e546f4f5fb1772d@mail.gmail.com> It would be easier to make two CFs with the same name. Make it mandatory in one and apply it to 3 queues. The other gets applied to the fourth queue. On Fri, Feb 6, 2009 at 4:30 PM, Laura Grella wrote: > > Thanks Kenn, > > It has been at least 6 months since I have done any scrip coding and was > wondering if you had any sample code that would check the field and return > 0 > when empty? I'd really appreciate it. > > Thanks, > Laura > > Kenneth Crocker wrote: > > > > Laura, > > > > I'm only on 3.6.4 so my comment may be out of date. I don't think > > that's possible in configuration. If a CF is set up to be mandatory, > > then whenever it is applied to a queue, those tickets will require an > > entry. What you can do is remove the "Mandatory" setting and then write > > a scrip for the queues you want it to be mandatory in and do a return 0 > > when checking it against the desired transactions and it is empty. Hope > > this helps. > > > > > > Kenn > > LBNL > > > > On 2/6/2009 12:33 PM, Laura Grella wrote: > >> Is there a way to make a custom field mandatory in 3 queues, but not > >> mandatory in a 4th queue? > >> > >> Thanks, > >> Laura > > > > _______________________________________________ > > 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 > > > > > > -- > View this message in context: > http://www.nabble.com/Custom-field-not-mandatory-in-all-queues-tp21880139p21880998.html > Sent from the Request Tracker - User mailing list archive at Nabble.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 > -------------- next part -------------- An HTML attachment was scrubbed... URL: From kroshka at atypon.com Fri Feb 6 16:20:26 2009 From: kroshka at atypon.com (Jeroen van Aart) Date: Fri, 06 Feb 2009 13:20:26 -0800 Subject: [rt-users] login problem Message-ID: <498CA99A.90609@atypon.com> Hello, I installed rt 3.8.2 from source on Debian Lenny, using mysql (Ver 14.12 Distrib 5.0.51a, for debian-linux-gnu (x86_64) using readline 5.2) and an import from an rt 3.4.1 database of an rt install on Debian Etch. I followed the proper guidelines and successfully installed it and it is working fine. Except that it's asking for a login and password repeatedly. For example, you log in as usual which works, then you click on a quick search item, no problems, then you click on a ticket in and it will prompt you for your credentials again before opening the ticket. If you repeat this the same thing will happen. Perhaps this is an issue with the apache2 configuration? I have pasted my config below, I am using fast-cgi. Thanks in advance for any help. ServerSignature Off ServerName rt3.example.com ServerAdmin admin at example.com Redirect permanent / https://rt3.example.com FastCgiServer /opt/rt3/bin/mason_handler.fcgi -idle-timeout 120 -processes 10 ServerSignature Off SSLEngine on SSLCertificateFile /etc/apache2/ssl/rt3.crt SSLCertificateKeyFile /etc/apache2/ssl/rt3.key ServerName rt3.example.com ServerAdmin unix at example.com DocumentRoot /opt/rt3/share/html # Pass through requests to display images Alias /NoAuth/images/ /opt/rt3/share/html/NoAuth/images/ ScriptAlias / /opt/rt3/bin/mason_handler.fcgi/ From macnlos at ti-994a.com Fri Feb 6 16:59:53 2009 From: macnlos at ti-994a.com (Macnlos) Date: Fri, 6 Feb 2009 15:59:53 -0600 Subject: [rt-users] login problem In-Reply-To: <498CA99A.90609@atypon.com> References: <498CA99A.90609@atypon.com> Message-ID: <58867826-9D14-41BD-A31D-B6B808594721@ti-994a.com> Go to where you unzipped the source and read UPGRADING.mysql I've got the same issue and this is what seems to be the problem. CR On Feb 6, 2009, at 3:20 PM, Jeroen van Aart wrote: > Hello, > > I installed rt 3.8.2 from source on Debian Lenny, using mysql (Ver > 14.12 > Distrib 5.0.51a, for debian-linux-gnu (x86_64) using readline 5.2) and > an import from an rt 3.4.1 database of an rt install on Debian Etch. I > followed the proper guidelines and successfully installed it and it is > working fine. Except that it's asking for a login and password > repeatedly. > > For example, you log in as usual which works, then you click on a > quick > search item, no problems, then you click on a ticket in and it will > prompt you for your credentials again before opening the ticket. If > you > repeat this the same thing will happen. > > Perhaps this is an issue with the apache2 configuration? I have pasted > my config below, I am using fast-cgi. Thanks in advance for any help. > > > ServerSignature Off > ServerName rt3.example.com > ServerAdmin admin at example.com > Redirect permanent / https://rt3.example.com > > > FastCgiServer /opt/rt3/bin/mason_handler.fcgi -idle-timeout 120 > -processes 10 > > ServerSignature Off > SSLEngine on > SSLCertificateFile /etc/apache2/ssl/rt3.crt > SSLCertificateKeyFile /etc/apache2/ssl/rt3.key > > ServerName rt3.example.com > ServerAdmin unix at example.com > > DocumentRoot /opt/rt3/share/html > # Pass through requests to display images > Alias /NoAuth/images/ /opt/rt3/share/html/NoAuth/images/ > > ScriptAlias / /opt/rt3/bin/mason_handler.fcgi/ > > _______________________________________________ > 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 From kroshka at atypon.com Fri Feb 6 17:08:00 2009 From: kroshka at atypon.com (Jeroen van Aart) Date: Fri, 06 Feb 2009 14:08:00 -0800 Subject: [rt-users] login problem In-Reply-To: <58867826-9D14-41BD-A31D-B6B808594721@ti-994a.com> References: <498CA99A.90609@atypon.com> <58867826-9D14-41BD-A31D-B6B808594721@ti-994a.com> Message-ID: <498CB4C0.2090205@atypon.com> Macnlos wrote: > Go to where you unzipped the source and read UPGRADING.mysql > I've got the same issue and this is what seems to be the problem. Thanks for the suggestion. I did more or less follow that guide, I believe I didn't do the "make initialize-database" but created a database, imported the rt 3.4.1 dumpfile and applied the changes. I'll try to do the "make initialize-database". Best regards, Jeroen From KFCrocker at lbl.gov Fri Feb 6 17:21:46 2009 From: KFCrocker at lbl.gov (Kenneth Crocker) Date: Fri, 06 Feb 2009 14:21:46 -0800 Subject: [rt-users] Custom field not mandatory in all queues In-Reply-To: <519782dc0902061349r2f9783e7l8e546f4f5fb1772d@mail.gmail.com> References: <21880139.post@talk.nabble.com> <498CAAC4.1040206@lbl.gov> <21880998.post@talk.nabble.com> <519782dc0902061349r2f9783e7l8e546f4f5fb1772d@mail.gmail.com> Message-ID: <498CB7FA.3040107@lbl.gov> Laura, Although I hate redundancy and as an ex-DBA I have always believed 1 field/1 name, I have to agree with Todd :-). RT is not an accounting system or parts system where everything has to be tidy, etc. In this case, it's the same name for the same type of data. So, other than double the work of maintaining the same values in two fields, that's a good idea. If it works, then it's fine and Todd's idea will certainly work. Kenn LBNL On 2/6/2009 1:49 PM, Todd Chapman wrote: > It would be easier to make two CFs with the same name. Make it mandatory > in one and apply it to 3 queues. The other gets applied to the fourth queue. > > On Fri, Feb 6, 2009 at 4:30 PM, Laura Grella > wrote: > > > Thanks Kenn, > > It has been at least 6 months since I have done any scrip coding and was > wondering if you had any sample code that would check the field and > return 0 > when empty? I'd really appreciate it. > > Thanks, > Laura > > Kenneth Crocker wrote: > > > > Laura, > > > > I'm only on 3.6.4 so my comment may be out of date. I don't > think > > that's possible in configuration. If a CF is set up to be mandatory, > > then whenever it is applied to a queue, those tickets will require an > > entry. What you can do is remove the "Mandatory" setting and then > write > > a scrip for the queues you want it to be mandatory in and do a > return 0 > > when checking it against the desired transactions and it is > empty. Hope > > this helps. > > > > > > Kenn > > LBNL > > > > On 2/6/2009 12:33 PM, Laura Grella wrote: > >> Is there a way to make a custom field mandatory in 3 queues, but not > >> mandatory in a 4th queue? > >> > >> Thanks, > >> Laura > > > > _______________________________________________ > > 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 > > > > > > -- > View this message in context: > http://www.nabble.com/Custom-field-not-mandatory-in-all-queues-tp21880139p21880998.html > Sent from the Request Tracker - User mailing list archive at Nabble.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 > > > > ------------------------------------------------------------------------ > > _______________________________________________ > 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 From lgrella at acquiremedia.com Fri Feb 6 17:24:16 2009 From: lgrella at acquiremedia.com (Laura Grella) Date: Fri, 6 Feb 2009 14:24:16 -0800 (PST) Subject: [rt-users] Custom field not mandatory in all queues In-Reply-To: <519782dc0902061349r2f9783e7l8e546f4f5fb1772d@mail.gmail.com> References: <21880139.post@talk.nabble.com> <498CAAC4.1040206@lbl.gov> <21880998.post@talk.nabble.com> <519782dc0902061349r2f9783e7l8e546f4f5fb1772d@mail.gmail.com> Message-ID: <21881917.post@talk.nabble.com> I thought of this, but the custom field is "Customer" and it is mandatory in the customer support and account management queues, but I don't want it mandatory in the Software Dev. queue but I want the data to flow from one queue to the next, so if it is in the cust queue, it switches to the soft dev queue, I want it to follow along to the soft dev queue, but it should not be mandatory for the input form. I do want the user to have the option to enter it though. Todd Chapman wrote: > > It would be easier to make two CFs with the same name. Make it mandatory > in > one and apply it to 3 queues. The other gets applied to the fourth queue. > > On Fri, Feb 6, 2009 at 4:30 PM, Laura Grella > wrote: > >> >> Thanks Kenn, >> >> It has been at least 6 months since I have done any scrip coding and was >> wondering if you had any sample code that would check the field and >> return >> 0 >> when empty? I'd really appreciate it. >> >> Thanks, >> Laura >> >> Kenneth Crocker wrote: >> > >> > Laura, >> > >> > I'm only on 3.6.4 so my comment may be out of date. I don't think >> > that's possible in configuration. If a CF is set up to be mandatory, >> > then whenever it is applied to a queue, those tickets will require an >> > entry. What you can do is remove the "Mandatory" setting and then write >> > a scrip for the queues you want it to be mandatory in and do a return 0 >> > when checking it against the desired transactions and it is empty. Hope >> > this helps. >> > >> > >> > Kenn >> > LBNL >> > >> > On 2/6/2009 12:33 PM, Laura Grella wrote: >> >> Is there a way to make a custom field mandatory in 3 queues, but not >> >> mandatory in a 4th queue? >> >> >> >> Thanks, >> >> Laura >> > >> > _______________________________________________ >> > 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 >> > >> > >> >> -- >> View this message in context: >> http://www.nabble.com/Custom-field-not-mandatory-in-all-queues-tp21880139p21880998.html >> Sent from the Request Tracker - User mailing list archive at Nabble.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 >> > > _______________________________________________ > 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 > -- View this message in context: http://www.nabble.com/Custom-field-not-mandatory-in-all-queues-tp21880139p21881917.html Sent from the Request Tracker - User mailing list archive at Nabble.com. From lgrella at acquiremedia.com Fri Feb 6 17:25:32 2009 From: lgrella at acquiremedia.com (Laura Grella) Date: Fri, 6 Feb 2009 14:25:32 -0800 (PST) Subject: [rt-users] Custom field not mandatory in all queues In-Reply-To: <498CB7FA.3040107@lbl.gov> References: <21880139.post@talk.nabble.com> <498CAAC4.1040206@lbl.gov> <21880998.post@talk.nabble.com> <519782dc0902061349r2f9783e7l8e546f4f5fb1772d@mail.gmail.com> <498CB7FA.3040107@lbl.gov> Message-ID: <21881934.post@talk.nabble.com> Thanks Kenn, But will this work if I want the field (customer) to follow from the soft dev queue(not mandatory) to the customer support queue(mandatory)? Kenneth Crocker wrote: > > Laura, > > > Although I hate redundancy and as an ex-DBA I have always believed 1 > field/1 name, I have to agree with Todd :-). RT is not an accounting > system or parts system where everything has to be tidy, etc. In this > case, it's the same name for the same type of data. So, other than > double the work of maintaining the same values in two fields, that's a > good idea. If it works, then it's fine and Todd's idea will certainly > work. > > > Kenn > LBNL > > On 2/6/2009 1:49 PM, Todd Chapman wrote: >> It would be easier to make two CFs with the same name. Make it mandatory >> in one and apply it to 3 queues. The other gets applied to the fourth >> queue. >> >> On Fri, Feb 6, 2009 at 4:30 PM, Laura Grella > > wrote: >> >> >> Thanks Kenn, >> >> It has been at least 6 months since I have done any scrip coding and >> was >> wondering if you had any sample code that would check the field and >> return 0 >> when empty? I'd really appreciate it. >> >> Thanks, >> Laura >> >> Kenneth Crocker wrote: >> > >> > Laura, >> > >> > I'm only on 3.6.4 so my comment may be out of date. I don't >> think >> > that's possible in configuration. If a CF is set up to be >> mandatory, >> > then whenever it is applied to a queue, those tickets will require >> an >> > entry. What you can do is remove the "Mandatory" setting and then >> write >> > a scrip for the queues you want it to be mandatory in and do a >> return 0 >> > when checking it against the desired transactions and it is >> empty. Hope >> > this helps. >> > >> > >> > Kenn >> > LBNL >> > >> > On 2/6/2009 12:33 PM, Laura Grella wrote: >> >> Is there a way to make a custom field mandatory in 3 queues, but >> not >> >> mandatory in a 4th queue? >> >> >> >> Thanks, >> >> Laura >> > >> > _______________________________________________ >> > 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 >> > >> > >> >> -- >> View this message in context: >> >> http://www.nabble.com/Custom-field-not-mandatory-in-all-queues-tp21880139p21880998.html >> Sent from the Request Tracker - User mailing list archive at >> Nabble.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 >> >> >> >> ------------------------------------------------------------------------ >> >> _______________________________________________ >> 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 > > _______________________________________________ > 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 > > -- View this message in context: http://www.nabble.com/Custom-field-not-mandatory-in-all-queues-tp21880139p21881934.html Sent from the Request Tracker - User mailing list archive at Nabble.com. From lgrella at acquiremedia.com Fri Feb 6 17:25:56 2009 From: lgrella at acquiremedia.com (Laura Grella) Date: Fri, 6 Feb 2009 14:25:56 -0800 (PST) Subject: [rt-users] Custom field not mandatory in all queues In-Reply-To: <498CB7FA.3040107@lbl.gov> References: <21880139.post@talk.nabble.com> <498CAAC4.1040206@lbl.gov> <21880998.post@talk.nabble.com> <519782dc0902061349r2f9783e7l8e546f4f5fb1772d@mail.gmail.com> <498CB7FA.3040107@lbl.gov> Message-ID: <21881936.post@talk.nabble.com> Thanks Kenn, But will this work if I want the field (customer) to follow from the soft dev queue(not mandatory) to the customer support queue(mandatory)? Kenneth Crocker wrote: > > Laura, > > > Although I hate redundancy and as an ex-DBA I have always believed 1 > field/1 name, I have to agree with Todd :-). RT is not an accounting > system or parts system where everything has to be tidy, etc. In this > case, it's the same name for the same type of data. So, other than > double the work of maintaining the same values in two fields, that's a > good idea. If it works, then it's fine and Todd's idea will certainly > work. > > > Kenn > LBNL > > On 2/6/2009 1:49 PM, Todd Chapman wrote: >> It would be easier to make two CFs with the same name. Make it mandatory >> in one and apply it to 3 queues. The other gets applied to the fourth >> queue. >> >> On Fri, Feb 6, 2009 at 4:30 PM, Laura Grella > > wrote: >> >> >> Thanks Kenn, >> >> It has been at least 6 months since I have done any scrip coding and >> was >> wondering if you had any sample code that would check the field and >> return 0 >> when empty? I'd really appreciate it. >> >> Thanks, >> Laura >> >> Kenneth Crocker wrote: >> > >> > Laura, >> > >> > I'm only on 3.6.4 so my comment may be out of date. I don't >> think >> > that's possible in configuration. If a CF is set up to be >> mandatory, >> > then whenever it is applied to a queue, those tickets will require >> an >> > entry. What you can do is remove the "Mandatory" setting and then >> write >> > a scrip for the queues you want it to be mandatory in and do a >> return 0 >> > when checking it against the desired transactions and it is >> empty. Hope >> > this helps. >> > >> > >> > Kenn >> > LBNL >> > >> > On 2/6/2009 12:33 PM, Laura Grella wrote: >> >> Is there a way to make a custom field mandatory in 3 queues, but >> not >> >> mandatory in a 4th queue? >> >> >> >> Thanks, >> >> Laura >> > >> > _______________________________________________ >> > 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 >> > >> > >> >> -- >> View this message in context: >> >> http://www.nabble.com/Custom-field-not-mandatory-in-all-queues-tp21880139p21880998.html >> Sent from the Request Tracker - User mailing list archive at >> Nabble.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 >> >> >> >> ------------------------------------------------------------------------ >> >> _______________________________________________ >> 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 > > _______________________________________________ > 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 > > -- View this message in context: http://www.nabble.com/Custom-field-not-mandatory-in-all-queues-tp21880139p21881936.html Sent from the Request Tracker - User mailing list archive at Nabble.com. From lgrella at acquiremedia.com Fri Feb 6 17:27:46 2009 From: lgrella at acquiremedia.com (Laura Grella) Date: Fri, 6 Feb 2009 14:27:46 -0800 (PST) Subject: [rt-users] Custom field not mandatory in all queues In-Reply-To: <498CB7FA.3040107@lbl.gov> References: <21880139.post@talk.nabble.com> <498CAAC4.1040206@lbl.gov> <21880998.post@talk.nabble.com> <519782dc0902061349r2f9783e7l8e546f4f5fb1772d@mail.gmail.com> <498CB7FA.3040107@lbl.gov> Message-ID: <21881966.post@talk.nabble.com> Thanks Kenn, But will this work if I want the field (customer) to follow from the soft dev queue(not mandatory) to the customer support queue(mandatory)? Kenneth Crocker wrote: > > Laura, > > > Although I hate redundancy and as an ex-DBA I have always believed 1 > field/1 name, I have to agree with Todd :-). RT is not an accounting > system or parts system where everything has to be tidy, etc. In this > case, it's the same name for the same type of data. So, other than > double the work of maintaining the same values in two fields, that's a > good idea. If it works, then it's fine and Todd's idea will certainly > work. > > > Kenn > LBNL > > On 2/6/2009 1:49 PM, Todd Chapman wrote: >> It would be easier to make two CFs with the same name. Make it mandatory >> in one and apply it to 3 queues. The other gets applied to the fourth >> queue. >> >> On Fri, Feb 6, 2009 at 4:30 PM, Laura Grella > > wrote: >> >> >> Thanks Kenn, >> >> It has been at least 6 months since I have done any scrip coding and >> was >> wondering if you had any sample code that would check the field and >> return 0 >> when empty? I'd really appreciate it. >> >> Thanks, >> Laura >> >> Kenneth Crocker wrote: >> > >> > Laura, >> > >> > I'm only on 3.6.4 so my comment may be out of date. I don't >> think >> > that's possible in configuration. If a CF is set up to be >> mandatory, >> > then whenever it is applied to a queue, those tickets will require >> an >> > entry. What you can do is remove the "Mandatory" setting and then >> write >> > a scrip for the queues you want it to be mandatory in and do a >> return 0 >> > when checking it against the desired transactions and it is >> empty. Hope >> > this helps. >> > >> > >> > Kenn >> > LBNL >> > >> > On 2/6/2009 12:33 PM, Laura Grella wrote: >> >> Is there a way to make a custom field mandatory in 3 queues, but >> not >> >> mandatory in a 4th queue? >> >> >> >> Thanks, >> >> Laura >> > >> > _______________________________________________ >> > 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 >> > >> > >> >> -- >> View this message in context: >> >> http://www.nabble.com/Custom-field-not-mandatory-in-all-queues-tp21880139p21880998.html >> Sent from the Request Tracker - User mailing list archive at >> Nabble.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 >> >> >> >> ------------------------------------------------------------------------ >> >> _______________________________________________ >> 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 > > _______________________________________________ > 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 > > -- View this message in context: http://www.nabble.com/Custom-field-not-mandatory-in-all-queues-tp21880139p21881966.html Sent from the Request Tracker - User mailing list archive at Nabble.com. From dcook at finleysd.org Fri Feb 6 17:32:35 2009 From: dcook at finleysd.org (Daniel Cook) Date: Fri, 06 Feb 2009 14:32:35 -0800 Subject: [rt-users] colorize status Message-ID: <498C4A03.4198.003E.0@finleysd.org> So I've updated the ShowStatusInColor page on the wiki to reflect how I have implemented this in 3.8.2 The question that I have is this... When replys are colorized in my list view, the way things are setup right now, it is done based on who the last person to modify the ticket was.... I have noticed that when I open a ticket that has had a reply there is a little note at the top of the ticket that sais there are new messages. This message goes away after I have viewed the message. This is how I would like this new reply type flag setup for my list view. I would like it to drop the rep flag and the reply color after I view the new message - without necessarily making any reply or physical change to the ticket. Is this easily possible? Any advise on how to go about it? Thanks, Dan From KFCrocker at lbl.gov Fri Feb 6 18:30:30 2009 From: KFCrocker at lbl.gov (Kenneth Crocker) Date: Fri, 06 Feb 2009 15:30:30 -0800 Subject: [rt-users] Custom field not mandatory in all queues In-Reply-To: <21881936.post@talk.nabble.com> References: <21880139.post@talk.nabble.com> <498CAAC4.1040206@lbl.gov> <21880998.post@talk.nabble.com> <519782dc0902061349r2f9783e7l8e546f4f5fb1772d@mail.gmail.com> <498CB7FA.3040107@lbl.gov> <21881936.post@talk.nabble.com> Message-ID: <498CC816.9070701@lbl.gov> Laura, No. The Custom FIeld only follows a ticket into another Queue if the same CF is applied to that new queue. Kenn LBNL On 2/6/2009 2:25 PM, Laura Grella wrote: > Thanks Kenn, > > But will this work if I want the field (customer) to follow from the soft > dev queue(not mandatory) to the customer support queue(mandatory)? > > > > Kenneth Crocker wrote: >> Laura, >> >> >> Although I hate redundancy and as an ex-DBA I have always believed 1 >> field/1 name, I have to agree with Todd :-). RT is not an accounting >> system or parts system where everything has to be tidy, etc. In this >> case, it's the same name for the same type of data. So, other than >> double the work of maintaining the same values in two fields, that's a >> good idea. If it works, then it's fine and Todd's idea will certainly >> work. >> >> >> Kenn >> LBNL >> >> On 2/6/2009 1:49 PM, Todd Chapman wrote: >>> It would be easier to make two CFs with the same name. Make it mandatory >>> in one and apply it to 3 queues. The other gets applied to the fourth >>> queue. >>> >>> On Fri, Feb 6, 2009 at 4:30 PM, Laura Grella >> > wrote: >>> >>> >>> Thanks Kenn, >>> >>> It has been at least 6 months since I have done any scrip coding and >>> was >>> wondering if you had any sample code that would check the field and >>> return 0 >>> when empty? I'd really appreciate it. >>> >>> Thanks, >>> Laura >>> >>> Kenneth Crocker wrote: >>> > >>> > Laura, >>> > >>> > I'm only on 3.6.4 so my comment may be out of date. I don't >>> think >>> > that's possible in configuration. If a CF is set up to be >>> mandatory, >>> > then whenever it is applied to a queue, those tickets will require >>> an >>> > entry. What you can do is remove the "Mandatory" setting and then >>> write >>> > a scrip for the queues you want it to be mandatory in and do a >>> return 0 >>> > when checking it against the desired transactions and it is >>> empty. Hope >>> > this helps. >>> > >>> > >>> > Kenn >>> > LBNL >>> > >>> > On 2/6/2009 12:33 PM, Laura Grella wrote: >>> >> Is there a way to make a custom field mandatory in 3 queues, but >>> not >>> >> mandatory in a 4th queue? >>> >> >>> >> Thanks, >>> >> Laura >>> > >>> > _______________________________________________ >>> > 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 >>> > >>> > >>> >>> -- >>> View this message in context: >>> >>> http://www.nabble.com/Custom-field-not-mandatory-in-all-queues-tp21880139p21880998.html >>> Sent from the Request Tracker - User mailing list archive at >>> Nabble.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 >>> >>> >>> >>> ------------------------------------------------------------------------ >>> >>> _______________________________________________ >>> 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 >> _______________________________________________ >> 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 >> >> > From KFCrocker at lbl.gov Fri Feb 6 18:53:01 2009 From: KFCrocker at lbl.gov (Kenneth Crocker) Date: Fri, 06 Feb 2009 15:53:01 -0800 Subject: [rt-users] Custom field not mandatory in all queues In-Reply-To: <21880998.post@talk.nabble.com> References: <21880139.post@talk.nabble.com> <498CAAC4.1040206@lbl.gov> <21880998.post@talk.nabble.com> Message-ID: <498CCD5D.7060002@lbl.gov> Laura, You could create a scrip that looks something like this: Description: Validate Customer Condition: On Resolve Action: User-Defined Custom Action Prep Code: return 1; Custom Action Cleanup Code: my $ticket = $self->TicketObj; if $ticket->FirstCustomFieldValue('Customer') ne ' ' return 1 else $ticket->SetStatus("open"); return 1; What this will do is when someone changes the status to "resolved" it will check to make sure the CF "Customer" isn't blank. If it isn't, no problem, no changes. If it IS blank, the Ticket Status is re-set to "open". You can also create a notification scrip to check for the same thing only the action is to send an Email using a template that sends someone a message on the need to put customer info in the ticket. Description: Customer Missing on Resolved Condition: User-defined Action: Notify Owner (or whomever) Template: Missing Customer (you create this) Custom Condition: # Check for Ticket Status changed to "resolved" my $trans = $self->TransactionObj; my $ticket = $self->TicketObj; if ($trans->Type eq "Status" && $trans->NewValue eq "resolved") && $ticket->FirstCustomFieldValue('Customer') eq ' ' return 1; Hope this helps. Kenn LBNL On 2/6/2009 1:30 PM, Laura Grella wrote: > Thanks Kenn, > > It has been at least 6 months since I have done any scrip coding and was > wondering if you had any sample code that would check the field and return 0 > when empty? I'd really appreciate it. > > Thanks, > Laura > > Kenneth Crocker wrote: >> Laura, >> >> I'm only on 3.6.4 so my comment may be out of date. I don't think >> that's possible in configuration. If a CF is set up to be mandatory, >> then whenever it is applied to a queue, those tickets will require an >> entry. What you can do is remove the "Mandatory" setting and then write >> a scrip for the queues you want it to be mandatory in and do a return 0 >> when checking it against the desired transactions and it is empty. Hope >> this helps. >> >> >> Kenn >> LBNL >> >> On 2/6/2009 12:33 PM, Laura Grella wrote: >>> Is there a way to make a custom field mandatory in 3 queues, but not >>> mandatory in a 4th queue? >>> >>> Thanks, >>> Laura >> _______________________________________________ >> 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 >> >> > From stephen.a.cochran.lists at cahir.net Fri Feb 6 22:58:42 2009 From: stephen.a.cochran.lists at cahir.net (Stephen Cochran) Date: Fri, 6 Feb 2009 22:58:42 -0500 Subject: [rt-users] Ticket/Search results navigation in 3.8.x Message-ID: <35ccbd010902061958l6b124554k688ad7eea1cbd790@mail.gmail.com> We recently upgraded to 3.8.1, and overall the interface is so much better! One comment we've received from our customer support group is that several navigation features are no longer available. When viewing a queue or search, there used to be the following links/controls: first prev next last and search results which took you back to the the last search or group you had. These links seem to have disappeared from 3.8.x, and I'm wondering if there's a setting to bring them back or if someone has made the customization already. Thanks, Steve -------------- next part -------------- An HTML attachment was scrubbed... URL: From jesse at bestpractical.com Sat Feb 7 01:43:59 2009 From: jesse at bestpractical.com (Jesse Vincent) Date: Sat, 7 Feb 2009 01:43:59 -0500 Subject: [rt-users] Ticket/Search results navigation in 3.8.x In-Reply-To: <35ccbd010902061958l6b124554k688ad7eea1cbd790@mail.gmail.com> References: <35ccbd010902061958l6b124554k688ad7eea1cbd790@mail.gmail.com> Message-ID: <20090207064359.GB47499@173-114-89-74.pools.spcsdns.net> On Fri 6.Feb'09 at 22:58:42 -0500, Stephen Cochran wrote: > We recently upgraded to 3.8.1, and overall the interface is so much > better! > > One comment we've received from our customer support group is that several > navigation features are no longer available. When viewing a queue or > search, there used to be the following links/controls: > > which took you back to the the last search or group you had. These links > seem to have disappeared from 3.8.x, and I'm wondering if there's a > setting to bring them back or if someone has made the customization > already. > They sure seem to exist for me in 3.8...They're in the menu on the left. -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 194 bytes Desc: not available URL: From vadud3 at gmail.com Sat Feb 7 13:57:50 2009 From: vadud3 at gmail.com (Asif Iqbal) Date: Sat, 7 Feb 2009 13:57:50 -0500 Subject: [rt-users] rt-crontool as a user failing Message-ID: Hi I am failing to run rt-crontool (iqbala)@rt:~$ /opt/rt3/bin/rt-crontool No RT user found. Please consult your RT administrator. I can login as `iqbala' to the rt gui and I have administrator privilege. I can create a new queue, delete existing queue, create a new user, delete any ticket on any queue. But rt-crontool thinks I am not a valid RT user. I have read access to RT_SIteConfig.pm and RT_Config.pm. I have read access to all files under /opt/rt3 (iqbala)@webrt-NEW:~$ groups sys rt I am part of rt group. the /opt/rt3/etc permission looks like this (iqbala)@rt:~$ ls -al /opt/rt3/etc/ total 272 drwxr-xr-x 2 root rt 512 Apr 13 2005 . drwxr-xr-x 9 root root 512 Nov 2 2006 .. -r-xr-x--- 1 root rt 16763 Mar 17 2006 RT_Config.pm -r-xr-x--- 1 root rt 16459 May 20 2008 RT_SiteConfig.pm -r-x------ 1 root rt 68 May 7 2004 acl.Informix -r-x------ 1 root rt 240 May 7 2004 acl.Oracle -r-x------ 1 root rt 1414 May 28 2004 acl.Pg -r-x------ 1 root rt 109 Jun 1 2004 acl.Sybase -r-x------ 1 root rt 376 Jun 26 2004 acl.mysql -r-x------ 1 root rt 21257 May 4 2005 initialdata -r-x------ 1 root rt 10518 Apr 2 2004 schema.Informix -r-x------ 1 root rt 11702 Dec 22 2004 schema.Oracle -r-x------ 1 root rt 13868 Nov 7 2004 schema.Pg -r-x------ 1 root rt 10767 Nov 7 2004 schema.SQLite -r-x------ 1 root rt 11550 Jul 14 2004 schema.Sybase -r-x------ 1 root rt 13217 Nov 14 2005 schema.mysql Any idea why it is failing to recognize `iqbala' as an RT user Here are the last few lines of the truss output while trying to run `rt-crontool' as `iqbala' [..] open64("/var/run/name_service_door", O_RDONLY) = 5 fcntl(5, F_SETFD, 0x00000001) = 0 door_info(5, 0xBFE9B3A8) = 0 door_call(5, 0x08047518) = 0 open("/etc/shadow", O_RDONLY|O_LARGEFILE) Err#13 EACCES [file_dac_read] time() = 1233970819 time() = 1233970819 time() = 1233970819 fcntl(3, F_SETFL, FWRITE|FNONBLOCK) = 0 read(3, 0x09401560, 8192) Err#11 EAGAIN fcntl(3, F_SETFL, FWRITE) = 0 write(3, " ,\0\0\003 S E L E C T ".., 48) = 48 read(3, "01\0\001", 4) = 4 read(3, " "", 1) = 1 read(3, "13\0\002", 4) = 4 read(3, "05 U s e r s02 i d03\v\0".., 19) = 19 read(3, "15\0\003", 4) = 4 read(3, "05 U s e r s04 N a m e03".., 21) = 21 read(3, "19\0\004", 4) = 4 read(3, "05 U s e r s\b P a s s w".., 25) = 25 read(3, "19\0\005", 4) = 4 read(3, "05 U s e r s\b C o m m e".., 25) = 25 read(3, "1A\0\006", 4) = 4 read(3, "05 U s e r s\t S i g n a".., 26) = 26 read(3, "1D\0\007", 4) = 4 read(3, "05 U s e r s\f E m a i l".., 29) = 29 read(3, " $\0\0\b", 4) = 4 read(3, "05 U s e r s13 F r e e f".., 36) = 36 read(3, "1D\0\0\t", 4) = 4 read(3, "05 U s e r s\f O r g a n".., 29) = 29 read(3, "19\0\0\n", 4) = 4 read(3, "05 U s e r s\b R e a l N".., 25) = 25 read(3, "19\0\0\v", 4) = 4 read(3, "05 U s e r s\b N i c k N".., 25) = 25 read(3, "15\0\0\f", 4) = 4 read(3, "05 U s e r s04 L a n g03".., 21) = 21 read(3, "1E\0\0\r", 4) = 4 read(3, "05 U s e r s\r E m a i l".., 30) = 30 read(3, "1C\0\00E", 4) = 4 read(3, "05 U s e r s\v W e b E n".., 28) = 28 read(3, " &\0\00F", 4) = 4 read(3, "05 U s e r s15 E x t e r".., 38) = 38 read(3, " "\0\010", 4) = 4 read(3, "05 U s e r s11 C o n t a".., 34) = 34 read(3, "1F\0\011", 4) = 4 read(3, "05 U s e r s0E E x t e r".., 31) = 31 read(3, "1B\0\012", 4) = 4 read(3, "05 U s e r s\n A u t h S".., 27) = 27 read(3, "16\0\013", 4) = 4 read(3, "05 U s e r s05 G e c o s".., 22) = 22 read(3, "1A\0\014", 4) = 4 read(3, "05 U s e r s\t H o m e P".., 26) = 26 read(3, "1A\0\015", 4) = 4 read(3, "05 U s e r s\t W o r k P".., 26) = 26 read(3, "1C\0\016", 4) = 4 read(3, "05 U s e r s\v M o b i l".., 28) = 28 read(3, "1B\0\017", 4) = 4 read(3, "05 U s e r s\n P a g e r".., 27) = 27 read(3, "19\0\018", 4) = 4 read(3, "05 U s e r s\b A d d r e".., 25) = 25 read(3, "19\0\019", 4) = 4 read(3, "05 U s e r s\b A d d r e".., 25) = 25 read(3, "15\0\01A", 4) = 4 read(3, "05 U s e r s04 C i t y03".., 21) = 21 read(3, "16\0\01B", 4) = 4 read(3, "05 U s e r s05 S t a t e".., 22) = 22 read(3, "14\0\01C", 4) = 4 read(3, "05 U s e r s03 Z i p0310".., 20) = 20 read(3, "18\0\01D", 4) = 4 read(3, "05 U s e r s07 C o u n t".., 24) = 24 read(3, "19\0\01E", 4) = 4 read(3, "05 U s e r s\b T i m e z".., 25) = 25 read(3, "17\0\01F", 4) = 4 read(3, "05 U s e r s06 P G P K e".., 23) = 23 read(3, "18\0\0 ", 4) = 4 read(3, "05 U s e r s07 C r e a t".., 24) = 24 read(3, "18\0\0 !", 4) = 4 read(3, "05 U s e r s07 C r e a t".., 24) = 24 read(3, "1E\0\0 "", 4) = 4 read(3, "05 U s e r s\r L a s t U".., 30) = 30 read(3, "1C\0\0 #", 4) = 4 read(3, "05 U s e r s\v L a s t U".., 28) = 28 read(3, "01\0\0 $", 4) = 4 read(3, "FE", 1) = 1 brk(0x095EDC90) = 0 brk(0x095EFC90) = 0 read(3, "01\0\0 %", 4) = 4 read(3, "FE", 1) = 1 stat64("/opt/rt3/local/lib/I18N/LangTags/Detect.pmc", 0x080477D0) Err#2 ENOENT open64("/opt/rt3/local/lib/I18N/LangTags/Detect.pm", O_RDONLY) Err#2 ENOENT stat64("/opt/rt3/lib/I18N/LangTags/Detect.pmc", 0x080477D0) Err#2 ENOENT open64("/opt/rt3/lib/I18N/LangTags/Detect.pm", O_RDONLY) Err#2 ENOENT stat64("/usr/local/lib/perl5/5.8.6/i86pc-solaris-64int/I18N/LangTags/Detect.pmc", 0x080477D0) Err#2 ENOENT open64("/usr/local/lib/perl5/5.8.6/i86pc-solaris-64int/I18N/LangTags/Detect.pm", O_RDONLY) Err#2 ENOENT stat64("/usr/local/lib/perl5/5.8.6/I18N/LangTags/Detect.pmc", 0x080477D0) Err#2 ENOENT open64("/usr/local/lib/perl5/5.8.6/I18N/LangTags/Detect.pm", O_RDONLY) = 6 fstat64(6, 0x08045070) = 0 fstat64(6, 0x08044FB0) = 0 ioctl(6, TCGETA, 0x08045044) Err#25 ENOTTY read(6, "\n # T i m e - s t a m".., 8192) = 6538 brk(0x095EFC90) = 0 brk(0x095F1C90) = 0 llseek(6, 0, SEEK_CUR) = 6538 llseek(6, 0, SEEK_CUR) = 6538 llseek(6, 0, SEEK_CUR) = 6538 llseek(6, 0, SEEK_CUR) = 6538 llseek(6, 0, SEEK_CUR) = 6538 llseek(6, 0, SEEK_CUR) = 6538 brk(0x095F1C90) = 0 brk(0x095F3C90) = 0 llseek(6, 0, SEEK_CUR) = 6538 llseek(6, 0, SEEK_CUR) = 6538 llseek(6, 0, SEEK_CUR) = 6538 llseek(6, 0, SEEK_CUR) = 6538 llseek(6, 0, SEEK_CUR) = 6538 llseek(6, 0, SEEK_CUR) = 6538 llseek(6, 0, SEEK_CUR) = 6538 brk(0x095F3C90) = 0 brk(0x095F5C90) = 0 llseek(6, 0, SEEK_CUR) = 6538 llseek(6, 0, SEEK_CUR) = 6538 llseek(6, 0, SEEK_CUR) = 6538 llseek(6, 0, SEEK_CUR) = 6538 llseek(6, 0, SEEK_CUR) = 6538 brk(0x095F5C90) = 0 brk(0x095F7C90) = 0 llseek(6, 0, SEEK_CUR) = 6538 llseek(6, 0, SEEK_CUR) = 6538 brk(0x095F7C90) = 0 brk(0x095F9C90) = 0 llseek(6, 0, SEEK_CUR) = 6538 llseek(6, 0, SEEK_CUR) = 6538 llseek(6, 0, SEEK_CUR) = 6538 llseek(6, 0, SEEK_CUR) = 6538 llseek(6, 0, SEEK_CUR) = 6538 llseek(6, 0, SEEK_CUR) = 6538 brk(0x095F9C90) = 0 brk(0x095FBC90) = 0 llseek(6, 0, SEEK_CUR) = 6538 llseek(6, 0xFFFFFFFFFFFFF809, SEEK_CUR) = 4499 close(6) = 0 stat64("/opt/rt3/local/lib/Win32/Locale.pmc", 0x080477D0) Err#2 ENOENT open64("/opt/rt3/local/lib/Win32/Locale.pm", O_RDONLY) Err#2 ENOENT stat64("/opt/rt3/lib/Win32/Locale.pmc", 0x080477D0) Err#2 ENOENT open64("/opt/rt3/lib/Win32/Locale.pm", O_RDONLY) Err#2 ENOENT stat64("/usr/local/lib/perl5/5.8.6/i86pc-solaris-64int/Win32/Locale.pmc", 0x080477D0) Err#2 ENOENT open64("/usr/local/lib/perl5/5.8.6/i86pc-solaris-64int/Win32/Locale.pm", O_RDONLY) Err#2 ENOENT stat64("/usr/local/lib/perl5/5.8.6/Win32/Locale.pmc", 0x080477D0) Err#2 ENOENT open64("/usr/local/lib/perl5/5.8.6/Win32/Locale.pm", O_RDONLY) Err#2 ENOENT stat64("/usr/local/lib/perl5/site_perl/5.8.6/i86pc-solaris-64int/Win32/Locale.pmc", 0x080477D0) Err#2 ENOENT open64("/usr/local/lib/perl5/site_perl/5.8.6/i86pc-solaris-64int/Win32/Locale.pm", O_RDONLY) Err#2 ENOENT stat64("/usr/local/lib/perl5/site_perl/5.8.6/Win32/Locale.pmc", 0x080477D0) Err#2 ENOENT open64("/usr/local/lib/perl5/site_perl/5.8.6/Win32/Locale.pm", O_RDONLY) Err#2 ENOENT stat64("/usr/local/lib/perl5/site_perl/Win32/Locale.pmc", 0x080477D0) Err#2 ENOENT open64("/usr/local/lib/perl5/site_perl/Win32/Locale.pm", O_RDONLY) Err#2 ENOENT stat64("./Win32/Locale.pmc", 0x080477D0) Err#2 ENOENT open64("./Win32/Locale.pm", O_RDONLY) Err#2 ENOENT setcontext(0x080476A0) ioctl(1, TCGETA, 0x080477E4) = 0 fstat64(1, 0x08047750) = 0 write(1, " N o R T u s e r f".., 56) = 56 setcontext(0x08047760) close(4) = 0 fcntl(3, F_SETFL, FWRITE|FNONBLOCK) = 0 read(3, 0x09401560, 8192) Err#11 EAGAIN fcntl(3, F_SETFL, FWRITE) = 0 write(3, "01\0\0\001", 5) = 5 shutdown(3, SHUT_RDWR, SOV_DEFAULT) = 0 close(3) = 0 stat64("/usr/local/lib/perl5/site_perl/5.8.6/i86pc-solaris-64int/auto/DBI/DESTROY.al", 0x0813BB80) Err#2 ENOENT open64("/opt/rt3/local/lib/auto/DBI/DESTROY.al", O_RDONLY) Err#2 ENOENT open64("/opt/rt3/lib/auto/DBI/DESTROY.al", O_RDONLY) Err#2 ENOENT open64("/usr/local/lib/perl5/5.8.6/i86pc-solaris-64int/auto/DBI/DESTROY.al", O_RDONLY) Err#2 ENOENT open64("/usr/local/lib/perl5/5.8.6/auto/DBI/DESTROY.al", O_RDONLY) Err#2 ENOENT open64("/usr/local/lib/perl5/site_perl/5.8.6/i86pc-solaris-64int/auto/DBI/DESTROY.al", O_RDONLY) Err#2 ENOENT open64("/usr/local/lib/perl5/site_perl/5.8.6/auto/DBI/DESTROY.al", O_RDONLY) Err#2 ENOENT open64("/usr/local/lib/perl5/site_perl/auto/DBI/DESTROY.al", O_RDONLY) Err#2 ENOENT open64("./auto/DBI/DESTROY.al", O_RDONLY) Err#2 ENOENT setcontext(0x08047330) _exit(1) -- Asif Iqbal PGP Key: 0xE62693C5 KeyServer: pgp.mit.edu A: Because it messes up the order in which people normally read text. Q: Why is top-posting such a bad thing? From Robin.Lauren at ecraft.com Sat Feb 7 17:19:17 2009 From: Robin.Lauren at ecraft.com (Lauren, Robin) Date: Sun, 8 Feb 2009 00:19:17 +0200 Subject: [rt-users] Resolving a ticket takes ages Message-ID: Hi, We're administering an RT 3.6.5 with MySQL ver 14.12 Distrib 5.0.51a for a customer. While other uses of the system is relatively quick and painless, getting the screen to "resolve" the ticket after clicking the resolve link can take minutes. Actually resolving the ticket again is a snap. Is the database stuck? Number of pipelines from RT to MySQL inadequate (or is there even such a thing?)? What would be appropriate debugging procedures to take? Best regards, ~Robin Laur?n / eCraft -------------- next part -------------- An HTML attachment was scrubbed... URL: From vadud3 at gmail.com Sat Feb 7 17:28:13 2009 From: vadud3 at gmail.com (Asif Iqbal) Date: Sat, 7 Feb 2009 17:28:13 -0500 Subject: [rt-users] Generate a Ticket ID and resolve it Message-ID: Hi How do I reconfigure an existing queue to receive tickets, generate a ticket id, send an email to admincc and resolve it automatically? Thanks -- Asif Iqbal PGP Key: 0xE62693C5 KeyServer: pgp.mit.edu A: Because it messes up the order in which people normally read text. Q: Why is top-posting such a bad thing? From ranatanveer at gmail.com Sat Feb 7 19:12:38 2009 From: ranatanveer at gmail.com (Rana Tanveer) Date: Sun, 8 Feb 2009 05:12:38 +0500 Subject: [rt-users] Query to get watchers of Qs. Message-ID: <2282948c0902071612h4976406epd873aab598e8ef98@mail.gmail.com> Hi Everyone I am using RT 3.8.1 on Fedora 10. I need one query from you, i want to get watchers of Queues from RT database to display at my site for management review. can anyone help me out in this query ? -- --------------------------------------------- Rana Tanveer +923224194457 http://www.sysadminsline.com --------------------------------------------- -------------- next part -------------- An HTML attachment was scrubbed... URL: From vadud3 at gmail.com Sat Feb 7 20:29:04 2009 From: vadud3 at gmail.com (Asif Iqbal) Date: Sat, 7 Feb 2009 20:29:04 -0500 Subject: [rt-users] Generate a Ticket ID and resolve it In-Reply-To: References: Message-ID: On Sat, Feb 7, 2009 at 5:28 PM, Asif Iqbal wrote: > Hi > > How do I reconfigure an existing queue to receive tickets, generate a > ticket id, send an email to admincc and resolve it automatically? This scrip seems to be doing just http://wiki.bestpractical.com/view/ResolveTicket thanks > > Thanks > > -- > Asif Iqbal > PGP Key: 0xE62693C5 KeyServer: pgp.mit.edu > A: Because it messes up the order in which people normally read text. > Q: Why is top-posting such a bad thing? > -- Asif Iqbal PGP Key: 0xE62693C5 KeyServer: pgp.mit.edu A: Because it messes up the order in which people normally read text. Q: Why is top-posting such a bad thing? From tbskyd at gmail.com Sun Feb 8 01:00:20 2009 From: tbskyd at gmail.com (d tbsky) Date: Sun, 8 Feb 2009 14:00:20 +0800 Subject: [rt-users] selectowner right? In-Reply-To: <498C8958.10706@lbl.gov> References: <49002b820902060117h354762a9u1f96abcbc459e231@mail.gmail.com> <498C8958.10706@lbl.gov> Message-ID: <49002b820902072200k711f9f93kef8767ff170b8ff4@mail.gmail.com> hi: thanks for the hint. i will try that!! Regards, tbskyd 2009/2/7 Kenneth Crocker : > dtbsky, > > > I'm not sure if you can stop them from seeing the drop-down without a > change to the basic RT code. However, you can "re-set" the owner to "Nobody" > with a "on-create" scrip. That will at least "undo" what they did. Hope this > helps. > > > Kenn > LBNL > > On 2/6/2009 1:17 AM, d tbsky wrote: >> >> hi: >> i have a queue which has rights below for user-group: >> >> CreateTicket >> SeeQueue >> ShowTicket >> >> and there is admin-group which has all the rights for the queue. >> >> when user creates a ticket, he can use the "owner" drop down list >> to see the admin-group users and assign owner. i don't want user-group >> to do this. can i prevent them seeing the "owner" list (or only see >> nobody in the list)? i hope user-group can only create ticket, not >> assign the owner. can this be done? >> >> thanks for help!! >> >> Regards, >> tbskyd >> _______________________________________________ >> 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 >> > > From stephen.a.cochran.lists at cahir.net Sun Feb 8 14:28:28 2009 From: stephen.a.cochran.lists at cahir.net (Stephen Cochran) Date: Sun, 8 Feb 2009 14:28:28 -0500 Subject: [rt-users] Ticket/Search results navigation in 3.8.x In-Reply-To: <20090207064359.GB47499@173-114-89-74.pools.spcsdns.net> References: <35ccbd010902061958l6b124554k688ad7eea1cbd790@mail.gmail.com> <20090207064359.GB47499@173-114-89-74.pools.spcsdns.net> Message-ID: <35ccbd010902081128h7396f3f0x13b5eab591f70aa4@mail.gmail.com> Maybe I'm missing something really obvious...I just disabled all local mods just to be sure. I log in, and see RT at a Glance. I click on one of the Queue names in the Quick Search list. Now see a page with search results (/rt3/Search/Results.html). Included in menu bar across the top of the ticket area is "Show Results" which is currently bold. Click on one of the tickets, and see that ticket (/rt3/Ticket/Display.html). I don't see any link for the search results, previous, next, etc in the left sidebar menu. Screenshot of what I'm seeing below. http://www.cahir.net/images/rt_image.png Steve On Sat, Feb 7, 2009 at 1:43 AM, Jesse Vincent wrote: > > > > On Fri 6.Feb'09 at 22:58:42 -0500, Stephen Cochran wrote: > > We recently upgraded to 3.8.1, and overall the interface is so much > > better! > > > > One comment we've received from our customer support group is that > several > > navigation features are no longer available. When viewing a queue or > > search, there used to be the following links/controls: > > > > which took you back to the the last search or group you had. These > links > > seem to have disappeared from 3.8.x, and I'm wondering if there's a > > setting to bring them back or if someone has made the customization > > already. > > > > > They sure seem to exist for me in 3.8...They're in the menu on the left. > -------------- next part -------------- An HTML attachment was scrubbed... URL: From hir0pr0tagoni3t at googlemail.com Sun Feb 8 15:40:43 2009 From: hir0pr0tagoni3t at googlemail.com (Hiro Protagonist) Date: Sun, 08 Feb 2009 20:40:43 +0000 Subject: [rt-users] Modifying UI labels and screen elements Message-ID: <1234125643.6360.6.camel@berlin> Hi all, I am new to using RT, and running version 3.8.2. I have looked through the mailing list archives and online documentation, but I haven't found an answer to my question, perhaps you can point me in the right direction - I may have missed the right HOWTO/Readme... I would like to modify some or RT's labels in the web UI, e.g. changing "RT at a glance" to "Overview", and renaming "ticket" to "request", and also removing some of the UI elements (some dropdown boxes for example). Since these are mostly 'cosmetic changes', I am sure this is possible, but how would I go about it ? Is there a configuration file for the label names somewhere, or would I have to change the Perl code and redeploy ? Thanks for your help ! Regards, hiro From sladkofo at yahoo-inc.com Mon Feb 9 03:54:31 2009 From: sladkofo at yahoo-inc.com (Oleg Sladkoff) Date: Mon, 09 Feb 2009 09:54:31 +0100 Subject: [rt-users] Resolving a ticket takes ages In-Reply-To: References: Message-ID: <1234169671.3137.1.camel@prettyenter.grenoble.corp.yahoo.com> Hi I suggest you look at the slow queries on your database. ( or show processlist when resolving a ticket) Oleg. On Sat, 2009-02-07 at 22:19 +0000, Lauren, Robin wrote: > > Hi, > > > > We?re administering an RT 3.6.5 with MySQL ver 14.12 Distrib 5.0.51a > for a customer. While other uses of the system is relatively quick and > painless, getting the screen to ?resolve? the ticket after clicking > the resolve link can take minutes. Actually resolving the ticket again > is a snap. > > > > Is the database stuck? Number of pipelines from RT to MySQL > inadequate (or is there even such a thing?)? What would be appropriate > debugging procedures to take? > > > > Best regards, > > ~Robin Laur?n / eCraft > > > > > > -- Oleg Sladkoff KELKOO - Service Architect oleg.sladkoff at yahoo-inc.com Yahoo messenger : Kelkoooleg tel : +33 (0)476848147 gsm : +33(0)675768532 From rfh at vialtus.com Mon Feb 9 05:34:34 2009 From: rfh at vialtus.com (Raed El-Hames) Date: Mon, 09 Feb 2009 10:34:34 +0000 Subject: [rt-users] Group and Users CF Missing Tab (a bug or deliberate) In-Reply-To: <498C8AF6.3000703@lbl.gov> References: <498C6D4D.3070501@vialtus.com> <498C8AF6.3000703@lbl.gov> Message-ID: <499006BA.1000100@vialtus.com> Hi Kenneth; No, I am talking about Configuration->Groups->Select a Group to edit, at this point you should have Basics/Members/Group Right/User Right/History and Custom Fields (which is missing) ... The same for Users, when a user is selected to edit you should have Basics /History/Membership and Custom Fields (again the CF tab is missing) .. Without these CF tabs, its not possible to assign CF's to Groups/Users ..(Unless I am missing something). Roy Kenneth Crocker wrote: > Raed, > > > Are talking about being able to navigate to Custom Fields from > Configuration? > > Kenn > LBNL > > On 2/6/2009 9:03 AM, Raed El-Hames wrote: > >> Hi; >> >> I am running (still) version 3.6.2 and noticed a while ago that the >> Tab(link) for custom fields is missing from both the Admin/Users and >> Admin/Groups ? >> And added the link to appropriate Admin/Element/xTabs >> >> Today I was browsing a 3.8 demo on >> http://rt.easter-eggs.org/demos/stable , and noticed these links still >> missing, so I am starting to wonder if these are left out for a reason ! >> if there is a reason can I ask why? >> >> Thanks; >> Roy >> >> > > -- *Roy El-hames * ISP Systems *Vialtus Solutions* *(formerly Pipex Business)* Direct Dial: +44(0) 208 587 6181 E-mail: rfh at vialtus.com Visit us on: www.vialtus.com This email is subject to: http://www.vialtus.com/disclaimer.html From torsten.brumm at googlemail.com Mon Feb 9 07:00:29 2009 From: torsten.brumm at googlemail.com (Torsten Brumm) Date: Mon, 9 Feb 2009 13:00:29 +0100 Subject: [rt-users] Query to get watchers of Qs. In-Reply-To: <2282948c0902071612h4976406epd873aab598e8ef98@mail.gmail.com> References: <2282948c0902071612h4976406epd873aab598e8ef98@mail.gmail.com> Message-ID: Hi Rana, try this out: http://search.cpan.org/~elacour/RT-Extension-WatchedQueues-0.03/lib/RT/Extension/WatchedQueues.pm I think it is what you are looking for. Torsten 2009/2/8 Rana Tanveer > Hi Everyone > > I am using RT 3.8.1 on Fedora 10. > > I need one query from you, i want to get watchers of Queues from RT > database to display at my site for management review. > can anyone help me out in this query ? > > > -- > --------------------------------------------- > Rana Tanveer > +923224194457 > http://www.sysadminsline.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 > -- MFG Torsten Brumm http://www.torsten-brumm.de -------------- next part -------------- An HTML attachment was scrubbed... URL: From Simon.Dray at antplc.com Mon Feb 9 08:51:28 2009 From: Simon.Dray at antplc.com (Simon Dray) Date: Mon, 9 Feb 2009 13:51:28 +0000 Subject: [rt-users] Priority and how to change (newbie) Message-ID: <9e13a4ba0cc6460a86565792c25bfd458cd1a04c@localhost> Hi, The question I have is two fold, Firstly can I change the numeric priority so that 1 is highest it would also help if I can reduce the number to only 4 or 5. Secondly can the numeric be change to something along the lines of Critical, Major , Minor etc Or equally can I add in another option to do the second. Any help is much appreciated Regards Simon Simon Dray Customer Support Engineering ANT Software Limited Cambridge Business Park, Cowley Road, Cambridge CB4 0WZ, UK Tel: +44 1223 716400 Dir: +44 1223 716476 Email: simon.dray at antplc.com * ANT LEGAL DISCLAIMER * This email and any files transmitted with it are confidential and intended solely for the use of the individual or entity to whom they are addressed. They may contain legally privileged information, and may not be disclosed to anyone else. If you have received this email in error please notify the sender and delete all copies from your system. ANT plc and ANT Software Limited are registered in the United Kingdom at Cambridge Business Park, Cowley Road, Cambridge, Cambridgeshire CB4 0WZ, United Kingdom. The registered number for ANT plc is 5372859 and for ANT Software Limited is 2822565. -------------- next part -------------- An HTML attachment was scrubbed... URL: From mzagrabe at d.umn.edu Mon Feb 9 09:05:21 2009 From: mzagrabe at d.umn.edu (Matt Zagrabelny) Date: Mon, 09 Feb 2009 08:05:21 -0600 Subject: [rt-users] rt-crontool as a user failing In-Reply-To: References: Message-ID: <1234188321.4052.36.camel@grateful.d.umn.edu> On Sat, 2009-02-07 at 13:57 -0500, Asif Iqbal wrote: > Hi I am failing to run rt-crontool Did you map an rt user to a unix user under: Configuration -> Users -> Select -> (some rt user) Set 'Unix login' to 'iqbala'. Cheers, > > (iqbala)@rt:~$ /opt/rt3/bin/rt-crontool > No RT user found. Please consult your RT administrator. > > I can login as `iqbala' to the rt gui and I have administrator privilege. > I can create a new queue, delete existing queue, create a new user, > delete any ticket on any queue. > > But rt-crontool thinks I am not a valid RT user. -- Matt Zagrabelny - mzagrabe at d.umn.edu - (218) 726 8844 University of Minnesota Duluth Information Technology Systems & Services PGP key 1024D/84E22DA2 2005-11-07 Fingerprint: 78F9 18B3 EF58 56F5 FC85 C5CA 53E7 887F 84E2 2DA2 He is not a fool who gives up what he cannot keep to gain what he cannot lose. -Jim Elliot -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 197 bytes Desc: This is a digitally signed message part URL: From victor.da.fonseca at fr.schindler.com Mon Feb 9 09:26:05 2009 From: victor.da.fonseca at fr.schindler.com (victor.da.fonseca at fr.schindler.com) Date: Mon, 9 Feb 2009 15:26:05 +0100 Subject: [rt-users] RT 3.8.2 on RHEL 5.3 install failed due to XML::RSS missing Message-ID: Hi there, Here is my problem i have been trying to install RT3.8.2 on a RedHat server RHEL5.3. I followed the Manual installation guide in the wiki, and when trying to do the make testdeps or fixdeps, it says that XML::RSS is missing. I installed it manually with the dependencies (XML::Parser) but i still have the same problem. Here is what i have in my console. [root at ecsltest:~/temp/rt3-3.8.2/rt-3.8.2 ]#make fixdeps /usr/bin/perl ./sbin/rt-test-dependencies --verbose --install --with-mysql --with-fastcgi perl: >=5.8.3(5.8.8)...found users: rt group (rt)...found bin owner (root)...found libs owner (root)...found libs group (bin)...found web owner (apache)...found web group (apache)...found CLI dependencies: Term::ReadKey...found Getopt::Long >= 2.24...found HTTP::Request::Common...found Term::ReadLine...found Text::ParseWords...found LWP...found CORE dependencies: Class::ReturnValue >= 0.40...found Text::Quoted >= 2.02...found CSS::Squish >= 0.06...found Encode >= 2.13...found Module::Versions::Report >= 1.05...found MIME::Entity >= 5.425...found DBI >= 1.37...found Locale::Maketext::Lexicon >= 0.32...found Devel::StackTrace >= 1.19...found Digest::base...found Time::ParseDate...found File::Temp >= 0.18...found Locale::Maketext >= 1.06...found Tree::Simple >= 1.04...found Text::Template >= 1.45...found Scalar::Util...found HTML::Scrubber >= 0.08...found File::Spec >= 0.8...found Calendar::Simple...found DBIx::SearchBuilder >= 1.54...found Mail::Mailer >= 1.57...found File::ShareDir...found Regexp::Common...found Digest::MD5 >= 2.27...found HTML::Entities...found Cache::Simple::TimedExpiry...found File::Glob...found Locale::Maketext::Fuzzy...found Time::HiRes...found Text::Wrapper...found Log::Dispatch >= 2.0...found UNIVERSAL::require...found Email::Address...found DASHBOARDS dependencies: HTML::RewriteAttributes >= 0.02...found MIME::Types...found FASTCGI dependencies: CGI::Fast...found CGI >= 3.38...found FCGI...found GD dependencies: GD::Text...found GD...found GD::Graph...found GPG dependencies: PerlIO::eol...found GnuPG::Interface...found ICAL dependencies: Data::ICal...found MAILGATE dependencies: Pod::Usage...found HTML::TreeBuilder...found Getopt::Long...found HTML::FormatText...found LWP::UserAgent...found MASON dependencies: Storable >= 2.08...found CSS::Squish >= 0.06...found Apache::Session >= 1.53...found Errno...found Devel::StackTrace >= 1.19...found CGI::Cookie >= 1.20...found Text::WikiFormat >= 0.76...found XML::RSS >= 1.05...MISSING HTML::Mason >= 1.36...found Digest::MD5 >= 2.27...found Install module XML::RSS Going to read /root/.cpan/Metadata Database was generated on Mon, 09 Feb 2009 03:27:47 GMT XML::RSS is up to date (1.43). MYSQL dependencies: DBD::mysql >= 2.1018...found SMTP dependencies: Net::SMTP...found STANDALONE dependencies: Net::Server::PreFork...found Net::Server...found HTTP::Server::Simple >= 0.34...found HTTP::Server::Simple::Mason >= 0.09...found SOME DEPENDENCIES WERE MISSING. MASON missing dependencies: XML::RSS >= 1.05...MISSING make: *** [fixdeps] Error 1 [root at ecsltest:~/temp/rt3-3.8.2/rt-3.8.2 ]# As you can see XML::RSS is installed in version 1.43 i don't understand why it is not working. I searched ont the archive of rt-users list and found the following link but there is no solution on it. http://www.gossamer-threads.com/lists/rt/users/80947?search_string=xml%3A%3Arss;#80947 could you help me ? Cordialement / Best regards Victor Da Fonseca ________________________________________ Elevator Car System IT Department Victor Da Fonseca Network and System Administrator / IT Security Officer 39 rue de Mulhouse Illzach, France Phone +33 389 36 65 00 Fax +33 389 36 65 06 victor.da.fonseca at fr.schindler.com www.schindler.com ________________________________________ ***************************************** Nota : Les informations contenues dans ce message sont exclusivement destinées aux personnes nommées ci- dessus et peuvent contenir des données confidentielles ou protégées.Une erreur de transmission n'entraîne aucune renonciation à la onfidentialité de ces données. Si vous n'êtes pas le destinataire prévu de ce message, vous êtes informéque vous ne devez pas l'utiliser, le divulguer ou le copier, sous quelque forme que ce soit.Si vous avez reçu ce courrier électronique par erreur, merci de le supprimer ainsi que seséventuelles copies et d'informer immédiatement l'expéditeur.
Notice : The information contained in this message is intended only foruse of the individual(s) named above and may contain confidential,proprietary or legally privileged information. No confidentiality or privilege is waived or lost by any mistransmission. If you are not the intended recipient of this message you are hereby notified that you must not use, disseminate, copy it in any form or take any action in reliance of it. If you have received this message in error please delete it and any copies of it and notify the sender immediately. ********************************************** -------------- next part -------------- An HTML attachment was scrubbed... URL: From vadud3 at gmail.com Mon Feb 9 11:00:36 2009 From: vadud3 at gmail.com (Asif Iqbal) Date: Mon, 9 Feb 2009 11:00:36 -0500 Subject: [rt-users] Need help with tickets generated by SPAM Message-ID: Hi All I have a spam filter in front of my queue. So all new tickets have to pass thru the filter before they make it to the queue. It works fine for most of the tickets. However, once in a while one or two spams that manage to pass through the filter as ham and hence create tickets. It is pretty embarrassing. For regular emails I can just take those emails as it is and then pass it through my spam learner and that works fine too. However, I am not sure how I can do the same for a ticket. I created a SPAM queue and I gave users' right to drop any ticket that is a sure spam and just drop them in that queue. So now what I need is to find a way to take all tickets that are in SPAM queue and run them through my spam learner. I do not know how to do that. Any suggestion would be greatly appreciated! Thanks -- Asif Iqbal PGP Key: 0xE62693C5 KeyServer: pgp.mit.edu A: Because it messes up the order in which people normally read text. Q: Why is top-posting such a bad thing? From vadud3 at gmail.com Mon Feb 9 11:33:08 2009 From: vadud3 at gmail.com (Asif Iqbal) Date: Mon, 9 Feb 2009 11:33:08 -0500 Subject: [rt-users] rt-crontool as a user failing In-Reply-To: <1234188321.4052.36.camel@grateful.d.umn.edu> References: <1234188321.4052.36.camel@grateful.d.umn.edu> Message-ID: On Mon, Feb 9, 2009 at 9:05 AM, Matt Zagrabelny wrote: > On Sat, 2009-02-07 at 13:57 -0500, Asif Iqbal wrote: >> Hi I am failing to run rt-crontool > > Did you map an rt user to a unix user under: > > Configuration -> Users -> Select -> (some rt user) > > Set 'Unix login' to 'iqbala'. That was the fix. Thanks. > > Cheers, > >> >> (iqbala)@rt:~$ /opt/rt3/bin/rt-crontool >> No RT user found. Please consult your RT administrator. >> >> I can login as `iqbala' to the rt gui and I have administrator privilege. >> I can create a new queue, delete existing queue, create a new user, >> delete any ticket on any queue. >> >> But rt-crontool thinks I am not a valid RT user. > > -- > Matt Zagrabelny - mzagrabe at d.umn.edu - (218) 726 8844 > University of Minnesota Duluth > Information Technology Systems & Services > PGP key 1024D/84E22DA2 2005-11-07 > Fingerprint: 78F9 18B3 EF58 56F5 FC85 C5CA 53E7 887F 84E2 2DA2 > > He is not a fool who gives up what he cannot keep to gain what he cannot > lose. > -Jim Elliot > > _______________________________________________ > 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 > -- Asif Iqbal PGP Key: 0xE62693C5 KeyServer: pgp.mit.edu A: Because it messes up the order in which people normally read text. Q: Why is top-posting such a bad thing? From John_Minkle at huntalternatives.org Mon Feb 9 11:27:25 2009 From: John_Minkle at huntalternatives.org (John_Minkle at huntalternatives.org) Date: Mon, 9 Feb 2009 11:27:25 -0500 Subject: [rt-users] email bodies appear doubled In-Reply-To: Message-ID: We use lotus notes. We have set up a mailbox for RT that gets pulled down onto a Fedora box using Fetchmail. In RT and in the email that gets sent to queue watchers, the body of the email appears to have the plain text email followed by the rich text part. I've included the "view source" output from Lotus below. I am hoping there is something in the RT_Config.pm file that could eliminate this problem. If anyone has any thoughts on why this might be happening please let me know. The installation is on Fedora 8 using the RT package available (installed with yum) Thanks. Received: xxxxx Received: xxxxx Subject: xxxxx From: xxxxx Reply-To: xxxxx In-Reply-To: xxxxx References: xxxxx Message-ID: xxxxx Precedence: bulk X-RT-Loop-Prevention: IT RT-Ticket: IT #194 Managed-by: RT 3.6.5 (http://www.bestpractical.com/rt/) RT-Originator: xxxxx MIME-Version: 1.0 X-RT-Original-Encoding: utf-8 Date: Mon, 09 Feb 2009 10:43:18 -0500 To: undisclosed-recipients:; X-MIMETrack: Itemize by SMTP Server on web1/huntalt(Release 6.5.5|November 30, 2005) at 02/09/2009 10:45:32 AM, Serialize by Notes Client on John Minkle/huntalt(Release 6.5.1|January 21, 2004) at 02/09/2009 11:13:44 AM, Serialize complete at 02/09/2009 11:13:44 AM Content-type: multipart/mixed; boundary="----------=_1234194198-1929-0" This is a multi-part message in MIME format... ------------=_1234194198-1929-0 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" Mon Feb 09 10:43:18 2009: Request 194 was acted upon. Transaction: Ticket created by xxxxx Queue: General Subject: xxxxx Owner: Nobody Requestors: xxxxx Status: new Ticket Hello IT, xxxxx ------------=_1234194198-1929-0 Content-Transfer-Encoding: 7bit RT-Attachment: 194/2755/1906 Content-Type: text/html; charset="US-ASCII" Content-Disposition: inline
Hello IT,

xxxxx
------------=_1234194198-1929-0-- -------------- next part -------------- An HTML attachment was scrubbed... URL: From jrhett at netconsonance.com Mon Feb 9 14:35:18 2009 From: jrhett at netconsonance.com (Jo Rhett) Date: Mon, 9 Feb 2009 11:35:18 -0800 Subject: [rt-users] tickets created in RT don't line-wrap? Message-ID: <349F376C-7ED3-47C9-8C96-C537C167A4EE@netconsonance.com> Most of our tickets are created through e-mail so I didn't notice this. I just created a ticket inside RT 3.8.2 using the "New Ticket In" button at the top of the page and the text is unreadable when viewing the ticket because my paragraphs simply aren't line wrapping. There is a scrollbar in the view and you can scroll back and forth but this is obnoxiously difficult. -- Jo Rhett Net Consonance : consonant endings by net philanthropy, open source and other randomness From KFCrocker at lbl.gov Mon Feb 9 14:42:21 2009 From: KFCrocker at lbl.gov (Kenneth Crocker) Date: Mon, 09 Feb 2009 11:42:21 -0800 Subject: [rt-users] Time Displays Message-ID: <4990871D.1010006@lbl.gov> To all, Thanks to Kristian Davies I have modifed my time entries to allow only "Days". The data is stores "as is", which is perfect. If someone enters "5", it is stored as "5". However, when I display a ticket, it still shows "min" next to the time fields. How can I get the time Displays to just show "Days"? Thanks. Kenn LBNL From jesse at bestpractical.com Mon Feb 9 14:59:59 2009 From: jesse at bestpractical.com (Jesse Vincent) Date: Mon, 9 Feb 2009 14:59:59 -0500 Subject: [rt-users] Ticket/Search results navigation in 3.8.x In-Reply-To: <35ccbd010902081128h7396f3f0x13b5eab591f70aa4@mail.gmail.com> References: <35ccbd010902061958l6b124554k688ad7eea1cbd790@mail.gmail.com> <20090207064359.GB47499@173-114-89-74.pools.spcsdns.net> <35ccbd010902081128h7396f3f0x13b5eab591f70aa4@mail.gmail.com> Message-ID: <20090209195959.GB15353@17h.local> On Sun 8.Feb'09 at 14:28:28 -0500, Stephen Cochran wrote: > Maybe I'm missing something really obvious...I just disabled all local > mods just to be sure. > > I log in, and see RT at a Glance. I click on one of the Queue names in the > Quick Search list. Now see a page with search results > (/rt3/Search/Results.html). Included in menu bar across the top of the > ticket area is "Show Results" which is currently bold. I just did the exact same things on rt3.fsck.com. http://www.grabup.com/uploads/0c0d1b44d178ac8e72ce1e2e6f8d7a1c.png > > Click on one of the tickets, and see that ticket > (/rt3/Ticket/Display.html). I don't see any link for the search results, > previous, next, etc in the left sidebar menu. Screenshot of what I'm > seeing below. > > [1]http://www.cahir.net/images/rt_image.png > > Steve > > On Sat, Feb 7, 2009 at 1:43 AM, Jesse Vincent <[2]jesse at bestpractical.com> > wrote: > > On Fri 6.Feb'09 at 22:58:42 -0500, Stephen Cochran wrote: > > We recently upgraded to 3.8.1, and overall the interface is so much > > better! > > > > One comment we've received from our customer support group is that > several > > navigation features are no longer available. When viewing a queue > or > > search, there used to be the following links/controls: > > > > which took you back to the the last search or group you had. These > links > > seem to have disappeared from 3.8.x, and I'm wondering if there's a > > setting to bring them back or if someone has made the customization > > already. > > > > They sure seem to exist for me in 3.8...They're in the menu on the left. > > References > > Visible links > 1. http://www.cahir.net/images/rt_image.png > 2. mailto:jesse at bestpractical.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 -- -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 194 bytes Desc: not available URL: From daviswj at comcast.net Mon Feb 9 14:57:45 2009 From: daviswj at comcast.net (Bill Davis) Date: Mon, 09 Feb 2009 12:57:45 -0700 Subject: [rt-users] Simple Search Suddenly Fails Message-ID: <49908AB9.50900@comcast.net> An HTML attachment was scrubbed... URL: From daviswj at comcast.net Mon Feb 9 16:46:30 2009 From: daviswj at comcast.net (Bill Davis) Date: Mon, 09 Feb 2009 14:46:30 -0700 Subject: [rt-users] Simple Search Suddenly Fails In-Reply-To: <49908AB9.50900@comcast.net> References: <49908AB9.50900@comcast.net> Message-ID: <4990A436.2050106@comcast.net> An HTML attachment was scrubbed... URL: From tjrc at sanger.ac.uk Mon Feb 9 16:55:31 2009 From: tjrc at sanger.ac.uk (Tim Cutts) Date: Mon, 9 Feb 2009 21:55:31 +0000 Subject: [rt-users] Hardware Config In-Reply-To: <4971B160.9030800@thebunker.net> References: <20090116214031.GN13855@bestpractical.com> <20090116215507.GO13855@bestpractical.com> <4971B160.9030800@thebunker.net> Message-ID: <5C0D4FE1-4300-40AB-9891-4FE7C1091F8A@sanger.ac.uk> I've been following this discussion (rather belatedly) with some interest. One thing I haven't heard anyone discuss yet: Has anyone tried running RT in a virtual machine? I'm about to move our RT 3.4.2 server onto a virtual machine. I've configured the RT VM to be actually really quite weedy (32-bit and only 2 GB RAM), and perhaps I need to change that, but I figure that VMware ESX probably does quite a good job of caching the disk its using anyway. The actual physical hardware is a quad socket quad core machine with 64 GB of RAM. The underlying storage is StorageWorks EVA on a SAN, so it should be pretty quick. Has anyone tried this sort of thing? Am I about to burn myself badly? Our turnover of tickets is pretty low - only a few hundred tickets a week. Tim -- The Wellcome Trust Sanger Institute is operated by Genome Research Limited, a charity registered in England with number 1021457 and a company registered in England with number 2742969, whose registered office is 215 Euston Road, London, NW1 2BE. From daviswj at comcast.net Mon Feb 9 17:02:46 2009 From: daviswj at comcast.net (Bill Davis) Date: Mon, 09 Feb 2009 15:02:46 -0700 Subject: [rt-users] Simple Search Suddenly Fails In-Reply-To: <4990A436.2050106@comcast.net> References: <49908AB9.50900@comcast.net> <4990A436.2050106@comcast.net> Message-ID: <4990A806.90108@comcast.net> An HTML attachment was scrubbed... URL: From mzagrabe at d.umn.edu Mon Feb 9 17:07:31 2009 From: mzagrabe at d.umn.edu (Matt Zagrabelny) Date: Mon, 09 Feb 2009 16:07:31 -0600 Subject: [rt-users] Hardware Config In-Reply-To: <5C0D4FE1-4300-40AB-9891-4FE7C1091F8A@sanger.ac.uk> References: <20090116214031.GN13855@bestpractical.com> <20090116215507.GO13855@bestpractical.com> <4971B160.9030800@thebunker.net> <5C0D4FE1-4300-40AB-9891-4FE7C1091F8A@sanger.ac.uk> Message-ID: <1234217251.29865.9.camel@grateful.d.umn.edu> On Mon, 2009-02-09 at 21:55 +0000, Tim Cutts wrote: > I've been following this discussion (rather belatedly) with some > interest. One thing I haven't heard anyone discuss yet: > > Has anyone tried running RT in a virtual machine? Our current production system is a VM. It currently is configured with 4GB of RAM and 2 processors (32-bit). We use a SAN on the backend for storage as well (XioTech, IIRC.) Our system has been live for about three weeks and it just passed 1K tickets. Things seem snappy, though we experienced some slowdown after our initial cut. This was due to memory leaks in mod-perl (we restart apache every night now) and some queries that could have used some indexes (which BP, operating within a support contract, helped us create.) HTH -- Matt Zagrabelny - mzagrabe at d.umn.edu - (218) 726 8844 University of Minnesota Duluth Information Technology Systems & Services PGP key 1024D/84E22DA2 2005-11-07 Fingerprint: 78F9 18B3 EF58 56F5 FC85 C5CA 53E7 887F 84E2 2DA2 He is not a fool who gives up what he cannot keep to gain what he cannot lose. -Jim Elliot -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 197 bytes Desc: This is a digitally signed message part URL: From cbrockett at barracuda.com Mon Feb 9 17:08:53 2009 From: cbrockett at barracuda.com (Cassandra L. Brockett) Date: Mon, 9 Feb 2009 14:08:53 -0800 Subject: [rt-users] Hardware Config In-Reply-To: <5C0D4FE1-4300-40AB-9891-4FE7C1091F8A@sanger.ac.uk> References: <20090116214031.GN13855@bestpractical.com> <20090116215507.GO13855@bestpractical.com> <4971B160.9030800@thebunker.net> <5C0D4FE1-4300-40AB-9891-4FE7C1091F8A@sanger.ac.uk> Message-ID: I run it that way in production here, I also happen to have a copy of the machine that I use for testing major changes, etc... I did not that 3.4 and 3.6 where horribly slow for us, but it turned out to be a fault of the way that those revisions used the PostgreSQL backend, not RT or the system, 3.8.2 is screaming along for us. -- Cass -----Original Message----- From: rt-users-bounces at lists.bestpractical.com [mailto:rt-users-bounces at lists.bestpractical.com] On Behalf Of Tim Cutts Sent: Monday, February 09, 2009 1:56 PM To: RT Users Subject: Re: [rt-users] Hardware Config I've been following this discussion (rather belatedly) with some interest. One thing I haven't heard anyone discuss yet: Has anyone tried running RT in a virtual machine? I'm about to move our RT 3.4.2 server onto a virtual machine. I've configured the RT VM to be actually really quite weedy (32-bit and only 2 GB RAM), and perhaps I need to change that, but I figure that VMware ESX probably does quite a good job of caching the disk its using anyway. The actual physical hardware is a quad socket quad core machine with 64 GB of RAM. The underlying storage is StorageWorks EVA on a SAN, so it should be pretty quick. Has anyone tried this sort of thing? Am I about to burn myself badly? Our turnover of tickets is pretty low - only a few hundred tickets a week. Tim -- The Wellcome Trust Sanger Institute is operated by Genome Research Limited, a charity registered in England with number 1021457 and a company registered in England with number 2742969, whose registered office is 215 Euston Road, London, NW1 2BE. _______________________________________________ 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 ---------------------------------- Barracuda Networks makes the best spam firewalls and web filters. www.barracudanetworks.com From pthirose at ucdavis.edu Mon Feb 9 17:34:15 2009 From: pthirose at ucdavis.edu (Paul Hirose) Date: Mon, 9 Feb 2009 14:34:15 -0800 (PST) Subject: [rt-users] Recommend Indexes and other hints, tips on running smooth RT? Message-ID: RT 3.82, MySQL 5.0.67, Apache 2.2.11, Mod-Perl 2.0.4. Is there a reasonably current compilation of recommended hints, tips, suggestions on having a smooth running RT system? Someone mentioned a memory leak in mod-perl and restarting Apache daily. There are many mentions of this index or that index and I've no idea which (if any or all) would be a good idea to have. The hardware, the MySQL database, and the Apache webserver are all solely dedicated to the RT system. I don't mind suggestions that might negatively impact an aspect of the system unrelated to RT (since there really isn't anything else on here.) There have been a lot of index suggestions (some about Query Builder, or RT-Shredder, or during an upgrade/migration process of database or RT system, etc.) I try to sort at least by date to hopefully get more current messages. I've no idea if these indices some regarding RT 3.4, others regarding MySQL 4.x, etc. The system works fine, and I suppose a not-broke-don't-fix approach also works :) But I figure if there's anything I can do to help make the RT experience better, that's good too :) For starters, I'll restart Apache daily around 2am. May as well :) PH Paul Hirose : pthirose at ucdavis.edu : Sysadm Motto: rm -fr /MyLife 1034 Academic Surge : Programmer/Analyst : Backup Motto : rm -fr / One Shields Avenue : Voice (530) 752-7181 : Robot, n.: Univ. Admin Davis, CA 95616-8770 : Fax (530) 752-4465 : rec.pets.cat.anecdotes From gordon at cryologic.com Mon Feb 9 18:14:11 2009 From: gordon at cryologic.com (gordon at cryologic.com) Date: Tue, 10 Feb 2009 10:14:11 +1100 Subject: [rt-users] tickets created in RT don't line-wrap? In-Reply-To: <349F376C-7ED3-47C9-8C96-C537C167A4EE@netconsonance.com> References: <349F376C-7ED3-47C9-8C96-C537C167A4EE@netconsonance.com> Message-ID: <4990B8C3.7010702@cryologic.com> Jo Rhett wrote: > Most of our tickets are created through e-mail so I didn't notice this. > > I just created a ticket inside RT 3.8.2 using the "New Ticket In" > button at the top of the page and the text is unreadable when viewing > the ticket because my paragraphs simply aren't line wrapping. There > is a scrollbar in the view and you can scroll back and forth but this > is obnoxiously difficult. in RT_Site_Config change Set($MessageBoxWrap, "SOFT"); Set($MessageBoxWrap, "HARD"); From martin at proxmox.com Tue Feb 10 04:58:06 2009 From: martin at proxmox.com (Martin Maurer) Date: Tue, 10 Feb 2009 10:58:06 +0100 Subject: [rt-users] Hardware Config In-Reply-To: <5C0D4FE1-4300-40AB-9891-4FE7C1091F8A@sanger.ac.uk> References: <20090116214031.GN13855@bestpractical.com> <20090116215507.GO13855@bestpractical.com><4971B160.9030800@thebunker.net> <5C0D4FE1-4300-40AB-9891-4FE7C1091F8A@sanger.ac.uk> Message-ID: <7B7881568CF40E4388B615CD06F87B98098A5E@clara.maurer-it.com> > Has anyone tried running RT in a virtual machine? yes, we also have a ready to run virtual appliance, See http://pve.proxmox.com/wiki/RT_Request_Tracker But this virtual appliance runs on Proxmox VE (means OpenVZ is used as virtualization technology). I am working also with vmware since years (and also other virtualizations technologies) and the biggest issue is IO performance. We prefer OpenVZ for database intensive servers like RT as we have NO virtual disks here you get the best performance. On VMWare, you got virtual disks which costs performance. So if you want to go for VMware, I suggest you invest some money in a fast SAN. (Or, if you want to try fast and cost effective virtualization - try Proxmox VE) Just to mention: you can also install Proxmox VE inside your VMware and use the virtual appliance - then RT performs similar as you install it "by hand" in your VMWare environment. Best Regards, Martin Maurer martin at proxmox.com http://pve.proxmox.com From mike.peachey at jennic.com Tue Feb 10 05:05:51 2009 From: mike.peachey at jennic.com (Mike Peachey) Date: Tue, 10 Feb 2009 10:05:51 +0000 Subject: [rt-users] Hardware Config In-Reply-To: <7B7881568CF40E4388B615CD06F87B98098A5E@clara.maurer-it.com> References: <20090116214031.GN13855@bestpractical.com> <20090116215507.GO13855@bestpractical.com><4971B160.9030800@thebunker.net> <5C0D4FE1-4300-40AB-9891-4FE7C1091F8A@sanger.ac.uk> <7B7881568CF40E4388B615CD06F87B98098A5E@clara.maurer-it.com> Message-ID: <4991517F.3050405@jennic.com> Martin Maurer wrote: >> Has anyone tried running RT in a virtual machine? > > yes, we also have a ready to run virtual appliance, > See http://pve.proxmox.com/wiki/RT_Request_Tracker > I am working also with vmware since years (and also other virtualizations technologies) and the biggest issue is IO performance. > We prefer OpenVZ for database intensive servers like RT as we have NO virtual disks here you get the best performance. > > On VMWare, you got virtual disks which costs performance. So if you want to go for VMware, I suggest you invest some money in a fast SAN. > (Or, if you want to try fast and cost effective virtualization - try Proxmox VE) > > Just to mention: > you can also install Proxmox VE inside your VMware and use the virtual appliance - then RT performs similar as you install it "by hand" in your VMWare environment. I don't know about anyone else, but I am getting a little uncomfortable with your posts (to RT-Users and to the Wiki) being little more than an advert for proxmox rather than a real contribution to the community. I'm not saying I don't want you mentioning it, but I personally would appreciate it if you could tone down the advertising. -- Kind Regards, __________________________________________________ Mike Peachey, IT Tel: +44 114 281 2655 Fax: +44 114 281 2951 Jennic Ltd, Furnival Street, Sheffield, S1 4QT, UK Comp Reg No: 3191371 - Registered In England http://www.jennic.com __________________________________________________ From rainer at ultra-secure.de Tue Feb 10 05:13:10 2009 From: rainer at ultra-secure.de (Rainer Duffner) Date: Tue, 10 Feb 2009 11:13:10 +0100 Subject: [rt-users] Hardware Config In-Reply-To: <4991517F.3050405@jennic.com> References: <20090116214031.GN13855@bestpractical.com> <20090116215507.GO13855@bestpractical.com><4971B160.9030800@thebunker.net> <5C0D4FE1-4300-40AB-9891-4FE7C1091F8A@sanger.ac.uk> <7B7881568CF40E4388B615CD06F87B98098A5E@clara.maurer-it.com> <4991517F.3050405@jennic.com> Message-ID: <49915336.7040700@ultra-secure.de> Mike Peachey schrieb: > Martin Maurer wrote: > >>> Has anyone tried running RT in a virtual machine? >>> >> yes, we also have a ready to run virtual appliance, >> See http://pve.proxmox.com/wiki/RT_Request_Tracker >> > > >> I am working also with vmware since years (and also other virtualizations technologies) and the biggest issue is IO performance. >> We prefer OpenVZ for database intensive servers like RT as we have NO virtual disks here you get the best performance. >> >> On VMWare, you got virtual disks which costs performance. So if you want to go for VMware, I suggest you invest some money in a fast SAN. >> (Or, if you want to try fast and cost effective virtualization - try Proxmox VE) >> >> Just to mention: >> you can also install Proxmox VE inside your VMware and use the virtual appliance - then RT performs similar as you install it "by hand" in your VMWare environment. >> > > I don't know about anyone else, but I am getting a little uncomfortable > with your posts (to RT-Users and to the Wiki) being little more than an > advert for proxmox rather than a real contribution to the community. > > Well, it's a fine line... > I'm not saying I don't want you mentioning it, but I personally would > appreciate it if you could tone down the advertising. > Personally, I don't mind. But I know that you can get carried away if you have built something and it works... I do use Virtuozzo (the commercial version of OpenVZ), but I'm not sure I would trust it with RT ;-) OTOH, it's mostly because I like the way perl-stuff is handled in FreeBSD. Rainer From martin at proxmox.com Tue Feb 10 06:16:11 2009 From: martin at proxmox.com (Martin Maurer) Date: Tue, 10 Feb 2009 12:16:11 +0100 Subject: [rt-users] Hardware Config In-Reply-To: <4991517F.3050405@jennic.com> References: <20090116214031.GN13855@bestpractical.com> <20090116215507.GO13855@bestpractical.com><4971B160.9030800@thebunker.net> <5C0D4FE1-4300-40AB-9891-4FE7C1091F8A@sanger.ac.uk> <7B7881568CF40E4388B615CD06F87B98098A5E@clara.maurer-it.com> <4991517F.3050405@jennic.com> Message-ID: <7B7881568CF40E4388B615CD06F87B98098A60@clara.maurer-it.com> > I don't know about anyone else, but I am getting a little uncomfortable > with your posts (to RT-Users and to the Wiki) being little more than an > advert for proxmox rather than a real contribution to the community. Hi Mike, Someone asked about experiences from others, I posted mine - I am working with VMware products for years and I also built certified appliances for VMware ESX (with Postgres databases inside). So I just thought I will share my personal experience here. "Real" contributions to the RT community: I think our RT appliance is a quite real contribution. Just to mention, we published the appliance and also the way we build it (with dab, GPL licensed). Proxmox VE is GPL, also the RT appliance. So all I mentioned are GPL products - available for free for everyone. FYI: we discussed this with bestpractical and they liked it. > I'm not saying I don't want you mentioning it, but I personally would > appreciate it if you could tone down the advertising. I post my experience with RT and virtualization and the way we work at Proxmox. If you are interested - read it. If not, just ignore it. But if you feel still uncomfortable, maybe I can give you more information to let you feel better :-)? BTW, quite a lot downloaded our RT appliance and there are already some system in productions - increasing the RT community - so we can't be that wrong. Br, Martin http://pve.proxmox.com > -- > Kind Regards, > > __________________________________________________ > > Mike Peachey, IT > Tel: +44 114 281 2655 > Fax: +44 114 281 2951 > Jennic Ltd, Furnival Street, Sheffield, S1 4QT, UK > Comp Reg No: 3191371 - Registered In England > http://www.jennic.com > __________________________________________________ From alf at stockton.co.za Tue Feb 10 06:27:44 2009 From: alf at stockton.co.za (Alf Stockton) Date: Tue, 10 Feb 2009 13:27:44 +0200 Subject: [rt-users] RT3.8.2 & Ubuntu 8.04 Message-ID: <499164B0.7090202@stockton.co.za> I believe that I now have RT3.8.2 built/assembled on my Ubuntu 8.04 server but now need to be able to browse to it. I have it installed at /etc/request-tracker3.8.2/ and I attempted using the same method of connecting as I successfully used with 3.6. In other words at the end of my /etc/apache2/sites-enabled/000-default I added :- include "/etc/request-tracker3.8.2/etc/apache2-modperl2.conf" which reads as follows:- ServerName general.dev.sharing.org.za DocumentRoot /etc/request-tracker3.8.2/share/html AddDefaultCharset UTF-8 # optional apache logs for RT # ErrorLog /opt/rt3/var/log/apache2.error # TransferLog /opt/rt3/var/log/apache2.access PerlRequire "/etc/request-tracker3.8.2/bin/webmux.pl" SetHandler default SetHandler perl-script PerlResponseHandler RT::Mason How do I now browse to rt3.8.2? -- Regards, Alf Stockton www.stockton.co.za Today's weirdness is tomorrow's reason why. -- Hunter S. Thompson From mike.peachey at jennic.com Tue Feb 10 06:29:02 2009 From: mike.peachey at jennic.com (Mike Peachey) Date: Tue, 10 Feb 2009 11:29:02 +0000 Subject: [rt-users] Hardware Config In-Reply-To: <7B7881568CF40E4388B615CD06F87B98098A60@clara.maurer-it.com> References: <20090116214031.GN13855@bestpractical.com> <20090116215507.GO13855@bestpractical.com><4971B160.9030800@thebunker.net> <5C0D4FE1-4300-40AB-9891-4FE7C1091F8A@sanger.ac.uk> <7B7881568CF40E4388B615CD06F87B98098A5E@clara.maurer-it.com> <4991517F.3050405@jennic.com> <7B7881568CF40E4388B615CD06F87B98098A60@clara.maurer-it.com> Message-ID: <499164FE.3070106@jennic.com> Martin Maurer wrote: >> I don't know about anyone else, but I am getting a little uncomfortable >> with your posts (to RT-Users and to the Wiki) being little more than an >> advert for proxmox rather than a real contribution to the community. > > Hi Mike, > As I said, I just thought it needed toning down a little. 1. RT-Users The question was "Anyone use RT virtualised?". Your answer was "Yes, we do it in Proxmox, and by the way here are the reasons why proxmox is better than other virtualisation products" rather than "yes, we do it in Proxmox, here's some info about running RT in proxmox" 2. The wiki When proxmox was added to the installation instructions page, rather than adding an appropriate entry for proxmox in the specifics section (as it is now) or below, it was added at the very top in its own section so a paraphrased version of the page looked like this: Installation Instructions: 1. Proxmox 2. Source 3. Platform-Specific I see no problem whatsoever in putting a link to proxmox installation instructions on that page, in fact it's THE place to put it, but I found making it the number one entry on the page in that way distasteful. I by no means want to discourage people from using proxmox, I don't want to discourage you from recommending it to people as an option, I don't even wish to suggest your contributions to the community are anything less than angelic. I just thought that the way you were advertising it was very overbearing and appeared intensely commercial. -- Kind Regards, __________________________________________________ Mike Peachey, IT Tel: +44 114 281 2655 Fax: +44 114 281 2951 Jennic Ltd, Furnival Street, Sheffield, S1 4QT, UK Comp Reg No: 3191371 - Registered In England http://www.jennic.com __________________________________________________ From martin at proxmox.com Tue Feb 10 07:00:54 2009 From: martin at proxmox.com (Martin Maurer) Date: Tue, 10 Feb 2009 13:00:54 +0100 Subject: [rt-users] Hardware Config In-Reply-To: <499164FE.3070106@jennic.com> References: <20090116214031.GN13855@bestpractical.com> <20090116215507.GO13855@bestpractical.com><4971B160.9030800@thebunker.net> <5C0D4FE1-4300-40AB-9891-4FE7C1091F8A@sanger.ac.uk> <7B7881568CF40E4388B615CD06F87B98098A5E@clara.maurer-it.com> <4991517F.3050405@jennic.com> <7B7881568CF40E4388B615CD06F87B98098A60@clara.maurer-it.com> <499164FE.3070106@jennic.com> Message-ID: <7B7881568CF40E4388B615CD06F87B98098A62@clara.maurer-it.com> > -----Original Message----- > From: Mike Peachey [mailto:mike.peachey at jennic.com] > Sent: Dienstag, 10. Februar 2009 12:29 > To: Martin Maurer > Cc: Tim Cutts; RT Users > Subject: Re: [rt-users] Hardware Config > > Martin Maurer wrote: > >> I don't know about anyone else, but I am getting a little > uncomfortable > >> with your posts (to RT-Users and to the Wiki) being little more than > an > >> advert for proxmox rather than a real contribution to the community. > > > > Hi Mike, > > > > As I said, I just thought it needed toning down a little. > > 1. RT-Users > The question was "Anyone use RT virtualised?". > Your answer was "Yes, we do it in Proxmox, and by the way here are the > reasons why proxmox is better than other virtualisation products" rather > than "yes, we do it in Proxmox, here's some info about running RT in > proxmox" Hi Mike, My personal experience here: I did intense tests on RT and especially Postgres DB on: VMware (server 1.x, server 2.x, esx 3 and esx 3.5, citrix xen5, openvz, kvm) The summary of all these test is IO performance, especially disk access and fsync/sec. I tested all on local storage (xeon server, fast hardware raid with fast cache enabled). So if you run database intensive application a significant performance loss as soon as it goes to virtualized disks. As OS virtualization does not use virtualized disks, it much better in this discipline. Another important point I got: if you run more VM (with virtual disks) on the same host the IO performance goes faster down compared to a system where ONE Linux Kernel is doing the IO access. Overview OS virtualization technologies: http://en.wikipedia.org/wiki/Jail_(computer_security) I highly recommend to go for a fast SAN if you use VMWare (also VMWare suggests this). > 2. The wiki > When proxmox was added to the installation instructions page, rather > than adding an appropriate entry for proxmox in the specifics section > (as it is now) or below, it was added at the very top in its own section > so a paraphrased version of the page looked like this: > Installation Instructions: > 1. Proxmox > 2. Source > 3. Platform-Specific > > I see no problem whatsoever in putting a link to proxmox installation > instructions on that page, in fact it's THE place to put it, but I found > making it the number one entry on the page in that way distasteful. Sorry, looks like you got only the half story here. I was asked by Jesse from bestpractical to put this information on the wiki pages. As the wiki software and the navigation structure is very bad and I found no info where to place it I wrote the info on top AND then I informed/asked bestpractial to review it and asked to move to the right place - and someone moved it to the right place within days. Looks that you misunderstood this. > I by no means want to discourage people from using proxmox, I don't want > to discourage you from recommending it to people as an option, I don't > even wish to suggest your contributions to the community are anything > less than angelic. > > I just thought that the way you were advertising it was very overbearing > and appeared intensely commercial. I hope I cleared everything: but why are you talking about commercial interests here? The appliance is not commercial, its free and GPL. Lets go back to RT issues, sorry for writing non RT stuff to this list but I just want to clear this. Br, Martin From alexyoung at scoutsolutions.co.uk Tue Feb 10 07:14:49 2009 From: alexyoung at scoutsolutions.co.uk (Alex Young) Date: Tue, 10 Feb 2009 12:14:49 -0000 Subject: [rt-users] ExtendedStatus in colour Message-ID: <3CE7D8D453B27148BBCA0B2063B11E64D5F7E4@s-wor-e-001.SCOUTSOFFICE.local> I have setup the search pages to display the status and extended status in colour with the code from http://wiki.bestpractical.com/view/ShowStatusInColor Is there any way to dynamically pull the ExtendedStatus into the code? At the moment the sub extStatusInColor code rewrites what exists, but it would be a lot more useful to display the default text while maintaining the colours. As there is no $Ticket->ExtendedStatus I am at a loss on how to achieve this. Thanks. -------------- next part -------------- An HTML attachment was scrubbed... URL: From ama at chalmers.se Tue Feb 10 08:21:15 2009 From: ama at chalmers.se (Anne-Marie Achrenius) Date: Tue, 10 Feb 2009 14:21:15 +0100 Subject: [rt-users] Search hangs RT Message-ID: <49917F4B.4010402@chalmers.se> Hello! I'm new to the list and I'm in a bit of a pickle, our RT-guru is on paternity leave and we've started having problems with our RT-installation. I've tried searching the list archives for something similar, but nothing fits exactly: The problem: Often (not every time, maybe 8 out of 10) when I perform a Search in RT, the search hangs. The mysqld process is at 100 % cpu. When reading the log files, this jumps out: /var/lib/mysql/blaha.log: SELECT GET_LOCK('Apache-Session-ed5bea237ae21873fecd13ade9cb3f63', 3600) and after a few minutes the web-interface returns with "500 Internal Server Error" I've so far tried to decrease the LOCK time in /usr/lib/perl5/site_perl/5.8.5/Apache/Session/Lock/MySQL.pm but that doesn't seem to help at all. I've enabled logging of slow mysql queries, but so far no log entries We're running RT 3.7.5 mysql 14.7 apache 2.0.52 Does anyone have any suggestions or similar problems? I can't pinpoint when we started having problems, 2-3 weeks ago, and the problem seems to slowly escalate. /Anne-Marie From alexyoung at scoutsolutions.co.uk Tue Feb 10 08:37:50 2009 From: alexyoung at scoutsolutions.co.uk (Alex Young) Date: Tue, 10 Feb 2009 13:37:50 -0000 Subject: [rt-users] ExtendedStatus in colour In-Reply-To: <3CE7D8D453B27148BBCA0B2063B11E64D5F7E4@s-wor-e-001.SCOUTSOFFICE.local> References: <3CE7D8D453B27148BBCA0B2063B11E64D5F7E4@s-wor-e-001.SCOUTSOFFICE.local> Message-ID: <3CE7D8D453B27148BBCA0B2063B11E64D5F7F6@s-wor-e-001.SCOUTSOFFICE.local> Found it! I ended up borrowing code from the original ColumnMap file. From: rt-users-bounces at lists.bestpractical.com [mailto:rt-users-bounces at lists.bestpractical.com] On Behalf Of Alex Young Sent: 10 February 2009 12:15 To: rt-users at lists.bestpractical.com Subject: [rt-users] ExtendedStatus in colour I have setup the search pages to display the status and extended status in colour with the code from http://wiki.bestpractical.com/view/ShowStatusInColor Is there any way to dynamically pull the ExtendedStatus into the code? At the moment the sub extStatusInColor code rewrites what exists, but it would be a lot more useful to display the default text while maintaining the colours. As there is no $Ticket->ExtendedStatus I am at a loss on how to achieve this. Thanks. -------------- next part -------------- An HTML attachment was scrubbed... URL: From ktm at rice.edu Tue Feb 10 08:46:29 2009 From: ktm at rice.edu (Kenneth Marshall) Date: Tue, 10 Feb 2009 07:46:29 -0600 Subject: [rt-users] Search hangs RT In-Reply-To: <49917F4B.4010402@chalmers.se> References: <49917F4B.4010402@chalmers.se> Message-ID: <20090210134629.GS2995@it.is.rice.edu> On Tue, Feb 10, 2009 at 02:21:15PM +0100, Anne-Marie Achrenius wrote: > Hello! > > I'm new to the list and I'm in a bit of a pickle, our RT-guru is on > paternity leave and we've started having problems with our RT-installation. > I've tried searching the list archives for something similar, but > nothing fits exactly: > > The problem: Often (not every time, maybe 8 out of 10) when I perform a > Search in RT, the search hangs. > The mysqld process is at 100 % cpu. When reading the log files, this > jumps out: > > /var/lib/mysql/blaha.log: > > SELECT GET_LOCK('Apache-Session-ed5bea237ae21873fecd13ade9cb3f63', 3600) > > and after a few minutes the web-interface returns with "500 Internal > Server Error" > > I've so far tried to decrease the LOCK time in > /usr/lib/perl5/site_perl/5.8.5/Apache/Session/Lock/MySQL.pm > but that doesn't seem to help at all. > I've enabled logging of slow mysql queries, but so far no log entries > > We're running RT 3.7.5 > mysql 14.7 > apache 2.0.52 > > Does anyone have any suggestions or similar problems? > I can't pinpoint when we started having problems, 2-3 weeks ago, and the > problem seems to slowly escalate. > > /Anne-Marie > > Maybe your session table needs to be cleaned up. Try deleting any sessions over a couple of days old and then optimize the table. I cannot help with the specific commands since we use PostgreSQL for our RT instance but in SQL I run a command like: DELETE FROM sessions WHERE lastupdated < '2009-1-30'; or even TRUNCATE TABLE sessions; to get them all. You may just have a bloat problem. Try a SELECT COUNT(*) FROM sessions; Hope this helps. Cheers, Ken From tariq.doukkali at autoform.de Tue Feb 10 09:32:25 2009 From: tariq.doukkali at autoform.de (Tariq Doukkali) Date: Tue, 10 Feb 2009 15:32:25 +0100 Subject: [rt-users] change Queue order !!! Message-ID: <192B76E92530564BAAB9DD78BAE565B740FE1E1225@chexchange.autoform.com> Hello all, how can I change the order of my Queues ??? Many Thanks -------------- next part -------------- An HTML attachment was scrubbed... URL: From alberto.villanueva at altran.es Tue Feb 10 09:40:18 2009 From: alberto.villanueva at altran.es (Alberto Villanueva) Date: Tue, 10 Feb 2009 15:40:18 +0100 Subject: [rt-users] change Queue order !!! In-Reply-To: <192B76E92530564BAAB9DD78BAE565B740FE1E1225@chexchange.autoform.com> References: <192B76E92530564BAAB9DD78BAE565B740FE1E1225@chexchange.autoform.com> Message-ID: Order?? You refers to priority?? Or, text in combo?? Regards, ALBERTO VILLANUEVA VAL Consultor ____________________________________________ Altran ParqueEmpresarial Las Mercedes, Edificio 1 C/ Campezo, 1. 28022 Madrid Tel : + 34 91 744 46 00 Fax: + 34 91 415 24 57 www.altran.es _____ size=2 width="100%" align=center> De: rt-users-bounces at lists.bestpractical.com [mailto:rt-users-bounces at lists.bestpractical.com] En nombre de Tariq Doukkali Enviado el: martes, 10 de febrero de 2009 15:32 Para: rt-users at lists.bestpractical.com Asunto: [rt-users] change Queue order !!! Hello all, how can I change the order of my Queues ??? Many Thanks -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: image001.jpg Type: image/jpeg Size: 3874 bytes Desc: not available URL: From stephen.a.cochran.lists at cahir.net Tue Feb 10 09:57:24 2009 From: stephen.a.cochran.lists at cahir.net (Stephen Cochran) Date: Tue, 10 Feb 2009 09:57:24 -0500 Subject: [rt-users] Ticket/Search results navigation in 3.8.x In-Reply-To: <20090209195959.GB15353@17h.local> References: <35ccbd010902061958l6b124554k688ad7eea1cbd790@mail.gmail.com> <20090207064359.GB47499@173-114-89-74.pools.spcsdns.net> <35ccbd010902081128h7396f3f0x13b5eab591f70aa4@mail.gmail.com> <20090209195959.GB15353@17h.local> Message-ID: <35ccbd010902100657g4e7ec63ao3e0c07d0021351@mail.gmail.com> Well it's great to see that those are there. I'll dig in and see whats different (hopefully soon). I checked the release notes for 3.8.2 (we're on 3.8.1) and didn't see anything related to this. In case I missed it, nothing that you remember along those lines? Steve On Mon, Feb 9, 2009 at 2:59 PM, Jesse Vincent wrote: > > On Sun 8.Feb'09 at 14:28:28 -0500, Stephen Cochran wrote: > > Maybe I'm missing something really obvious...I just disabled all local > > mods just to be sure. > > > > I log in, and see RT at a Glance. I click on one of the Queue names in > the > > Quick Search list. Now see a page with search results > > (/rt3/Search/Results.html). Included in menu bar across the top of the > > ticket area is "Show Results" which is currently bold. > > I just did the exact same things on rt3.fsck.com. > > http://www.grabup.com/uploads/0c0d1b44d178ac8e72ce1e2e6f8d7a1c.png > > > > > > > Click on one of the tickets, and see that ticket > > (/rt3/Ticket/Display.html). I don't see any link for the search > results, > > previous, next, etc in the left sidebar menu. Screenshot of what I'm > > seeing below. > > > > [1]http://www.cahir.net/images/rt_image.png > > > > Steve > > > > On Sat, Feb 7, 2009 at 1:43 AM, Jesse Vincent <[2] > jesse at bestpractical.com> > > wrote: > > > > On Fri 6.Feb'09 at 22:58:42 -0500, Stephen Cochran wrote: > > > We recently upgraded to 3.8.1, and overall the interface is so > much > > > better! > > > > > > One comment we've received from our customer support group is > that > > several > > > navigation features are no longer available. When viewing a > queue > > or > > > search, there used to be the following links/controls: > > > > > > which took you back to the the last search or group you had. > These > > links > > > seem to have disappeared from 3.8.x, and I'm wondering if > there's a > > > setting to bring them back or if someone has made the > customization > > > already. > > > > > > > They sure seem to exist for me in 3.8...They're in the menu on the > left. > > > > References > > > > Visible links > > 1. http://www.cahir.net/images/rt_image.png > > 2. mailto:jesse at bestpractical.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 > > -- > -------------- next part -------------- An HTML attachment was scrubbed... URL: From ama at chalmers.se Tue Feb 10 10:19:27 2009 From: ama at chalmers.se (Anne-Marie Achrenius) Date: Tue, 10 Feb 2009 16:19:27 +0100 Subject: [rt-users] Search hangs RT In-Reply-To: <20090210134629.GS2995@it.is.rice.edu> References: <49917F4B.4010402@chalmers.se> <20090210134629.GS2995@it.is.rice.edu> Message-ID: <49919AFF.3010702@chalmers.se> Kenneth Marshall skrev: > On Tue, Feb 10, 2009 at 02:21:15PM +0100, Anne-Marie Achrenius wrote: > >> Hello! >> >> I'm new to the list and I'm in a bit of a pickle, our RT-guru is on >> paternity leave and we've started having problems with our RT-installation. >> I've tried searching the list archives for something similar, but >> nothing fits exactly: >> >> The problem: Often (not every time, maybe 8 out of 10) when I perform a >> Search in RT, the search hangs. >> The mysqld process is at 100 % cpu. When reading the log files, this >> jumps out: >> >> /var/lib/mysql/blaha.log: >> >> SELECT GET_LOCK('Apache-Session-ed5bea237ae21873fecd13ade9cb3f63', 3600) >> >> and after a few minutes the web-interface returns with "500 Internal >> Server Error" >> >> I've so far tried to decrease the LOCK time in >> /usr/lib/perl5/site_perl/5.8.5/Apache/Session/Lock/MySQL.pm >> but that doesn't seem to help at all. >> I've enabled logging of slow mysql queries, but so far no log entries >> >> We're running RT 3.7.5 >> mysql 14.7 >> apache 2.0.52 >> >> Does anyone have any suggestions or similar problems? >> I can't pinpoint when we started having problems, 2-3 weeks ago, and the >> problem seems to slowly escalate. >> >> /Anne-Marie >> >> >> > Maybe your session table needs to be cleaned up. Try deleting any > sessions over a couple of days old and then optimize the table. I > cannot help with the specific commands since we use PostgreSQL for > our RT instance but in SQL I run a command like: > > DELETE FROM sessions WHERE lastupdated < '2009-1-30'; > > or even > > TRUNCATE TABLE sessions; > > to get them all. You may just have a bloat problem. Try a > > SELECT COUNT(*) FROM sessions; > > Hope this helps. > > Cheers, > Ken > Thanks for the help, unfortunately the problem doesn't seem to lie there: mysql> SELECT COUNT(*) FROM sessions; +----------+ | COUNT(*) | +----------+ | 323 | +----------+ 1 row in set (0.00 sec) and deleting anything older than 30/1 left 11. Still the same problem, search keeps hanging. How do I optimize the table? (I used to work with Oracle db:s around 10 years ago, I'm pretty rusty!) Depressed, /Anne-Marie From ktm at rice.edu Tue Feb 10 11:28:23 2009 From: ktm at rice.edu (Kenneth Marshall) Date: Tue, 10 Feb 2009 10:28:23 -0600 Subject: [rt-users] Search hangs RT In-Reply-To: <49919AFF.3010702@chalmers.se> References: <49917F4B.4010402@chalmers.se> <20090210134629.GS2995@it.is.rice.edu> <49919AFF.3010702@chalmers.se> Message-ID: <20090210162823.GV2995@it.is.rice.edu> On Tue, Feb 10, 2009 at 04:19:27PM +0100, Anne-Marie Achrenius wrote: > Kenneth Marshall skrev: > > On Tue, Feb 10, 2009 at 02:21:15PM +0100, Anne-Marie Achrenius wrote: > > > >> Hello! > >> > >> I'm new to the list and I'm in a bit of a pickle, our RT-guru is on > >> paternity leave and we've started having problems with our RT-installation. > >> I've tried searching the list archives for something similar, but > >> nothing fits exactly: > >> > >> The problem: Often (not every time, maybe 8 out of 10) when I perform a > >> Search in RT, the search hangs. > >> The mysqld process is at 100 % cpu. When reading the log files, this > >> jumps out: > >> > >> /var/lib/mysql/blaha.log: > >> > >> SELECT GET_LOCK('Apache-Session-ed5bea237ae21873fecd13ade9cb3f63', 3600) > >> > >> and after a few minutes the web-interface returns with "500 Internal > >> Server Error" > >> > >> I've so far tried to decrease the LOCK time in > >> /usr/lib/perl5/site_perl/5.8.5/Apache/Session/Lock/MySQL.pm > >> but that doesn't seem to help at all. > >> I've enabled logging of slow mysql queries, but so far no log entries > >> > >> We're running RT 3.7.5 > >> mysql 14.7 > >> apache 2.0.52 > >> > >> Does anyone have any suggestions or similar problems? > >> I can't pinpoint when we started having problems, 2-3 weeks ago, and the > >> problem seems to slowly escalate. > >> > >> /Anne-Marie > >> > >> > >> > > Maybe your session table needs to be cleaned up. Try deleting any > > sessions over a couple of days old and then optimize the table. I > > cannot help with the specific commands since we use PostgreSQL for > > our RT instance but in SQL I run a command like: > > > > DELETE FROM sessions WHERE lastupdated < '2009-1-30'; > > > > or even > > > > TRUNCATE TABLE sessions; > > > > to get them all. You may just have a bloat problem. Try a > > > > SELECT COUNT(*) FROM sessions; > > > > Hope this helps. > > > > Cheers, > > Ken > > > > Thanks for the help, unfortunately the problem doesn't seem to lie there: > > mysql> SELECT COUNT(*) FROM sessions; > +----------+ > | COUNT(*) | > +----------+ > | 323 | > +----------+ > 1 row in set (0.00 sec) > > and deleting anything older than 30/1 left 11. Still the same problem, > search keeps hanging. > How do I optimize the table? (I used to work with Oracle db:s around 10 > years ago, I'm pretty rusty!) > > Depressed, > > /Anne-Marie > Anne-Marie, It is more drastic, but since your RT administrator is out, maybe you could change to Session logging to a file and not the database. In 3.8 the lines in RT_Config.pm are: =item C<$WebSessionClass> C<$WebSessionClass> is the class you wish to use for managing Sessions. It defaults to use your SQL database, but if you are using MySQL 3.x and plans to use non-ascii Queue names, uncomment and add this line to F will prevent session corruption. =cut # Set($WebSessionClass , 'Apache::Session::File'); You should be able to add this line to your RT_SiteConfig.pm and then restart RT to use the file version of session storage. That should get you working until your admin returns. Good luck, Ken From agentc0re at gmail.com Tue Feb 10 12:06:35 2009 From: agentc0re at gmail.com (agentc0re) Date: Tue, 10 Feb 2009 09:06:35 -0800 (PST) Subject: [rt-users] Configure options for setting directories not working for me Message-ID: <21938116.post@talk.nabble.com> So I am building RT with the following configure options. ./configure \ --prefix=/usr \ --libexecdir=/usr/libexec/rt \ --sysconfdir=/etc/rt \ --datadir=/srv/www/htdocs/rt \ --localstatedir=/var \ --mandir=/usr/man \ --docdir=/usr/doc/$PRGNAM-$VERSION \ --build=$ARCH-slackware-linux \ --with-db-type=mysql \ --with-web-user=apache \ --with-web-group=apache When i do a 'make install DESTDIR=/tmp/rt' The only root folder is /usr and everything is inside of that. I would think that i should have /usr, /etc,/var and /srv showing up as root directories. Maybe i am misinterpreting the documentation? IE: "--sysconfdir=DIR read-only single-machine data [PREFIX/etc]". The [PREFIX/etc], does that mean no mater what i set as the "sysconfdir" that it will always go in what's defined as the prefix? The other question i have is about all the HTML files under the share dir. If i wanted to put them in the actual webdir, is what i have defined the correct way to do that(--datadir=/srv/www/htdocs/rt \)? -- View this message in context: http://www.nabble.com/Configure-options-for-setting-directories-not-working-for-me-tp21938116p21938116.html Sent from the Request Tracker - User mailing list archive at Nabble.com. From jpierce at cambridgeenergyalliance.org Tue Feb 10 12:23:55 2009 From: jpierce at cambridgeenergyalliance.org (Jerrad Pierce) Date: Tue, 10 Feb 2009 12:23:55 -0500 Subject: [rt-users] create a new ticket with a forward? In-Reply-To: References: Message-ID: I think you want the find the extension version of Dirk Pape's "fork ticket" patch that was discussed on the list recently. It's still won't be a single click, but more automated nevertheless. -- Cambridge Energy Alliance: Save money. Save the planet. From jpierce at cambridgeenergyalliance.org Tue Feb 10 13:30:02 2009 From: jpierce at cambridgeenergyalliance.org (Jerrad Pierce) Date: Tue, 10 Feb 2009 13:30:02 -0500 Subject: [rt-users] Eeek! RT is unable to connect to database Message-ID: I applied some of the recommendations from mysqltuner.pl (since backed out), including the users able to connect (to the test database) without authentication (not reversed), and now RT cannot connect to the database: [Tue Feb 10 13:29:12 2009] [error] [client 129.44.190.12] Connect Failed Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (13) at /opt/rt3/bin/../lib/RT.pm line 204 The socket is there, I can connect with mysql -u rt_user -p, and with a test perl script via DBI. I'm at a loss, and have found nothing but these obvious bits in the list archives, any thoughts? -- Cambridge Energy Alliance: Save money. Save the planet. From jpierce at cambridgeenergyalliance.org Tue Feb 10 13:38:04 2009 From: jpierce at cambridgeenergyalliance.org (Jerrad Pierce) Date: Tue, 10 Feb 2009 13:38:04 -0500 Subject: [rt-users] Eeek! RT is unable to connect to database In-Reply-To: References: Message-ID: What is RT trying to do, that is should fail when this debug script works? use EZDBI; use Data::Dumper; Connect 'mysql:rt', 'rt_user', 'PASSWORD'; my $r = Select '* From Users LIMIT 2'; print Dumper $_ while( $_ = $r->({}) ); __END__ $VAR1 = { 'WebEncoding' => undef, 'AuthSystem' => undef, 'PGPKey' => undef, 'Password' => '*NO-PASSWORD*', 'MobilePhone' => undef, 'WorkPhone' => undef, 'id' => '1', 'LastUpdated' => '2008-08-02 14:59:35', 'PagerPhone' => undef, 'ExternalContactInfoId' => undef, 'ContactInfoSystem' => undef, 'Creator' => '1', 'LastUpdatedBy' => '1', 'HomePhone' => undef, 'Address1' => undef, 'Created' => '2008-08-02 14:59:35', 'ExternalAuthId' => undef, 'Comments' => 'Do not delete or modify this user. It is integral to RT\'s internal database structures', 'NickName' => undef, 'Address2' => undef, 'Timezone' => undef, 'FreeformContactInfo' => undef, 'RealName' => 'The RT System itself', 'City' => undef, 'EmailAddress' => undef, 'EmailEncoding' => undef, 'State' => undef, 'Signature' => undef, 'Zip' => undef, 'Organization' => undef, 'Lang' => undef, 'Gecos' => undef, 'Country' => undef, 'Name' => 'RT_System' }; $VAR1 = { 'WebEncoding' => undef, 'AuthSystem' => undef, 'PGPKey' => undef, 'Password' => '*NO-PASSWORD*', 'MobilePhone' => undef, 'WorkPhone' => undef, 'id' => '6', 'LastUpdated' => '2008-08-02 14:59:35', 'PagerPhone' => undef, 'ExternalContactInfoId' => undef, 'ContactInfoSystem' => undef, 'Creator' => '1', 'LastUpdatedBy' => '1', 'HomePhone' => undef, 'Address1' => undef, 'Created' => '2008-08-02 14:59:35', 'ExternalAuthId' => undef, 'Comments' => 'Do not delete or modify this user. It is integral to RT\'s internal data structures', 'NickName' => undef, 'Address2' => undef, 'Timezone' => undef, 'FreeformContactInfo' => undef, 'RealName' => 'Nobody in particular', 'City' => undef, 'EmailAddress' => '', 'EmailEncoding' => undef, 'State' => undef, 'Signature' => undef, 'Zip' => undef, 'Organization' => undef, 'Lang' => undef, 'Gecos' => undef, 'Country' => undef, 'Name' => 'Nobody' }; -- Cambridge Energy Alliance: Save money. Save the planet. From jpierce at cambridgeenergyalliance.org Tue Feb 10 13:57:21 2009 From: jpierce at cambridgeenergyalliance.org (Jerrad Pierce) Date: Tue, 10 Feb 2009 13:57:21 -0500 Subject: [rt-users] Eeek! RT is unable to connect to database In-Reply-To: References: Message-ID: This second debug script also works?! and yields similar output. use lib qw(/opt/rt3/lib/ /opt/rt3/local/lib); use RT; use Data::Dumper; RT::LoadConfig(); RT->Init(); $r = $RT::Handle->SimpleQuery(' Select * From Users LIMIT 2'); print Dumper $_ while( $_ = $r->fetchrow_hashref ); From jpierce at cambridgeenergyalliance.org Tue Feb 10 14:05:30 2009 From: jpierce at cambridgeenergyalliance.org (Jerrad Pierce) Date: Tue, 10 Feb 2009 14:05:30 -0500 Subject: [rt-users] Eeek! RT is unable to connect to database In-Reply-To: References: Message-ID: Setting the log level to debug provides literally no information. I'm stumped, and really need to get this system back ASAP. any help would be greatly appreciated. -- Cambridge Energy Alliance: Save money. Save the planet. From jmoseley at corp.xanadoo.com Tue Feb 10 14:06:22 2009 From: jmoseley at corp.xanadoo.com (jmoseley at corp.xanadoo.com) Date: Tue, 10 Feb 2009 13:06:22 -0600 Subject: [rt-users] Eeek! RT is unable to connect to database In-Reply-To: Message-ID: Is mysql setup to listen to TCP connections via localhost and/or it's 'real' IP address? James Moseley Jerrad Pierce RT Users Sent by: rt-users-bounces@ cc lists.bestpractic al.com Subject [rt-users] Eeek! RT is unable to connect to database 02/10/2009 12:30 PM I applied some of the recommendations from mysqltuner.pl (since backed out), including the users able to connect (to the test database) without authentication (not reversed), and now RT cannot connect to the database: [Tue Feb 10 13:29:12 2009] [error] [client 129.44.190.12] Connect Failed Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (13) at /opt/rt3/bin/../lib/RT.pm line 204 The socket is there, I can connect with mysql -u rt_user -p, and with a test perl script via DBI. I'm at a loss, and have found nothing but these obvious bits in the list archives, any thoughts? From jpierce at cambridgeenergyalliance.org Tue Feb 10 14:08:17 2009 From: jpierce at cambridgeenergyalliance.org (Jerrad Pierce) Date: Tue, 10 Feb 2009 14:08:17 -0500 Subject: [rt-users] Eeek! RT is unable to connect to database In-Reply-To: References: Message-ID: On Tue, Feb 10, 2009 at 14:06, wrote: > Is mysql setup to listen to TCP connections via localhost and/or it's > 'real' IP address? No. This configuration has always had skip-networking, without a problem. -- Cambridge Energy Alliance: Save money. Save the planet. From jpierce at cambridgeenergyalliance.org Tue Feb 10 14:13:56 2009 From: jpierce at cambridgeenergyalliance.org (Jerrad Pierce) Date: Tue, 10 Feb 2009 14:13:56 -0500 Subject: [rt-users] Eeek! RT is unable to connect to database In-Reply-To: References: Message-ID: Just ran perl sbin/rt-setup-database --action acl --prompt-for-dba-password, and no change to the db or situation... From jmoseley at corp.xanadoo.com Tue Feb 10 14:14:20 2009 From: jmoseley at corp.xanadoo.com (jmoseley at corp.xanadoo.com) Date: Tue, 10 Feb 2009 13:14:20 -0600 Subject: [rt-users] Eeek! RT is unable to connect to database In-Reply-To: Message-ID: Sorry, didn't realize RT had the capability to use local Unix sockets... Does the owner of the httpd process have access to the mysql socket? Assuming nothing changed within the RT directory, it might be helpful for you to post the mysql you used to tune the database and the syntax used to back out of the changes. Hopefully you have a current mysql backup of the RT database. ;-) James Moseley Jerrad Pierce jmoseley at corp.xanadoo.com cc 02/10/2009 01:08 RT Users PM , rt-users-bounces at lists.bestpractica l.com Subject Re: [rt-users] Eeek! RT is unable to connect to database On Tue, Feb 10, 2009 at 14:06, wrote: > Is mysql setup to listen to TCP connections via localhost and/or it's > 'real' IP address? No. This configuration has always had skip-networking, without a problem. From Ryan.Hardester at ci.tracy.ca.us Tue Feb 10 14:09:13 2009 From: Ryan.Hardester at ci.tracy.ca.us (Ryan Hardester) Date: Tue, 10 Feb 2009 11:09:13 -0800 Subject: [rt-users] Modify users access Message-ID: Is there a way to allow users to edit other users without giving "See Configuration Tab"? I am running RT 3.8.2 under Ubuntu with Apache. I have given the users "AdminUsers" permissions, but when they are in a ticket and click a name/e-mail from the People tab they just get a blank page that shows Time to display and the BP footer. I'd like to be able to just let them edit users without exposing the other configuration options to them. --Ryan -------------- next part -------------- An HTML attachment was scrubbed... URL: From jpierce at cambridgeenergyalliance.org Tue Feb 10 14:17:28 2009 From: jpierce at cambridgeenergyalliance.org (Jerrad Pierce) Date: Tue, 10 Feb 2009 14:17:28 -0500 Subject: [rt-users] Eeek! RT is unable to connect to database In-Reply-To: References: Message-ID: > Assuming nothing changed within the RT directory, it might be helpful for > you to post the mysql you used to tune the database and the syntax used to > back out of the changes. No SQL was used, just variables via my.cnf The problem persists whether or not they are set. > Hopefully you have a current mysql backup of the RT database. ;-) Relatively, as of about 3 this morning. But the database itself is there and fine. As previously indicated. I can connect to it manually, and programmatically. RT just seems to have decided to throw a hissy fit. From jpierce at cambridgeenergyalliance.org Tue Feb 10 14:19:31 2009 From: jpierce at cambridgeenergyalliance.org (Jerrad Pierce) Date: Tue, 10 Feb 2009 14:19:31 -0500 Subject: [rt-users] Modify users access In-Reply-To: References: Message-ID: On Tue, Feb 10, 2009 at 14:09, Ryan Hardester wrote: > Is there a way to allow users to edit other users without giving "See > Configuration Tab"? Being able to see other things under Configuration doesn't allow you to edit them. Just like seeing a Queue doesn't permit you to do things to the queue. -- Cambridge Energy Alliance: Save money. Save the planet. From jpierce at cambridgeenergyalliance.org Tue Feb 10 14:25:22 2009 From: jpierce at cambridgeenergyalliance.org (Jerrad Pierce) Date: Tue, 10 Feb 2009 14:25:22 -0500 Subject: [rt-users] Eeek! RT is unable to connect to database In-Reply-To: <4991D173.8050300@baywinds.org> References: <4991D173.8050300@baywinds.org> Message-ID: On Tue, Feb 10, 2009 at 14:11, Bruce Ferrell wrote: > check the apache error_log Yes, that is where the quoted error was from. > and enable and check the mysql full logs. the > apache logs may give you and idea of what's going on and if you're being > rejected by mysql you'll see that in the full log Not entirely sure what you mean. There's nothing in the error log other than start/stop. And log= begets nothing since the connection never forms and no queries are issued? From torsten.brumm at googlemail.com Tue Feb 10 14:32:28 2009 From: torsten.brumm at googlemail.com (Torsten Brumm) Date: Tue, 10 Feb 2009 20:32:28 +0100 Subject: [rt-users] change Queue order !!! In-Reply-To: <192B76E92530564BAAB9DD78BAE565B740FE1E1225@chexchange.autoform.com> References: <192B76E92530564BAAB9DD78BAE565B740FE1E1225@chexchange.autoform.com> Message-ID: What do you mean? The queue order inside the quicksearch? This is in alphabetical order or do you mean inside a queue, the order of tickets? For this have a look for global setting inside RT_SiteConfig.pm or under user prefs for user based. Torsten 2009/2/10 Tariq Doukkali > Hello all, > > > > how can I change the order of my Queues ??? > > > > Many Thanks > > _______________________________________________ > 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 > -- MFG Torsten Brumm http://www.torsten-brumm.de -------------- next part -------------- An HTML attachment was scrubbed... URL: From jmoseley at corp.xanadoo.com Tue Feb 10 14:37:33 2009 From: jmoseley at corp.xanadoo.com (jmoseley at corp.xanadoo.com) Date: Tue, 10 Feb 2009 13:37:33 -0600 Subject: [rt-users] Eeek! RT is unable to connect to database In-Reply-To: Message-ID: Report the results of a diff between the old version of my.cnf and the one after your changes. James Moseley Jerrad Pierce jmoseley at corp.xanadoo.com cc 02/10/2009 01:17 RT Users PM , rt-users-bounces at lists.bestpractica l.com Subject Re: [rt-users] Eeek! RT is unable to connect to database > Assuming nothing changed within the RT directory, it might be helpful for > you to post the mysql you used to tune the database and the syntax used to > back out of the changes. No SQL was used, just variables via my.cnf The problem persists whether or not they are set. > Hopefully you have a current mysql backup of the RT database. ;-) Relatively, as of about 3 this morning. But the database itself is there and fine. As previously indicated. I can connect to it manually, and programmatically. RT just seems to have decided to throw a hissy fit. From barnesaw at ucrwcu.rwc.uc.edu Tue Feb 10 14:41:03 2009 From: barnesaw at ucrwcu.rwc.uc.edu (Drew Barnes) Date: Tue, 10 Feb 2009 14:41:03 -0500 Subject: [rt-users] Modify users access In-Reply-To: References: Message-ID: <4991D84F.3040807@ucrwcu.rwc.uc.edu> Ryan Hardester wrote: > > Is there a way to allow users to edit other users without giving ?See > Configuration Tab?? > > I am running RT 3.8.2 under Ubuntu with Apache. I have given the users > ?AdminUsers? permissions, but when they are in a ticket and click a > name/e-mail from the People tab they just get a blank page that shows > Time to display and the BP footer. > > I?d like to be able to just let them edit users without exposing the > other configuration options to them. > I think giving them AdminUsers rights should take of that. > --Ryan > > ------------------------------------------------------------------------ > > _______________________________________________ > 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 -- Drew Barnes Applications Analyst Network Resources Department Raymond Walters College University of Cincinnati From jpierce at cambridgeenergyalliance.org Tue Feb 10 14:42:47 2009 From: jpierce at cambridgeenergyalliance.org (Jerrad Pierce) Date: Tue, 10 Feb 2009 14:42:47 -0500 Subject: [rt-users] Eeek! RT is unable to connect to database In-Reply-To: References: Message-ID: On Tue, Feb 10, 2009 at 14:37, wrote: > Report the results of a diff between the old version of my.cnf and the one > after your changes. As previously reported, the changes have already been undone. The diff is /dev/null They were nothing ground-breaking: --- /etc/my.cnf 2008-10-06 17:08:18.000000000 -0400 +++ /etc/my.new 2009-02-10 14:34:40.000000000 -0500 @@ -5,19 +5,26 @@ # clients (those using the mysqlclient10 compatibility package). #old_passwords=1 skip-networking +skip-isam +skip-bdb #my-large.cnf key_buffer = 256M max_allowed_packet = 4M table_cache = 256 -sort_buffer_size = 1M +sort_buffer_size = 2M read_buffer_size = 1M read_rnd_buffer_size = 4M myisam_sort_buffer_size = 64M thread_cache = 8 query_cache_size= 16M thread_concurrency = 4 +#mysqltuner.pl{ + tmp_table_size = 32M + max_heap_table_size = 32M +#} +#XXX skip-innodb # You can set .._buffer_pool_size up to 50 - 80 % # of RAM but beware of setting memory usage too high innodb_buffer_pool_size = 256M @@ -33,7 +40,6 @@ innodb_additional_mem_pool_size=2M innodb_file_io_threads=4 innodb_lock_wait_timeout=50 -sort_buffer=2M innodb_additional_mem_pool_size = 20M -- Cambridge Energy Alliance: Save money. Save the planet. From bferrell at baywinds.org Tue Feb 10 14:11:47 2009 From: bferrell at baywinds.org (Bruce Ferrell) Date: Tue, 10 Feb 2009 11:11:47 -0800 Subject: [rt-users] Eeek! RT is unable to connect to database In-Reply-To: References: Message-ID: <4991D173.8050300@baywinds.org> check the apache error_log and enable and check the mysql full logs. the apache logs may give you and idea of what's going on and if you're being rejected by mysql you'll see that in the full log Jerrad Pierce wrote: > Setting the log level to debug provides literally no information. > I'm stumped, and really need to get this system back ASAP. > any help would be greatly appreciated. > From jmoseley at corp.xanadoo.com Tue Feb 10 14:54:44 2009 From: jmoseley at corp.xanadoo.com (jmoseley at corp.xanadoo.com) Date: Tue, 10 Feb 2009 13:54:44 -0600 Subject: [rt-users] Eeek! RT is unable to connect to database In-Reply-To: Message-ID: OK, and your certain my.cnf is setup so that this is the correct socket: /var/lib/mysql/mysql.sock? And the httpd process (assuming Apache here) has proper permissions to mysql.sock? James Moseley Jerrad Pierce jmoseley at corp.xanadoo.com cc 02/10/2009 01:42 RT Users PM , rt-users-bounces at lists.bestpractica l.com Subject Re: [rt-users] Eeek! RT is unable to connect to database On Tue, Feb 10, 2009 at 14:37, wrote: > Report the results of a diff between the old version of my.cnf and the one > after your changes. As previously reported, the changes have already been undone. The diff is /dev/null From gravyface at gmail.com Tue Feb 10 15:03:30 2009 From: gravyface at gmail.com (GravyFace) Date: Tue, 10 Feb 2009 15:03:30 -0500 Subject: [rt-users] customizing the ticket form Message-ID: <19fa96670902101203t10bf1defycb3e0a158304577f@mail.gmail.com> I'd like to be able to change the Update Type drop-down to default to "Reply to Requestors" when the "Resolve" link is clicked instead of "Comments (Not sent to requestors)". What's the best way to achieve this? If I need to modify/extend the source, I don't mind doing so, just don't want to go about it the wrong way and/or reinvent the wheel. Thanks From torsten.brumm at googlemail.com Tue Feb 10 14:30:23 2009 From: torsten.brumm at googlemail.com (Torsten Brumm) Date: Tue, 10 Feb 2009 20:30:23 +0100 Subject: [rt-users] Search hangs RT In-Reply-To: <49919AFF.3010702@chalmers.se> References: <49917F4B.4010402@chalmers.se> <20090210134629.GS2995@it.is.rice.edu> <49919AFF.3010702@chalmers.se> Message-ID: Hi Anne Marie, to optimize tables use mysql> optimize table sessions; we had the same issue in the past and turned down the session locking time in the mysql.pm from your first mail to 1sec, it fixes it for us. torsten btw, we also clean each night the session table, which makes rt lot faster. 2009/2/10 Anne-Marie Achrenius > Kenneth Marshall skrev: > > On Tue, Feb 10, 2009 at 02:21:15PM +0100, Anne-Marie Achrenius wrote: > > > >> Hello! > >> > >> I'm new to the list and I'm in a bit of a pickle, our RT-guru is on > >> paternity leave and we've started having problems with our > RT-installation. > >> I've tried searching the list archives for something similar, but > >> nothing fits exactly: > >> > >> The problem: Often (not every time, maybe 8 out of 10) when I perform a > >> Search in RT, the search hangs. > >> The mysqld process is at 100 % cpu. When reading the log files, this > >> jumps out: > >> > >> /var/lib/mysql/blaha.log: > >> > >> SELECT GET_LOCK('Apache-Session-ed5bea237ae21873fecd13ade9cb3f63', 3600) > >> > >> and after a few minutes the web-interface returns with "500 Internal > >> Server Error" > >> > >> I've so far tried to decrease the LOCK time in > >> /usr/lib/perl5/site_perl/5.8.5/Apache/Session/Lock/MySQL.pm > >> but that doesn't seem to help at all. > >> I've enabled logging of slow mysql queries, but so far no log entries > >> > >> We're running RT 3.7.5 > >> mysql 14.7 > >> apache 2.0.52 > >> > >> Does anyone have any suggestions or similar problems? > >> I can't pinpoint when we started having problems, 2-3 weeks ago, and the > >> problem seems to slowly escalate. > >> > >> /Anne-Marie > >> > >> > >> > > Maybe your session table needs to be cleaned up. Try deleting any > > sessions over a couple of days old and then optimize the table. I > > cannot help with the specific commands since we use PostgreSQL for > > our RT instance but in SQL I run a command like: > > > > DELETE FROM sessions WHERE lastupdated < '2009-1-30'; > > > > or even > > > > TRUNCATE TABLE sessions; > > > > to get them all. You may just have a bloat problem. Try a > > > > SELECT COUNT(*) FROM sessions; > > > > Hope this helps. > > > > Cheers, > > Ken > > > > Thanks for the help, unfortunately the problem doesn't seem to lie there: > > mysql> SELECT COUNT(*) FROM sessions; > +----------+ > | COUNT(*) | > +----------+ > | 323 | > +----------+ > 1 row in set (0.00 sec) > > and deleting anything older than 30/1 left 11. Still the same problem, > search keeps hanging. > How do I optimize the table? (I used to work with Oracle db:s around 10 > years ago, I'm pretty rusty!) > > Depressed, > > /Anne-Marie > _______________________________________________ > 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 > -- MFG Torsten Brumm http://www.torsten-brumm.de -------------- next part -------------- An HTML attachment was scrubbed... URL: From jrhett at netconsonance.com Tue Feb 10 15:12:24 2009 From: jrhett at netconsonance.com (Jo Rhett) Date: Tue, 10 Feb 2009 12:12:24 -0800 Subject: [rt-users] tickets created in RT don't line-wrap? In-Reply-To: <4990B8C3.7010702@cryologic.com> References: <349F376C-7ED3-47C9-8C96-C537C167A4EE@netconsonance.com> <4990B8C3.7010702@cryologic.com> Message-ID: <30F3193F-744E-4330-BDDF-14E4AD9DDCC9@netconsonance.com> > Jo Rhett wrote: >> Most of our tickets are created through e-mail so I didn't notice >> this. >> I just created a ticket inside RT 3.8.2 using the "New Ticket In" >> button at the top of the page and the text is unreadable when >> viewing the ticket because my paragraphs simply aren't line >> wrapping. There is a scrollbar in the view and you can scroll >> back and forth but this is obnoxiously difficult. On Feb 9, 2009, at 3:14 PM, gordon at cryologic.com wrote: > in RT_Site_Config change > > Set($MessageBoxWrap, "SOFT"); > > Set($MessageBoxWrap, "HARD"); I certainly can do -- but why is this an option? Is there any reason for Soft mode, ever? -- Jo Rhett Net Consonance : consonant endings by net philanthropy, open source and other randomness From jesse at bestpractical.com Tue Feb 10 15:18:40 2009 From: jesse at bestpractical.com (Jesse Vincent) Date: Tue, 10 Feb 2009 15:18:40 -0500 Subject: [rt-users] tickets created in RT don't line-wrap? In-Reply-To: <30F3193F-744E-4330-BDDF-14E4AD9DDCC9@netconsonance.com> References: <349F376C-7ED3-47C9-8C96-C537C167A4EE@netconsonance.com> <4990B8C3.7010702@cryologic.com> <30F3193F-744E-4330-BDDF-14E4AD9DDCC9@netconsonance.com> Message-ID: <20090210201840.GD83147@72-61-71-73.pools.spcsdns.net> > > Set($MessageBoxWrap, "SOFT"); > > > > Set($MessageBoxWrap, "HARD"); > > > I certainly can do -- but why is this an option? Is there any reason > for Soft mode, ever? Different people and different organizations have different preferences for line wrap. When you're free of 80 column terminals, (either because you have a phone which displays 30-50 characters per line or a client which displays 90ish columns as you make your window wider, you might be less thrilled with someone hard-wrapping at 72 characters. -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 194 bytes Desc: not available URL: From jpierce at cambridgeenergyalliance.org Tue Feb 10 15:27:43 2009 From: jpierce at cambridgeenergyalliance.org (Jerrad Pierce) Date: Tue, 10 Feb 2009 15:27:43 -0500 Subject: [rt-users] Eeek! RT is unable to connect to database In-Reply-To: References: Message-ID: /usr/libexec/mysqld --verbose --help | grep socket socket /var/lib/mysql/mysql.sock 4 srwxrwxrwx 1 mysql mysql 0 Feb 10 14:59 mysql.sock= Doh! WTF? Somehow SELinux context on the socket got borked. http://www.linuxquestions.org/questions/fedora-35/selinux-apache-mysql-php-260126/ Trying to fix it now... -- Cambridge Energy Alliance: Save money. Save the planet. From jrhett at netconsonance.com Tue Feb 10 15:29:39 2009 From: jrhett at netconsonance.com (Jo Rhett) Date: Tue, 10 Feb 2009 12:29:39 -0800 Subject: [rt-users] clone ticket? Message-ID: <69E691AE-8AC4-4E60-B3FD-2DCDFB7A471A@netconsonance.com> The mail archives show Jesse consistently referring to CloneTicket... but I can't find this in RT, nor in the Wiki, nor in Google. Did this feature just not happen? -- Jo Rhett Net Consonance : consonant endings by net philanthropy, open source and other randomness From jpierce at cambridgeenergyalliance.org Tue Feb 10 15:57:56 2009 From: jpierce at cambridgeenergyalliance.org (Jerrad Pierce) Date: Tue, 10 Feb 2009 15:57:56 -0500 Subject: [rt-users] clone ticket? In-Reply-To: <69E691AE-8AC4-4E60-B3FD-2DCDFB7A471A@netconsonance.com> References: <69E691AE-8AC4-4E60-B3FD-2DCDFB7A471A@netconsonance.com> Message-ID: On Tue, Feb 10, 2009 at 15:29, Jo Rhett wrote: > The mail archives show Jesse consistently referring to CloneTicket... > but I can't find this in RT, nor in the Wiki, nor in Google. Did > this feature just not happen? Not yet, again, see extension version of Dirk's patch by Mark Roedel: http://www.gossamer-threads.com/lists/rt/users/80499#80499 From jrhett at netconsonance.com Tue Feb 10 16:01:14 2009 From: jrhett at netconsonance.com (Jo Rhett) Date: Tue, 10 Feb 2009 13:01:14 -0800 Subject: [rt-users] where oh where is the Preferences link? In-Reply-To: <20090206182925.GI4075@bestpractical.com> References: <20090206182925.GI4075@bestpractical.com> Message-ID: <42930B1F-8BBC-408C-8B36-D4B4674D3923@netconsonance.com> On Feb 6, 2009, at 10:29 AM, Jesse Vincent wrote: > Preferences -> Settings -> Email Delivery Okay, color me stupid but I can't figure out why nobody but superusers can see Preferences. Searching on the wiki has no links, and there are no rights which clearly specify who can see the Preferences link. -- Jo Rhett Net Consonance : consonant endings by net philanthropy, open source and other randomness From jrhett at netconsonance.com Tue Feb 10 16:10:26 2009 From: jrhett at netconsonance.com (Jo Rhett) Date: Tue, 10 Feb 2009 13:10:26 -0800 Subject: [rt-users] tickets created in RT don't line-wrap? In-Reply-To: <20090210201840.GD83147@72-61-71-73.pools.spcsdns.net> References: <349F376C-7ED3-47C9-8C96-C537C167A4EE@netconsonance.com> <4990B8C3.7010702@cryologic.com> <30F3193F-744E-4330-BDDF-14E4AD9DDCC9@netconsonance.com> <20090210201840.GD83147@72-61-71-73.pools.spcsdns.net> Message-ID: On Feb 10, 2009, at 12:18 PM, Jesse Vincent wrote: > Different people and different organizations have different > preferences > for line wrap. When you're free of 80 column terminals, (either > because > you have a phone which displays 30-50 characters per line or a client > which displays 90ish columns as you make your window wider, you > might be > less thrilled with someone hard-wrapping at 72 characters. I understand that, but I don't understand "no wrap at all". The ticket I created has a few lines with 3000+ characters. That's *never* useful. In theory, the input should be soft wrap, and the client should wrap text at whatever is appropriate for the viewer, yah? -- Jo Rhett Net Consonance : consonant endings by net philanthropy, open source and other randomness From jrhett at netconsonance.com Tue Feb 10 16:12:10 2009 From: jrhett at netconsonance.com (Jo Rhett) Date: Tue, 10 Feb 2009 13:12:10 -0800 Subject: [rt-users] clone ticket? In-Reply-To: References: <69E691AE-8AC4-4E60-B3FD-2DCDFB7A471A@netconsonance.com> Message-ID: <1B54F9F9-CF22-4CB9-939E-8EF40962C285@netconsonance.com> On Feb 10, 2009, at 12:57 PM, Jerrad Pierce wrote: > On Tue, Feb 10, 2009 at 15:29, Jo Rhett > wrote: >> The mail archives show Jesse consistently referring to CloneTicket... >> but I can't find this in RT, nor in the Wiki, nor in Google. Did >> this feature just not happen? > Not yet, again, see extension version of Dirk's patch by Mark Roedel: > > http://www.gossamer-threads.com/lists/rt/users/80499#80499 I already have that patch. I was just trying to be certain that some functionality didn't get added to 3.8 which would provided similar functions. -- Jo Rhett Net Consonance : consonant endings by net philanthropy, open source and other randomness From jrhett at netconsonance.com Tue Feb 10 16:14:02 2009 From: jrhett at netconsonance.com (Jo Rhett) Date: Tue, 10 Feb 2009 13:14:02 -0800 Subject: [rt-users] where oh where is the Preferences link? In-Reply-To: <4991ECD2.9@uwaterloo.ca> References: <20090206182925.GI4075@bestpractical.com> <42930B1F-8BBC-408C-8B36-D4B4674D3923@netconsonance.com> <4991ECD2.9@uwaterloo.ca> Message-ID: On Feb 10, 2009, at 1:08 PM, Jeff Voskamp wrote: > You need to have "ModifySelf" permissions to see the Preferences tab. Thanks for the help. *headdesk* -- Jo Rhett Net Consonance : consonant endings by net philanthropy, open source and other randomness From jpierce at cambridgeenergyalliance.org Tue Feb 10 16:16:08 2009 From: jpierce at cambridgeenergyalliance.org (Jerrad Pierce) Date: Tue, 10 Feb 2009 16:16:08 -0500 Subject: [rt-users] clone ticket? In-Reply-To: <1B54F9F9-CF22-4CB9-939E-8EF40962C285@netconsonance.com> References: <69E691AE-8AC4-4E60-B3FD-2DCDFB7A471A@netconsonance.com> <1B54F9F9-CF22-4CB9-939E-8EF40962C285@netconsonance.com> Message-ID: > I already have that patch. I was just trying to be certain that some > functionality didn't get added to 3.8 which would provided similar > functions. Your question didn't convey that. The link indicates that Mark's implementation is not a patch, but an extension *for 3.8* -- Cambridge Energy Alliance: Save money. Save the planet. From jesse at bestpractical.com Tue Feb 10 16:16:56 2009 From: jesse at bestpractical.com (Jesse Vincent) Date: Tue, 10 Feb 2009 16:16:56 -0500 Subject: [rt-users] tickets created in RT don't line-wrap? In-Reply-To: References: <349F376C-7ED3-47C9-8C96-C537C167A4EE@netconsonance.com> <4990B8C3.7010702@cryologic.com> <30F3193F-744E-4330-BDDF-14E4AD9DDCC9@netconsonance.com> <20090210201840.GD83147@72-61-71-73.pools.spcsdns.net> Message-ID: <20090210211656.GB78216@17h.local> > I understand that, but I don't understand "no wrap at all". The ticket I > created has a few lines with 3000+ characters. That's *never* useful. It sure can be. My mail clients all autowrap long lines. As a _personal_ preference, I generally find myself happier having my client rewrap incoming mail than accepting someone else's default. > In theory, the input should be soft wrap, and the client should wrap > text at whatever is appropriate for the viewer, yah? That's what soft wrapping is. "Wrap on display, not in the actual text" > > -- > Jo Rhett > Net Consonance : consonant endings by net philanthropy, open source and > other randomness > > -- From jesse at bestpractical.com Tue Feb 10 16:17:41 2009 From: jesse at bestpractical.com (Jesse Vincent) Date: Tue, 10 Feb 2009 16:17:41 -0500 Subject: [rt-users] clone ticket? In-Reply-To: References: <69E691AE-8AC4-4E60-B3FD-2DCDFB7A471A@netconsonance.com> Message-ID: <20090210211741.GC78216@17h.local> On Tue 10.Feb'09 at 15:57:56 -0500, Jerrad Pierce wrote: > On Tue, Feb 10, 2009 at 15:29, Jo Rhett wrote: > > The mail archives show Jesse consistently referring to CloneTicket... > > but I can't find this in RT, nor in the Wiki, nor in Google. Did > > this feature just not happen? > Not yet, again, see extension version of Dirk's patch by Mark Roedel: > > http://www.gossamer-threads.com/lists/rt/users/80499#80499 Clone ticket is what became the "create" buttons next to the various relationships on the ticket display page. > _______________________________________________ > 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 > -- -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 194 bytes Desc: not available URL: From javoskam at uwaterloo.ca Tue Feb 10 16:08:34 2009 From: javoskam at uwaterloo.ca (Jeff Voskamp) Date: Tue, 10 Feb 2009 16:08:34 -0500 Subject: [rt-users] where oh where is the Preferences link? In-Reply-To: <42930B1F-8BBC-408C-8B36-D4B4674D3923@netconsonance.com> References: <20090206182925.GI4075@bestpractical.com> <42930B1F-8BBC-408C-8B36-D4B4674D3923@netconsonance.com> Message-ID: <4991ECD2.9@uwaterloo.ca> Jo Rhett wrote: > On Feb 6, 2009, at 10:29 AM, Jesse Vincent wrote: > >> Preferences -> Settings -> Email Delivery >> > > > Okay, color me stupid but I can't figure out why nobody but superusers > can see Preferences. > > Searching on the wiki has no links, and there are no rights which > clearly specify who can see the Preferences link. > > You need to have "ModifySelf" permissions to see the Preferences tab. Jeff From jrhett at netconsonance.com Tue Feb 10 16:20:07 2009 From: jrhett at netconsonance.com (Jo Rhett) Date: Tue, 10 Feb 2009 13:20:07 -0800 Subject: [rt-users] tickets created in RT don't line-wrap? In-Reply-To: <20090210211656.GB78216@17h.local> References: <349F376C-7ED3-47C9-8C96-C537C167A4EE@netconsonance.com> <4990B8C3.7010702@cryologic.com> <30F3193F-744E-4330-BDDF-14E4AD9DDCC9@netconsonance.com> <20090210201840.GD83147@72-61-71-73.pools.spcsdns.net> <20090210211656.GB78216@17h.local> Message-ID: On Feb 10, 2009, at 1:16 PM, Jesse Vincent wrote: > It sure can be. My mail clients all autowrap long lines. As a > _personal_ preference, I generally find myself happier having my > client > rewrap incoming mail than accepting someone else's default. This bug report was about the web interface. >> In theory, the input should be soft wrap, and the client should wrap >> text at whatever is appropriate for the viewer, yah? > > That's what soft wrapping is. "Wrap on display, not in the actual > text" And back to my original report. When I create a ticket inside the RT web interface, the paragraphs of text DO NOT WRAP when I view them inside the very same RT web interface. -- Jo Rhett Net Consonance : consonant endings by net philanthropy, open source and other randomness From jrhett at netconsonance.com Tue Feb 10 16:21:02 2009 From: jrhett at netconsonance.com (Jo Rhett) Date: Tue, 10 Feb 2009 13:21:02 -0800 Subject: [rt-users] clone ticket? In-Reply-To: <20090210211741.GC78216@17h.local> References: <69E691AE-8AC4-4E60-B3FD-2DCDFB7A471A@netconsonance.com> <20090210211741.GC78216@17h.local> Message-ID: <3B18B497-DF50-41CC-95CC-5EDEC0E8FFC3@netconsonance.com> On Feb 10, 2009, at 1:17 PM, Jesse Vincent wrote: > Clone ticket is what became the "create" buttons next to the various > relationships on the ticket display page. Ah, that makes sense. Thanks for the history. -- Jo Rhett Net Consonance : consonant endings by net philanthropy, open source and other randomness From jrhett at netconsonance.com Tue Feb 10 16:21:41 2009 From: jrhett at netconsonance.com (Jo Rhett) Date: Tue, 10 Feb 2009 13:21:41 -0800 Subject: [rt-users] clone ticket? In-Reply-To: References: <69E691AE-8AC4-4E60-B3FD-2DCDFB7A471A@netconsonance.com> <1B54F9F9-CF22-4CB9-939E-8EF40962C285@netconsonance.com> Message-ID: <2414AAB6-D9F0-4DE7-8DB8-B1B9FD6E1BB8@netconsonance.com> On Feb 10, 2009, at 1:16 PM, Jerrad Pierce wrote: > The link indicates that Mark's implementation is not a patch, > but an extension *for 3.8* I know. In the time that this thread has gone on, I have already built and installed and tested that extension ;-) -- Jo Rhett Net Consonance : consonant endings by net philanthropy, open source and other randomness From jesse at bestpractical.com Tue Feb 10 16:43:03 2009 From: jesse at bestpractical.com (Jesse Vincent) Date: Tue, 10 Feb 2009 16:43:03 -0500 Subject: [rt-users] tickets created in RT don't line-wrap? In-Reply-To: References: <349F376C-7ED3-47C9-8C96-C537C167A4EE@netconsonance.com> <4990B8C3.7010702@cryologic.com> <30F3193F-744E-4330-BDDF-14E4AD9DDCC9@netconsonance.com> <20090210201840.GD83147@72-61-71-73.pools.spcsdns.net> <20090210211656.GB78216@17h.local> Message-ID: <20090210214303.GD78216@17h.local> > > And back to my original report. When I create a ticket inside the RT > web interface, the paragraphs of text DO NOT WRAP when I view them > inside the very same RT web interface. That's very different. But with RT's "Web 2" style, I can't replicate it on Firefox (Mac), Safari (Mac), Opera (Mac) or IE6 (WINE). -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 194 bytes Desc: not available URL: From jpierce at cambridgeenergyalliance.org Tue Feb 10 16:44:50 2009 From: jpierce at cambridgeenergyalliance.org (Jerrad Pierce) Date: Tue, 10 Feb 2009 16:44:50 -0500 Subject: [rt-users] Eeek! RT is unable to connect to database In-Reply-To: References: Message-ID: Okay, I eventually got RT working again. Something really screwed up SELinux. I had to add new relaxed permissions for apache to access mysql's socket, and then restorecon -R /opt/rt3/var so RT could access its logs. -- Cambridge Energy Alliance: Save money. Save the planet. From Jim.Tambling at datatote.co.uk Tue Feb 10 17:36:31 2009 From: Jim.Tambling at datatote.co.uk (Jim Tambling) Date: Tue, 10 Feb 2009 22:36:31 -0000 Subject: [rt-users] Reminders still open after a ticket is closed Message-ID: <72D9E13A8FC8994794D448E91198AE070133FBA4@mail.sys.internal> If I set a reminder for a ticket, after the ticket is resolved the reminder is still active. Is there anyway to automate closing the reminders on resolution of the ticket? Regards -------------- next part -------------- An HTML attachment was scrubbed... URL: From MarkRoedel at letu.edu Tue Feb 10 18:03:54 2009 From: MarkRoedel at letu.edu (Roedel, Mark) Date: Tue, 10 Feb 2009 17:03:54 -0600 Subject: [rt-users] Reminders still open after a ticket is closed In-Reply-To: <72D9E13A8FC8994794D448E91198AE070133FBA4@mail.sys.internal> References: <72D9E13A8FC8994794D448E91198AE070133FBA4@mail.sys.internal> Message-ID: <0DD6BC9ABC0D2747AF8589AEA9722A4002716B35@rachael-reborn.letnet.net> Looks to me like http://wiki.bestpractical.com/view/OnQueueChangeFixReminders should get you most of the way there as a jumping-off point. Obviously, you'd change the scrip condition to "On Resolve" and you'd use a $ticket->SetStatus('resolved') call in place of the $Ticket->SetQueue($queue) in the while loop... -- Mark Roedel Senior Programmer/Analyst - Web Services LeTourneau University From: rt-users-bounces at lists.bestpractical.com [mailto:rt-users-bounces at lists.bestpractical.com] On Behalf Of Jim Tambling Sent: Tuesday, February 10, 2009 4:37 PM To: rt-users at bestpractical.com Subject: [rt-users] Reminders still open after a ticket is closed If I set a reminder for a ticket, after the ticket is resolved the reminder is still active. Is there anyway to automate closing the reminders on resolution of the ticket? Regards -------------- next part -------------- An HTML attachment was scrubbed... URL: From jrhett at netconsonance.com Tue Feb 10 19:27:11 2009 From: jrhett at netconsonance.com (Jo Rhett) Date: Tue, 10 Feb 2009 16:27:11 -0800 Subject: [rt-users] tickets created in RT don't line-wrap? In-Reply-To: <20090210214303.GD78216@17h.local> References: <349F376C-7ED3-47C9-8C96-C537C167A4EE@netconsonance.com> <4990B8C3.7010702@cryologic.com> <30F3193F-744E-4330-BDDF-14E4AD9DDCC9@netconsonance.com> <20090210201840.GD83147@72-61-71-73.pools.spcsdns.net> <20090210211656.GB78216@17h.local> <20090210214303.GD78216@17h.local> Message-ID: <7B8E0281-1B48-4B66-8668-B786D3890B93@netconsonance.com> On Feb 10, 2009, at 1:43 PM, Jesse Vincent wrote: >> And back to my original report. When I create a ticket inside the RT >> web interface, the paragraphs of text DO NOT WRAP when I view them >> inside the very same RT web interface. > > That's very different. But with RT's "Web 2" style, I can't > replicate it > on Firefox (Mac), Safari (Mac), Opera (Mac) or IE6 (WINE). I originally observed this in Camino(Mac) but replicated it on Firefox Windows. -- Jo Rhett Net Consonance : consonant endings by net philanthropy, open source and other randomness -------------- next part -------------- An HTML attachment was scrubbed... URL: From kristian.davies at gmail.com Tue Feb 10 19:01:00 2009 From: kristian.davies at gmail.com (Kristian Davies) Date: Wed, 11 Feb 2009 00:01:00 +0000 Subject: [rt-users] Time Displays In-Reply-To: <4990871D.1010006@lbl.gov> References: <4990871D.1010006@lbl.gov> Message-ID: > Thanks to Kristian Davies I have modifed my time entries to allow only > "Days". The data is stores "as is", which is perfect. If someone enters > "5", it is stored as "5". However, when I display a ticket, it still > shows "min" next to the time fields. How can I get the time Displays to > just show "Days"? Thanks. In the interest of sharing - again, not my code: local/html/Ticket/ Elements/ShowTime %# END BPS TAGGED BLOCK }}} % if ($minutes < 60) { <&|/l, $minutes &>[_1] min % } elsif ($minutes < 480) { <&|/l, sprintf("%.1f",$minutes / 60) &>[quant,_1,hour] (<&|/l, $minutes &>[_1] min) % } else { <&|/l, sprintf("%.1f",$minutes / 480) &>[quant,_1,day] (<&|/l, sprintf("%.1f",$minutes / 60) &>[quant,_1,hour]) % } <%ARGS> $minutes Kristian From daviswj at comcast.net Tue Feb 10 19:34:00 2009 From: daviswj at comcast.net (Bill Davis) Date: Tue, 10 Feb 2009 17:34:00 -0700 Subject: [rt-users] tickets created in RT don't line-wrap? In-Reply-To: <7B8E0281-1B48-4B66-8668-B786D3890B93@netconsonance.com> References: <349F376C-7ED3-47C9-8C96-C537C167A4EE@netconsonance.com> <4990B8C3.7010702@cryologic.com> <30F3193F-744E-4330-BDDF-14E4AD9DDCC9@netconsonance.com> <20090210201840.GD83147@72-61-71-73.pools.spcsdns.net> <20090210211656.GB78216@17h.local> <20090210214303.GD78216@17h.local> <7B8E0281-1B48-4B66-8668-B786D3890B93@netconsonance.com> Message-ID: <49921CF8.9050908@comcast.net> Jo Rhett wrote: > On Feb 10, 2009, at 1:43 PM, Jesse Vincent wrote: >>> And back to my original report. When I create a ticket inside the RT >>> web interface, the paragraphs of text DO NOT WRAP when I view them >>> inside the very same RT web interface. >> >> That's very different. But with RT's "Web 2" style, I can't replicate it >> on Firefox (Mac), Safari (Mac), Opera (Mac) or IE6 (WINE). > > I originally observed this in Camino(Mac) but replicated it on Firefox > Windows. > I see this occasionally with specific inbound emails. Suspect it has more to do with the format/content of that specific email than with general RT behavior. Bill Davis From jrhett at netconsonance.com Tue Feb 10 19:55:11 2009 From: jrhett at netconsonance.com (Jo Rhett) Date: Tue, 10 Feb 2009 16:55:11 -0800 Subject: [rt-users] tickets created in RT don't line-wrap? In-Reply-To: <49921CA2.3040900@comcast.net> References: <349F376C-7ED3-47C9-8C96-C537C167A4EE@netconsonance.com> <4990B8C3.7010702@cryologic.com> <30F3193F-744E-4330-BDDF-14E4AD9DDCC9@netconsonance.com> <20090210201840.GD83147@72-61-71-73.pools.spcsdns.net> <20090210211656.GB78216@17h.local> <20090210214303.GD78216@17h.local> <7B8E0281-1B48-4B66-8668-B786D3890B93@netconsonance.com> <49921CA2.3040900@comcast.net> Message-ID: <4944CF33-F96C-43C4-956E-4B1014E51990@netconsonance.com> I just replicated it on every brower for both Mac and Windows, so it's definitely a "feature" in 3.8.2. On Feb 10, 2009, at 4:32 PM, Bill Davis wrote: > Jo Rhett wrote: >> On Feb 10, 2009, at 1:43 PM, Jesse Vincent wrote: >>>> And back to my original report. When I create a ticket inside >>>> the RT web interface, the paragraphs of text DO NOT WRAP when I >>>> view them inside the very same RT web interface. >>> >>> That's very different. But with RT's "Web 2" style, I can't >>> replicate it >>> on Firefox (Mac), Safari (Mac), Opera (Mac) or IE6 (WINE). >> >> I originally observed this in Camino(Mac) but replicated it on >> Firefox Windows. >> > I see this occasionally with specific inbound emails. Suspect it > has more to do with the format/content of that specific email than > with general RT behavior. > > Bill Davis -- Jo Rhett Net Consonance : consonant endings by net philanthropy, open source and other randomness From jesse at bestpractical.com Tue Feb 10 19:58:08 2009 From: jesse at bestpractical.com (Jesse Vincent) Date: Tue, 10 Feb 2009 19:58:08 -0500 Subject: [rt-users] tickets created in RT don't line-wrap? In-Reply-To: <4944CF33-F96C-43C4-956E-4B1014E51990@netconsonance.com> References: <4990B8C3.7010702@cryologic.com> <30F3193F-744E-4330-BDDF-14E4AD9DDCC9@netconsonance.com> <20090210201840.GD83147@72-61-71-73.pools.spcsdns.net> <20090210211656.GB78216@17h.local> <20090210214303.GD78216@17h.local> <7B8E0281-1B48-4B66-8668-B786D3890B93@netconsonance.com> <49921CA2.3040900@comcast.net> <4944CF33-F96C-43C4-956E-4B1014E51990@netconsonance.com> Message-ID: <20090211005808.GB92976@72-61-71-73.pools.spcsdns.net> On Tue 10.Feb'09 at 16:55:11 -0800, Jo Rhett wrote: > I just replicated it on every brower for both Mac and Windows, so it's > definitely a "feature" in 3.8.2. Can you provide a screenshot of a whole ticket (with history) that exhibits this? From jrhett at netconsonance.com Tue Feb 10 20:00:11 2009 From: jrhett at netconsonance.com (Jo Rhett) Date: Tue, 10 Feb 2009 17:00:11 -0800 Subject: [rt-users] tickets created in RT don't line-wrap? In-Reply-To: <20090210214303.GD78216@17h.local> References: <349F376C-7ED3-47C9-8C96-C537C167A4EE@netconsonance.com> <4990B8C3.7010702@cryologic.com> <30F3193F-744E-4330-BDDF-14E4AD9DDCC9@netconsonance.com> <20090210201840.GD83147@72-61-71-73.pools.spcsdns.net> <20090210211656.GB78216@17h.local> <20090210214303.GD78216@17h.local> Message-ID: On Feb 10, 2009, at 1:43 PM, Jesse Vincent wrote: >> And back to my original report. When I create a ticket inside the RT >> web interface, the paragraphs of text DO NOT WRAP when I view them >> inside the very same RT web interface. > > That's very different. But with RT's "Web 2" style, I can't > replicate it > on Firefox (Mac), Safari (Mac), Opera (Mac) or IE6 (WINE). I just replicated it identically on Camino 2.0b1 (Max) Firefox 3.0.5 (Mac) Firefox 3.0.6 (Windows) This is using 3.8.2 on Freebsd, no extensions enabled. (I originally found it when we had no extensions, and I disabled them again for this test to be sure) To replicate: 1. Click "New Ticket In" on the top bar, or change the queue name to a different queue 2. Type something in the subject line. 3. Type a forever long paragraph in the body of the mail. 4. Click "Create" 5. View the ticket text under History and observe that the text is a single very long line with no wrapping -- Jo Rhett Net Consonance : consonant endings by net philanthropy, open source and other randomness From jesse at bestpractical.com Tue Feb 10 20:11:22 2009 From: jesse at bestpractical.com (Jesse Vincent) Date: Tue, 10 Feb 2009 20:11:22 -0500 Subject: [rt-users] tickets created in RT don't line-wrap? In-Reply-To: <019C1B73-5ED4-4267-A025-AEB9A2FEC043@netconsonance.com> References: <20090210201840.GD83147@72-61-71-73.pools.spcsdns.net> <20090210211656.GB78216@17h.local> <20090210214303.GD78216@17h.local> <7B8E0281-1B48-4B66-8668-B786D3890B93@netconsonance.com> <49921CA2.3040900@comcast.net> <4944CF33-F96C-43C4-956E-4B1014E51990@netconsonance.com> <20090211005808.GB92976@72-61-71-73.pools.spcsdns.net> <019C1B73-5ED4-4267-A025-AEB9A2FEC043@netconsonance.com> Message-ID: <20090211011122.GD92976@72-61-71-73.pools.spcsdns.net> On Tue 10.Feb'09 at 17:03:34 -0800, Jo Rhett wrote: > On Feb 10, 2009, at 4:58 PM, Jesse Vincent wrote: >> Can you provide a screenshot of a whole ticket (with history) that >> exhibits this? > > > Attached. Can you resend that after clicking 'full headers'? Also, have you customized RT's ticket display to show message content as a
?
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 194 bytes
Desc: not available
URL: 

From jesse at bestpractical.com  Tue Feb 10 20:33:12 2009
From: jesse at bestpractical.com (Jesse Vincent)
Date: Tue, 10 Feb 2009 20:33:12 -0500
Subject: [rt-users] tickets created in RT don't line-wrap?
In-Reply-To: 
References: <20090210211656.GB78216@17h.local>
	
	<20090210214303.GD78216@17h.local>
	<7B8E0281-1B48-4B66-8668-B786D3890B93@netconsonance.com>
	<49921CA2.3040900@comcast.net>
	<4944CF33-F96C-43C4-956E-4B1014E51990@netconsonance.com>
	<20090211005808.GB92976@72-61-71-73.pools.spcsdns.net>
	<019C1B73-5ED4-4267-A025-AEB9A2FEC043@netconsonance.com>
	<20090211011122.GD92976@72-61-71-73.pools.spcsdns.net>
	
Message-ID: <20090211013312.GC93786@17h.local>


Ok,

If I:

    - Turn off the HTML composer
    - Turn off hard wrapping in the plain-text composition window
    - Go into my preferences and set RT to show plain text mail in a
      monospace font (inside a 
, essentially)

Then yes, RT will not wrap the content of your message. 

I'm not really sure how much of a bug I consider that.

I'd be happy to see a css patch which improves the wrapping of plain
text mail when you've told it to use a monospace font. 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 194 bytes
Desc: not available
URL: 

From alexyoung at scoutsolutions.co.uk  Tue Feb 10 20:38:59 2009
From: alexyoung at scoutsolutions.co.uk (Alex Young)
Date: Wed, 11 Feb 2009 01:38:59 -0000
Subject: [rt-users] colorize status
In-Reply-To: <498C4A03.4198.003E.0@finleysd.org>
References: <498C4A03.4198.003E.0@finleysd.org>
Message-ID: <3CE7D8D453B27148BBCA0B2063B11E64D5F853@s-wor-e-001.SCOUTSOFFICE.local>

I've been looking at this today and I have it working, but I think the
code needs a bit of a cleanup.

Looking in the files the code that shows the info at the top of the
ticket is in /opt/rt3/share/html/Ticket/Elements/ShowUpdateStatus so I
sourced much of the code from there.

I changed your updated statusInColor code form the WIKI.

# Show status in colour.
sub statusInColor {
	my $Ticket = shift;
	my $status = $Ticket->Status;
	my $css = "status" . lc $status;
	my $cssreply = "status" . lc "reply";
	my $LastUpdater = $Ticket->LastUpdatedByObj->EmailAddress;
	my $TicketRequestors =
$Ticket->Requestors->MemberEmailAddressesAsString;
	my $TicketCC = $Ticket->Cc->MemberEmailAddressesAsString;
	my $CurrentUser = $session{'CurrentUser'}->EmailAddress;

# Added $CurentUser ne $LastUpdater to prevent showing New Reply tag
when the last updater is the current user.
	if (($CurrentUser ne $LastUpdater) && ($TicketRequestors =~
$LastUpdater) || ($TicketCC =~ $LastUpdater))
	{
		my $txn = $Ticket->SeenUpTo or return \"
$status
"; # my $TicketLink = RT->Config->Get('WebPath') ."/Ticket/Display.html?id=". $Ticket->id. "#txn-".$txn->id; # Comment out the line above and uncomment the following line to mark posts as seen when following link. my $TicketLink = RT->Config->Get('WebPath') ."/Ticket/Display.html?id=". $Ticket->id ."&MarkAsSeen=1". "#txn-".$txn->id; $status = "
$status New Reply
"; } else { $status = "
$status
"; } return \"$status"; } -----Original Message----- From: rt-users-bounces at lists.bestpractical.com [mailto:rt-users-bounces at lists.bestpractical.com] On Behalf Of Daniel Cook Sent: 06 February 2009 22:33 To: rt-users at lists.bestpractical.com Subject: [rt-users] colorize status So I've updated the ShowStatusInColor page on the wiki to reflect how I have implemented this in 3.8.2 The question that I have is this... When replys are colorized in my list view, the way things are setup right now, it is done based on who the last person to modify the ticket was.... I have noticed that when I open a ticket that has had a reply there is a little note at the top of the ticket that sais there are new messages. This message goes away after I have viewed the message. This is how I would like this new reply type flag setup for my list view. I would like it to drop the rep flag and the reply color after I view the new message - without necessarily making any reply or physical change to the ticket. Is this easily possible? Any advise on how to go about it? Thanks, Dan _______________________________________________ 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 From jrhett at netconsonance.com Tue Feb 10 21:08:32 2009 From: jrhett at netconsonance.com (Jo Rhett) Date: Tue, 10 Feb 2009 18:08:32 -0800 Subject: [rt-users] tickets created in RT don't line-wrap? In-Reply-To: <20090211013312.GC93786@17h.local> References: <20090210211656.GB78216@17h.local> <20090210214303.GD78216@17h.local> <7B8E0281-1B48-4B66-8668-B786D3890B93@netconsonance.com> <49921CA2.3040900@comcast.net> <4944CF33-F96C-43C4-956E-4B1014E51990@netconsonance.com> <20090211005808.GB92976@72-61-71-73.pools.spcsdns.net> <019C1B73-5ED4-4267-A025-AEB9A2FEC043@netconsonance.com> <20090211011122.GD92976@72-61-71-73.pools.spcsdns.net> <20090211013312.GC93786@17h.local> Message-ID: <2DC95C45-AA93-4E33-A247-480C4CAFB946@netconsonance.com> On Feb 10, 2009, at 5:33 PM, Jesse Vincent wrote: > If I: > - Turn off the HTML composer > - Turn off hard wrapping in the plain-text composition window > - Go into my preferences and set RT to show plain text mail in a > monospace font (inside a
, essentially)
>
> Then yes, RT will not wrap the content of your message.
>
> I'm not really sure how much of a bug I consider that.


Perhaps a documentation bug?  There actually isn't much RT  
documentation saying "these are the settings we expect to work best  
for most people"

You haven't even told me what this setting is...
>    - Go into my preferences and set RT to show plain text mail in a
>      monospace font (inside a 
, essentially)


I'd be fine to disable this if it's not what you expect/test for/etc.   
Just tell me what setting this is.

-- 
Jo Rhett
Net Consonance : consonant endings by net philanthropy, open source  
and other randomness




From jrhett at netconsonance.com  Tue Feb 10 21:16:07 2009
From: jrhett at netconsonance.com (Jo Rhett)
Date: Tue, 10 Feb 2009 18:16:07 -0800
Subject: [rt-users] tickets created in RT don't line-wrap?
In-Reply-To: <2DC95C45-AA93-4E33-A247-480C4CAFB946@netconsonance.com>
References: <20090210211656.GB78216@17h.local>
	
	<20090210214303.GD78216@17h.local>
	<7B8E0281-1B48-4B66-8668-B786D3890B93@netconsonance.com>
	<49921CA2.3040900@comcast.net>
	<4944CF33-F96C-43C4-956E-4B1014E51990@netconsonance.com>
	<20090211005808.GB92976@72-61-71-73.pools.spcsdns.net>
	<019C1B73-5ED4-4267-A025-AEB9A2FEC043@netconsonance.com>
	<20090211011122.GD92976@72-61-71-73.pools.spcsdns.net>
	
	<20090211013312.GC93786@17h.local>
	<2DC95C45-AA93-4E33-A247-480C4CAFB946@netconsonance.com>
Message-ID: <618B0984-86E5-4EF9-9FE0-1E118C121F42@netconsonance.com>

The only thing I can find in the configuration is $PlainTextPre which  
was set to 1.  I changed it to 0 and restarted apache and this has not  
changed anything.  I even created another test ticket to be certain.

On Feb 10, 2009, at 6:08 PM, Jo Rhett wrote:
> On Feb 10, 2009, at 5:33 PM, Jesse Vincent wrote:
>> If I:
>>   - Turn off the HTML composer
>>   - Turn off hard wrapping in the plain-text composition window
>>   - Go into my preferences and set RT to show plain text mail in a
>>     monospace font (inside a 
, essentially)
>>
>> Then yes, RT will not wrap the content of your message.
>>
>> I'm not really sure how much of a bug I consider that.
>
>
> Perhaps a documentation bug?  There actually isn't much RT
> documentation saying "these are the settings we expect to work best
> for most people"
>
> You haven't even told me what this setting is...
>>   - Go into my preferences and set RT to show plain text mail in a
>>     monospace font (inside a 
, essentially)
>
>
> I'd be fine to disable this if it's not what you expect/test for/etc.
> Just tell me what setting this is.
>
> -- 
> Jo Rhett
> Net Consonance : consonant endings by net philanthropy, open source
> and other randomness
>
>
> _______________________________________________
> 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

-- 
Jo Rhett
Net Consonance : consonant endings by net philanthropy, open source  
and other randomness




From jrhett at netconsonance.com  Tue Feb 10 21:31:53 2009
From: jrhett at netconsonance.com (Jo Rhett)
Date: Tue, 10 Feb 2009 18:31:53 -0800
Subject: [rt-users] tickets created in RT don't line-wrap?
In-Reply-To: <618B0984-86E5-4EF9-9FE0-1E118C121F42@netconsonance.com>
References: <20090210211656.GB78216@17h.local>
	
	<20090210214303.GD78216@17h.local>
	<7B8E0281-1B48-4B66-8668-B786D3890B93@netconsonance.com>
	<49921CA2.3040900@comcast.net>
	<4944CF33-F96C-43C4-956E-4B1014E51990@netconsonance.com>
	<20090211005808.GB92976@72-61-71-73.pools.spcsdns.net>
	<019C1B73-5ED4-4267-A025-AEB9A2FEC043@netconsonance.com>
	<20090211011122.GD92976@72-61-71-73.pools.spcsdns.net>
	
	<20090211013312.GC93786@17h.local>
	<2DC95C45-AA93-4E33-A247-480C4CAFB946@netconsonance.com>
	<618B0984-86E5-4EF9-9FE0-1E118C121F42@netconsonance.com>
Message-ID: <3E45A6CC-9AAB-431F-A952-F9681C880EB2@netconsonance.com>

FWIW, this setting is now 0 and there are still 
 tags in the  
output.

Go into my preferences and $ grep TextPre /usr/local/etc/rt38/* /usr/local/etc/rt38/RT_Config.pm:=item C<$PlainTextPre> /usr/local/etc/rt38/RT_Config.pm:to be displayed correctly. By setting $PlainTextPre they'll be /usr/local/etc/rt38/RT_Config.pm:Set($PlainTextPre, 0); /usr/local/etc/rt38/RT_SiteConfig.pm:Set( $PlainTextPre, 0 ); Apache has been fully stopped and started and this behavior continues. On Feb 10, 2009, at 6:16 PM, Jo Rhett wrote: > The only thing I can find in the configuration is $PlainTextPre which > was set to 1. I changed it to 0 and restarted apache and this has not > changed anything. I even created another test ticket to be certain. > > On Feb 10, 2009, at 6:08 PM, Jo Rhett wrote: >> On Feb 10, 2009, at 5:33 PM, Jesse Vincent wrote: >>> If I: >>> - Turn off the HTML composer >>> - Turn off hard wrapping in the plain-text composition window >>> - Go into my preferences and set RT to show plain text mail in a >>> monospace font (inside a
, essentially)
>>>
>>> Then yes, RT will not wrap the content of your message.
>>>
>>> I'm not really sure how much of a bug I consider that.
>>
>>
>> Perhaps a documentation bug?  There actually isn't much RT
>> documentation saying "these are the settings we expect to work best
>> for most people"
>>
>> You haven't even told me what this setting is...
>>>  - Go into my preferences and set RT to show plain text mail in a
>>>    monospace font (inside a 
, essentially)
>>
>>
>> I'd be fine to disable this if it's not what you expect/test for/etc.
>> Just tell me what setting this is.
>>
>> -- 
>> Jo Rhett
>> Net Consonance : consonant endings by net philanthropy, open source
>> and other randomness
>>
>>
>> _______________________________________________
>> 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
>
> -- 
> Jo Rhett
> Net Consonance : consonant endings by net philanthropy, open source
> and other randomness
>
>
> _______________________________________________
> 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

-- 
Jo Rhett
Net Consonance : consonant endings by net philanthropy, open source  
and other randomness




From gordon at cryologic.com  Tue Feb 10 21:48:56 2009
From: gordon at cryologic.com (gordon at cryologic.com)
Date: Wed, 11 Feb 2009 13:48:56 +1100
Subject: [rt-users] tickets created in RT don't line-wrap?
In-Reply-To: <3E45A6CC-9AAB-431F-A952-F9681C880EB2@netconsonance.com>
References: <20090210211656.GB78216@17h.local>		<20090210214303.GD78216@17h.local>	<7B8E0281-1B48-4B66-8668-B786D3890B93@netconsonance.com>	<49921CA2.3040900@comcast.net>	<4944CF33-F96C-43C4-956E-4B1014E51990@netconsonance.com>	<20090211005808.GB92976@72-61-71-73.pools.spcsdns.net>	<019C1B73-5ED4-4267-A025-AEB9A2FEC043@netconsonance.com>	<20090211011122.GD92976@72-61-71-73.pools.spcsdns.net>		<20090211013312.GC93786@17h.local>	<2DC95C45-AA93-4E33-A247-480C4CAFB946@netconsonance.com>	<618B0984-86E5-4EF9-9FE0-1E118C121F42@netconsonance.com>
	<3E45A6CC-9AAB-431F-A952-F9681C880EB2@netconsonance.com>
Message-ID: <49923C98.8070103@cryologic.com>

Perhaps deleting the mason cache before restarting apache may fix it?

Gordon


Jo Rhett wrote:
> FWIW, this setting is now 0 and there are still 
 tags in the  
> output.
> 
> 
>
Go into my preferences and > > $ grep TextPre /usr/local/etc/rt38/* > /usr/local/etc/rt38/RT_Config.pm:=item C<$PlainTextPre> > /usr/local/etc/rt38/RT_Config.pm:to be displayed correctly. By > setting $PlainTextPre they'll be > /usr/local/etc/rt38/RT_Config.pm:Set($PlainTextPre, 0); > /usr/local/etc/rt38/RT_SiteConfig.pm:Set( $PlainTextPre, 0 ); > > Apache has been fully stopped and started and this behavior continues. From stephen.a.cochran.lists at cahir.net Tue Feb 10 22:58:34 2009 From: stephen.a.cochran.lists at cahir.net (Stephen Cochran) Date: Tue, 10 Feb 2009 22:58:34 -0500 Subject: [rt-users] Ticket/Search results navigation in 3.8.x In-Reply-To: <35ccbd010902100657g4e7ec63ao3e0c07d0021351@mail.gmail.com> References: <35ccbd010902061958l6b124554k688ad7eea1cbd790@mail.gmail.com> <20090207064359.GB47499@173-114-89-74.pools.spcsdns.net> <35ccbd010902081128h7396f3f0x13b5eab591f70aa4@mail.gmail.com> <20090209195959.GB15353@17h.local> <35ccbd010902100657g4e7ec63ao3e0c07d0021351@mail.gmail.com> Message-ID: <35ccbd010902101958x18c44d11l4af85e118a2ba05e@mail.gmail.com> Think I've found part of the why, if not all of it. in Ticket/Elements/Tabs on line 64: if ( defined $session{'tickets'} ) { isn't evaluating to true. For some reason RT doesn't see us as having a session. It's possible it is related to how we have auth set up. We're using Apache's authnz_ldap to set REMOTE_USER so all of our internal apps are single-signon. But that by itself shouldn't prevent sessions. I didn't set that part up so I'll have to check into that a little further. Steve On Tue, Feb 10, 2009 at 9:57 AM, Stephen Cochran < stephen.a.cochran.lists at cahir.net> wrote: > > Well it's great to see that those are there. I'll dig in and see whats > different (hopefully soon). > > I checked the release notes for 3.8.2 (we're on 3.8.1) and didn't see > anything related to this. In case I missed it, nothing that you remember > along those lines? > > Steve > > > > On Mon, Feb 9, 2009 at 2:59 PM, Jesse Vincent wrote: > >> >> On Sun 8.Feb'09 at 14:28:28 -0500, Stephen Cochran wrote: >> > Maybe I'm missing something really obvious...I just disabled all >> local >> > mods just to be sure. >> > >> > I log in, and see RT at a Glance. I click on one of the Queue names >> in the >> > Quick Search list. Now see a page with search results >> > (/rt3/Search/Results.html). Included in menu bar across the top of >> the >> > ticket area is "Show Results" which is currently bold. >> >> I just did the exact same things on rt3.fsck.com. >> >> http://www.grabup.com/uploads/0c0d1b44d178ac8e72ce1e2e6f8d7a1c.png >> >> >> >> > >> > Click on one of the tickets, and see that ticket >> > (/rt3/Ticket/Display.html). I don't see any link for the search >> results, >> > previous, next, etc in the left sidebar menu. Screenshot of what I'm >> > seeing below. >> > >> > [1]http://www.cahir.net/images/rt_image.png >> > >> > Steve >> > >> > On Sat, Feb 7, 2009 at 1:43 AM, Jesse Vincent <[2] >> jesse at bestpractical.com> >> > wrote: >> > >> > On Fri 6.Feb'09 at 22:58:42 -0500, Stephen Cochran wrote: >> > > We recently upgraded to 3.8.1, and overall the interface is so >> much >> > > better! >> > > >> > > One comment we've received from our customer support group is >> that >> > several >> > > navigation features are no longer available. When viewing a >> queue >> > or >> > > search, there used to be the following links/controls: >> > > >> > > which took you back to the the last search or group you had. >> These >> > links >> > > seem to have disappeared from 3.8.x, and I'm wondering if >> there's a >> > > setting to bring them back or if someone has made the >> customization >> > > already. >> > > >> > >> > They sure seem to exist for me in 3.8...They're in the menu on the >> left. >> > >> > References >> > >> > Visible links >> > 1. http://www.cahir.net/images/rt_image.png >> > 2. mailto:jesse at bestpractical.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 >> >> -- >> > > -------------- next part -------------- An HTML attachment was scrubbed... URL: From stephen.a.cochran.lists at cahir.net Tue Feb 10 23:03:15 2009 From: stephen.a.cochran.lists at cahir.net (Stephen Cochran) Date: Tue, 10 Feb 2009 23:03:15 -0500 Subject: [rt-users] Ticket/Search results navigation in 3.8.x In-Reply-To: <35ccbd010902101958x18c44d11l4af85e118a2ba05e@mail.gmail.com> References: <35ccbd010902061958l6b124554k688ad7eea1cbd790@mail.gmail.com> <20090207064359.GB47499@173-114-89-74.pools.spcsdns.net> <35ccbd010902081128h7396f3f0x13b5eab591f70aa4@mail.gmail.com> <20090209195959.GB15353@17h.local> <35ccbd010902100657g4e7ec63ao3e0c07d0021351@mail.gmail.com> <35ccbd010902101958x18c44d11l4af85e118a2ba05e@mail.gmail.com> Message-ID: <35ccbd010902102003k15d933feld3ab117e44d4aa9a@mail.gmail.com> Did some quick testing, my browser does have a RT session cookie. It stays the same when I log in and the At a Glance page is displayed. Session ID stays the same when I click on a queue name. Session ID changes every time I click on a Ticket link in a search result. I haven't had to dig into how RT manages sessions, so if anyone has any hints as to why the session cookies would be reset when moving to Ticket/Display, let me know. Steve On Tue, Feb 10, 2009 at 10:58 PM, Stephen Cochran < stephen.a.cochran.lists at cahir.net> wrote: > Think I've found part of the why, if not all of it. > > in Ticket/Elements/Tabs on line 64: > > if ( defined $session{'tickets'} ) { > > isn't evaluating to true. For some reason RT doesn't see us as having a > session. > > It's possible it is related to how we have auth set up. We're using > Apache's authnz_ldap to set REMOTE_USER so all of our internal apps are > single-signon. But that by itself shouldn't prevent sessions. > > I didn't set that part up so I'll have to check into that a little further. > > > Steve > > > > > On Tue, Feb 10, 2009 at 9:57 AM, Stephen Cochran < > stephen.a.cochran.lists at cahir.net> wrote: > >> >> Well it's great to see that those are there. I'll dig in and see whats >> different (hopefully soon). >> >> I checked the release notes for 3.8.2 (we're on 3.8.1) and didn't see >> anything related to this. In case I missed it, nothing that you remember >> along those lines? >> >> Steve >> >> >> >> On Mon, Feb 9, 2009 at 2:59 PM, Jesse Vincent wrote: >> >>> >>> On Sun 8.Feb'09 at 14:28:28 -0500, Stephen Cochran wrote: >>> > Maybe I'm missing something really obvious...I just disabled all >>> local >>> > mods just to be sure. >>> > >>> > I log in, and see RT at a Glance. I click on one of the Queue names >>> in the >>> > Quick Search list. Now see a page with search results >>> > (/rt3/Search/Results.html). Included in menu bar across the top of >>> the >>> > ticket area is "Show Results" which is currently bold. >>> >>> I just did the exact same things on rt3.fsck.com. >>> >>> http://www.grabup.com/uploads/0c0d1b44d178ac8e72ce1e2e6f8d7a1c.png >>> >>> >>> >>> > >>> > Click on one of the tickets, and see that ticket >>> > (/rt3/Ticket/Display.html). I don't see any link for the search >>> results, >>> > previous, next, etc in the left sidebar menu. Screenshot of what I'm >>> > seeing below. >>> > >>> > [1]http://www.cahir.net/images/rt_image.png >>> > >>> > Steve >>> > >>> > On Sat, Feb 7, 2009 at 1:43 AM, Jesse Vincent <[2] >>> jesse at bestpractical.com> >>> > wrote: >>> > >>> > On Fri 6.Feb'09 at 22:58:42 -0500, Stephen Cochran wrote: >>> > > We recently upgraded to 3.8.1, and overall the interface is >>> so much >>> > > better! >>> > > >>> > > One comment we've received from our customer support group is >>> that >>> > several >>> > > navigation features are no longer available. When viewing a >>> queue >>> > or >>> > > search, there used to be the following links/controls: >>> > > >>> > > which took you back to the the last search or group you had. >>> These >>> > links >>> > > seem to have disappeared from 3.8.x, and I'm wondering if >>> there's a >>> > > setting to bring them back or if someone has made the >>> customization >>> > > already. >>> > > >>> > >>> > They sure seem to exist for me in 3.8...They're in the menu on the >>> left. >>> > >>> > References >>> > >>> > Visible links >>> > 1. http://www.cahir.net/images/rt_image.png >>> > 2. mailto:jesse at bestpractical.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 >>> >>> -- >>> >> >> > -------------- next part -------------- An HTML attachment was scrubbed... URL: From sits at nuix.com Tue Feb 10 22:59:41 2009 From: sits at nuix.com (David Sitsky) Date: Wed, 11 Feb 2009 14:59:41 +1100 Subject: [rt-users] ShowMessageStanza callback with 3.8.0 + html escaping on output text Message-ID: <49924D2D.40102@nuix.com> Hi, I have written a basic ShowMessageStanza callback following instructions from http://wiki.bestpractical.com/view/CustomizingWithCallbacks/2212 as follows to create links automatically when matching patterns. In this case, the pattern is 4 alphabetic characters followed by 4 digits. <%init> my $val = $$content; use bytes; $val =~ s|\b[A-Z]{4}\d{4}\b|$&<\/a>|g; $$content = $val; <%args> $content => undef The code runs as expected, however my output has been html escaped, so if I see the message body. Here is ABCD1234 as requested. This appears in the browser window as: Here is ABCD1234 as requested. Is there some trick I need to do to make this not escape my output? -- Cheers, David Nuix Pty Ltd Suite 79, 89 Jones St, Ultimo NSW 2007, Australia Ph: +61 2 9280 0699 Web: http://www.nuix.com Fax: +61 2 9212 6902 From jrhett at netconsonance.com Wed Feb 11 00:37:31 2009 From: jrhett at netconsonance.com (Jo Rhett) Date: Tue, 10 Feb 2009 21:37:31 -0800 Subject: [rt-users] tickets created in RT don't line-wrap? In-Reply-To: <49923C98.8070103@cryologic.com> References: <20090210211656.GB78216@17h.local> <20090210214303.GD78216@17h.local> <7B8E0281-1B48-4B66-8668-B786D3890B93@netconsonance.com> <49921CA2.3040900@comcast.net> <4944CF33-F96C-43C4-956E-4B1014E51990@netconsonance.com> <20090211005808.GB92976@72-61-71-73.pools.spcsdns.net> <019C1B73-5ED4-4267-A025-AEB9A2FEC043@netconsonance.com> <20090211011122.GD92976@72-61-71-73.pools.spcsdns.net> <20090211013312.GC93786@17h.local> <2DC95C45-AA93-4E33-A247-480C4CAFB946@netconsonance.com> <618B0984-86E5-4EF9-9FE0-1E118C121F42@netconsonance.com> <3E45A6CC-9AAB-431F-A952-F9681C880EB2@netconsonance.com> <49923C98.8070103@cryologic.com> Message-ID: No change. Full apache stop. rm -rf /var/run/rt38/mason_data/obj. Apache start. On Feb 10, 2009, at 6:48 PM, gordon at cryologic.com wrote: > Perhaps deleting the mason cache before restarting apache may fix it? > > Gordon > > > Jo Rhett wrote: >> FWIW, this setting is now 0 and there are still
 tags in the   
>> output.
>> 
>>
Go into my preferences and >> $ grep TextPre /usr/local/etc/rt38/* >> /usr/local/etc/rt38/RT_Config.pm:=item C<$PlainTextPre> >> /usr/local/etc/rt38/RT_Config.pm:to be displayed correctly. By >> setting $PlainTextPre they'll be >> /usr/local/etc/rt38/RT_Config.pm:Set($PlainTextPre, 0); >> /usr/local/etc/rt38/RT_SiteConfig.pm:Set( $PlainTextPre, 0 ); >> Apache has been fully stopped and started and this behavior >> continues. -- Jo Rhett Net Consonance : consonant endings by net philanthropy, open source and other randomness From ruslan.zakirov at gmail.com Wed Feb 11 00:48:56 2009 From: ruslan.zakirov at gmail.com (Ruslan Zakirov) Date: Wed, 11 Feb 2009 08:48:56 +0300 Subject: [rt-users] Ticket/Search results navigation in 3.8.x In-Reply-To: <35ccbd010902102003k15d933feld3ab117e44d4aa9a@mail.gmail.com> References: <35ccbd010902061958l6b124554k688ad7eea1cbd790@mail.gmail.com> <20090207064359.GB47499@173-114-89-74.pools.spcsdns.net> <35ccbd010902081128h7396f3f0x13b5eab591f70aa4@mail.gmail.com> <20090209195959.GB15353@17h.local> <35ccbd010902100657g4e7ec63ao3e0c07d0021351@mail.gmail.com> <35ccbd010902101958x18c44d11l4af85e118a2ba05e@mail.gmail.com> <35ccbd010902102003k15d933feld3ab117e44d4aa9a@mail.gmail.com> Message-ID: <589c94400902102148v7ab55f20u4dd9d22e24243b14@mail.gmail.com> Have you read UPGRADING.mysql? On Wed, Feb 11, 2009 at 7:03 AM, Stephen Cochran wrote: > > Did some quick testing, my browser does have a RT session cookie. It stays > the same when I log in and the At a Glance page is displayed. > > Session ID stays the same when I click on a queue name. > > Session ID changes every time I click on a Ticket link in a search result. > > I haven't had to dig into how RT manages sessions, so if anyone has any > hints as to why the session cookies would be reset when moving to > Ticket/Display, let me know. > > Steve > > > > On Tue, Feb 10, 2009 at 10:58 PM, Stephen Cochran > wrote: >> >> Think I've found part of the why, if not all of it. >> >> in Ticket/Elements/Tabs on line 64: >> >> if ( defined $session{'tickets'} ) { >> >> isn't evaluating to true. For some reason RT doesn't see us as having a >> session. >> >> It's possible it is related to how we have auth set up. We're using >> Apache's authnz_ldap to set REMOTE_USER so all of our internal apps are >> single-signon. But that by itself shouldn't prevent sessions. >> >> I didn't set that part up so I'll have to check into that a little >> further. >> >> Steve >> >> >> >> On Tue, Feb 10, 2009 at 9:57 AM, Stephen Cochran >> wrote: >>> >>> Well it's great to see that those are there. I'll dig in and see whats >>> different (hopefully soon). >>> >>> I checked the release notes for 3.8.2 (we're on 3.8.1) and didn't see >>> anything related to this. In case I missed it, nothing that you remember >>> along those lines? >>> >>> Steve >>> >>> >>> On Mon, Feb 9, 2009 at 2:59 PM, Jesse Vincent >>> wrote: >>>> >>>> On Sun 8.Feb'09 at 14:28:28 -0500, Stephen Cochran wrote: >>>> > Maybe I'm missing something really obvious...I just disabled all >>>> > local >>>> > mods just to be sure. >>>> > >>>> > I log in, and see RT at a Glance. I click on one of the Queue names >>>> > in the >>>> > Quick Search list. Now see a page with search results >>>> > (/rt3/Search/Results.html). Included in menu bar across the top of >>>> > the >>>> > ticket area is "Show Results" which is currently bold. >>>> >>>> I just did the exact same things on rt3.fsck.com. >>>> >>>> http://www.grabup.com/uploads/0c0d1b44d178ac8e72ce1e2e6f8d7a1c.png >>>> >>>> >>>> >>>> > >>>> > Click on one of the tickets, and see that ticket >>>> > (/rt3/Ticket/Display.html). I don't see any link for the search >>>> > results, >>>> > previous, next, etc in the left sidebar menu. Screenshot of what >>>> > I'm >>>> > seeing below. >>>> > >>>> > [1]http://www.cahir.net/images/rt_image.png >>>> > >>>> > Steve >>>> > >>>> > On Sat, Feb 7, 2009 at 1:43 AM, Jesse Vincent >>>> > <[2]jesse at bestpractical.com> >>>> > wrote: >>>> > >>>> > On Fri 6.Feb'09 at 22:58:42 -0500, Stephen Cochran wrote: >>>> > > We recently upgraded to 3.8.1, and overall the interface is >>>> > so much >>>> > > better! >>>> > > >>>> > > One comment we've received from our customer support group >>>> > is that >>>> > several >>>> > > navigation features are no longer available. When viewing a >>>> > queue >>>> > or >>>> > > search, there used to be the following links/controls: >>>> > > >>>> > > which took you back to the the last search or group you had. >>>> > These >>>> > links >>>> > > seem to have disappeared from 3.8.x, and I'm wondering if >>>> > there's a >>>> > > setting to bring them back or if someone has made the >>>> > customization >>>> > > already. >>>> > > >>>> > >>>> > They sure seem to exist for me in 3.8...They're in the menu on >>>> > the left. >>>> > >>>> > References >>>> > >>>> > Visible links >>>> > 1. http://www.cahir.net/images/rt_image.png >>>> > 2. mailto:jesse at bestpractical.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 >>>> >>>> -- >>> >> > > > _______________________________________________ > 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 > -- Best regards, Ruslan. From sits at nuix.com Wed Feb 11 00:58:14 2009 From: sits at nuix.com (David Sitsky) Date: Wed, 11 Feb 2009 16:58:14 +1100 Subject: [rt-users] ShowMessageStanza callback with 3.8.0 + html escaping on output text In-Reply-To: <49924D2D.40102@nuix.com> References: <49924D2D.40102@nuix.com> Message-ID: <499268F6.1040806@nuix.com> Ok - perhaps the wiki is out of date. I've managed to do this using a Custom MakeClicky action as specified here: http://www.l2c2.co.in/rt-3.8.0/docs/extending_clickable_links.pod. Guess the wiki should be updated.. David Sitsky wrote: > Hi, > > I have written a basic ShowMessageStanza callback following instructions > from http://wiki.bestpractical.com/view/CustomizingWithCallbacks/2212 as > follows to create links automatically when matching patterns. In this > case, the pattern is 4 alphabetic characters followed by 4 digits. > > <%init> > my $val = $$content; > use bytes; > $val =~ s|\b[A-Z]{4}\d{4}\b|$&<\/a>|g; > $$content = $val; > > <%args> > $content => undef > > > The code runs as expected, however my output has been html escaped, so > if I see the message body. > > Here is ABCD1234 as requested. > > This appears in the browser window as: > > Here is ABCD1234 as > requested. > > Is there some trick I need to do to make this not escape my output? > -- Cheers, David Nuix Pty Ltd Suite 79, 89 Jones St, Ultimo NSW 2007, Australia Ph: +61 2 9280 0699 Web: http://www.nuix.com Fax: +61 2 9212 6902 From tariq.doukkali at autoform.de Wed Feb 11 01:45:08 2009 From: tariq.doukkali at autoform.de (Tariq Doukkali) Date: Wed, 11 Feb 2009 07:45:08 +0100 Subject: [rt-users] change Queue order !!! In-Reply-To: References: <192B76E92530564BAAB9DD78BAE565B740FE1E1225@chexchange.autoform.com> Message-ID: <192B76E92530564BAAB9DD78BAE565B740FE1E12D2@chexchange.autoform.com> Hello, I mean the queue order inside the quicksearch. Thanks Von: Torsten Brumm [mailto:torsten.brumm at googlemail.com] Gesendet: Dienstag, 10. Februar 2009 20:32 An: Tariq Doukkali Cc: rt-users at lists.bestpractical.com Betreff: Re: [rt-users] change Queue order !!! What do you mean? The queue order inside the quicksearch? This is in alphabetical order or do you mean inside a queue, the order of tickets? For this have a look for global setting inside RT_SiteConfig.pm or under user prefs for user based. Torsten 2009/2/10 Tariq Doukkali > Hello all, how can I change the order of my Queues ??? Many Thanks _______________________________________________ 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 -- MFG Torsten Brumm http://www.torsten-brumm.de -------------- next part -------------- An HTML attachment was scrubbed... URL: From george.beitis at googlemail.com Wed Feb 11 02:13:13 2009 From: george.beitis at googlemail.com (George Beitis) Date: Wed, 11 Feb 2009 09:13:13 +0200 Subject: [rt-users] Help with callbacks Message-ID: <9be19c1c0902102313l7a3e4751h570db001f07ac461@mail.gmail.com> Hey guys! i need some help with callbacks, i am not sure how i can access a variable from the main script making the call to the callback, if i am in the callback code. Do i pass arguments to the callback code some how? I would apriciate any help! Thanks! George -------------- next part -------------- An HTML attachment was scrubbed... URL: From alberto.villanueva at altran.es Wed Feb 11 03:53:23 2009 From: alberto.villanueva at altran.es (Alberto Villanueva) Date: Wed, 11 Feb 2009 09:53:23 +0100 Subject: [rt-users] colorize status In-Reply-To: <3CE7D8D453B27148BBCA0B2063B11E64D5F853@s-wor-e-001.SCOUTSOFFICE.local> References: <498C4A03.4198.003E.0@finleysd.org> <3CE7D8D453B27148BBCA0B2063B11E64D5F853@s-wor-e-001.SCOUTSOFFICE.local> Message-ID: ?Have you tried to colorize using HTML code? :S :S Regards, ALBERTO VILLANUEVA VAL Consultor ____________________________________________ Altran ParqueEmpresarial Las Mercedes, Edificio 1 C/ Campezo, 1. 28022 Madrid Tel : + 34 91 744 46 00 Fax: + 34 91 415 24 57 www.altran.es -----Mensaje original----- De: rt-users-bounces at lists.bestpractical.com [mailto:rt-users-bounces at lists.bestpractical.com] En nombre de Alex Young Enviado el: mi?rcoles, 11 de febrero de 2009 2:39 Para: Daniel Cook; rt-users at lists.bestpractical.com Asunto: Re: [rt-users] colorize status I've been looking at this today and I have it working, but I think the code needs a bit of a cleanup. Looking in the files the code that shows the info at the top of the ticket is in /opt/rt3/share/html/Ticket/Elements/ShowUpdateStatus so I sourced much of the code from there. I changed your updated statusInColor code form the WIKI. # Show status in colour. sub statusInColor { my $Ticket = shift; my $status = $Ticket->Status; my $css = "status" . lc $status; my $cssreply = "status" . lc "reply"; my $LastUpdater = $Ticket->LastUpdatedByObj->EmailAddress; my $TicketRequestors = $Ticket->Requestors->MemberEmailAddressesAsString; my $TicketCC = $Ticket->Cc->MemberEmailAddressesAsString; my $CurrentUser = $session{'CurrentUser'}->EmailAddress; # Added $CurentUser ne $LastUpdater to prevent showing New Reply tag when the last updater is the current user. if (($CurrentUser ne $LastUpdater) && ($TicketRequestors =~ $LastUpdater) || ($TicketCC =~ $LastUpdater)) { my $txn = $Ticket->SeenUpTo or return \"
$status
"; # my $TicketLink = RT->Config->Get('WebPath') ."/Ticket/Display.html?id=". $Ticket->id. "#txn-".$txn->id; # Comment out the line above and uncomment the following line to mark posts as seen when following link. my $TicketLink = RT->Config->Get('WebPath') ."/Ticket/Display.html?id=". $Ticket->id ."&MarkAsSeen=1". "#txn-".$txn->id; $status = "
$status New Reply
"; } else { $status = "
$status
"; } return \"$status"; } -----Original Message----- From: rt-users-bounces at lists.bestpractical.com [mailto:rt-users-bounces at lists.bestpractical.com] On Behalf Of Daniel Cook Sent: 06 February 2009 22:33 To: rt-users at lists.bestpractical.com Subject: [rt-users] colorize status So I've updated the ShowStatusInColor page on the wiki to reflect how I have implemented this in 3.8.2 The question that I have is this... When replys are colorized in my list view, the way things are setup right now, it is done based on who the last person to modify the ticket was.... I have noticed that when I open a ticket that has had a reply there is a little note at the top of the ticket that sais there are new messages. This message goes away after I have viewed the message. This is how I would like this new reply type flag setup for my list view. I would like it to drop the rep flag and the reply color after I view the new message - without necessarily making any reply or physical change to the ticket. Is this easily possible? Any advise on how to go about it? Thanks, Dan _______________________________________________ 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 _______________________________________________ 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 From tariq.doukkali at autoform.de Wed Feb 11 04:10:56 2009 From: tariq.doukkali at autoform.de (Tariq Doukkali) Date: Wed, 11 Feb 2009 10:10:56 +0100 Subject: [rt-users] WG: change Queue order !!! Message-ID: <192B76E92530564BAAB9DD78BAE565B740FE322D7F@chexchange.autoform.com> Hello, I want change the sorting order of RT-queues, because our external customers (unprivileged users) can see only one queue "inbox". Also Unprivileged users can create tickets only on this queue. After a supporter is notified, that a ticket is created, this supporter log on the server and move the ticket from inbox to the appropriate queue. The problem is, that when a support log on RT-system the inbox queue appear on the middle of the site. We have about 40 queues !!! Therefore I want change the sorting order of my queues so, that when a supporter log on, he will see inbox queue on the TOP of Quick-search tab. Best regards from Germany, Tariq Von: Alberto Villanueva [mailto:alberto.villanueva at altran.es] Gesendet: Mittwoch, 11. Februar 2009 09:57 An: Tariq Doukkali Betreff: RE: [rt-users] change Queue order !!! Hello Tariq, Could I ask to you why you want to do that?? Regards, ALBERTO VILLANUEVA VAL Consultor ____________________________________________ [cid:image001.jpg at 01C98C30.72A64D30] ParqueEmpresarial Las Mercedes, Edificio 1 C/ Campezo, 1. 28022 Madrid Tel : + 34 91 744 46 00 Fax: + 34 91 415 24 57 www.altran.es
De: rt-users-bounces at lists.bestpractical.com [mailto:rt-users-bounces at lists.bestpractical.com] En nombre de Tariq Doukkali Enviado el: mi?rcoles, 11 de febrero de 2009 7:45 Para: Torsten Brumm CC: rt-users at lists.bestpractical.com Asunto: Re: [rt-users] change Queue order !!! Hello, I mean the queue order inside the quicksearch. Thanks Von: Torsten Brumm [mailto:torsten.brumm at googlemail.com] Gesendet: Dienstag, 10. Februar 2009 20:32 An: Tariq Doukkali Cc: rt-users at lists.bestpractical.com Betreff: Re: [rt-users] change Queue order !!! What do you mean? The queue order inside the quicksearch? This is in alphabetical order or do you mean inside a queue, the order of tickets? For this have a look for global setting inside RT_SiteConfig.pm or under user prefs for user based. Torsten 2009/2/10 Tariq Doukkali > Hello all, how can I change the order of my Queues ??? Many Thanks _______________________________________________ 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 -- MFG Torsten Brumm http://www.torsten-brumm.de -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: image001.jpg Type: image/jpeg Size: 3874 bytes Desc: image001.jpg URL: From tariq.doukkali at autoform.de Wed Feb 11 04:30:40 2009 From: tariq.doukkali at autoform.de (Tariq Doukkali) Date: Wed, 11 Feb 2009 10:30:40 +0100 Subject: [rt-users] change Queue order !!! In-Reply-To: References: <192B76E92530564BAAB9DD78BAE565B740FE1E1225@chexchange.autoform.com> <192B76E92530564BAAB9DD78BAE565B740FE1E12D2@chexchange.autoform.com> <192B76E92530564BAAB9DD78BAE565B740FE322D7B@chexchange.autoform.com> Message-ID: <192B76E92530564BAAB9DD78BAE565B740FE322D8F@chexchange.autoform.com> Hello Alberto, many Thanks for your answer !!! The right's configurations are ok. The only problem is, that on the quick search tab the queues are sorted alphabetically. And I will define my own sorting order (not alphabetically) !!!! Chau ;-)) Von: Alberto Villanueva [mailto:alberto.villanueva at altran.es] Gesendet: Mittwoch, 11. Februar 2009 10:23 An: Tariq Doukkali Betreff: RE: [rt-users] change Queue order !!! Hello Tariq! You have to modify the "RT_Config.pm" file, or creating a new file where you generate the new combobox (or textbox,...). But I suspect the problem is about permissions. Are they right?? Because my customers (each customer, see a concrete queue) only watch their queues :) Best regards from Spain! ALBERTO VILLANUEVA VAL Consultor ____________________________________________ [cid:image001.jpg at 01C98C33.C97664D0] ParqueEmpresarial Las Mercedes, Edificio 1 C/ Campezo, 1. 28022 Madrid Tel : + 34 91 744 46 00 Fax: + 34 91 415 24 57 www.altran.es
De: Tariq Doukkali [mailto:tariq.doukkali at autoform.de] Enviado el: mi?rcoles, 11 de febrero de 2009 10:07 Para: Alberto Villanueva Asunto: AW: [rt-users] change Queue order !!! Hello, I want change the sorting order of RT-queues, because our external customers (unprivileged users) can see only one queue "inbox". Also Unprivileged users can create tickets only on this queue. After a supporter is notified, that a ticket is created, this supporter log on the server and move the ticket from inbox to the appropriate queue. The problem is, that when a support log on RT-system the inbox queue appear on the middle of the site. We have about 40 queues !!! Therefore I want change the sorting order of my queues so, that when a supporter log on, he will see inbox queue on the TOP of Quick-search tab. Best regards from Germany, Tariq Von: Alberto Villanueva [mailto:alberto.villanueva at altran.es] Gesendet: Mittwoch, 11. Februar 2009 09:57 An: Tariq Doukkali Betreff: RE: [rt-users] change Queue order !!! Hello Tariq, Could I ask to you why you want to do that?? Regards, ALBERTO VILLANUEVA VAL Consultor ____________________________________________ [cid:image001.jpg at 01C98C33.C97664D0] ParqueEmpresarial Las Mercedes, Edificio 1 C/ Campezo, 1. 28022 Madrid Tel : + 34 91 744 46 00 Fax: + 34 91 415 24 57 www.altran.es
De: rt-users-bounces at lists.bestpractical.com [mailto:rt-users-bounces at lists.bestpractical.com] En nombre de Tariq Doukkali Enviado el: mi?rcoles, 11 de febrero de 2009 7:45 Para: Torsten Brumm CC: rt-users at lists.bestpractical.com Asunto: Re: [rt-users] change Queue order !!! Hello, I mean the queue order inside the quicksearch. Thanks Von: Torsten Brumm [mailto:torsten.brumm at googlemail.com] Gesendet: Dienstag, 10. Februar 2009 20:32 An: Tariq Doukkali Cc: rt-users at lists.bestpractical.com Betreff: Re: [rt-users] change Queue order !!! What do you mean? The queue order inside the quicksearch? This is in alphabetical order or do you mean inside a queue, the order of tickets? For this have a look for global setting inside RT_SiteConfig.pm or under user prefs for user based. Torsten 2009/2/10 Tariq Doukkali > Hello all, how can I change the order of my Queues ??? Many Thanks _______________________________________________ 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 -- MFG Torsten Brumm http://www.torsten-brumm.de -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: image001.jpg Type: image/jpeg Size: 3874 bytes Desc: image001.jpg URL: From alexyoung at scoutsolutions.co.uk Wed Feb 11 05:03:56 2009 From: alexyoung at scoutsolutions.co.uk (Alex Young) Date: Wed, 11 Feb 2009 10:03:56 -0000 Subject: [rt-users] colorize status In-Reply-To: References: <498C4A03.4198.003E.0@finleysd.org><3CE7D8D453B27148BBCA0B2063B11E64D5F853@s-wor-e-001.SCOUTSOFFICE.local> Message-ID: <3CE7D8D453B27148BBCA0B2063B11E64D5F87A@s-wor-e-001.SCOUTSOFFICE.local> No, as I based the code on already existing code that did most of the job already. You're welcome to suggest how it could be improved. -----Original Message----- From: rt-users-bounces at lists.bestpractical.com [mailto:rt-users-bounces at lists.bestpractical.com] On Behalf Of Alberto Villanueva Sent: 11 February 2009 08:53 To: rt-users at lists.bestpractical.com Subject: Re: [rt-users] colorize status ?Have you tried to colorize using HTML code? :S :S Regards, ALBERTO VILLANUEVA VAL Consultor ____________________________________________ Altran ParqueEmpresarial Las Mercedes, Edificio 1 C/ Campezo, 1. 28022 Madrid Tel : + 34 91 744 46 00 Fax: + 34 91 415 24 57 www.altran.es -----Mensaje original----- De: rt-users-bounces at lists.bestpractical.com [mailto:rt-users-bounces at lists.bestpractical.com] En nombre de Alex Young Enviado el: mi?rcoles, 11 de febrero de 2009 2:39 Para: Daniel Cook; rt-users at lists.bestpractical.com Asunto: Re: [rt-users] colorize status I've been looking at this today and I have it working, but I think the code needs a bit of a cleanup. Looking in the files the code that shows the info at the top of the ticket is in /opt/rt3/share/html/Ticket/Elements/ShowUpdateStatus so I sourced much of the code from there. I changed your updated statusInColor code form the WIKI. # Show status in colour. sub statusInColor { my $Ticket = shift; my $status = $Ticket->Status; my $css = "status" . lc $status; my $cssreply = "status" . lc "reply"; my $LastUpdater = $Ticket->LastUpdatedByObj->EmailAddress; my $TicketRequestors = $Ticket->Requestors->MemberEmailAddressesAsString; my $TicketCC = $Ticket->Cc->MemberEmailAddressesAsString; my $CurrentUser = $session{'CurrentUser'}->EmailAddress; # Added $CurentUser ne $LastUpdater to prevent showing New Reply tag when the last updater is the current user. if (($CurrentUser ne $LastUpdater) && ($TicketRequestors =~ $LastUpdater) || ($TicketCC =~ $LastUpdater)) { my $txn = $Ticket->SeenUpTo or return \"
$status
"; # my $TicketLink = RT->Config->Get('WebPath') ."/Ticket/Display.html?id=". $Ticket->id. "#txn-".$txn->id; # Comment out the line above and uncomment the following line to mark posts as seen when following link. my $TicketLink = RT->Config->Get('WebPath') ."/Ticket/Display.html?id=". $Ticket->id ."&MarkAsSeen=1". "#txn-".$txn->id; $status = "
$status New Reply
"; } else { $status = "
$status
"; } return \"$status"; } -----Original Message----- From: rt-users-bounces at lists.bestpractical.com [mailto:rt-users-bounces at lists.bestpractical.com] On Behalf Of Daniel Cook Sent: 06 February 2009 22:33 To: rt-users at lists.bestpractical.com Subject: [rt-users] colorize status So I've updated the ShowStatusInColor page on the wiki to reflect how I have implemented this in 3.8.2 The question that I have is this... When replys are colorized in my list view, the way things are setup right now, it is done based on who the last person to modify the ticket was.... I have noticed that when I open a ticket that has had a reply there is a little note at the top of the ticket that sais there are new messages. This message goes away after I have viewed the message. This is how I would like this new reply type flag setup for my list view. I would like it to drop the rep flag and the reply color after I view the new message - without necessarily making any reply or physical change to the ticket. Is this easily possible? Any advise on how to go about it? Thanks, Dan _______________________________________________ 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 _______________________________________________ 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 _______________________________________________ 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 From alberto.villanueva at altran.es Wed Feb 11 05:22:24 2009 From: alberto.villanueva at altran.es (Alberto Villanueva) Date: Wed, 11 Feb 2009 11:22:24 +0100 Subject: [rt-users] colorize status In-Reply-To: <3CE7D8D453B27148BBCA0B2063B11E64D5F87A@s-wor-e-001.SCOUTSOFFICE.local> References: <498C4A03.4198.003E.0@finleysd.org><3CE7D8D453B27148BBCA0B2063B11E64D5F853@s-wor-e-001.SCOUTSOFFICE.local> <3CE7D8D453B27148BBCA0B2063B11E64D5F87A@s-wor-e-001.SCOUTSOFFICE.local> Message-ID: The code was HTML embebed :( :( :(. Get up early is bad :P When I look that code, I will try to suggest something ;) Regards, ALBERTO VILLANUEVA VAL Consultor ____________________________________________ Altran ParqueEmpresarial Las Mercedes, Edificio 1 C/ Campezo, 1. 28022 Madrid Tel : + 34 91 744 46 00 Fax: + 34 91 415 24 57 www.altran.es -----Mensaje original----- De: Alex Young [mailto:alexyoung at scoutsolutions.co.uk] Enviado el: mi?rcoles, 11 de febrero de 2009 11:04 Para: Alberto Villanueva; rt-users at lists.bestpractical.com Asunto: RE: [rt-users] colorize status No, as I based the code on already existing code that did most of the job already. You're welcome to suggest how it could be improved. -----Original Message----- From: rt-users-bounces at lists.bestpractical.com [mailto:rt-users-bounces at lists.bestpractical.com] On Behalf Of Alberto Villanueva Sent: 11 February 2009 08:53 To: rt-users at lists.bestpractical.com Subject: Re: [rt-users] colorize status ?Have you tried to colorize using HTML code? :S :S Regards, ALBERTO VILLANUEVA VAL Consultor ____________________________________________ Altran ParqueEmpresarial Las Mercedes, Edificio 1 C/ Campezo, 1. 28022 Madrid Tel : + 34 91 744 46 00 Fax: + 34 91 415 24 57 www.altran.es -----Mensaje original----- De: rt-users-bounces at lists.bestpractical.com [mailto:rt-users-bounces at lists.bestpractical.com] En nombre de Alex Young Enviado el: mi?rcoles, 11 de febrero de 2009 2:39 Para: Daniel Cook; rt-users at lists.bestpractical.com Asunto: Re: [rt-users] colorize status I've been looking at this today and I have it working, but I think the code needs a bit of a cleanup. Looking in the files the code that shows the info at the top of the ticket is in /opt/rt3/share/html/Ticket/Elements/ShowUpdateStatus so I sourced much of the code from there. I changed your updated statusInColor code form the WIKI. # Show status in colour. sub statusInColor { my $Ticket = shift; my $status = $Ticket->Status; my $css = "status" . lc $status; my $cssreply = "status" . lc "reply"; my $LastUpdater = $Ticket->LastUpdatedByObj->EmailAddress; my $TicketRequestors = $Ticket->Requestors->MemberEmailAddressesAsString; my $TicketCC = $Ticket->Cc->MemberEmailAddressesAsString; my $CurrentUser = $session{'CurrentUser'}->EmailAddress; # Added $CurentUser ne $LastUpdater to prevent showing New Reply tag when the last updater is the current user. if (($CurrentUser ne $LastUpdater) && ($TicketRequestors =~ $LastUpdater) || ($TicketCC =~ $LastUpdater)) { my $txn = $Ticket->SeenUpTo or return \"
$status
"; # my $TicketLink = RT->Config->Get('WebPath') ."/Ticket/Display.html?id=". $Ticket->id. "#txn-".$txn->id; # Comment out the line above and uncomment the following line to mark posts as seen when following link. my $TicketLink = RT->Config->Get('WebPath') ."/Ticket/Display.html?id=". $Ticket->id ."&MarkAsSeen=1". "#txn-".$txn->id; $status = "
$status New Reply
"; } else { $status = "
$status
"; } return \"$status"; } -----Original Message----- From: rt-users-bounces at lists.bestpractical.com [mailto:rt-users-bounces at lists.bestpractical.com] On Behalf Of Daniel Cook Sent: 06 February 2009 22:33 To: rt-users at lists.bestpractical.com Subject: [rt-users] colorize status So I've updated the ShowStatusInColor page on the wiki to reflect how I have implemented this in 3.8.2 The question that I have is this... When replys are colorized in my list view, the way things are setup right now, it is done based on who the last person to modify the ticket was.... I have noticed that when I open a ticket that has had a reply there is a little note at the top of the ticket that sais there are new messages. This message goes away after I have viewed the message. This is how I would like this new reply type flag setup for my list view. I would like it to drop the rep flag and the reply color after I view the new message - without necessarily making any reply or physical change to the ticket. Is this easily possible? Any advise on how to go about it? Thanks, Dan _______________________________________________ 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 _______________________________________________ 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 _______________________________________________ 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 From jalexson at jajxn.net Wed Feb 11 07:01:44 2009 From: jalexson at jajxn.net (John Alexson) Date: Wed, 11 Feb 2009 06:01:44 -0600 Subject: [rt-users] WG: change Queue order !!! In-Reply-To: <192B76E92530564BAAB9DD78BAE565B740FE322D7F@chexchange.autoform.com> References: <192B76E92530564BAAB9DD78BAE565B740FE322D7F@chexchange.autoform.com> Message-ID: <1234353704.10967.20.camel@kayden.jajxn.net> On Wed, 2009-02-11 at 10:10 +0100, Tariq Doukkali wrote: > > > > Therefore I want change the sorting order of my queues so, that when a > supporter log on, he will see inbox queue on the TOP of Quick-search > tab. > > > I wouldn't mind seeing a "Sort" field added to the configuration of queues -- similar to the one when creating values for a multi-select custom field. In the meantime, I used the cheap and easy workaround of inserting a sort code at the beginning of the queue name. So, my alpha sorted queues look like: 1-Low (1-5 are my "input" queues, with 2-Normal the default) 2-Normal 3-High 4-Urgent 5-Emergency Admin (The alpha queues are fine sorted as-is) Building Services Delivery . . . etc . . . Z-Jane (The Z-* queues are approvals -- i.e. an approval is Z-John is created when a ticket is created or moved here) Z-Mary In some ways, I like using this method a little better than having a hidden sort field since the queue name indicates it's purpose (especially the Z-* queues) without having to spell it out. JA > From ama at chalmers.se Wed Feb 11 07:14:09 2009 From: ama at chalmers.se (Anne-Marie Achrenius) Date: Wed, 11 Feb 2009 13:14:09 +0100 Subject: [rt-users] Search hangs RT In-Reply-To: References: <49917F4B.4010402@chalmers.se> <20090210134629.GS2995@it.is.rice.edu> <49919AFF.3010702@chalmers.se> Message-ID: <4992C111.7090602@chalmers.se> Hello! Sorry, no change in RT behaviour. Still keeps hanging on searches. Regards, /Anne-Marie Torsten Brumm skrev: > Hi Anne Marie, > to optimize tables use mysql> optimize table sessions; > we had the same issue in the past and turned down the session locking > time in the mysql.pm from your first mail to 1sec, > it fixes it for us. > > torsten > > btw, we also clean each night the session table, which makes rt lot > faster. > > > > 2009/2/10 Anne-Marie Achrenius > > > Kenneth Marshall skrev: > > On Tue, Feb 10, 2009 at 02:21:15PM +0100, Anne-Marie Achrenius > wrote: > > > >> Hello! > >> > >> I'm new to the list and I'm in a bit of a pickle, our RT-guru is on > >> paternity leave and we've started having problems with our > RT-installation. > >> I've tried searching the list archives for something similar, but > >> nothing fits exactly: > >> > >> The problem: Often (not every time, maybe 8 out of 10) when I > perform a > >> Search in RT, the search hangs. > >> The mysqld process is at 100 % cpu. When reading the log files, > this > >> jumps out: > >> > >> /var/lib/mysql/blaha.log: > >> > >> SELECT > GET_LOCK('Apache-Session-ed5bea237ae21873fecd13ade9cb3f63', 3600) > >> > >> and after a few minutes the web-interface returns with "500 > Internal > >> Server Error" > >> > >> I've so far tried to decrease the LOCK time in > >> /usr/lib/perl5/site_perl/5.8.5/Apache/Session/Lock/MySQL.pm > >> but that doesn't seem to help at all. > >> I've enabled logging of slow mysql queries, but so far no log > entries > >> > >> We're running RT 3.7.5 > >> mysql 14.7 > >> apache 2.0.52 > >> > >> Does anyone have any suggestions or similar problems? > >> I can't pinpoint when we started having problems, 2-3 weeks > ago, and the > >> problem seems to slowly escalate. > >> > >> /Anne-Marie > >> > >> > >> > > Maybe your session table needs to be cleaned up. Try deleting any > > sessions over a couple of days old and then optimize the table. I > > cannot help with the specific commands since we use PostgreSQL for > > our RT instance but in SQL I run a command like: > > > > DELETE FROM sessions WHERE lastupdated < '2009-1-30'; > > > > or even > > > > TRUNCATE TABLE sessions; > > > > to get them all. You may just have a bloat problem. Try a > > > > SELECT COUNT(*) FROM sessions; > > > > Hope this helps. > > > > Cheers, > > Ken > > > > Thanks for the help, unfortunately the problem doesn't seem to lie > there: > > mysql> SELECT COUNT(*) FROM sessions; > +----------+ > | COUNT(*) | > +----------+ > | 323 | > +----------+ > 1 row in set (0.00 sec) > > and deleting anything older than 30/1 left 11. Still the same problem, > search keeps hanging. > How do I optimize the table? (I used to work with Oracle db:s > around 10 > years ago, I'm pretty rusty!) > > Depressed, > > /Anne-Marie > _______________________________________________ > 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 > > > > > -- > MFG > > Torsten Brumm > > http://www.torsten-brumm.de From ama at chalmers.se Wed Feb 11 07:19:13 2009 From: ama at chalmers.se (Anne-Marie Achrenius) Date: Wed, 11 Feb 2009 13:19:13 +0100 Subject: [rt-users] Search hangs RT In-Reply-To: <20090210162823.GV2995@it.is.rice.edu> References: <49917F4B.4010402@chalmers.se> <20090210134629.GS2995@it.is.rice.edu> <49919AFF.3010702@chalmers.se> <20090210162823.GV2995@it.is.rice.edu> Message-ID: <4992C241.6020009@chalmers.se> Hello Kenneth, thanks for your help, but I already tried that. It generates a new type of problem, every click on a link logs out the user. I read a thread that seemed to indicate that this could be Web client-related, unfortunately there were no follow ups on that info. Searches still hang almost every time, those few times that a search runs correctly, clicking on one of the resulting tickets cause the same kind of hang. Regards, /Anne-Marie Kenneth Marshall skrev: > On Tue, Feb 10, 2009 at 04:19:27PM +0100, Anne-Marie Achrenius wrote: > >> Kenneth Marshall skrev: >> >>> On Tue, Feb 10, 2009 at 02:21:15PM +0100, Anne-Marie Achrenius wrote: >>> >>> >>>> Hello! >>>> >>>> I'm new to the list and I'm in a bit of a pickle, our RT-guru is on >>>> paternity leave and we've started having problems with our RT-installation. >>>> I've tried searching the list archives for something similar, but >>>> nothing fits exactly: >>>> >>>> The problem: Often (not every time, maybe 8 out of 10) when I perform a >>>> Search in RT, the search hangs. >>>> The mysqld process is at 100 % cpu. When reading the log files, this >>>> jumps out: >>>> >>>> /var/lib/mysql/blaha.log: >>>> >>>> SELECT GET_LOCK('Apache-Session-ed5bea237ae21873fecd13ade9cb3f63', 3600) >>>> >>>> and after a few minutes the web-interface returns with "500 Internal >>>> Server Error" >>>> >>>> I've so far tried to decrease the LOCK time in >>>> /usr/lib/perl5/site_perl/5.8.5/Apache/Session/Lock/MySQL.pm >>>> but that doesn't seem to help at all. >>>> I've enabled logging of slow mysql queries, but so far no log entries >>>> >>>> We're running RT 3.7.5 >>>> mysql 14.7 >>>> apache 2.0.52 >>>> >>>> Does anyone have any suggestions or similar problems? >>>> I can't pinpoint when we started having problems, 2-3 weeks ago, and the >>>> problem seems to slowly escalate. >>>> >>>> /Anne-Marie >>>> >>>> >>>> >>>> >>> Maybe your session table needs to be cleaned up. Try deleting any >>> sessions over a couple of days old and then optimize the table. I >>> cannot help with the specific commands since we use PostgreSQL for >>> our RT instance but in SQL I run a command like: >>> >>> DELETE FROM sessions WHERE lastupdated < '2009-1-30'; >>> >>> or even >>> >>> TRUNCATE TABLE sessions; >>> >>> to get them all. You may just have a bloat problem. Try a >>> >>> SELECT COUNT(*) FROM sessions; >>> >>> Hope this helps. >>> >>> Cheers, >>> Ken >>> >>> >> Thanks for the help, unfortunately the problem doesn't seem to lie there: >> >> mysql> SELECT COUNT(*) FROM sessions; >> +----------+ >> | COUNT(*) | >> +----------+ >> | 323 | >> +----------+ >> 1 row in set (0.00 sec) >> >> and deleting anything older than 30/1 left 11. Still the same problem, >> search keeps hanging. >> How do I optimize the table? (I used to work with Oracle db:s around 10 >> years ago, I'm pretty rusty!) >> >> Depressed, >> >> /Anne-Marie >> >> > > Anne-Marie, > > It is more drastic, but since your RT administrator is out, maybe you > could change to Session logging to a file and not the database. In > 3.8 the lines in RT_Config.pm are: > > =item C<$WebSessionClass> > > C<$WebSessionClass> is the class you wish to use for managing Sessions. > It defaults to use your SQL database, but if you are using MySQL 3.x and > plans to use non-ascii Queue names, uncomment and add this line to > F will prevent session corruption. > > =cut > > # Set($WebSessionClass , 'Apache::Session::File'); > > You should be able to add this line to your RT_SiteConfig.pm and then > restart RT to use the file version of session storage. That should > get you working until your admin returns. > > Good luck, > Ken > > From schenkin at gmail.com Wed Feb 11 07:23:24 2009 From: schenkin at gmail.com (Sam Chenkin) Date: Wed, 11 Feb 2009 07:23:24 -0500 Subject: [rt-users] Search hangs RT In-Reply-To: <4992C241.6020009@chalmers.se> References: <49917F4B.4010402@chalmers.se> <20090210134629.GS2995@it.is.rice.edu> <49919AFF.3010702@chalmers.se> <20090210162823.GV2995@it.is.rice.edu> <4992C241.6020009@chalmers.se> Message-ID: <2f7527a00902110423o74af5142q73b33f904d8e45dd@mail.gmail.com> That behavior (every click brings you to a new link) is a sessions issue, as RT can't find wherever your storing sessions. If it is doing this and searches are still hanging, it sounds like the issue is not related to sessions. ~Sam On Wed, Feb 11, 2009 at 7:19 AM, Anne-Marie Achrenius wrote: > Hello Kenneth, > > thanks for your help, but I already tried that. It generates a new type > of problem, every click on a link logs out the user. > I read a thread that seemed to indicate that this could be Web > client-related, unfortunately there were no follow ups on that info. > > Searches still hang almost every time, those few times that a search > runs correctly, clicking on one of the resulting tickets cause the same > kind of hang. > > Regards, > > /Anne-Marie > > Kenneth Marshall skrev: >> On Tue, Feb 10, 2009 at 04:19:27PM +0100, Anne-Marie Achrenius wrote: >> >>> Kenneth Marshall skrev: >>> >>>> On Tue, Feb 10, 2009 at 02:21:15PM +0100, Anne-Marie Achrenius wrote: >>>> >>>> >>>>> Hello! >>>>> >>>>> I'm new to the list and I'm in a bit of a pickle, our RT-guru is on >>>>> paternity leave and we've started having problems with our RT-installation. >>>>> I've tried searching the list archives for something similar, but >>>>> nothing fits exactly: >>>>> >>>>> The problem: Often (not every time, maybe 8 out of 10) when I perform a >>>>> Search in RT, the search hangs. >>>>> The mysqld process is at 100 % cpu. When reading the log files, this >>>>> jumps out: >>>>> >>>>> /var/lib/mysql/blaha.log: >>>>> >>>>> SELECT GET_LOCK('Apache-Session-ed5bea237ae21873fecd13ade9cb3f63', 3600) >>>>> >>>>> and after a few minutes the web-interface returns with "500 Internal >>>>> Server Error" >>>>> >>>>> I've so far tried to decrease the LOCK time in >>>>> /usr/lib/perl5/site_perl/5.8.5/Apache/Session/Lock/MySQL.pm >>>>> but that doesn't seem to help at all. >>>>> I've enabled logging of slow mysql queries, but so far no log entries >>>>> >>>>> We're running RT 3.7.5 >>>>> mysql 14.7 >>>>> apache 2.0.52 >>>>> >>>>> Does anyone have any suggestions or similar problems? >>>>> I can't pinpoint when we started having problems, 2-3 weeks ago, and the >>>>> problem seems to slowly escalate. >>>>> >>>>> /Anne-Marie >>>>> >>>>> >>>>> >>>>> >>>> Maybe your session table needs to be cleaned up. Try deleting any >>>> sessions over a couple of days old and then optimize the table. I >>>> cannot help with the specific commands since we use PostgreSQL for >>>> our RT instance but in SQL I run a command like: >>>> >>>> DELETE FROM sessions WHERE lastupdated < '2009-1-30'; >>>> >>>> or even >>>> >>>> TRUNCATE TABLE sessions; >>>> >>>> to get them all. You may just have a bloat problem. Try a >>>> >>>> SELECT COUNT(*) FROM sessions; >>>> >>>> Hope this helps. >>>> >>>> Cheers, >>>> Ken >>>> >>>> >>> Thanks for the help, unfortunately the problem doesn't seem to lie there: >>> >>> mysql> SELECT COUNT(*) FROM sessions; >>> +----------+ >>> | COUNT(*) | >>> +----------+ >>> | 323 | >>> +----------+ >>> 1 row in set (0.00 sec) >>> >>> and deleting anything older than 30/1 left 11. Still the same problem, >>> search keeps hanging. >>> How do I optimize the table? (I used to work with Oracle db:s around 10 >>> years ago, I'm pretty rusty!) >>> >>> Depressed, >>> >>> /Anne-Marie >>> >>> >> >> Anne-Marie, >> >> It is more drastic, but since your RT administrator is out, maybe you >> could change to Session logging to a file and not the database. In >> 3.8 the lines in RT_Config.pm are: >> >> =item C<$WebSessionClass> >> >> C<$WebSessionClass> is the class you wish to use for managing Sessions. >> It defaults to use your SQL database, but if you are using MySQL 3.x and >> plans to use non-ascii Queue names, uncomment and add this line to >> F will prevent session corruption. >> >> =cut >> >> # Set($WebSessionClass , 'Apache::Session::File'); >> >> You should be able to add this line to your RT_SiteConfig.pm and then >> restart RT to use the file version of session storage. That should >> get you working until your admin returns. >> >> Good luck, >> Ken >> >> > > _______________________________________________ > 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 > From roydepp at gmail.com Wed Feb 11 07:50:45 2009 From: roydepp at gmail.com (Roy Depp) Date: Wed, 11 Feb 2009 14:50:45 +0200 Subject: [rt-users] RT 3.8.2 Dashboard Can't find object SearchIds In-Reply-To: References: Message-ID: Greetings, I've searched for this issue on the archives and couldn't find anything related to it. RT 3.8.2 clean install. When going to Tools->Dashboards->Queries I get the following error message: Can't locate object method "SearchIds" via package "RT::Dashboard" at /opt/rt3/share/html/Dashboards/Queries.html line 95, line 47. Any ideas? Thanks, Roy. From JoopvandeWege at mococo.nl Wed Feb 11 08:12:00 2009 From: JoopvandeWege at mococo.nl (Joop) Date: Wed, 11 Feb 2009 14:12:00 +0100 Subject: [rt-users] Search hangs RT In-Reply-To: <49917F4B.4010402@chalmers.se> References: <49917F4B.4010402@chalmers.se> Message-ID: <4992CEA0.10806@mococo.nl> Anne-Marie Achrenius wrote: > We're running RT 3.7.5 > mysql 14.7 > apache 2.0.52 Any particular reason you know about that you're running a 'unsupported' version of RT? RT 3.6.7 is the latest stable RT 3.6 release and RT 3.8.2 is the latest RT 3.8 release. I have had the same problems with sessions being logged out for every click and my solution was to edit SetupSessionCookies I think, to enable transactions. See the archives for an email from Kenneth Crocker, Subject: Re: [rt-users] Clicking a link brings me back to login page Joop From ruslan.zakirov at gmail.com Wed Feb 11 08:49:04 2009 From: ruslan.zakirov at gmail.com (Ruslan Zakirov) Date: Wed, 11 Feb 2009 16:49:04 +0300 Subject: [rt-users] WG: change Queue order !!! In-Reply-To: <1234353704.10967.20.camel@kayden.jajxn.net> References: <192B76E92530564BAAB9DD78BAE565B740FE322D7F@chexchange.autoform.com> <1234353704.10967.20.camel@kayden.jajxn.net> Message-ID: <589c94400902110549m1827ba64k89ed8079d94269c1@mail.gmail.com> Just curious why you want to create Low, Normal, High and other queues when you have Priority field? Anyway, you can add special portlets and instead of one QuickSearch block you'll have three, for example: * first one with Low, Normal.... * other queues * approvals On Wed, Feb 11, 2009 at 3:01 PM, John Alexson wrote: > On Wed, 2009-02-11 at 10:10 +0100, Tariq Doukkali wrote: > >> >> >> >> Therefore I want change the sorting order of my queues so, that when a >> supporter log on, he will see inbox queue on the TOP of Quick-search >> tab. >> >> >> > > I wouldn't mind seeing a "Sort" field added to the configuration of > queues -- similar to the one when creating values for a multi-select > custom field. > > In the meantime, I used the cheap and easy workaround of inserting a > sort code at the beginning of the queue name. So, my alpha sorted > queues look like: > > 1-Low (1-5 are my "input" queues, with 2-Normal the default) > 2-Normal > 3-High > 4-Urgent > 5-Emergency > Admin (The alpha queues are fine sorted as-is) > Building Services > Delivery > . . . etc . . . > Z-Jane (The Z-* queues are approvals -- i.e. an approval is > Z-John is created when a ticket is created or moved here) > Z-Mary > > In some ways, I like using this method a little better than having a > hidden sort field since the queue name indicates it's purpose > (especially the Z-* queues) without having to spell it out. > > > JA > >> > > _______________________________________________ > 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 > -- Best regards, Ruslan. From stretchoutandwait at gmail.com Wed Feb 11 09:15:29 2009 From: stretchoutandwait at gmail.com (stretchoutandwait) Date: Wed, 11 Feb 2009 09:15:29 -0500 Subject: [rt-users] customizing the ticket form In-Reply-To: <19fa96670902101203t10bf1defycb3e0a158304577f@mail.gmail.com> References: <19fa96670902101203t10bf1defycb3e0a158304577f@mail.gmail.com> Message-ID: <6fafefb40902110615y1f3ca75h43019f1ea34dab10@mail.gmail.com> I use this as my Resolve template: Subject: Resolved: {$Ticket->Subject} According to our records, your request has been resolved. If you have any further questions or concerns, please respond to this message. Comments about the resolution of this issue: { my $resolution_comment; my $Transactions = $Ticket->Transactions; $Transactions->Limit( FIELD => 'Type', VALUE => 'Comment' ); $Transactions->OrderByCols ( { FIELD => 'Created', ORDER => 'DESC' }, { FIELD => 'id', ORDER => 'DESC' }, ); my $CommentObj = $Transactions->First; if( $CommentObj && $CommentObj->id ) { $resolution_comment = $CommentObj->Content; } $resolution_comment; } When you resolve a ticket, RT records whatever you write as a comment. This template will pull that last comment into the outgoing Resolve email. This is this or something very much like it is on the wiki, I think, I didn't write it myself. On Tue, Feb 10, 2009 at 3:03 PM, GravyFace wrote: > I'd like to be able to change the Update Type drop-down to default to > "Reply to Requestors" when the "Resolve" link is clicked instead of > "Comments (Not sent to requestors)". > > What's the best way to achieve this? If I need to modify/extend the > source, I don't mind doing so, just don't want to go about it the > wrong way and/or reinvent the wheel. > > Thanks > _______________________________________________ > 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 > From falcone at bestpractical.com Wed Feb 11 09:51:00 2009 From: falcone at bestpractical.com (Kevin Falcone) Date: Wed, 11 Feb 2009 09:51:00 -0500 Subject: [rt-users] RT 3.8.2 Dashboard Can't find object SearchIds In-Reply-To: References: Message-ID: On Feb 11, 2009, at 7:50 AM, Roy Depp wrote: > Greetings, > > I've searched for this issue on the archives and couldn't find > anything related to it. > > RT 3.8.2 clean install. > When going to Tools->Dashboards->Queries I get the following error > message: > > Can't locate object method "SearchIds" via package "RT::Dashboard" at > /opt/rt3/share/html/Dashboards/Queries.html line 95, line 47. How clean is this install? The error you quote would happen if you were running templates from 3.8.1 against code form 3.8.2 I suggest clearing your mason cache to ensure you're running the 3.8.2 templates -kevin From jalexson at jajxn.net Wed Feb 11 09:49:09 2009 From: jalexson at jajxn.net (J Alexson) Date: Wed, 11 Feb 2009 08:49:09 -0600 Subject: [rt-users] WG: change Queue order !!! In-Reply-To: <589c94400902110549m1827ba64k89ed8079d94269c1@mail.gmail.com> References: <192B76E92530564BAAB9DD78BAE565B740FE322D7F@chexchange.autoform.com> <1234353704.10967.20.camel@kayden.jajxn.net> <589c94400902110549m1827ba64k89ed8079d94269c1@mail.gmail.com> Message-ID: <1234363749.2965.7.camel@sweetrose.janet.local> On Wed, 2009-02-11 at 16:49 +0300, Ruslan Zakirov wrote: > Just curious why you want to create Low, Normal, High and other queues > when you have Priority field? > Good question! The main reason is to keep things as simple as possible for the user. Each of the queues has appropriate defaults (such as priority, due in # days, etc.) Rather than trying to instruct my users (primarily requestors) to fill in these values correctly (and honestly, getting them filled in at all), I can simply have them create a ticket in the right queue based on the nature of their problem. > Anyway, you can add special portlets and instead of one QuickSearch > block you'll have three, for example: > * first one with Low, Normal.... > * other queues > * approvals > That would be great for the Quick Search, but the sorting order also comes into play using the drop-downs (moving a ticket to a different queue, for instance) > On Wed, Feb 11, 2009 at 3:01 PM, John Alexson wrote: > > On Wed, 2009-02-11 at 10:10 +0100, Tariq Doukkali wrote: > > > >> > >> > >> > >> Therefore I want change the sorting order of my queues so, that when a > >> supporter log on, he will see inbox queue on the TOP of Quick-search > >> tab. > >> > >> > >> > > > > I wouldn't mind seeing a "Sort" field added to the configuration of > > queues -- similar to the one when creating values for a multi-select > > custom field. > > > > In the meantime, I used the cheap and easy workaround of inserting a > > sort code at the beginning of the queue name. So, my alpha sorted > > queues look like: > > > > 1-Low (1-5 are my "input" queues, with 2-Normal the default) > > 2-Normal > > 3-High > > 4-Urgent > > 5-Emergency > > Admin (The alpha queues are fine sorted as-is) > > Building Services > > Delivery > > . . . etc . . . > > Z-Jane (The Z-* queues are approvals -- i.e. an approval is > > Z-John is created when a ticket is created or moved here) > > Z-Mary > > > > In some ways, I like using this method a little better than having a > > hidden sort field since the queue name indicates it's purpose > > (especially the Z-* queues) without having to spell it out. > > > > > > JA > > > >> > > > > _______________________________________________ > > 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 > > > > > From calvin at utilyx.com Wed Feb 11 09:58:06 2009 From: calvin at utilyx.com (Calvin Chiang) Date: Wed, 11 Feb 2009 14:58:06 +0000 Subject: [rt-users] RT3.8.2 & Ubuntu 8.04 In-Reply-To: <499164B0.7090202@stockton.co.za> References: <499164B0.7090202@stockton.co.za> Message-ID: <4992E77E.8050300@utilyx.com> what doesyour RT_siteconfig.pm file look like? Alf Stockton wrote: > I believe that I now have RT3.8.2 built/assembled on my Ubuntu 8.04 server but > now need to be able to browse to it. > I have it installed at /etc/request-tracker3.8.2/ and I attempted using the > same method of connecting as I successfully used with 3.6. In other words at > the end of my /etc/apache2/sites-enabled/000-default I added :- > include "/etc/request-tracker3.8.2/etc/apache2-modperl2.conf" which reads as > follows:- > > ServerName general.dev.sharing.org.za > > DocumentRoot /etc/request-tracker3.8.2/share/html > AddDefaultCharset UTF-8 > > # optional apache logs for RT > # ErrorLog /opt/rt3/var/log/apache2.error > # TransferLog /opt/rt3/var/log/apache2.access > > PerlRequire "/etc/request-tracker3.8.2/bin/webmux.pl" > > > SetHandler default > > > SetHandler perl-script > PerlResponseHandler RT::Mason > > > > How do I now browse to rt3.8.2? > > -- Calvin Chiang Network Admin Utilyx 1st Floor, 55 North Wharf Road Paddington London, W2 1LA Tel: 020 7087 8673 www.utilyx.com ______________________________________________________________________ "Utilyx" is the trading name of "Utilyx Limited" and "Utilyx Risk Management Limited" (URML). URML is authorised and regulated by the Financial Services Authority (FSA). This message contains information that may be privileged or confidential and is the property of Utilyx. It is intended only for the person to whom it is addressed. No confidentiality or privilege is waived or lost by any mistransmission. Any views or opinions expressed in this message are solely those of the author and do not necessarily represent those of Utilyx. Unless otherwise stated, any pricing information given in this message is indicative only and does not constitute an offer to deal at any price quoted. If you are not the intended recipient, you are not authorized to read, print, retain, copy, disseminate, distribute or use this message or any part thereof. If you receive this message in error, please notify the sender immediately and delete all copies of this message. ______________________________________________________________________ This email has been scanned by the MessageLabs Email Security System. For more information please visit http://www.messagelabs.com/email ______________________________________________________________________ From calvin at utilyx.com Wed Feb 11 09:58:45 2009 From: calvin at utilyx.com (Calvin Chiang) Date: Wed, 11 Feb 2009 14:58:45 +0000 Subject: [rt-users] [Fwd: Re: Hardware Config] Message-ID: <4992E7A5.20603@utilyx.com> Hi there, i've been running RT 3.8.1 in an ubuntu8.04 vm on vmware esxi (free) for just over two weeks. the VM is super weedy - 32bit, 256MB RAM, vdisk size 2GB , havent put any settings on processor limits yet. It's running on local storage on a really on Dell blade. It's my IT support RT system, so at present i'm the only one who uses it. it gets about 10 new tickets a day, and 50ish transactions a day. it handles everything pretty well for such a slow machine... Cassandra L. Brockett wrote: > I run it that way in production here, I also happen to have a copy of the machine that I use for testing major changes, etc... > > I did not that 3.4 and 3.6 where horribly slow for us, but it turned out to be a fault of the way that those revisions used the PostgreSQL backend, not RT or the system, 3.8.2 is screaming along for us. > > -- > Cass > > > -----Original Message----- > From: rt-users-bounces at lists.bestpractical.com [mailto:rt-users-bounces at lists.bestpractical.com] On Behalf Of Tim Cutts > Sent: Monday, February 09, 2009 1:56 PM > To: RT Users > Subject: Re: [rt-users] Hardware Config > > I've been following this discussion (rather belatedly) with some interest. One thing I haven't heard anyone discuss yet: > > Has anyone tried running RT in a virtual machine? I'm about to move our RT 3.4.2 server onto a virtual machine. I've configured the RT VM to be actually really quite weedy (32-bit and only 2 GB RAM), and perhaps I need to change that, but I figure that VMware ESX probably does quite a good job of caching the disk its using anyway. The actual physical hardware is a quad socket quad core machine with 64 GB of RAM. The underlying storage is StorageWorks EVA on a SAN, so it should be pretty quick. > > Has anyone tried this sort of thing? Am I about to burn myself badly? Our turnover of tickets is pretty low - only a few hundred tickets a week. > > Tim > > > -- > The Wellcome Trust Sanger Institute is operated by Genome Research Limited, a charity registered in England with number 1021457 and a company registered in England with number 2742969, whose registered office is 215 Euston Road, London, NW1 2BE. > _______________________________________________ > 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 > > ---------------------------------- > Barracuda Networks makes the best spam firewalls and web filters. www.barracudanetworks.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 > > ______________________________________________________________________ > This email has been scanned by the MessageLabs Email Security System. > For more information please visit http://www.messagelabs.com/email > ______________________________________________________________________ > -- Calvin Chiang Network Admin Utilyx 1st Floor, 55 North Wharf Road Paddington London, W2 1LA Tel: 020 7087 8673 www.utilyx.com -- Calvin Chiang Network Admin Utilyx 1st Floor, 55 North Wharf Road Paddington London, W2 1LA Tel: 020 7087 8673 www.utilyx.com ______________________________________________________________________ "Utilyx" is the trading name of "Utilyx Limited" and "Utilyx Risk Management Limited" (URML). URML is authorised and regulated by the Financial Services Authority (FSA). This message contains information that may be privileged or confidential and is the property of Utilyx. It is intended only for the person to whom it is addressed. No confidentiality or privilege is waived or lost by any mistransmission. Any views or opinions expressed in this message are solely those of the author and do not necessarily represent those of Utilyx. Unless otherwise stated, any pricing information given in this message is indicative only and does not constitute an offer to deal at any price quoted. If you are not the intended recipient, you are not authorized to read, print, retain, copy, disseminate, distribute or use this message or any part thereof. If you receive this message in error, please notify the sender immediately and delete all copies of this message. ______________________________________________________________________ This email has been scanned by the MessageLabs Email Security System. For more information please visit http://www.messagelabs.com/email ______________________________________________________________________ From roydepp at gmail.com Wed Feb 11 10:24:32 2009 From: roydepp at gmail.com (Roy Depp) Date: Wed, 11 Feb 2009 17:24:32 +0200 Subject: [rt-users] RT 3.8.2 Dashboard Can't find object SearchIds In-Reply-To: References: Message-ID: Hi Kevin, Thanks for the reply. Was using an alias to restart RT including cleaning the Mason cache. The alias rm command was pointing to the wrong directory, so cache was never cleared. Thanks again. This issue is now solved. Regards, On Wed, Feb 11, 2009 at 4:51 PM, Kevin Falcone wrote: > > On Feb 11, 2009, at 7:50 AM, Roy Depp wrote: > >> Greetings, >> >> I've searched for this issue on the archives and couldn't find >> anything related to it. >> >> RT 3.8.2 clean install. >> When going to Tools->Dashboards->Queries I get the following error >> message: >> >> Can't locate object method "SearchIds" via package "RT::Dashboard" at >> /opt/rt3/share/html/Dashboards/Queries.html line 95, line 47. > > How clean is this install? The error you quote would happen if you > were running templates from 3.8.1 against code form 3.8.2 > I suggest clearing your mason cache to ensure you're running > the 3.8.2 templates > > -kevin > _______________________________________________ > 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 > From jesse at bestpractical.com Wed Feb 11 12:16:23 2009 From: jesse at bestpractical.com (Jesse Vincent) Date: Wed, 11 Feb 2009 12:16:23 -0500 Subject: [rt-users] tickets created in RT don't line-wrap? In-Reply-To: <2DC95C45-AA93-4E33-A247-480C4CAFB946@netconsonance.com> References: <20090210214303.GD78216@17h.local> <7B8E0281-1B48-4B66-8668-B786D3890B93@netconsonance.com> <49921CA2.3040900@comcast.net> <4944CF33-F96C-43C4-956E-4B1014E51990@netconsonance.com> <20090211005808.GB92976@72-61-71-73.pools.spcsdns.net> <019C1B73-5ED4-4267-A025-AEB9A2FEC043@netconsonance.com> <20090211011122.GD92976@72-61-71-73.pools.spcsdns.net> <20090211013312.GC93786@17h.local> <2DC95C45-AA93-4E33-A247-480C4CAFB946@netconsonance.com> Message-ID: <20090211171623.GG93786@17h.local> On Tue 10.Feb'09 at 18:08:32 -0800, Jo Rhett wrote: > > On Feb 10, 2009, at 5:33 PM, Jesse Vincent wrote: >> If I: >> - Turn off the HTML composer >> - Turn off hard wrapping in the plain-text composition window >> - Go into my preferences and set RT to show plain text mail in a >> monospace font (inside a
, essentially)
>>
>> Then yes, RT will not wrap the content of your message.
>>
>> I'm not really sure how much of a bug I consider that.
>
>
> Perhaps a documentation bug?  There actually isn't much RT documentation 
> saying "these are the settings we expect to work best for most people"
>
> You haven't even told me what this setting is...
>>    - Go into my preferences and set RT to show plain text mail in a
>>      monospace font (inside a 
, essentially)
>

Click "Preferences"
Scroll down to the "Ticket Display" section.

You're looking for "Use Monospace Font"

http://www.grabup.com/uploads/ea9bbd8f14b00d950ce86cd25a080989.png

It has the help text: "Use fixed-width font to display plaintext messages"

>
> I'd be fine to disable this if it's not what you expect/test for/etc.   
> Just tell me what setting this is.
>
> -- 
> Jo Rhett
> Net Consonance : consonant endings by net philanthropy, open source and 
> other randomness
>
>

-- 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 194 bytes
Desc: not available
URL: 

From jrhett at netconsonance.com  Wed Feb 11 12:44:24 2009
From: jrhett at netconsonance.com (Jo Rhett)
Date: Wed, 11 Feb 2009 09:44:24 -0800
Subject: [rt-users] tickets created in RT don't line-wrap?
In-Reply-To: <20090211171623.GG93786@17h.local>
References: <20090210214303.GD78216@17h.local>
	<7B8E0281-1B48-4B66-8668-B786D3890B93@netconsonance.com>
	<49921CA2.3040900@comcast.net>
	<4944CF33-F96C-43C4-956E-4B1014E51990@netconsonance.com>
	<20090211005808.GB92976@72-61-71-73.pools.spcsdns.net>
	<019C1B73-5ED4-4267-A025-AEB9A2FEC043@netconsonance.com>
	<20090211011122.GD92976@72-61-71-73.pools.spcsdns.net>
	
	<20090211013312.GC93786@17h.local>
	<2DC95C45-AA93-4E33-A247-480C4CAFB946@netconsonance.com>
	<20090211171623.GG93786@17h.local>
Message-ID: <59C5AAFA-F3D2-4635-B92F-69B4155F22E8@netconsonance.com>

On Feb 11, 2009, at 9:16 AM, Jesse Vincent wrote:
> Click "Preferences"
> Scroll down to the "Ticket Display" section.
>
> You're looking for "Use Monospace Font"
>
> http://www.grabup.com/uploads/ea9bbd8f14b00d950ce86cd25a080989.png
>
> It has the help text: "Use fixed-width font to display plaintext  
> messages"


Thanks, Jesse.   Should I assume that this is a personal version of  
PlainTextPre ?  If so, I would possibly change the either the text  
description and/or the implementation to simply use a fixed width font  
but allow word wrap.  This could be done with modern stylesheets.

-- 
Jo Rhett
Net Consonance : consonant endings by net philanthropy, open source  
and other randomness


-------------- next part --------------
An HTML attachment was scrubbed...
URL: 

From jesse at bestpractical.com  Wed Feb 11 12:47:10 2009
From: jesse at bestpractical.com (Jesse Vincent)
Date: Wed, 11 Feb 2009 12:47:10 -0500
Subject: [rt-users] tickets created in RT don't line-wrap?
In-Reply-To: <59C5AAFA-F3D2-4635-B92F-69B4155F22E8@netconsonance.com>
References: <49921CA2.3040900@comcast.net>
	<4944CF33-F96C-43C4-956E-4B1014E51990@netconsonance.com>
	<20090211005808.GB92976@72-61-71-73.pools.spcsdns.net>
	<019C1B73-5ED4-4267-A025-AEB9A2FEC043@netconsonance.com>
	<20090211011122.GD92976@72-61-71-73.pools.spcsdns.net>
	
	<20090211013312.GC93786@17h.local>
	<2DC95C45-AA93-4E33-A247-480C4CAFB946@netconsonance.com>
	<20090211171623.GG93786@17h.local>
	<59C5AAFA-F3D2-4635-B92F-69B4155F22E8@netconsonance.com>
Message-ID: <20090211174710.GJ93786@17h.local>


> 
>    Thanks, Jesse.   Should I assume that this is a personal version of
>    PlainTextPre ?  

Yes.

>    If so, I would possibly change the either the text
>    description and/or the implementation to simply use a fixed width font but
>    allow word wrap.  This could be done with modern stylesheets.


Actually, just this morning, I ran across:

white-space: pre-wrap

(That's a little different than "use a fixed width font", primarily in
how it handles email text like .)

Give that a shot. If it works well for you, I'll make the change to the
default styles.



>
>    --
> 
>    Jo Rhett
> 
>    Net Consonance : consonant endings by net philanthropy, open source and
>    other randomness
> 
> References
> 
>    Visible links
>    1. http://www.grabup.com/uploads/ea9bbd8f14b00d950ce86cd25a080989.png

-- 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 194 bytes
Desc: not available
URL: 

From rob.munsch at gmail.com  Wed Feb 11 12:53:37 2009
From: rob.munsch at gmail.com (Rob Munsch)
Date: Wed, 11 Feb 2009 12:53:37 -0500
Subject: [rt-users] Merge tix with matching CFs
Message-ID: <8fae230c0902110953n5596aa2fg4f80ec311764547e@mail.gmail.com>

Mornin',

I found a post from a ways back asking how to do this, with a
nonfunctional scrip code.  The OP wants to do what i want to do:

"What I am trying to do now, is on each ticket submission, Extract
that [Custom] field
and then check to see if there is another ticket that has that same number
in the custom field and if they match, merge the tickets."

My first question is, assuming a reasonably tuned MySQL suitable to
its (fast) hardware: how horrible would this be in an ever-growing DB?
 It must search the DB for every last ticket and compare the two CFs,
yes?

The posted code was:
---
my $TicketsObj = RT::Tickets->new($RT::SystemUser);
$TicketsObj->LimitQueue(VALUE => 'AfterHoursSupport');
$TicketsObj->LimitCustomField(CUSTOMFIELD => 'AfterHoursTicketNumber',
OPERATOR => '=', VALUE => $AHTixNum);

if ($TicketsObj->Count == 0) { return 1; }
my $id = undef;
while (my $ticket = $TicketsObj->Next) {
next if $self->TicketObj->Id == $ticket->Id;
$id = $ticket->Id;
last;
}

$id || return 1;

$RT::Logger->debug("Merging ticket " . $self->TicketObj->Id . " into $id
because of OA number match.");
$self->TicketObj->MergeInto($id);


1;
---

The OP did not specify exactly which chunks went where, but that he'd
tried various combinations of condition and prep.
My first thought was that this was incorrect; the condition is
OnCreate and no code need go in that block.  Prep should be the field
search and compare, and cleanup the ticket merge itself, yes?

(the above is the OP's exact code and doesn't reflect my own setup).

-- 
/chown -R us:us /yourbase


From jpierce at cambridgeenergyalliance.org  Wed Feb 11 12:54:35 2009
From: jpierce at cambridgeenergyalliance.org (Jerrad Pierce)
Date: Wed, 11 Feb 2009 12:54:35 -0500
Subject: [rt-users] ShowMessageStanza callback with 3.8.0 + html
	escaping on output text
In-Reply-To: <499268F6.1040806@nuix.com>
References: <49924D2D.40102@nuix.com> <499268F6.1040806@nuix.com>
Message-ID: 

>> The code runs as expected, however my output has been html escaped, so
>> if I see the message body.
RT has Mason auto-escape output. You can prevent this on a per-print basis
with something like <% $var |n%>

> Ok - perhaps the wiki is out of date.  I've managed to do this using a
> Custom MakeClicky action as specified here:
> http://www.l2c2.co.in/rt-3.8.0/docs/extending_clickable_links.pod.
>
> Guess the wiki should be updated..
IIRC MakeClicky also escapes, but 3.8.2 includes the ability to not do so

-- 
Cambridge Energy Alliance: Save money. Save the planet.


From KFCrocker at lbl.gov  Wed Feb 11 13:48:35 2009
From: KFCrocker at lbl.gov (Kenneth Crocker)
Date: Wed, 11 Feb 2009 10:48:35 -0800
Subject: [rt-users] WG: change Queue order !!!
In-Reply-To: <1234363749.2965.7.camel@sweetrose.janet.local>
References: <192B76E92530564BAAB9DD78BAE565B740FE322D7F@chexchange.autoform.com>
	<1234353704.10967.20.camel@kayden.jajxn.net>
	<589c94400902110549m1827ba64k89ed8079d94269c1@mail.gmail.com>
	<1234363749.2965.7.camel@sweetrose.janet.local>
Message-ID: <49931D83.3030800@lbl.gov>

JAlexson,


	I, too, have wondered if there was a way to modify RT to allow a User 
to select one specific Queue as the one to appear first on the 
drop-down. In our installation, a User may be able to create tickets in 
many queues, but 90% of these may be in one queue.
	Jesse, are there any plans to allow some sort of option to allow a user 
to select the order queues appear in the drop-down? Thanks.


Kenn
LBNL

On 2/11/2009 6:49 AM, J Alexson wrote:
> On Wed, 2009-02-11 at 16:49 +0300, Ruslan Zakirov wrote:
>> Just curious why you want to create Low, Normal, High and other queues
>> when you have Priority field?
>>
> 
> Good question!  The main reason is to keep things as simple as possible
> for the user.  Each of the queues has appropriate defaults (such as
> priority, due in # days, etc.)  Rather than trying to instruct my users
> (primarily requestors) to fill in these values correctly (and honestly,
> getting them filled in at all), I can simply have them create a ticket
> in the right queue based on the nature of their problem.
> 
>> Anyway, you can add special portlets and instead of one QuickSearch
>> block you'll have three, for example:
>> * first one with Low, Normal....
>> * other queues
>> * approvals
>>
> That would be great for the Quick Search, but the sorting order also
> comes into play using the drop-downs (moving a ticket to a different
> queue, for instance)
> 
>> On Wed, Feb 11, 2009 at 3:01 PM, John Alexson  wrote:
>>> On Wed, 2009-02-11 at 10:10 +0100, Tariq Doukkali wrote:
>>>
>>>>
>>>>
>>>> Therefore I want change the sorting order of my queues so, that when a
>>>> supporter log on, he will see inbox queue on the TOP of Quick-search
>>>> tab.
>>>>
>>>>
>>>>
>>> I wouldn't mind seeing a "Sort" field added to the configuration of
>>> queues -- similar to the one when creating values for a multi-select
>>> custom field.
>>>
>>> In the meantime, I used the cheap and easy workaround of inserting a
>>> sort code at the beginning of the queue name.  So, my alpha sorted
>>> queues look like:
>>>
>>> 1-Low          (1-5 are my "input" queues, with 2-Normal the default)
>>> 2-Normal
>>> 3-High
>>> 4-Urgent
>>> 5-Emergency
>>> Admin          (The alpha queues are fine sorted as-is)
>>> Building Services
>>> Delivery
>>>  . . . etc . . .
>>> Z-Jane         (The Z-* queues are approvals -- i.e. an approval is
>>> Z-John          is created when a ticket is created or moved here)
>>> Z-Mary
>>>
>>> In some ways, I like using this method a little better than having a
>>> hidden sort field since the queue name indicates it's purpose
>>> (especially the Z-* queues) without having to spell it out.
>>>
>>>
>>> JA
>>>
>>> _______________________________________________
>>> 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
>>>
>>
>>
> 
> _______________________________________________
> 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
> 



From jpierce at cambridgeenergyalliance.org  Wed Feb 11 14:00:20 2009
From: jpierce at cambridgeenergyalliance.org (Jerrad Pierce)
Date: Wed, 11 Feb 2009 14:00:20 -0500
Subject: [rt-users] WG: change Queue order !!!
In-Reply-To: <49931D83.3030800@lbl.gov>
References: <192B76E92530564BAAB9DD78BAE565B740FE322D7F@chexchange.autoform.com>
	<1234353704.10967.20.camel@kayden.jajxn.net>
	<589c94400902110549m1827ba64k89ed8079d94269c1@mail.gmail.com>
	<1234363749.2965.7.camel@sweetrose.janet.local>
	<49931D83.3030800@lbl.gov>
Message-ID: 

>        I, too, have wondered if there was a way to modify RT to allow a User
> to select one specific Queue as the one to appear first on the
> drop-down. In our installation, a User may be able to create tickets in
> many queues, but 90% of these may be in one queue.
>        Jesse, are there any plans to allow some sort of option to allow a user
> to select the order queues appear in the drop-down? Thanks.
This is not an especially difficult customization to make, but it
seems the simplest
means would be to change the queue name to alter its position in
ASCIIbetical sort
i.e; precede it with a !

-- 
Cambridge Energy Alliance: Save money. Save the planet.


From KFCrocker at lbl.gov  Wed Feb 11 14:19:28 2009
From: KFCrocker at lbl.gov (Kenneth Crocker)
Date: Wed, 11 Feb 2009 11:19:28 -0800
Subject: [rt-users] WG: change Queue order !!!
In-Reply-To: 
References: <192B76E92530564BAAB9DD78BAE565B740FE322D7F@chexchange.autoform.com>
	<1234353704.10967.20.camel@kayden.jajxn.net>
	<589c94400902110549m1827ba64k89ed8079d94269c1@mail.gmail.com>
	<1234363749.2965.7.camel@sweetrose.janet.local>
	<49931D83.3030800@lbl.gov>
	
Message-ID: <499324C0.1050602@lbl.gov>

Jerrad,


	What if two different sets of users put the "!" in front of different 
queues? Especially if they can creates tickets in the same queues but 
want a different queue sequence? I was thinking of some sort of user 
preference. Thanks.

Kenn
LBNL

On 2/11/2009 11:00 AM, Jerrad Pierce wrote:
>>        I, too, have wondered if there was a way to modify RT to allow a User
>> to select one specific Queue as the one to appear first on the
>> drop-down. In our installation, a User may be able to create tickets in
>> many queues, but 90% of these may be in one queue.
>>        Jesse, are there any plans to allow some sort of option to allow a user
>> to select the order queues appear in the drop-down? Thanks.
> This is not an especially difficult customization to make, but it
> seems the simplest
> means would be to change the queue name to alter its position in
> ASCIIbetical sort
> i.e; precede it with a !
> 



From falcone at bestpractical.com  Wed Feb 11 15:09:30 2009
From: falcone at bestpractical.com (Kevin Falcone)
Date: Wed, 11 Feb 2009 15:09:30 -0500
Subject: [rt-users] WG: change Queue order !!!
In-Reply-To: <49931D83.3030800@lbl.gov>
References: <192B76E92530564BAAB9DD78BAE565B740FE322D7F@chexchange.autoform.com>
	<1234353704.10967.20.camel@kayden.jajxn.net>
	<589c94400902110549m1827ba64k89ed8079d94269c1@mail.gmail.com>
	<1234363749.2965.7.camel@sweetrose.janet.local>
	<49931D83.3030800@lbl.gov>
Message-ID: 


On Feb 11, 2009, at 1:48 PM, Kenneth Crocker wrote:

> JAlexson,
>
>
> 	I, too, have wondered if there was a way to modify RT to allow a User
> to select one specific Queue as the one to appear first on the
> drop-down. In our installation, a User may be able to create tickets  
> in
> many queues, but 90% of these may be in one queue.
> 	Jesse, are there any plans to allow some sort of option to allow a  
> user
> to select the order queues appear in the drop-down? Thanks.

Assuming you mean the New Ticket In drop down, that is controllable
by the Default Queue personal preference in RT 3.8.  You can also
set a global default in your site config

-kevin

>
>
>
> On 2/11/2009 6:49 AM, J Alexson wrote:
>> On Wed, 2009-02-11 at 16:49 +0300, Ruslan Zakirov wrote:
>>> Just curious why you want to create Low, Normal, High and other  
>>> queues
>>> when you have Priority field?
>>>
>>
>> Good question!  The main reason is to keep things as simple as  
>> possible
>> for the user.  Each of the queues has appropriate defaults (such as
>> priority, due in # days, etc.)  Rather than trying to instruct my  
>> users
>> (primarily requestors) to fill in these values correctly (and  
>> honestly,
>> getting them filled in at all), I can simply have them create a  
>> ticket
>> in the right queue based on the nature of their problem.
>>
>>> Anyway, you can add special portlets and instead of one QuickSearch
>>> block you'll have three, for example:
>>> * first one with Low, Normal....
>>> * other queues
>>> * approvals
>>>
>> That would be great for the Quick Search, but the sorting order also
>> comes into play using the drop-downs (moving a ticket to a different
>> queue, for instance)
>>
>>> On Wed, Feb 11, 2009 at 3:01 PM, John Alexson   
>>> wrote:
>>>> On Wed, 2009-02-11 at 10:10 +0100, Tariq Doukkali wrote:
>>>>
>>>>>
>>>>>
>>>>> Therefore I want change the sorting order of my queues so, that  
>>>>> when a
>>>>> supporter log on, he will see inbox queue on the TOP of Quick- 
>>>>> search
>>>>> tab.
>>>>>
>>>>>
>>>>>
>>>> I wouldn't mind seeing a "Sort" field added to the configuration of
>>>> queues -- similar to the one when creating values for a multi- 
>>>> select
>>>> custom field.
>>>>
>>>> In the meantime, I used the cheap and easy workaround of  
>>>> inserting a
>>>> sort code at the beginning of the queue name.  So, my alpha sorted
>>>> queues look like:
>>>>
>>>> 1-Low          (1-5 are my "input" queues, with 2-Normal the  
>>>> default)
>>>> 2-Normal
>>>> 3-High
>>>> 4-Urgent
>>>> 5-Emergency
>>>> Admin          (The alpha queues are fine sorted as-is)
>>>> Building Services
>>>> Delivery
>>>> . . . etc . . .
>>>> Z-Jane         (The Z-* queues are approvals -- i.e. an approval is
>>>> Z-John          is created when a ticket is created or moved here)
>>>> Z-Mary
>>>>
>>>> In some ways, I like using this method a little better than  
>>>> having a
>>>> hidden sort field since the queue name indicates it's purpose
>>>> (especially the Z-* queues) without having to spell it out.
>>>>
>>>>
>>>> JA
>>>>
>>>> _______________________________________________
>>>> 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
>>>>
>>>
>>>
>>
>> _______________________________________________
>> 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
>>
>
> _______________________________________________
> 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
>



From stephen.a.cochran.lists at cahir.net  Wed Feb 11 15:48:48 2009
From: stephen.a.cochran.lists at cahir.net (Stephen Cochran)
Date: Wed, 11 Feb 2009 15:48:48 -0500
Subject: [rt-users] Ticket/Search results navigation in 3.8.x
In-Reply-To: <589c94400902102148v7ab55f20u4dd9d22e24243b14@mail.gmail.com>
References: <35ccbd010902061958l6b124554k688ad7eea1cbd790@mail.gmail.com>
	<20090207064359.GB47499@173-114-89-74.pools.spcsdns.net>
	<35ccbd010902081128h7396f3f0x13b5eab591f70aa4@mail.gmail.com>
	<20090209195959.GB15353@17h.local>
	<35ccbd010902100657g4e7ec63ao3e0c07d0021351@mail.gmail.com>
	<35ccbd010902101958x18c44d11l4af85e118a2ba05e@mail.gmail.com>
	<35ccbd010902102003k15d933feld3ab117e44d4aa9a@mail.gmail.com>
	<589c94400902102148v7ab55f20u4dd9d22e24243b14@mail.gmail.com>
Message-ID: <35ccbd010902111248r696ca74fva28fdcffe2f1493b@mail.gmail.com>

I will admit my sysadmin did the upgrade, so I can't say for sure, but we
are having problems with binary attachments (as hinted at in
UPGRADING.mysql).

Assume the worst and we only followed the steps in the upgrade document and
not the upgrade.mysql one. We switched a few weeks ago. Is it possible to
run those steps now or will that make things worse?

Steve

On Wed, Feb 11, 2009 at 12:48 AM, Ruslan Zakirov
wrote:

> Have you read UPGRADING.mysql?
>
> On Wed, Feb 11, 2009 at 7:03 AM, Stephen Cochran
>  wrote:
> >
> > Did some quick testing, my browser does have a RT session cookie. It
> stays
> > the same when I log in and the At a Glance page is displayed.
> >
> > Session ID stays the same when I click on a queue name.
> >
> > Session ID changes every time I click on a Ticket link in a search
> result.
> >
> > I haven't had to dig into how RT manages sessions, so if anyone has any
> > hints as to why the session cookies would be reset when moving to
> > Ticket/Display, let me know.
> >
> > Steve
> >
> >
> >
> > On Tue, Feb 10, 2009 at 10:58 PM, Stephen Cochran
> >  wrote:
> >>
> >> Think I've found part of the why, if not all of it.
> >>
> >> in Ticket/Elements/Tabs on line 64:
> >>
> >>     if ( defined $session{'tickets'} ) {
> >>
> >> isn't evaluating to true. For some reason RT doesn't see us as having a
> >> session.
> >>
> >> It's possible it is related to how we have auth set up. We're using
> >> Apache's authnz_ldap to set REMOTE_USER so all of our internal apps are
> >> single-signon. But that by itself shouldn't prevent sessions.
> >>
> >> I didn't set that part up so I'll have to check into that a little
> >> further.
> >>
> >> Steve
> >>
> >>
> >>
> >> On Tue, Feb 10, 2009 at 9:57 AM, Stephen Cochran
> >>  wrote:
> >>>
> >>> Well it's great to see that those are there. I'll dig in and see whats
> >>> different (hopefully soon).
> >>>
> >>> I checked the release notes for 3.8.2 (we're on 3.8.1) and didn't see
> >>> anything related to this. In case I missed it, nothing that you
> remember
> >>> along those lines?
> >>>
> >>> Steve
> >>>
> >>>
> >>> On Mon, Feb 9, 2009 at 2:59 PM, Jesse Vincent  >
> >>> wrote:
> >>>>
> >>>> On Sun  8.Feb'09 at 14:28:28 -0500, Stephen Cochran wrote:
> >>>> >    Maybe I'm missing something really obvious...I just disabled all
> >>>> > local
> >>>> >    mods just to be sure.
> >>>> >
> >>>> >    I log in, and see RT at a Glance. I click on one of the Queue
> names
> >>>> > in the
> >>>> >    Quick Search list. Now see a page with search results
> >>>> >    (/rt3/Search/Results.html). Included in menu bar across the top
> of
> >>>> > the
> >>>> >    ticket area is "Show Results" which is currently bold.
> >>>>
> >>>> I just did the exact same things on rt3.fsck.com.
> >>>>
> >>>> http://www.grabup.com/uploads/0c0d1b44d178ac8e72ce1e2e6f8d7a1c.png
> >>>>
> >>>>
> >>>>
> >>>> >
> >>>> >    Click on one of the tickets, and see that ticket
> >>>> >    (/rt3/Ticket/Display.html). I don't see any link for the search
> >>>> > results,
> >>>> >    previous, next, etc in the left sidebar menu. Screenshot of what
> >>>> > I'm
> >>>> >    seeing below.
> >>>> >
> >>>> >    [1]http://www.cahir.net/images/rt_image.png
> >>>> >
> >>>> >    Steve
> >>>> >
> >>>> >    On Sat, Feb 7, 2009 at 1:43 AM, Jesse Vincent
> >>>> > <[2]jesse at bestpractical.com>
> >>>> >    wrote:
> >>>> >
> >>>> >      On Fri  6.Feb'09 at 22:58:42 -0500, Stephen Cochran wrote:
> >>>> >      >    We recently upgraded to 3.8.1, and overall the interface
> is
> >>>> > so much
> >>>> >      >    better!
> >>>> >      >
> >>>> >      >    One comment we've received from our customer support group
> >>>> > is that
> >>>> >      several
> >>>> >      >    navigation features are no longer available. When viewing
> a
> >>>> > queue
> >>>> >      or
> >>>> >      >    search, there used to be the following links/controls:
> >>>> >      >
> >>>> >      >    which took you back to the the last search or group you
> had.
> >>>> > These
> >>>> >      links
> >>>> >      >    seem to have disappeared from 3.8.x, and I'm wondering if
> >>>> > there's a
> >>>> >      >    setting to bring them back or if someone has made the
> >>>> > customization
> >>>> >      >    already.
> >>>> >      >
> >>>> >
> >>>> >      They sure seem to exist for me in 3.8...They're in the menu on
> >>>> > the left.
> >>>> >
> >>>> > References
> >>>> >
> >>>> >    Visible links
> >>>> >    1. http://www.cahir.net/images/rt_image.png
> >>>> >    2. mailto:jesse at bestpractical.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
> >>>>
> >>>> --
> >>>
> >>
> >
> >
> > _______________________________________________
> > 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
> >
>
>
>
> --
> Best regards, Ruslan.
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: 

From ruslan.zakirov at gmail.com  Wed Feb 11 16:14:00 2009
From: ruslan.zakirov at gmail.com (Ruslan Zakirov)
Date: Thu, 12 Feb 2009 00:14:00 +0300
Subject: [rt-users] Ticket/Search results navigation in 3.8.x
In-Reply-To: <35ccbd010902111248r696ca74fva28fdcffe2f1493b@mail.gmail.com>
References: <35ccbd010902061958l6b124554k688ad7eea1cbd790@mail.gmail.com>
	<20090207064359.GB47499@173-114-89-74.pools.spcsdns.net>
	<35ccbd010902081128h7396f3f0x13b5eab591f70aa4@mail.gmail.com>
	<20090209195959.GB15353@17h.local>
	<35ccbd010902100657g4e7ec63ao3e0c07d0021351@mail.gmail.com>
	<35ccbd010902101958x18c44d11l4af85e118a2ba05e@mail.gmail.com>
	<35ccbd010902102003k15d933feld3ab117e44d4aa9a@mail.gmail.com>
	<589c94400902102148v7ab55f20u4dd9d22e24243b14@mail.gmail.com>
	<35ccbd010902111248r696ca74fva28fdcffe2f1493b@mail.gmail.com>
Message-ID: <589c94400902111314s33168378g91eadea94608bc80@mail.gmail.com>

Yep, however most probably binary attachments you added during last
days will be broken.

On Wed, Feb 11, 2009 at 11:48 PM, Stephen Cochran
 wrote:
>
> I will admit my sysadmin did the upgrade, so I can't say for sure, but we
> are having problems with binary attachments (as hinted at in
> UPGRADING.mysql).
>
> Assume the worst and we only followed the steps in the upgrade document and
> not the upgrade.mysql one. We switched a few weeks ago. Is it possible to
> run those steps now or will that make things worse?
>
> Steve
>
> On Wed, Feb 11, 2009 at 12:48 AM, Ruslan Zakirov 
> wrote:
>>
>> Have you read UPGRADING.mysql?
>>
>> On Wed, Feb 11, 2009 at 7:03 AM, Stephen Cochran
>>  wrote:
>> >
>> > Did some quick testing, my browser does have a RT session cookie. It
>> > stays
>> > the same when I log in and the At a Glance page is displayed.
>> >
>> > Session ID stays the same when I click on a queue name.
>> >
>> > Session ID changes every time I click on a Ticket link in a search
>> > result.
>> >
>> > I haven't had to dig into how RT manages sessions, so if anyone has any
>> > hints as to why the session cookies would be reset when moving to
>> > Ticket/Display, let me know.
>> >
>> > Steve
>> >
>> >
>> >
>> > On Tue, Feb 10, 2009 at 10:58 PM, Stephen Cochran
>> >  wrote:
>> >>
>> >> Think I've found part of the why, if not all of it.
>> >>
>> >> in Ticket/Elements/Tabs on line 64:
>> >>
>> >>     if ( defined $session{'tickets'} ) {
>> >>
>> >> isn't evaluating to true. For some reason RT doesn't see us as having a
>> >> session.
>> >>
>> >> It's possible it is related to how we have auth set up. We're using
>> >> Apache's authnz_ldap to set REMOTE_USER so all of our internal apps are
>> >> single-signon. But that by itself shouldn't prevent sessions.
>> >>
>> >> I didn't set that part up so I'll have to check into that a little
>> >> further.
>> >>
>> >> Steve
>> >>
>> >>
>> >>
>> >> On Tue, Feb 10, 2009 at 9:57 AM, Stephen Cochran
>> >>  wrote:
>> >>>
>> >>> Well it's great to see that those are there. I'll dig in and see whats
>> >>> different (hopefully soon).
>> >>>
>> >>> I checked the release notes for 3.8.2 (we're on 3.8.1) and didn't see
>> >>> anything related to this. In case I missed it, nothing that you
>> >>> remember
>> >>> along those lines?
>> >>>
>> >>> Steve
>> >>>
>> >>>
>> >>> On Mon, Feb 9, 2009 at 2:59 PM, Jesse Vincent
>> >>> 
>> >>> wrote:
>> >>>>
>> >>>> On Sun  8.Feb'09 at 14:28:28 -0500, Stephen Cochran wrote:
>> >>>> >    Maybe I'm missing something really obvious...I just disabled all
>> >>>> > local
>> >>>> >    mods just to be sure.
>> >>>> >
>> >>>> >    I log in, and see RT at a Glance. I click on one of the Queue
>> >>>> > names
>> >>>> > in the
>> >>>> >    Quick Search list. Now see a page with search results
>> >>>> >    (/rt3/Search/Results.html). Included in menu bar across the top
>> >>>> > of
>> >>>> > the
>> >>>> >    ticket area is "Show Results" which is currently bold.
>> >>>>
>> >>>> I just did the exact same things on rt3.fsck.com.
>> >>>>
>> >>>> http://www.grabup.com/uploads/0c0d1b44d178ac8e72ce1e2e6f8d7a1c.png
>> >>>>
>> >>>>
>> >>>>
>> >>>> >
>> >>>> >    Click on one of the tickets, and see that ticket
>> >>>> >    (/rt3/Ticket/Display.html). I don't see any link for the search
>> >>>> > results,
>> >>>> >    previous, next, etc in the left sidebar menu. Screenshot of what
>> >>>> > I'm
>> >>>> >    seeing below.
>> >>>> >
>> >>>> >    [1]http://www.cahir.net/images/rt_image.png
>> >>>> >
>> >>>> >    Steve
>> >>>> >
>> >>>> >    On Sat, Feb 7, 2009 at 1:43 AM, Jesse Vincent
>> >>>> > <[2]jesse at bestpractical.com>
>> >>>> >    wrote:
>> >>>> >
>> >>>> >      On Fri  6.Feb'09 at 22:58:42 -0500, Stephen Cochran wrote:
>> >>>> >      >    We recently upgraded to 3.8.1, and overall the interface
>> >>>> > is
>> >>>> > so much
>> >>>> >      >    better!
>> >>>> >      >
>> >>>> >      >    One comment we've received from our customer support
>> >>>> > group
>> >>>> > is that
>> >>>> >      several
>> >>>> >      >    navigation features are no longer available. When viewing
>> >>>> > a
>> >>>> > queue
>> >>>> >      or
>> >>>> >      >    search, there used to be the following links/controls:
>> >>>> >      >
>> >>>> >      >    which took you back to the the last search or group you
>> >>>> > had.
>> >>>> > These
>> >>>> >      links
>> >>>> >      >    seem to have disappeared from 3.8.x, and I'm wondering if
>> >>>> > there's a
>> >>>> >      >    setting to bring them back or if someone has made the
>> >>>> > customization
>> >>>> >      >    already.
>> >>>> >      >
>> >>>> >
>> >>>> >      They sure seem to exist for me in 3.8...They're in the menu on
>> >>>> > the left.
>> >>>> >
>> >>>> > References
>> >>>> >
>> >>>> >    Visible links
>> >>>> >    1. http://www.cahir.net/images/rt_image.png
>> >>>> >    2. mailto:jesse at bestpractical.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
>> >>>>
>> >>>> --
>> >>>
>> >>
>> >
>> >
>> > _______________________________________________
>> > 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
>> >
>>
>>
>>
>> --
>> Best regards, Ruslan.
>
>



-- 
Best regards, Ruslan.


From alexyoung at scoutsolutions.co.uk  Wed Feb 11 16:22:56 2009
From: alexyoung at scoutsolutions.co.uk (Alex Young)
Date: Wed, 11 Feb 2009 21:22:56 -0000
Subject: [rt-users] colorize status
In-Reply-To: <4992C4110200003E00004F34@mail.finleysd.org>
References: <4992C4110200003E00004F34@mail.finleysd.org>
Message-ID: <3CE7D8D453B27148BBCA0B2063B11E64D5F935@s-wor-e-001.SCOUTSOFFICE.local>

You're welcome. I liked your idea and thought it would be good for my
users too, and they are loving it.

We dont use the self service interface yet, but I had a look at it
anyway and it was showing the colours as well as New Reply. Do you not
see it?



-----Original Message-----
From: Daniel Cook [mailto:dcook at finleysd.org] 
Sent: 11 February 2009 20:27
To: Alex Young
Subject: RE: [rt-users] colorize status

Alex,

Thanks a ton!

Your solution provides nice combination of the features listed on the
page with the added bonus of marking the messages as read.

Quick question for you... I noticed that this works great for my side of
things... Is there any way to have the "New Reply" show up for general
users in the self service interface as well?


Daniel Cook
Technology Coordinator
Finley School District
dcook at finleysd.org 
(509) 586-3217
>>> "Alex Young"  02/10/09 5:38 PM >>>
I've been looking at this today and I have it working, but I think the
code needs a bit of a cleanup.

Looking in the files the code that shows the info at the top of the
ticket is in /opt/rt3/share/html/Ticket/Elements/ShowUpdateStatus so I
sourced much of the code from there.

I changed your updated statusInColor code form the WIKI.

# Show status in colour.
sub statusInColor {
	my $Ticket = shift;
	my $status = $Ticket->Status;
	my $css = "status" . lc $status;
	my $cssreply = "status" . lc "reply";
	my $LastUpdater = $Ticket->LastUpdatedByObj->EmailAddress;
	my $TicketRequestors =
$Ticket->Requestors->MemberEmailAddressesAsString;
	my $TicketCC = $Ticket->Cc->MemberEmailAddressesAsString;
	my $CurrentUser = $session{'CurrentUser'}->EmailAddress;

# Added $CurentUser ne $LastUpdater to prevent showing New Reply tag
when the last updater is the current user.
	if (($CurrentUser ne $LastUpdater) && ($TicketRequestors =~
$LastUpdater) || ($TicketCC =~ $LastUpdater))
	{
		my $txn = $Ticket->SeenUpTo or return \"
$status
"; # my $TicketLink = RT->Config->Get('WebPath') ."/Ticket/Display.html?id=". $Ticket->id. "#txn-".$txn->id; # Comment out the line above and uncomment the following line to mark posts as seen when following link. my $TicketLink = RT->Config->Get('WebPath') ."/Ticket/Display.html?id=". $Ticket->id ."&MarkAsSeen=1". "#txn-".$txn->id; $status = "
$status New Reply
"; } else { $status = "
$status
"; } return \"$status"; } -----Original Message----- From: rt-users-bounces at lists.bestpractical.com [mailto:rt-users-bounces at lists.bestpractical.com] On Behalf Of Daniel Cook Sent: 06 February 2009 22:33 To: rt-users at lists.bestpractical.com Subject: [rt-users] colorize status So I've updated the ShowStatusInColor page on the wiki to reflect how I have implemented this in 3.8.2 The question that I have is this... When replys are colorized in my list view, the way things are setup right now, it is done based on who the last person to modify the ticket was.... I have noticed that when I open a ticket that has had a reply there is a little note at the top of the ticket that sais there are new messages. This message goes away after I have viewed the message. This is how I would like this new reply type flag setup for my list view. I would like it to drop the rep flag and the reply color after I view the new message - without necessarily making any reply or physical change to the ticket. Is this easily possible? Any advise on how to go about it? Thanks, Dan _______________________________________________ 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 From jrhett at netconsonance.com Wed Feb 11 17:17:45 2009 From: jrhett at netconsonance.com (Jo Rhett) Date: Wed, 11 Feb 2009 14:17:45 -0800 Subject: [rt-users] tracking tickets which have been replied to? Message-ID: Okay, this is so obvious of a requirement in a ticket system that I've been spinning in circles assuming I'm overlooking something. However, I haven't found it, so could someone please clue me in how to do this? Ticket opened by a customer - needs response Ticket replied to by helpdesk - has been handled Ticket replied to by a customer - needs response again Unfortunately, I see nothing in RT which will highlight that message and bring it up on anyone's screen as needing action. Yes, an e-mail will go out. But I'm looking for the following kind of things: 1. If not responded to within a given period, unassign from owner and/ or escalate in some visible fashion 2. Bring it to the top of everyone's list as needing action. I'm guessing that the solution will rely on something like this: A) A global script to lower priority on Comment or Correspondence (or Resolve) below a certain number B) A global script to raise priority on update from customer above that certain number C) An rt-crontool script to annoy people about priority > certain number unanswered tickets Has anyone else already run down this road? -- Jo Rhett Net Consonance : consonant endings by net philanthropy, open source and other randomness From Jim.Tambling at datatote.co.uk Wed Feb 11 17:36:10 2009 From: Jim.Tambling at datatote.co.uk (Jim Tambling) Date: Wed, 11 Feb 2009 22:36:10 -0000 Subject: [rt-users] Reminders still open after a ticket is closed Message-ID: <72D9E13A8FC8994794D448E91198AE070133FBA8@mail.sys.internal> Thanks Mark I tried that but it doesn't seem to work. Here's the code I put in the scrip; my $tickets = new RT::Tickets(RT->SystemUser) my $id = $self->TicketObj->id; my $queue = $self->TicketObj->QueueObj->Name; return 1 unless (defined($id)); # Can this be undefined? $tickets->FromSQL('Type = "reminder" AND RefersTo="'.$id.'"'); while (my $ticket = $tickets->Next) { $RT::Logger->info("Closing associated reminder"); $ticket->SetStatus("resolved"); } return 1; I have zero knowledge of perl so I don't know if this is correct. Regards -----Original Message----- From: Roedel, Mark [mailto:MarkRoedel at letu.edu] Sent: 10 February 2009 23:04 To: Jim Tambling; rt-users at bestpractical.com Subject: RE: [rt-users] Reminders still open after a ticket is closed Looks to me like http://wiki.bestpractical.com/view/OnQueueChangeFixReminders should get you most of the way there as a jumping-off point. Obviously, you'd change the scrip condition to "On Resolve" and you'd use a $ticket->SetStatus('resolved') call in place of the $Ticket->SetQueue($queue) in the while loop... -- Mark Roedel Senior Programmer/Analyst - Web Services LeTourneau University From: rt-users-bounces at lists.bestpractical.com [mailto:rt-users-bounces at lists.bestpractical.com] On Behalf Of Jim Tambling Sent: Tuesday, February 10, 2009 4:37 PM To: rt-users at bestpractical.com Subject: [rt-users] Reminders still open after a ticket is closed If I set a reminder for a ticket, after the ticket is resolved the reminder is still active. Is there anyway to automate closing the reminders on resolution of the ticket? Regards -------------- next part -------------- An HTML attachment was scrubbed... URL: From rouilj at renesys.com Wed Feb 11 17:52:34 2009 From: rouilj at renesys.com (John Rouillard) Date: Wed, 11 Feb 2009 22:52:34 +0000 Subject: [rt-users] tracking tickets which have been replied to? In-Reply-To: References: Message-ID: <20090211225234.GC7480@renesys.com> On Wed, Feb 11, 2009 at 02:17:45PM -0800, Jo Rhett wrote: > Okay, this is so obvious of a requirement in a ticket system that I've > been spinning in circles assuming I'm overlooking something. However, > I haven't found it, so could someone please clue me in how to do this? > > Ticket opened by a customer - needs response > Ticket replied to by helpdesk - has been handled > Ticket replied to by a customer - needs response again > > Unfortunately, I see nothing in RT which will highlight that message > and bring it up on anyone's screen as needing action. Yes, an e-mail > will go out. But I'm looking for the following kind of things: > > 1. If not responded to within a given period, unassign from owner and/ > or escalate in some visible fashion > > 2. Bring it to the top of everyone's list as needing action. > > I'm guessing that the solution will rely on something like this: > > A) A global script to lower priority on Comment or Correspondence (or > Resolve) below a certain number > B) A global script to raise priority on update from customer above > that certain number > C) An rt-crontool script to annoy people about priority > certain > number unanswered tickets > > Has anyone else already run down this road? Not exactly what you are looking for, but I set the status to stalled when I am waiting for input from the user. Then the default global script: On Correspond Open Tickets with template Blank will open the ticket again when the user (or anybody else) responds normally (as opposed to responding with a comment). A canned search for open tickets sorted by last updated time should bubble it to the top of the list. I have such a bookmarked search running as my status display every 10 minutes or so. -- -- rouilj John Rouillard System Administrator Renesys Corporation 603-244-9084 (cell) 603-643-9300 x 111 From pthirose at ucdavis.edu Wed Feb 11 18:34:26 2009 From: pthirose at ucdavis.edu (Paul Hirose) Date: Wed, 11 Feb 2009 15:34:26 -0800 (PST) Subject: [rt-users] Everyone rights Create/Reply Tickets for multi-queue setup Message-ID: For random users to create a ticket via email into a queue, the Everyone group need only the Global Right Create Ticket? And to reply to that ticket to answer questions that support staff might have for the requestor, the global right ReplyTicket is the only one needed? No end-user/requestor will ever use the website. Any/all communication with the requestor will be via email to the user and an email response back from the user. I wanted to check, because the documentation originally starts with SeeQueue and CommentOnTicket for Everyone as a Global Right as well. Somewhere along the line, I think I added ShowTicket as well after reading some other doc. I removed CommentOnTicket from Everyone, since only support staff should Comment anyway. The reason this created a problem for us, is because we have three queues: helpdesk@, billing@, and managers at . Our random end-users send email to one of the first two (although I guess since Create/Reply is Global Everyone, they could also do the same to managers@ but that's not publicized so hopefully nobody will ever get to it.) That's our queue for escalation purposes internally. When everyone had SeeQueue & ShowTicket, a staff person logging into RT's At A Glance in 10 Newest Unowned Tickets, would see both the Helpdesk and Billing queue and tickets. But of course, helpdesk only wants to see helpdesk stuff, and billing only wants to see billing stuff. So I removed SQ/ST rights from Everyone and only left Create/ReplyTix for Everyone. Now when helpdesk person logs in, he only sees helpdesk stuff (same w/accounting.) So is having only CT/RT rights for Everyone global ok? It seems to be. The managers@ queue is used to move a ticket from helpdesk@ or billing@ into the managers@ queue, so the manager on duty can handle the tix. This is RT382, with MySQL5067, Apache 2211 and ModPerl204. Thank you, PH -- Paul Hirose : pthirose at ucdavis.edu : Sysadm Motto: rm -fr /MyLife 1034 Academic Surge : Programmer/Analyst : Backup Motto : rm -fr / One Shields Avenue : Voice (530) 752-7181 : Robot, n.: Univ. Admin Davis, CA 95616-8770 : Fax (530) 752-4465 : rec.pets.cat.anecdotes From jrhett at netconsonance.com Wed Feb 11 18:48:55 2009 From: jrhett at netconsonance.com (Jo Rhett) Date: Wed, 11 Feb 2009 15:48:55 -0800 Subject: [rt-users] tracking tickets which have been replied to? In-Reply-To: <20090211225234.GC7480@renesys.com> References: <20090211225234.GC7480@renesys.com> Message-ID: On Feb 11, 2009, at 2:52 PM, John Rouillard wrote: > On Wed, Feb 11, 2009 at 02:17:45PM -0800, Jo Rhett wrote: >> Okay, this is so obvious of a requirement in a ticket system that >> I've >> been spinning in circles assuming I'm overlooking something. >> However, >> I haven't found it, so could someone please clue me in how to do >> this? >> >> Ticket opened by a customer - needs response >> Ticket replied to by helpdesk - has been handled >> Ticket replied to by a customer - needs response again >> >> Unfortunately, I see nothing in RT which will highlight that message >> and bring it up on anyone's screen as needing action. Yes, an e-mail >> will go out. But I'm looking for the following kind of things: >> >> 1. If not responded to within a given period, unassign from owner >> and/ >> or escalate in some visible fashion >> >> 2. Bring it to the top of everyone's list as needing action. >> >> I'm guessing that the solution will rely on something like this: >> >> A) A global script to lower priority on Comment or Correspondence (or >> Resolve) below a certain number >> B) A global script to raise priority on update from customer above >> that certain number >> C) An rt-crontool script to annoy people about priority > certain >> number unanswered tickets >> >> Has anyone else already run down this road? > > Not exactly what you are looking for, but I set the status to stalled > when I am waiting for input from the user. Then the default global > script: > > On Correspond Open Tickets with template Blank > > will open the ticket again when the user (or anybody else) responds > normally (as opposed to responding with a comment). > > A canned search for open tickets sorted by last updated time should > bubble it to the top of the list. I have such a bookmarked search > running as my status display every 10 minutes or so. Thanks. It's an interesting idea, but I'm not sure that it makes the most sense because it requires extra action by the lowest paid people. Unless I could automatically reset the state appropriately... -- Jo Rhett Net Consonance : consonant endings by net philanthropy, open source and other randomness From pthirose at ucdavis.edu Wed Feb 11 19:19:25 2009 From: pthirose at ucdavis.edu (Paul Hirose) Date: Wed, 11 Feb 2009 16:19:25 -0800 (PST) Subject: [rt-users] queue tag moved from left of subject to right of subject? Message-ID: This seems to be a recurring issue: http://www.gossamer-threads.com/lists/rt/users/82186 http://www.gossamer-threads.com/lists/rt/users/81328 and others. Using RT382 and we see the same thing. During the 82186 (this) thread, there's mention of having given every queue its own different subject line tag. I happen to fall into this category as well. I have several queues, and each has a different subject tag (Configuration -> Queues -> ClickonQueue then see the "Subject Tag" entry.) In particular, I've a helpdesk@ queue which has Subject Tag of "Helpdesk Support" and a billing@ queue which has Subject Tag of "Billing Support". I tried to follow the instructions about changing EmailSubjectTagRegex to Set(...$rtname|helpdesk|billing...) and I just make that change in RT_SiteConfig.pm? The last msg on 2009-02-02 from jpierce shows "...the other half..." and I'm not sure where that goes. Does that also go into RT_SiteConfig.pm? Or do these changes occur in the local/lib/RT/Interface/Email_Local.pm which is referenced at codepad: http://codepad.org/pSthWrxD? Thank you, PH -- Paul Hirose : pthirose at ucdavis.edu : Sysadm Motto: rm -fr /MyLife 1034 Academic Surge : Programmer/Analyst : Backup Motto : rm -fr / One Shields Avenue : Voice (530) 752-7181 : Robot, n.: Univ. Admin Davis, CA 95616-8770 : Fax (530) 752-4465 : rec.pets.cat.anecdotes From hanane.ourdani at gmail.com Thu Feb 12 03:49:25 2009 From: hanane.ourdani at gmail.com (hanane ourdani) Date: Thu, 12 Feb 2009 08:49:25 +0000 Subject: [rt-users] CommandByMail Message-ID: Hi all, *Since the Queue contains mandatory fields, if these fields are not filled (fill in the e-mail or rather empty), the ticket will not be created. Is there a way to notify the person who sends the mail that his application has not been created?* Thank you, -------------- next part -------------- An HTML attachment was scrubbed... URL: From dg at doodle.com Thu Feb 12 06:18:55 2009 From: dg at doodle.com (David Gubler) Date: Thu, 12 Feb 2009 12:18:55 +0100 Subject: [rt-users] Content broken on latest RTFM Message-ID: <4994059F.10808@doodle.com> Hi all I'm trying to migrate from an old server to a fresh installation on a new server. Old server: Debian etch Package request-tracker3.4 Version 3.4.5 Package rtfm Version 2.0.3 MySQL 5.0 New Server: Debian etch Package request-tracker3.6 Version 3.6.1 RTFM installed from source Version 2.4.1 MySQL 5.0 Problem: The articles have no content, and when I try to create a new article I cannot enter any content because I just see the title "Content" without any input fields (?!?). It all works fine on the old installation. I have read the mailing list archives, where I found several posts regarding a similar problem (database not properly migrated). However, I think I did it correctly... What I did: - Run migration tool (sbin/migrate-2.0-to-2.1) on old (!) server, which seemed to work fine and did a bunch of stuff. - Dump the RT database, import it on new server - Install RT 3.6, run RT 3.6 database migration script (/usr/sbin/rt-setup-database-3.6 |--action init --dba root --prompt|-for-dba-password) - Now RT 3.6 itself seems to work fine - Download RTFM 2.4.1, install it over the debian package (/usr/local/share/request-tracker3.6/) - Migrate the RTFM database as described in the RTFM manual (rt-setup-database --action schema/acl/insert for version 2.1.0, 2.1.30, 2.2RC2) Now I have the following tables: +-------------------------+ | Tables_in_rtdb | +-------------------------+ | ACL | | Attachments | | Attributes | | CachedGroupMembers | | CustomFieldValues | | CustomFields | | FM_ArticleCFValues | | FM_Articles | | FM_ClassCustomFields | | FM_Classes | | FM_CustomFieldValues | | FM_CustomFields | | FM_ObjectTopics | | FM_Topics | | FM_Transactions | | GroupMembers | | Groups | | Links | | ObjectCustomFieldValues | | ObjectCustomFields | | Principals | | Queues | | ScripActions | | ScripConditions | | Scrips | | Templates | | Tickets | | Transactions | | Users | | sessions | +-------------------------+ which is two more FM_-tables than before the migration, so I guess it has worked. I also tried: RTFM-2.2.1 RTFM-2.0.1 installing request-tracker 3.6.7 from source instead of the debian package All with the same result: No "Content" for articles and no "Content" input fields for new articles. Any ideas? Can I fix this, manually if necessary? Thanks & best regards, David Gubler From dg at doodle.com Thu Feb 12 07:48:32 2009 From: dg at doodle.com (David Gubler) Date: Thu, 12 Feb 2009 13:48:32 +0100 Subject: [rt-users] Content broken on latest RTFM In-Reply-To: References: <4994059F.10808@doodle.com> Message-ID: <49941AA0.7010109@doodle.com> Hi Simon Thanks for your response, it got me on the right path: We have an RTFM class "FAQ" which has two custom fields. For some reason these got disabled during the migration, all I had to do is to reactivate them using the RT GUI and the root account. Thanks again and best regards, David Gubler Simon Dray schrieb: > > David > > > > I had a similar issue and got round it by adding in a custom field entry > > > > Name Description Type Applies to Validation > > > ? > > Link values to > > > > RT can make this custom field's values into hyperlinks to another > service. Fill in this field with a URL. RT will replace __id__ and > __CustomField__ with the record id and custom field value, respectively > > Include page > > RT can include content from another web service when showing this > custom field. Fill in this field with a URL. RT will replace __id__ > and __CustomField__ with the record id and custom field value, > respectively /Some browsers may only load content from the same domain > as your RT server./ > > Enabled (Unchecking this box disables this custom field) > > > > > > > > This then appears as the fill in box for content > > > > Regards Simon > > > > > > -----Original Message----- > From: David Gubler [mailto:dg at doodle.com] > Sent: 12 February 2009 11:19 > To: rt-users at lists.bestpractical.com > Subject: [rt-users] Content broken on latest RTFM > > > > Hi all > > > > I'm trying to migrate from an old server to a fresh installation on a > > new server. > > > > Old server: > > Debian etch > > Package request-tracker3.4 Version 3.4.5 > > Package rtfm Version 2.0.3 > > MySQL 5.0 > > > > New Server: > > Debian etch > > Package request-tracker3.6 Version 3.6.1 > > RTFM installed from source Version 2.4.1 > > MySQL 5.0 > > > > Problem: > > The articles have no content, and when I try to create a new article I > > cannot enter any content because I just see the title "Content" without > > any input fields (?!?). It all works fine on the old installation. > > > > I have read the mailing list archives, where I found several posts > > regarding a similar problem (database not properly migrated). However, I > > think I did it correctly... > > > > What I did: > > - Run migration tool (sbin/migrate-2.0-to-2.1) on old (!) server, which > > seemed to work fine and did a bunch of stuff. > > - Dump the RT database, import it on new server > > - Install RT 3.6, run RT 3.6 database migration script > > (/usr/sbin/rt-setup-database-3.6 |--action init --dba root > > --prompt|-for-dba-password) > > - Now RT 3.6 itself seems to work fine > > - Download RTFM 2.4.1, install it over the debian package > > (/usr/local/share/request-tracker3.6/) > > - Migrate the RTFM database as described in the RTFM manual > > (rt-setup-database --action schema/acl/insert for version 2.1.0, 2.1.30, > > 2.2RC2) > > > > Now I have the following tables: > > +-------------------------+ > > | Tables_in_rtdb | > > +-------------------------+ > > | ACL | > > | Attachments | > > | Attributes | > > | CachedGroupMembers | > > | CustomFieldValues | > > | CustomFields | > > | FM_ArticleCFValues | > > | FM_Articles | > > | FM_ClassCustomFields | > > | FM_Classes | > > | FM_CustomFieldValues | > > | FM_CustomFields | > > | FM_ObjectTopics | > > | FM_Topics | > > | FM_Transactions | > > | GroupMembers | > > | Groups | > > | Links | > > | ObjectCustomFieldValues | > > | ObjectCustomFields | > > | Principals | > > | Queues | > > | ScripActions | > > | ScripConditions | > > | Scrips | > > | Templates | > > | Tickets | > > | Transactions | > > | Users | > > | sessions | > > +-------------------------+ > > > > which is two more FM_-tables than before the migration, so I guess it > > has worked. > > > > I also tried: > > RTFM-2.2.1 > > RTFM-2.0.1 > > installing request-tracker 3.6.7 from source instead of the debian package > > > > All with the same result: No "Content" for articles and no "Content" > > input fields for new articles. > > > > Any ideas? > > > > Can I fix this, manually if necessary? > > > > Thanks & best regards, > > > > David Gubler > > _______________________________________________ > > 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 > From sven.sternberger at desy.de Thu Feb 12 12:34:57 2009 From: sven.sternberger at desy.de (Sven Sternberger) Date: Thu, 12 Feb 2009 18:34:57 +0100 Subject: [rt-users] tracking tickets which have been replied to? In-Reply-To: References: Message-ID: <1234460097.7536.19.camel@pcx4546.desy.de> Hi! On Mi, 2009-02-11 at 14:17 -0800, Jo Rhett wrote: > Okay, this is so obvious of a requirement in a ticket system that I've > been spinning in circles assuming I'm overlooking something. However, > I haven't found it, so could someone please clue me in how to do this? I have exactly the same problem (which don't help you). I also tried the stalled method, but in "production" it's not a good solution. I thought about a search like "give me all tickets where last transaction is not from owner or system" but I failed to put this in TicketSql, maybe somebody on the listy has an idea. or maybe configure a customfield (lastUpdateBy: owner,other), and then write a scrip which alter the customfield on every correspond, depending if the sender is equal the owner or not. Afterward you can define a simple search where lastUpdatedBy="other" I think I will try this the next days reagrds! sven From MarkRoedel at letu.edu Thu Feb 12 13:09:11 2009 From: MarkRoedel at letu.edu (Roedel, Mark) Date: Thu, 12 Feb 2009 12:09:11 -0600 Subject: [rt-users] Reminders still open after a ticket is closed In-Reply-To: <72D9E13A8FC8994794D448E91198AE070133FBA8@mail.sys.internal> References: <72D9E13A8FC8994794D448E91198AE070133FBA8@mail.sys.internal> Message-ID: <0DD6BC9ABC0D2747AF8589AEA9722A4002773A3A@rachael-reborn.letnet.net> That part of it looks OK to me. I recently had a problem with a similarly-structured scrip that didn't seem to be firing. It turned out to be because I'd left the "Custom Action Preparation Code" field blank. When I put a "return 1;" into that field, it started behaving as expected. -- Mark Roedel Senior Programmer/Analyst - Web Services LeTourneau University From: Jim Tambling [mailto:Jim.Tambling at datatote.co.uk] Sent: Wednesday, February 11, 2009 4:36 PM To: Roedel, Mark; rt-users at bestpractical.com Subject: RE: [rt-users] Reminders still open after a ticket is closed Thanks Mark I tried that but it doesn't seem to work. Here's the code I put in the scrip; my $tickets = new RT::Tickets(RT->SystemUser) my $id = $self->TicketObj->id; my $queue = $self->TicketObj->QueueObj->Name; return 1 unless (defined($id)); # Can this be undefined? $tickets->FromSQL('Type = "reminder" AND RefersTo="'.$id.'"'); while (my $ticket = $tickets->Next) { $RT::Logger->info("Closing associated reminder"); $ticket->SetStatus("resolved"); } return 1; I have zero knowledge of perl so I don't know if this is correct. Regards -----Original Message----- From: Roedel, Mark [mailto:MarkRoedel at letu.edu] Sent: 10 February 2009 23:04 To: Jim Tambling; rt-users at bestpractical.com Subject: RE: [rt-users] Reminders still open after a ticket is closed Looks to me like http://wiki.bestpractical.com/view/OnQueueChangeFixReminders should get you most of the way there as a jumping-off point. Obviously, you'd change the scrip condition to "On Resolve" and you'd use a $ticket->SetStatus('resolved') call in place of the $Ticket->SetQueue($queue) in the while loop... -- Mark Roedel Senior Programmer/Analyst - Web Services LeTourneau University From: rt-users-bounces at lists.bestpractical.com [mailto:rt-users-bounces at lists.bestpractical.com] On Behalf Of Jim Tambling Sent: Tuesday, February 10, 2009 4:37 PM To: rt-users at bestpractical.com Subject: [rt-users] Reminders still open after a ticket is closed If I set a reminder for a ticket, after the ticket is resolved the reminder is still active. Is there anyway to automate closing the reminders on resolution of the ticket? Regards ________________________________ Spam Not spam Forget previous vote -------------- next part -------------- An HTML attachment was scrubbed... URL: From vadud3 at gmail.com Thu Feb 12 13:17:26 2009 From: vadud3 at gmail.com (Asif Iqbal) Date: Thu, 12 Feb 2009 13:17:26 -0500 Subject: [rt-users] User defined Condition: Autoclose Message-ID: How do I define a condition where requestor address is 'user at example' com? I will use this condition to close a ticket In chapter 6.1.3 Conditions of RT Essentials by Oreilly I see something like this $self->TicketObj->status eq 'deleted'; and my $email = $self->TicketObj->RequestorAddresses[0] So can I have a user defined condition like this? $self->TicketObj->RequestorAddresses eq 'user at example.com' ? Is that a valid syntax ? -- Asif Iqbal PGP Key: 0xE62693C5 KeyServer: pgp.mit.edu A: Because it messes up the order in which people normally read text. Q: Why is top-posting such a bad thing? From vadud3 at gmail.com Thu Feb 12 14:02:50 2009 From: vadud3 at gmail.com (Asif Iqbal) Date: Thu, 12 Feb 2009 14:02:50 -0500 Subject: [rt-users] User defined Condition: Autoclose In-Reply-To: References: Message-ID: On Thu, Feb 12, 2009 at 1:17 PM, Asif Iqbal wrote: > How do I define a condition where requestor address is 'user at example' > com? I will use this condition to close a ticket > > In chapter 6.1.3 Conditions of RT Essentials by Oreilly I see > something like this > > $self->TicketObj->status eq 'deleted'; > > and > > my $email = $self->TicketObj->RequestorAddresses[0] > > So can I have a user defined condition like this? > > $self->TicketObj->RequestorAddresses eq 'user at example.com' ? > > Is that a valid syntax ? I tried to setup like this thru web but it does not resolve the ticket. What am I doing wrong? Description: AutoClose Condition: User Defined Action: User Defined Template: Global template: Autoreply Stage: TransactionCreate Custom condition: $self->TicketObj->RequestorAddresses eq 'vadud3 at gmail.com'; Custom action preparation code: return 1; Custom action cleanup code: $self->TicketObj->SetStatus resolved; I see it create a ticket but it does not autoclose it > > -- > Asif Iqbal > PGP Key: 0xE62693C5 KeyServer: pgp.mit.edu > A: Because it messes up the order in which people normally read text. > Q: Why is top-posting such a bad thing? > -- Asif Iqbal PGP Key: 0xE62693C5 KeyServer: pgp.mit.edu A: Because it messes up the order in which people normally read text. Q: Why is top-posting such a bad thing? From ranatanveer at gmail.com Thu Feb 12 14:05:01 2009 From: ranatanveer at gmail.com (Rana Tanveer) Date: Fri, 13 Feb 2009 00:05:01 +0500 Subject: [rt-users] Query to get watchers of Qs. In-Reply-To: References: <2282948c0902071612h4976406epd873aab598e8ef98@mail.gmail.com> Message-ID: <2282948c0902121105id79f2a9i6ec84d9a1cce22b1@mail.gmail.com> Hi Torsten BrummThanks for your resopnse. but i need simple SQL query to get watchers from RT Database. my requirement is specific, because i am also creating monitoring script for my RT Service. Again i want to mention, i am using RT 3.8.1. could anyone have this query. I read the stuff on wiki but no clue, below is only for Ticket Watchers. http://wiki.bestpractical.com/view/GetWatcherInfoByTicket My Requirement = i want simple query to get current watchers of all the enable Queues. Thanks and Regards. Rana Tanveer On Mon, Feb 9, 2009 at 5:00 PM, Torsten Brumm wrote: > Hi Rana, > > try this out: > http://search.cpan.org/~elacour/RT-Extension-WatchedQueues-0.03/lib/RT/Extension/WatchedQueues.pm > > I think it is what you are looking for. > > Torsten > > 2009/2/8 Rana Tanveer > >> Hi Everyone >> >> I am using RT 3.8.1 on Fedora 10. >> >> I need one query from you, i want to get watchers of Queues from RT >> database to display at my site for management review. >> can anyone help me out in this query ? >> >> >> -- >> --------------------------------------------- >> Rana Tanveer >> +923224194457 >> http://www.sysadminsline.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 >> > > > > -- > MFG > > Torsten Brumm > > http://www.torsten-brumm.de > -------------- next part -------------- An HTML attachment was scrubbed... URL: From vadud3 at gmail.com Thu Feb 12 14:07:36 2009 From: vadud3 at gmail.com (Asif Iqbal) Date: Thu, 12 Feb 2009 14:07:36 -0500 Subject: [rt-users] User defined Condition: Autoclose In-Reply-To: References: Message-ID: On Thu, Feb 12, 2009 at 2:02 PM, Asif Iqbal wrote: > On Thu, Feb 12, 2009 at 1:17 PM, Asif Iqbal wrote: >> How do I define a condition where requestor address is 'user at example' >> com? I will use this condition to close a ticket >> >> In chapter 6.1.3 Conditions of RT Essentials by Oreilly I see >> something like this >> >> $self->TicketObj->status eq 'deleted'; >> >> and >> >> my $email = $self->TicketObj->RequestorAddresses[0] >> >> So can I have a user defined condition like this? >> >> $self->TicketObj->RequestorAddresses eq 'user at example.com' ? >> >> Is that a valid syntax ? > > I tried to setup like this thru web but it does not resolve the > ticket. What am I doing wrong? > > Description: AutoClose > Condition: User Defined > Action: User Defined > Template: Global template: Autoreply > Stage: TransactionCreate > > Custom condition: > $self->TicketObj->RequestorAddresses eq 'vadud3 at gmail.com'; > > Custom action preparation code: > return 1; > > Custom action cleanup code: > $self->TicketObj->SetStatus resolved; It is working now. I found the fix in http://wiki.bestpractical.com/view/ResolveTicket > > I see it create a ticket but it does not autoclose it > > > >> >> -- >> Asif Iqbal >> PGP Key: 0xE62693C5 KeyServer: pgp.mit.edu >> A: Because it messes up the order in which people normally read text. >> Q: Why is top-posting such a bad thing? >> > > > > -- > Asif Iqbal > PGP Key: 0xE62693C5 KeyServer: pgp.mit.edu > A: Because it messes up the order in which people normally read text. > Q: Why is top-posting such a bad thing? > -- Asif Iqbal PGP Key: 0xE62693C5 KeyServer: pgp.mit.edu A: Because it messes up the order in which people normally read text. Q: Why is top-posting such a bad thing? From c_apotla at qualcomm.com Thu Feb 12 14:06:34 2009 From: c_apotla at qualcomm.com (Potla, Ashish Bassaliel) Date: Thu, 12 Feb 2009 11:06:34 -0800 Subject: [rt-users] User defined Condition: Autoclose In-Reply-To: References: , Message-ID: Try this in the custom condition: if ( $self->TicketObj->RequestorAddresses eq 'vadud3 at gmail.com') { return 1; } esle { return 0; } -Ashish ________________________________________ From: rt-users-bounces at lists.bestpractical.com [rt-users-bounces at lists.bestpractical.com] On Behalf Of Asif Iqbal [vadud3 at gmail.com] Sent: Friday, February 13, 2009 12:32 AM To: rt-users Users; rt-devel at lists.bestpractical.com Subject: Re: [rt-users] User defined Condition: Autoclose On Thu, Feb 12, 2009 at 1:17 PM, Asif Iqbal wrote: > How do I define a condition where requestor address is 'user at example' > com? I will use this condition to close a ticket > > In chapter 6.1.3 Conditions of RT Essentials by Oreilly I see > something like this > > $self->TicketObj->status eq 'deleted'; > > and > > my $email = $self->TicketObj->RequestorAddresses[0] > > So can I have a user defined condition like this? > > $self->TicketObj->RequestorAddresses eq 'user at example.com' ? > > Is that a valid syntax ? I tried to setup like this thru web but it does not resolve the ticket. What am I doing wrong? Description: AutoClose Condition: User Defined Action: User Defined Template: Global template: Autoreply Stage: TransactionCreate Custom condition: $self->TicketObj->RequestorAddresses eq 'vadud3 at gmail.com'; Custom action preparation code: return 1; Custom action cleanup code: $self->TicketObj->SetStatus resolved; I see it create a ticket but it does not autoclose it > > -- > Asif Iqbal > PGP Key: 0xE62693C5 KeyServer: pgp.mit.edu > A: Because it messes up the order in which people normally read text. > Q: Why is top-posting such a bad thing? > -- Asif Iqbal PGP Key: 0xE62693C5 KeyServer: pgp.mit.edu A: Because it messes up the order in which people normally read text. Q: Why is top-posting such a bad thing? _______________________________________________ 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 From Paul_OLeary at breconridge.com Thu Feb 12 14:00:20 2009 From: Paul_OLeary at breconridge.com (O'Leary, Paul) Date: Thu, 12 Feb 2009 14:00:20 -0500 Subject: [rt-users] Link Relationships Missing: RT 363 to 380 or 382 Message-ID: <441943649C17D84E8262B5B2E9A4CAE4542F1C@kbexch02.corp.breconridge.com> Hello I am trying to upgrade from 3.6.3 to 3.8 or 3.8.2. I initially tried going to 380, using the a copy of the same database that 363 was using in Oracle. I ran the database upgrade scripts fine, and was able to connect to it fine and do just about everything. I say just about, as I noticed that all the links and child/parent relationships are gone from the tickets. I checked the messages file and noticed that I get this entry for a bunch of tickets. The look like the entries in the links table, so I am assuming they are related to my dilemma. Can anyone tell me what has happened to my links. I'll include an entry from the links table from my production system and one from my current 380 dev system for comparison. Current PROD system (running 363) link table entry: (sorry for the formatting...sqlplus output is too wide) - this still works, links show in tickets. ID ---------- BASE ------------------------------------------------------------------------ ------------------------------------------------------------------------ -------------------------------------------------------- TARGET ------------------------------------------------------------------------ ------------------------------------------------------------------------ -------------------------------------------------------- TYPE LOCALTARGET LOCALBASE LASTUPDATEDBY LASTUPDAT CREATOR CREATED -------------------- ----------- ---------- ------------- --------- ---------- --------- 35201 fsck.com-rt://BreconRidge.com/ticket/136735 fsck.com-rt://BreconRidge.com/ticket/138005 MemberOf 138005 136735 93547 12-FEB-09 93547 12-FEB-09 Current DEV system running 382 (was 380): ID ---------- BASE ------------------------------------------------------------------------ ------------------------------------------------------------------------ -------------------------------------------------------- TARGET ------------------------------------------------------------------------ ------------------------------------------------------------------------ -------------------------------------------------------- TYPE LOCALTARGET LOCALBASE LASTUPDATEDBY LASTUPDAT CREATOR CREATED -------------------- ----------- ---------- ------------- --------- ---------- --------- 24760 fsck.com-rt://BreconRidge.com/ticket/133271 fsck.com-rt://BreconRidge.com/ticket/133270 MemberOf 133270 133271 3015 12-SEP-08 3015 12-SEP-08 ERROR from messages file on DEV system: Feb 12 13:34:57 brerttest RT: Resolver RT::URI::fsck_com_rt could not parse fsck.com-rt://BreconRidge.com/ticket/115007 (/usr/local/rt/bin/../lib/RT/URI.pm:147) I haven't seen too much documentation or threads on this in my seaches. There was one from 2005 that went unanswered. This is the only issue stopping from roling up to 382 right now. Any help would be appreciated. Cheers Paul "This email is confidential. Any unauthorized use or disclosure is strictly prohibited." -------------- next part -------------- An HTML attachment was scrubbed... URL: From jrhett at netconsonance.com Thu Feb 12 14:43:02 2009 From: jrhett at netconsonance.com (Jo Rhett) Date: Thu, 12 Feb 2009 11:43:02 -0800 Subject: [rt-users] global default auto-refresh patch for 3.8.2 Message-ID: This patch is adapted from something Ian posted for 3.6.4 adapted for 3.8.2. Jesse, please consider adopting this for the mainline as it is a popular question and this patch allows the person to override the default. --- html/autohandler_orig 2009-02-12 11:31:49.000000000 -0800 +++ html/autohandler 2009-02-12 11:42:02.000000000 -0800 @@ -208,6 +208,13 @@ if defined $new_user_info->{$attribute}; } $session{'CurrentUser'}->Load($user); + + unless( $session{'home_refresh_interval'} ) { + $session{'home_refresh_interval'} = $RT::HomeRefreshInterval; + } + unless( $session{'tickets_refresh_interval'} ) { + $session{'tickets_refresh_interval'} = $RT::TicketsRefreshInterval; + } } else { @@ -273,6 +280,13 @@ $m->abort; } $session{'CurrentUser'} = $user_obj; + unless( $session{'home_refresh_interval'} ) { + $session{'home_refresh_interval'} = $RT::HomeRefreshInterval; + } + unless( $session{'tickets_refresh_interval'} ) { + $session{'tickets_refresh_interval'} = $RT::TicketsRefreshInterval; + } + $RT::Logger->info( "Successful login for $user from $ENV{'REMOTE_ADDR'}"); $m->callback( %ARGS, CallbackName => 'SuccessfulLogin' ); -- Jo Rhett Net Consonance : consonant endings by net philanthropy, open source and other randomness -------------- next part -------------- An HTML attachment was scrubbed... URL: From kmcdermo at purdue.edu Thu Feb 12 14:51:05 2009 From: kmcdermo at purdue.edu (Keith A McDermott) Date: Thu, 12 Feb 2009 14:51:05 -0500 Subject: [rt-users] Convert Bugzilla to RT3 In-Reply-To: <49369629.5000106@purdue.edu> References: <49369629.5000106@purdue.edu> Message-ID: <49947DA9.3080002@purdue.edu> Trying to bring this back since the list is a bit more active than the last time i asked... :-) Anyone have success importing bugzilla data into RT 3.8.x? I have a script from the archives, but it's from a good three years ago and the original creator's company has been bought out by Sun. Thanks Keith McDermott Desktop Support Specialist - PCN Physics Department, Purdue University Web: http://www.physics.purdue.edu/pcn E-mail: kmcdermo at purdue.edu Phone: (765)496-2202 Address:525 Northwestern Avenue West Lafayette, IN 47907 Check out our new documentation at: http://www.physics.purdue.edu/PCN/doc/wiki Keith A McDermott wrote: > I saw the post liked below on the list from a few years ago but was > wondering if this was still relevant for newer (3.8.1) builds of RT. I > didn't want to go and mess up my database unless someone has used it or > knows of something else that may work better. > > http://www.gossamer-threads.com/lists/rt/users/53073 > > I've got a bugzilla install that served as a ticketing system for the > last 5+ years and we're moving to Request Tracker now. > > Thanks, > Keith > > From jrhett at netconsonance.com Thu Feb 12 15:11:55 2009 From: jrhett at netconsonance.com (Jo Rhett) Date: Thu, 12 Feb 2009 12:11:55 -0800 Subject: [rt-users] change updates from unprivileged user to a different transaction type? In-Reply-To: <1234460097.7536.19.camel@pcx4546.desy.de> References: <1234460097.7536.19.camel@pcx4546.desy.de> Message-ID: Jesse, how would you feel about having an action which indicates an update not by a privileged user? Ie, "Correspond" and Comments would be from privileged. "Update" or "Response" (or any other name you like) would be an update from an unprivileged user. This kind of change would make it easy to build Scrip actions around handling responses better. Would you be interested in this? On Feb 12, 2009, at 9:34 AM, Sven Sternberger wrote: > On Mi, 2009-02-11 at 14:17 -0800, Jo Rhett wrote: >> Okay, this is so obvious of a requirement in a ticket system that >> I've >> been spinning in circles assuming I'm overlooking something. >> However, >> I haven't found it, so could someone please clue me in how to do >> this? > I have exactly the same problem (which don't help you). I also > tried the stalled method, but in "production" it's not a good > solution. I thought about a search like "give me all tickets where > last > transaction is not from owner or system" but I failed to put this in > TicketSql, maybe somebody on the listy has an idea. > > or maybe configure a customfield (lastUpdateBy: owner,other), and then > write a scrip which alter the customfield on every correspond, > depending > if the sender is equal the owner or not. > Afterward you can define a simple search where lastUpdatedBy="other" > I think I will try this the next days > > reagrds! > > sven > > > > _______________________________________________ > 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 -- Jo Rhett Net Consonance : consonant endings by net philanthropy, open source and other randomness -------------- next part -------------- An HTML attachment was scrubbed... URL: From falcone at bestpractical.com Thu Feb 12 15:12:51 2009 From: falcone at bestpractical.com (Kevin Falcone) Date: Thu, 12 Feb 2009 15:12:51 -0500 Subject: [rt-users] global default auto-refresh patch for 3.8.2 In-Reply-To: References: Message-ID: On Feb 12, 2009, at 2:43 PM, Jo Rhett wrote: > This patch is adapted from something Ian posted for 3.6.4 adapted > for 3.8.2. Jesse, please consider adopting this for the mainline as > it is a popular question and this patch allows the person to > override the default. Since 3.8 added user level preferences, this really looks like something which is better handled as a user preference. RT::Config has docs about adding items to %META and marking them as user overridable. It would also want some changes and docs for RT_Config.pm because you could set a global default (default would be 0) -kevin > > --- html/autohandler_orig 2009-02-12 11:31:49.000000000 -0800 > +++ html/autohandler 2009-02-12 11:42:02.000000000 -0800 > @@ -208,6 +208,13 @@ > if defined $new_user_info->{$attribute}; > } > $session{'CurrentUser'}->Load($user); > + > + unless( $session{'home_refresh_interval'} ) { > + $session{'home_refresh_interval'} = > $RT::HomeRefreshInterval; > + } > + unless( $session{'tickets_refresh_interval'} ) { > + $session{'tickets_refresh_interval'} = > $RT::TicketsRefreshInterval; > + } > } > else { > > @@ -273,6 +280,13 @@ > $m->abort; > } > $session{'CurrentUser'} = $user_obj; > + unless( $session{'home_refresh_interval'} ) { > + $session{'home_refresh_interval'} = > $RT::HomeRefreshInterval; > + } > + unless( $session{'tickets_refresh_interval'} ) { > + $session{'tickets_refresh_interval'} = > $RT::TicketsRefreshInterval; > + } > + > $RT::Logger->info( > "Successful login for $user from $ENV{'REMOTE_ADDR'}"); > $m->callback( %ARGS, CallbackName => 'SuccessfulLogin' ); > > > > > -- > Jo Rhett > Net Consonance : consonant endings by net philanthropy, open source > and other randomness > > > _______________________________________________ > 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 From pboguszewski at library.wisc.edu Thu Feb 12 15:14:30 2009 From: pboguszewski at library.wisc.edu (Peter Boguszewski) Date: Thu, 12 Feb 2009 14:14:30 -0600 Subject: [rt-users] Asset shredder not working in 3.8.x Message-ID: <49948326.2070000@library.wisc.edu> I posted twice to the code.google.com site but thought this would be a better forum to see if anyone is having the same issues that I am. Background: we have been using RT and AT for a couple of years now and the shredder for tickets and assets worked until the update to 3.8.x. I am currently at version 3.8.2. Here are my two posts to the google code site: I am running into issues adding the asset shredder plugin when running RT 3.8.1 with AT 1.2.3. I get errors just going to the Shredder page once I add the plugin files: Error during compilation of /opt/rt3/share/html/Admin/Tools/Shredder/Elements/SelectPlugin: Can't locate object method "Type" via package "RT::Shredder::Plugin::Assets" at /opt/rt3/bin/../lib/RT/Shredder/Plugin.pm line 141. Stack: [/opt/rt3/bin/../lib/RT/Shredder/Plugin.pm:141] [/opt/rt3/share/html/Admin/Tools/Shredder/Elements/SelectPlugin:72] [/usr/share/perl5/HTML/Mason/Interp.pm:811] [/usr/share/perl5/HTML/Mason/Interp.pm:441] [/usr/share/perl5/HTML/Mason/Request.pm:1093] [/usr/share/perl5/HTML/Mason/Request.pm:1026] [/usr/share/perl5/HTML/Mason/Request.pm:1204] [/opt/rt3/share/html/Admin/Tools/Shredder/index.html:65] [/opt/rt3/share/html/Admin/Tools/Shredder/autohandler:59] [/opt/rt3/share/html/Admin/autohandler:49] [/opt/rt3/share/html/autohandler:308] AND We just updated to RT 3.8.2 and tried this again. I think I now know more relevant information. We do not use the normal built in Asset types. We have modified them to be specific to our Dell computers and have actually removed the built in types. Could this be our issue? Could someone point me in the right direction to fix this? I am a sys admin and have some coding knowledge (but definitely not a perl expert). Thanks so much for any information! Pete Thanks for any help or direction, Pete -- _____________________________________ Peter Boguszewski Library Systems Administrator UW Madison - Library Technology Group pboguszewski at library.wisc.edu 608.262.4768 -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: smime.p7s Type: application/x-pkcs7-signature Size: 3348 bytes Desc: S/MIME Cryptographic Signature URL: From jrhett at netconsonance.com Thu Feb 12 15:19:34 2009 From: jrhett at netconsonance.com (Jo Rhett) Date: Thu, 12 Feb 2009 12:19:34 -0800 Subject: [rt-users] global default auto-refresh patch for 3.8.2 In-Reply-To: References: Message-ID: > On Feb 12, 2009, at 2:43 PM, Jo Rhett wrote: >> This patch is adapted from something Ian posted for 3.6.4 adapted >> for 3.8.2. Jesse, please consider adopting this for the mainline as >> it is a popular question and this patch allows the person to >> override the default. On Feb 12, 2009, at 12:12 PM, Kevin Falcone wrote: > Since 3.8 added user level preferences, this really looks like > something which is > better handled as a user preference. RT::Config has docs about > adding items > to %META and marking them as user overridable. It would also want > some > changes and docs for RT_Config.pm because you could set a global > default > (default would be 0) Are you saying that you guys will implement it that way for a later version? Or is this a request for a patch to implement these things? -- Jo Rhett Net Consonance : consonant endings by net philanthropy, open source and other randomness -------------- next part -------------- An HTML attachment was scrubbed... URL: From todd at chaka.net Thu Feb 12 15:18:08 2009 From: todd at chaka.net (Todd Chapman) Date: Thu, 12 Feb 2009 15:18:08 -0500 Subject: [rt-users] Asset shredder not working in 3.8.x In-Reply-To: <49948326.2070000@library.wisc.edu> References: <49948326.2070000@library.wisc.edu> Message-ID: <519782dc0902121218x3d8c20a0r296c200650124545@mail.gmail.com> Peter, I'm guessing the design of shredder has changed between it's days as an RT 3.4 extension and it's current status as a feature of RT 3.8. The asset shredder hasn't been upgraded to handle any changes. Patches are welcome. -Todd On Thu, Feb 12, 2009 at 3:14 PM, Peter Boguszewski < pboguszewski at library.wisc.edu> wrote: > I posted twice to the code.google.com site but thought this would be a > better forum to see if anyone is having the same issues that I am. > > Background: we have been using RT and AT for a couple of years now and the > shredder for tickets and assets worked until the update to 3.8.x. I am > currently at version 3.8.2. Here are my two posts to the google code site: > > I am running into issues adding the asset shredder plugin when running RT > 3.8.1 with > AT 1.2.3. I get errors just going to the Shredder page once I add the > plugin files: > > Error during compilation of > /opt/rt3/share/html/Admin/Tools/Shredder/Elements/SelectPlugin: Can't > locate object > method "Type" via package "RT::Shredder::Plugin::Assets" at > */opt/rt3/bin/*../lib/RT/Shredder/Plugin.pm line 141. Stack: > [*/opt/rt3/bin/*../lib/RT/Shredder/Plugin.pm:141] > [/opt/rt3/share/html/Admin/Tools/Shredder/Elements/SelectPlugin:72] > [/usr/share/perl5/HTML/Mason/Interp.pm:811] > [/usr/share/perl5/HTML/Mason/Interp.pm:441] > [/usr/share/perl5/HTML/Mason/Request.pm:1093] > [/usr/share/perl5/HTML/Mason/Request.pm:1026] > [/usr/share/perl5/HTML/Mason/Request.pm:1204] > [/opt/rt3/share/html/Admin/Tools/Shredder/index.html:65] > [/opt/rt3/share/html/Admin/Tools/Shredder/autohandler:59] > [/opt/rt3/share/html/Admin/autohandler:49] > [/opt/rt3/share/html/autohandler:308] > AND > > We just updated to RT 3.8.2 and tried this again. I think I now know more > relevant > information. We do not use the normal built in Asset types. We have > modified them > to be specific to our Dell computers and have actually removed the built in > types. Could this be our issue? Could someone point me in the right > direction to fix this? > I am a sys admin and have some coding knowledge (but definitely not a perl > expert). > Thanks so much for any information! > > Pete > > > Thanks for any help or direction, > > Pete > > -- > _____________________________________ > Peter Boguszewski > Library Systems Administrator > UW Madison - Library Technology Group > pboguszewski at library.wisc.edu > 608.262.4768 > > _______________________________________________ > 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 > -------------- next part -------------- An HTML attachment was scrubbed... URL: From falcone at bestpractical.com Thu Feb 12 15:27:55 2009 From: falcone at bestpractical.com (Kevin Falcone) Date: Thu, 12 Feb 2009 15:27:55 -0500 Subject: [rt-users] global default auto-refresh patch for 3.8.2 In-Reply-To: References: Message-ID: <0AC880A8-A48B-4611-BA90-6E6BAE822DB0@bestpractical.com> On Feb 12, 2009, at 3:19 PM, Jo Rhett wrote: >> On Feb 12, 2009, at 2:43 PM, Jo Rhett wrote: >>> This patch is adapted from something Ian posted for 3.6.4 adapted >>> for 3.8.2. Jesse, please consider adopting this for the mainline as >>> it is a popular question and this patch allows the person to >>> override the default. > > On Feb 12, 2009, at 12:12 PM, Kevin Falcone wrote: >> Since 3.8 added user level preferences, this really looks like >> something which is >> better handled as a user preference. RT::Config has docs about >> adding items >> to %META and marking them as user overridable. It would also want >> some >> changes and docs for RT_Config.pm because you could set a global >> default >> (default would be 0) > > Are you saying that you guys will implement it that way for a later > version? Or is this a request for a patch to implement these things? > That was a suggestion of how to make the patch better and more compatible with 3.8 I wouldn't apply any patch that adds two new Config variables without documenting them and adding defaults to the shipped config file. -kevin From gbrown2 at hallmark.com Thu Feb 12 15:51:41 2009 From: gbrown2 at hallmark.com (Gary Lon Brown) Date: Thu, 12 Feb 2009 14:51:41 -0600 Subject: [rt-users] displaying query builder screen taking forever In-Reply-To: <00c901c97107$1b4f9580$51eec080$@com> Message-ID: We've been on RT 3.8.0 now since Nov. 2008. In the last couple of weeks, whenever you try and go to the query builder screen, it causes mysqld to take 100% of the cpu for several minutes before displaying the query builder screen. Any idea what could cause that all of a sudden? Some suspect entries in the http logs when this happens include: [11/Feb/2009:10:04:15 -0600] 162.94.28.110 SSLv3 RC4-MD5 "GET /RTFM/Article/Search.html?HideOptions=1&Summary%7E=blocking+lock HTTP/1.1" 6210 [11/Feb/2009:12:22:54 -0600] 162.94.28.110 TLSv1 DHE-RSA-AES256-SHA "GET /RTFM/Article/Search.html?HideOptions=1&Summary%7E=blocking HTTP/1.1" 6205 Why would just trying to display this screen cause anything of significance to run against the database? We are on MySQL version 5.0.45. Gary ______________________________ Gary Lon Brown Internet Support Team Lead Hallmark Cards, Inc. 2501 McGee, 5C-L04-4, MD#100 Kansas City, MO 64108 Desk: 816-545-2853 * Cell: 816-718-8804 E-Mail: gbrown2 at hallmark.com * Yahoo IM: gbrown2hm Text msg: 8167188804 at cingularme.com http://www.hallmark.com This message, including any attachments, is for the designated recipient only and/or Hallmark Cards, Inc. employees. It may contain privileged, proprietary, or otherwise private information. If you have received it in error, please notify the sender immediately and delete the original. Any other use of the e-mail, disclosure of the information, or distribution by you is prohibited. From jpierce at cambridgeenergyalliance.org Thu Feb 12 16:02:07 2009 From: jpierce at cambridgeenergyalliance.org (Jerrad Pierce) Date: Thu, 12 Feb 2009 16:02:07 -0500 Subject: [rt-users] GIS Software Message-ID: Options: Free software: It looks like the free software I had in mind will work. It's less sophisticated though, and we may eventually run up against some limitations. Few people are likely to be initially familiar with it either, but that may or may not be a problem. ESRI pay: $1,500 per licenses, although it might be a good idea to get a slightly more advanced (and expensive version) for at least one if two seats are purchased. ESRI grant: $100 (or $200, it's a little vague) for the more advanced product. http://www.esri.com/grant/index.html I have a request about whether they'll accept state non-profit status since the IRS has yet to process our applicaiton. -- Cambridge Energy Alliance: Save money. Save the planet. From Matt.Brown at pearson.com Thu Feb 12 15:52:21 2009 From: Matt.Brown at pearson.com (Brown, Matt A.) Date: Thu, 12 Feb 2009 14:52:21 -0600 Subject: [rt-users] Make non-custom field mandatory Message-ID: <9CDE61D514C5824C806B8C182F71024B01867320@iowacsrve3mx02.NCSP.PEROOT.COM> Long time lurker, first time poster. Does anyone know if there's a way to make the standard "Worked" field on a ticket update a Mandatory field? People are forgetting to enter their time worked on certain projects, and it's making our project billing process inaccurate. I know this can be done with Custom Fields, but I don't see anywhere in the Configuration section to make this field mandatory for a particular queue. Or is this only possible using Custom Templates and Custom Fields? Thanks! Matt From jpierce at cambridgeenergyalliance.org Thu Feb 12 16:50:29 2009 From: jpierce at cambridgeenergyalliance.org (Jerrad Pierce) Date: Thu, 12 Feb 2009 16:50:29 -0500 Subject: [rt-users] GIS Software In-Reply-To: References: Message-ID: Apologies, somehow google apps mixed up the recipients of the multiple drafts I was composing. -- Cambridge Energy Alliance: Save money. Save the planet. From jpierce at cambridgeenergyalliance.org Thu Feb 12 16:55:30 2009 From: jpierce at cambridgeenergyalliance.org (Jerrad Pierce) Date: Thu, 12 Feb 2009 16:55:30 -0500 Subject: [rt-users] Make non-custom field mandatory In-Reply-To: <9CDE61D514C5824C806B8C182F71024B01867320@iowacsrve3mx02.NCSP.PEROOT.COM> References: <9CDE61D514C5824C806B8C182F71024B01867320@iowacsrve3mx02.NCSP.PEROOT.COM> Message-ID: On Thu, Feb 12, 2009 at 15:52, Brown, Matt A. wrote: > Does anyone know if there's a way to make the standard "Worked" field on > a ticket update a Mandatory field? People are forgetting to enter their > time worked on certain projects, and it's making our project billing > process inaccurate. I know this can be done with Custom Fields, but I > don't see anywhere in the Configuration section to make this field > mandatory for a particular queue. I would look at modifying the table to make that column NOT NULL. The question, then, is how elegantly RT will handle failed updates, and whether you need to customize the interface to accommodate this. -- Cambridge Energy Alliance: Save money. Save the planet. From ranatanveer at gmail.com Thu Feb 12 17:33:00 2009 From: ranatanveer at gmail.com (Rana Tanveer) Date: Fri, 13 Feb 2009 03:33:00 +0500 Subject: [rt-users] Query to get watchers of Qs. In-Reply-To: <2282948c0902121105id79f2a9i6ec84d9a1cce22b1@mail.gmail.com> References: <2282948c0902071612h4976406epd873aab598e8ef98@mail.gmail.com> <2282948c0902121105id79f2a9i6ec84d9a1cce22b1@mail.gmail.com> Message-ID: <2282948c0902121433ya28a234k3733a4e112f5fdfb@mail.gmail.com> Hi All again I have write Below Query, and is working for me, posting here for community review and sugessions. SELECT DISTINCT Queues.id AS Q_ID, Groups.id AS R_Gr_ID, Groups.Type As Gr_Type, CachedGroupMembers.MemberId AS RoleMember_id, Principals.PrincipalType AS PrincipalType, Users.Name AS UserShortID FROM Queues, Groups, CachedGroupMembers, Principals, Users WHERE Queues.id = 5 AND Groups.Domain = 'RT::Queue-Role' AND Groups.Instance = Queues.id AND CachedGroupMembers.GroupId = Groups.id AND Principals.id = CachedGroupMembers.MemberId AND Principals.Disabled = 0 AND Principals.PrincipalType = 'user' AND Users.id = Principals.id; On Fri, Feb 13, 2009 at 12:05 AM, Rana Tanveer wrote: > Hi Torsten BrummThanks for your resopnse. but i need simple SQL query to > get watchers from RT Database. > > my requirement is specific, because i am also creating monitoring script > for my RT Service. > > Again i want to mention, i am using RT 3.8.1. could anyone have this query. > > I read the stuff on wiki but no clue, below is only for Ticket Watchers. > http://wiki.bestpractical.com/view/GetWatcherInfoByTicket > > My Requirement = i want simple query to get current watchers of all the > enable Queues. > > Thanks and Regards. > > Rana Tanveer > > > On Mon, Feb 9, 2009 at 5:00 PM, Torsten Brumm < > torsten.brumm at googlemail.com> wrote: > >> Hi Rana, >> >> try this out: >> http://search.cpan.org/~elacour/RT-Extension-WatchedQueues-0.03/lib/RT/Extension/WatchedQueues.pm >> >> I think it is what you are looking for. >> >> Torsten >> >> 2009/2/8 Rana Tanveer >> >>> Hi Everyone >>> >>> I am using RT 3.8.1 on Fedora 10. >>> >>> I need one query from you, i want to get watchers of Queues from RT >>> database to display at my site for management review. >>> can anyone help me out in this query ? >>> >>> >>> -- >>> --------------------------------------------- >>> Rana Tanveer >>> +923224194457 >>> http://www.sysadminsline.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 >>> >> >> >> >> -- >> MFG >> >> Torsten Brumm >> >> http://www.torsten-brumm.de >> > > > > -- --------------------------------------------- Rana Tanveer +923224194457 http://www.sysadminsline.com --------------------------------------------- -------------- next part -------------- An HTML attachment was scrubbed... URL: From b.maciejewski at agriplus.pl Fri Feb 13 03:51:29 2009 From: b.maciejewski at agriplus.pl (Bartosz Maciejewski) Date: Fri, 13 Feb 2009 09:51:29 +0100 Subject: [rt-users] RT 3.8.1nb1 on NetBSD 4.0 problem with Out of memory! and FastCGI: incomplete headers (0 bytes) received from server Message-ID: <49953491.9040105@agriplus.pl> Hi there list! This is my first post, and I'm newbie with RT so excuse any trivial question. I have searched many sites and threads but cannot find solution for my problem so I'm writing it here. First of all - configuration: OS: NetBSD 4.0 CPUs: 2x "Intel(R) Xeon(TM) CPU 3.00GHz" RAM: 2 GB Soft: ap2-fastcgi-2.4.6 New, improved CGI-like interface module for Apache p5-FCGI-0.67nb3 Perl5 library for FastCGI, a fast startup alternative to CGI rt-3.8.1nb1 - Industrial-grade ticketing system fcgi-2.4.0nb1 FastCGI application development kit apache-2.0.63nb4 Apache HTTP (Web) server, version 2 mysql-server-5.0.67nb1 MySQL 5, a free SQL database (server) Lots of perl modules which I belive are completly list of what RT need, becouse installed RT from pkgsrc. Now, after compiling and setup VirtualHost on Apache: # Tell FastCGI to put its temporary files somewhere sane. FastCgiIpcDir /tmp FastCgiServer /usr/pkg/bin/mason_handler.fcgi -idle-timeout 360 -processes 10 ServerName 10.1.0.5 # Pass through requests to display images Alias /NoAuth/images/ /usr/pkg/share/rt3/html/NoAuth/images/ AddHandler fastcgi-script .fcgi ScriptAlias / /usr/pkg/bin/mason_handler.fcgi/ I have propper login screen, I can login, but randomly when I click something get error 500 from apache. The logs show something like this: *** /var/log/httpd//error_log *** Out of memory! [Fri Feb 13 09:25:25 2009] [error] [client 10.1.0.85] FastCGI: incomplete headers (0 bytes) received from server "/usr/pkg/bin/mason_handler.fcgi" [Fri Feb 13 09:25:25 2009] [warn] FastCGI: server "/usr/pkg/bin/mason_handler.fcgi" (pid 1446) terminated by calling exit with status '1' [Fri Feb 13 09:25:25 2009] [warn] FastCGI: server "/usr/pkg/bin/mason_handler.fcgi" restarted (pid 21200) *** /var/log/httpd//access_log *** 10.1.0.85 - - [13/Feb/2009:09:25:25 +0100] "GET / HTTP/1.1" 500 699 This error remains, as long as I restart Firefox or any other browser. Then after going to http://10.1.0.5 got normal login page. And logs shows: *** /var/log/httpd//access_log *** 10.1.0.85 - - [13/Feb/2009:09:26:48 +0100] "GET / HTTP/1.1" 200 5074 10.1.0.85 - - [13/Feb/2009:09:26:56 +0100] "POST /index.html HTTP/1.1" 200 16810 *** /var/log/httpd//error_log *** [Fri Feb 13 09:26:56 2009] [error] [client 10.1.0.85] FastCGI: server "/usr/pkg/bin/mason_handler.fcgi" stderr: [Fri Feb 13 08:26:56 2009] [info]: Successful login for root from 10.1.0.85 (/usr/pkg/share/rt3/html/autohandler:273), referer: http://10.1.0.5/ *** /var/log//messages *** Feb 13 09:26:56 snort RT: Successful login for root from 10.1.0.85 (/usr/pkg/share/rt3/html/autohandler:273) So far, so good. But once again, when i chose some options on random time got this error from begin of the post. 100% to recreate error is when i chose "Take" for the ticket. Logs: *** /var/log/httpd//error_log *** [Fri Feb 13 09:29:34 2009] [error] [client 10.1.0.85] FastCGI: server "/usr/pkg/bin/mason_handler.fcgi" stderr: [Fri Feb 13 08:29:34 2009] [info]: #3/68 - Scrip 2 On Owner Change Notify Owner (/usr/pkg/lib/rt3/RT/Action/SendEmail.pm:302), referer: http://10.1.0.5/index.html [Fri Feb 13 09:29:34 2009] [error] [client 10.1.0.85] FastCGI: server "/usr/pkg/bin/mason_handler.fcgi" stderr: [Fri Feb 13 08:29:34 2009] [info]: No recipients found. Not sending. (/usr/pkg/lib/rt3/RT/Interface/Email.pm:338), referer: http://10.1.0.5/index.html Out of memory! [Fri Feb 13 09:29:34 2009] [error] [client 10.1.0.85] FastCGI: incomplete headers (0 bytes) received from server "/usr/pkg/bin/mason_handler.fcgi", referer: http://10.1.0.5/index.html [Fri Feb 13 09:29:34 2009] [warn] FastCGI: server "/usr/pkg/bin/mason_handler.fcgi" (pid 26744) terminated by calling exit with status '1' [Fri Feb 13 09:29:34 2009] [warn] FastCGI: server "/usr/pkg/bin/mason_handler.fcgi" restarted (pid 29552) *** /var/log//messages *** Feb 13 09:29:34 snort RT: #3/68 - Scrip 2 On Owner Change Notify Owner (/usr/pkg/lib/rt3/RT/Action/SendEmail.pm:302) Feb 13 09:29:34 snort RT: No recipients found. Not sending. (/usr/pkg/lib/rt3/RT/Interface/Email.pm:338) *** /var/log/httpd//access_log *** 10.1.0.85 - - [13/Feb/2009:09:29:34 +0100] "GET /Ticket/Display.html?Action=Take&id=3 HTTP/1.1" 302 - 10.1.0.85 - - [13/Feb/2009:09:29:34 +0100] "GET /Ticket/Display.html?id=3&results=8dabe01c05d7625caabbba62e464ae74 HTTP/1.1" 500 699 10.1.0.85 - - [13/Feb/2009:09:29:37 +0100] "GET /favicon.ico HTTP/1.1" 500 699 *** /var/log/httpd//error_log *** Out of memory! [Fri Feb 13 09:29:37 2009] [error] [client 10.1.0.85] FastCGI: incomplete headers (0 bytes) received from server "/usr/pkg/bin/mason_handler.fcgi" [Fri Feb 13 09:29:37 2009] [warn] FastCGI: server "/usr/pkg/bin/mason_handler.fcgi" (pid 5723) terminated by calling exit with status '1' [Fri Feb 13 09:29:39 2009] [warn] FastCGI: server "/usr/pkg/bin/mason_handler.fcgi" restarted (pid 9692) Yes, I know, there maybe some misconfiguration about sending mail, but should RT just inform me about this instead of error 500? Anyway, sometimes when I click for example Configuration (which is not sending mail) got the same Out Of Memory! and incomplete headers error. What may be interesting also, but don't know if this is corressponding, after restarting browser I have that ticket assigned to me. Then when I editing it (seneding comments, closing etc.) it immediatelly log me off. After login, changes I made are comitted (for example closing ticket). Clearing Mason cache also don't help: rm -Rf /var/spool/rt3/mason_data/obj Thank anybody for time to help me :) -- Bartosz Maciejewski From alexyoung at scoutsolutions.co.uk Fri Feb 13 05:46:26 2009 From: alexyoung at scoutsolutions.co.uk (Alex Young) Date: Fri, 13 Feb 2009 10:46:26 -0000 Subject: [rt-users] Approvals in 3.8.2 Message-ID: <3CE7D8D453B27148BBCA0B2063B11E64D5F9F0@s-wor-e-001.SCOUTSOFFICE.local> I had the approval system working in 3.8.1, but for some reason it no longer works in 3.8.2 as expected. If a new ticket is created in our approval queue "Management Approvals" it sends out a normal ticket email, not the approval email. In the "Management Approvals" queue there is a scrip: When an approval ticket is created, notify the Owner and AdminCc of the item awaiting their approval $self->TicketObj->Type eq 'approval' and $self->TransactionObj->Field eq 'Status' and $self->TransactionObj->NewValue eq 'open' and eval { $T::Approving = ($self->TicketObj->AllDependedOnBy( Type => 'ticket' ))[0] } I had a look at the ___Approvals queue to see if it had changed, to find no Scrips at all. There were some updated templates, which I copied over to "Management Approvals". I know a small change was listed in the change log for 3.8.2; has this impacted my system? Anyone have a clue why the approvals don't work as expected? I don't think they are being marked as an Approval either, as they just show up as a normal ticket and not in the Approvals page. -------------- next part -------------- An HTML attachment was scrubbed... URL: From jalexson at jajxn.net Fri Feb 13 07:02:01 2009 From: jalexson at jajxn.net (John Alexson) Date: Fri, 13 Feb 2009 06:02:01 -0600 Subject: [rt-users] Approvals in 3.8.2 In-Reply-To: <3CE7D8D453B27148BBCA0B2063B11E64D5F9F0@s-wor-e-001.SCOUTSOFFICE.local> References: <3CE7D8D453B27148BBCA0B2063B11E64D5F9F0@s-wor-e-001.SCOUTSOFFICE.local> Message-ID: <1234526521.10967.50.camel@kayden.jajxn.net> On Fri, 2009-02-13 at 10:46 +0000, Alex Young wrote: > I had the approval system working in 3.8.1, but for some reason it no > longer works in 3.8.2 as expected. > > > > If a new ticket is created in our approval queue ?Management > Approvals? it sends out a normal ticket email, not the approval email. > > I was a bit confused by the revamped approvals in 3.8.2 as well -- especially the lack of scrips for the ___Approvals queue. It seems these actions are now hardcoded into the system -- at least for the default actions (I'm sure somebody can elaborate more and far better than me on this) Here's how I got mine to work: - Enable the ___Approvals queue - In your templates for your approval queues, ensure that you have "Queue: ___Approvals" specified. - Once the approval ticket got created in ___Approvals, everything started falling into place. Most of the examples I had seen show using a custom queue here, but that didn't seem to be necessary with 3.8.2. You probably understand this stuff already, but for benefit of other confused semi-newbs like myself: I suppose my biggest stumbling block to figuring this out was my lack of understanding of same of the basic concepts of the Approvals system in general. The biggest one being that for every approval, there's actually TWO tickets: The first being the normal ticket itself you want approved. This is the one that gets created or moved into your "Management Approvals" queue. The second is a semi-hidden specialized ticket that gets put in the __Approvals queue (or possibly a queue you created prior to 3.8.2). This is the ticket you see when clicking on the Approvals link and has the Approve, Deny, Notes, etc. fields. Like most things, this seems obvious once you know it, but piecing it together in the beginning can be a little tricky and frustrating. :-) Good luck! John Alexson > > In the ?Management Approvals? queue there is a scrip: > > When an approval ticket is created, notify the Owner and AdminCc of > the item awaiting their approval > $self->TicketObj->Type eq 'approval' and > > $self->TransactionObj->Field eq 'Status' and > > $self->TransactionObj->NewValue eq 'open' and > > eval { $T::Approving = > ($self->TicketObj->AllDependedOnBy( Type => 'ticket' ))[0] } > > > > I had a look at the ___Approvals queue to see if it had changed, to > find no Scrips at all. There were some updated templates, which I > copied over to ?Management Approvals?. > > > > I know a small change was listed in the change log for 3.8.2; has this > impacted my system? > > > > Anyone have a clue why the approvals don?t work as expected? I don?t > think they are being marked as an Approval either, as they just show > up as a normal ticket and not in the Approvals page. > > > _______________________________________________ > 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 From alexyoung at scoutsolutions.co.uk Fri Feb 13 08:28:51 2009 From: alexyoung at scoutsolutions.co.uk (Alex Young) Date: Fri, 13 Feb 2009 13:28:51 -0000 Subject: [rt-users] Approvals in 3.8.2 In-Reply-To: <1234526521.10967.50.camel@kayden.jajxn.net> References: <3CE7D8D453B27148BBCA0B2063B11E64D5F9F0@s-wor-e-001.SCOUTSOFFICE.local> <1234526521.10967.50.camel@kayden.jajxn.net> Message-ID: <3CE7D8D453B27148BBCA0B2063B11E64D5FA3D@s-wor-e-001.SCOUTSOFFICE.local> Thanks for the info. The way I had hoped to use it was having a "Approval" button on the ticket screen, and when pressed it would send all the info to the create new ticket/depends on screen with "Management Approvals" This bit works. I thought I would need separate approval queues for different groups of people. So if I add Queue: ___Approvals to every template in the Management approvals queue, it should work correctly? They are just copies of the ones from the ___Approvals queue. So should I remove the scrips from the Management Approvals queue? Thanks, Alex -----Original Message----- From: John Alexson [mailto:jalexson at jajxn.net] Sent: 13 February 2009 12:02 To: Alex Young Cc: rt-users at lists.bestpractical.com Subject: Re: [rt-users] Approvals in 3.8.2 On Fri, 2009-02-13 at 10:46 +0000, Alex Young wrote: > I had the approval system working in 3.8.1, but for some reason it no > longer works in 3.8.2 as expected. > > > > If a new ticket is created in our approval queue ?Management > Approvals? it sends out a normal ticket email, not the approval email. > > I was a bit confused by the revamped approvals in 3.8.2 as well -- especially the lack of scrips for the ___Approvals queue. It seems these actions are now hardcoded into the system -- at least for the default actions (I'm sure somebody can elaborate more and far better than me on this) Here's how I got mine to work: - Enable the ___Approvals queue - In your templates for your approval queues, ensure that you have "Queue: ___Approvals" specified. - Once the approval ticket got created in ___Approvals, everything started falling into place. Most of the examples I had seen show using a custom queue here, but that didn't seem to be necessary with 3.8.2. You probably understand this stuff already, but for benefit of other confused semi-newbs like myself: I suppose my biggest stumbling block to figuring this out was my lack of understanding of same of the basic concepts of the Approvals system in general. The biggest one being that for every approval, there's actually TWO tickets: The first being the normal ticket itself you want approved. This is the one that gets created or moved into your "Management Approvals" queue. The second is a semi-hidden specialized ticket that gets put in the __Approvals queue (or possibly a queue you created prior to 3.8.2). This is the ticket you see when clicking on the Approvals link and has the Approve, Deny, Notes, etc. fields. Like most things, this seems obvious once you know it, but piecing it together in the beginning can be a little tricky and frustrating. :-) Good luck! John Alexson > > In the ?Management Approvals? queue there is a scrip: > > When an approval ticket is created, notify the Owner and AdminCc of > the item awaiting their approval > $self->TicketObj->Type eq 'approval' and > > $self->TransactionObj->Field eq 'Status' and > > $self->TransactionObj->NewValue eq 'open' and > > eval { $T::Approving = > ($self->TicketObj->AllDependedOnBy( Type => 'ticket' ))[0] } > > > > I had a look at the ___Approvals queue to see if it had changed, to > find no Scrips at all. There were some updated templates, which I > copied over to ?Management Approvals?. > > > > I know a small change was listed in the change log for 3.8.2; has this > impacted my system? > > > > Anyone have a clue why the approvals don?t work as expected? I don?t > think they are being marked as an Approval either, as they just show > up as a normal ticket and not in the Approvals page. > > > _______________________________________________ > 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 From jesse at bestpractical.com Thu Feb 12 17:02:24 2009 From: jesse at bestpractical.com (Jesse Vincent) Date: Thu, 12 Feb 2009 17:02:24 -0500 Subject: [rt-users] change updates from unprivileged user to a different transaction type? In-Reply-To: References: <1234460097.7536.19.camel@pcx4546.desy.de> Message-ID: <20090212220224.GC13543@17h.local> On Thu 12.Feb'09 at 12:11:55 -0800, Jo Rhett wrote: > Jesse, how would you feel about having an action which indicates an update > not by a privileged user? > Ie, "Correspond" and Comments would be from privileged. > "Update" or "Response" (or any other name you like) would be an update > from an unprivileged user. > This kind of change would make it easy to build Scrip actions around > handling responses better. Would you be interested in this? We already have something for you, I think. RT::Transaction->IsInbounda =head2 IsInbound Returns true if the creator of the transaction is a requestor of the ticket. Returns false otherwise =cut -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 194 bytes Desc: not available URL: From jalexson at jajxn.net Fri Feb 13 09:24:17 2009 From: jalexson at jajxn.net (J Alexson) Date: Fri, 13 Feb 2009 08:24:17 -0600 Subject: [rt-users] Approvals in 3.8.2 In-Reply-To: <3CE7D8D453B27148BBCA0B2063B11E64D5FA3D@s-wor-e-001.SCOUTSOFFICE.local> References: <3CE7D8D453B27148BBCA0B2063B11E64D5F9F0@s-wor-e-001.SCOUTSOFFICE.local> <1234526521.10967.50.camel@kayden.jajxn.net> <3CE7D8D453B27148BBCA0B2063B11E64D5FA3D@s-wor-e-001.SCOUTSOFFICE.local> Message-ID: <1234535057.2966.11.camel@sweetrose.janet.local> On Fri, 2009-02-13 at 13:28 +0000, Alex Young wrote: > Thanks for the info. > > The way I had hoped to use it was having a "Approval" button on the ticket screen, and when pressed it would send all the info to the create new ticket/depends on screen with "Management Approvals" This bit works. I thought I would need separate approval queues for different groups of people. > My knowledge of the approvals system is admittedly limited, but it sounds feasible. Hopefully somebody more knowledgable can comment . . . > So if I add Queue: ___Approvals to every template in the Management approvals queue, it should work correctly? They are just copies of the ones from the ___Approvals queue. > > So should I remove the scrips from the Management Approvals queue? > To clarify how my system is setup and works (under 3.8.2): - I have a queue for every individual who can approve a ticket. - Each one of those queues has exactly one template named "Create Approval". This template looks almost identical to the examples seen in the wiki and the RT Essentials book, except the Queue: is always _Approvals - Each queue has exactly two scrips: one that responds to the "On Create" and the other that responds to the "On Queue Change" events. (both using the Create Approval template) - I have no other scrips or templates in the queues - Other than some cosmetic changes, the templates and scrips in the ___Approvals are pretty much left untouched. - When a ticket needs to be approved, it can either be created directly in the approving users' queue, or an existing ticket can be moved there from the Basics screen. I'm sure some more complex mods can be setup, such as the one you're making, but this seems to work pretty well for generic approvals. Again, hopefully somebody more knowledgable than me can comment on this. Good luck! John Alexson > Thanks, > Alex > > > > -----Original Message----- > From: John Alexson [mailto:jalexson at jajxn.net] > Sent: 13 February 2009 12:02 > To: Alex Young > Cc: rt-users at lists.bestpractical.com > Subject: Re: [rt-users] Approvals in 3.8.2 > > On Fri, 2009-02-13 at 10:46 +0000, Alex Young wrote: > > I had the approval system working in 3.8.1, but for some reason it no > > longer works in 3.8.2 as expected. > > > > > > > > If a new ticket is created in our approval queue ?Management > > Approvals? it sends out a normal ticket email, not the approval email. > > > > > > I was a bit confused by the revamped approvals in 3.8.2 as well -- > especially the lack of scrips for the ___Approvals queue. It seems > these actions are now hardcoded into the system -- at least for the > default actions (I'm sure somebody can elaborate more and far better > than me on this) > > Here's how I got mine to work: > > - Enable the ___Approvals queue > - In your templates for your approval queues, ensure that you have > "Queue: ___Approvals" specified. > - Once the approval ticket got created in ___Approvals, everything > started falling into place. > > Most of the examples I had seen show using a custom queue here, but that > didn't seem to be necessary with 3.8.2. > > You probably understand this stuff already, but for benefit of other > confused semi-newbs like myself: > > I suppose my biggest stumbling block to figuring this out was my lack of > understanding of same of the basic concepts of the Approvals system in > general. The biggest one being that for every approval, there's actually > TWO tickets: The first being the normal ticket itself you want > approved. This is the one that gets created or moved into your > "Management Approvals" queue. The second is a semi-hidden specialized > ticket that gets put in the __Approvals queue (or possibly a queue you > created prior to 3.8.2). This is the ticket you see when clicking on > the Approvals link and has the Approve, Deny, Notes, etc. fields. > > Like most things, this seems obvious once you know it, but piecing it > together in the beginning can be a little tricky and frustrating. :-) > > Good luck! > > John Alexson > > > > > In the ?Management Approvals? queue there is a scrip: > > > > When an approval ticket is created, notify the Owner and AdminCc of > > the item awaiting their approval > > $self->TicketObj->Type eq 'approval' and > > > > $self->TransactionObj->Field eq 'Status' and > > > > $self->TransactionObj->NewValue eq 'open' and > > > > eval { $T::Approving = > > ($self->TicketObj->AllDependedOnBy( Type => 'ticket' ))[0] } > > > > > > > > I had a look at the ___Approvals queue to see if it had changed, to > > find no Scrips at all. There were some updated templates, which I > > copied over to ?Management Approvals?. > > > > > > > > I know a small change was listed in the change log for 3.8.2; has this > > impacted my system? > > > > > > > > Anyone have a clue why the approvals don?t work as expected? I don?t > > think they are being marked as an Approval either, as they just show > > up as a normal ticket and not in the Approvals page. > > > > > > _______________________________________________ > > 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 > > _______________________________________________ > 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 From Richard.Foley at rfi.net Fri Feb 13 10:03:51 2009 From: Richard.Foley at rfi.net (Richard Foley) Date: Fri, 13 Feb 2009 16:03:51 +0100 Subject: [rt-users] Approvals status open->resolved Message-ID: <200902131603.51640.Richard.Foley@rfi.net> Hi all, I'm using RT 3.8.2 to set up approvals, and I'd like the approval process to set the ticket status to "resolved", instead of "open". I'm setting the status to "pending" inbetween times, and I'd like to get to "resolved" without RT ignoring me :-) To which end I have fudged the code temporarily like this: # /opt/rt3/lib/RT/Approval/Rule/Passed.pm:line 80: # $obj->SetStatus( Status => 'open', Force => 1 ); $obj->SetStatus( Status => 'resolved', Force => 1 ); Only the ticket is still set to "open"! The target ticket is happily marked as "rejected" or "open", but I'm unable to get it to choose "resolved"... I've also tried this with local/ with no more luck - anyone have a better idea, please? -- Richard Foley Ciao - shorter than aufwiedersehen http://www.rfi.net/ From clkao at bestpractical.com Fri Feb 13 09:10:38 2009 From: clkao at bestpractical.com (Chia-liang Kao) Date: Fri, 13 Feb 2009 14:10:38 +0000 (UTC) Subject: [rt-users] Approvals in 3.8.2 References: <3CE7D8D453B27148BBCA0B2063B11E64D5F9F0@s-wor-e-001.SCOUTSOFFICE.local> <1234526521.10967.50.camel@kayden.jajxn.net> Message-ID: John, John Alexson jajxn.net> writes: > I was a bit confused by the revamped approvals in 3.8.2 as well -- > especially the lack of scrips for the ___Approvals queue. It seems > these actions are now hardcoded into the system -- at least for the > default actions (I'm sure somebody can elaborate more and far better > than me on this) Yes, the logic for the approval workflow have been migrated to use the RT Rules system, which avoids maintaining non-trivial code in database column as in scrips. If you are using the original approval scrips, everything should be backward-compatible. > Here's how I got mine to work: > > - Enable the ___Approvals queue > - In your templates for your approval queues, ensure that you have > "Queue: ___Approvals" specified. > - Once the approval ticket got created in ___Approvals, everything > started falling into place. > > Most of the examples I had seen show using a custom queue here, but that > didn't seem to be necessary with 3.8.2. > > You probably understand this stuff already, but for benefit of other > confused semi-newbs like myself: > > I suppose my biggest stumbling block to figuring this out was my lack of > understanding of same of the basic concepts of the Approvals system in > general. The biggest one being that for every approval, there's actually > TWO tickets: The first being the normal ticket itself you want > approved. This is the one that gets created or moved into your > "Management Approvals" queue. The second is a semi-hidden specialized > ticket that gets put in the __Approvals queue (or possibly a queue you > created prior to 3.8.2). This is the ticket you see when clicking on > the Approvals link and has the Approve, Deny, Notes, etc. fields. Consider the Queue here being a specific workflow that requires approval, for example a Purchase Order queue. the ___Approvals queues and the tickets in it (which records the states of the approvals) should in fact be hidden. And you might have different sets of approval rules for different queues, for example, a PO queue and a Vacation Request queue. > Like most things, this seems obvious once you know it, but piecing it > together in the beginning can be a little tricky and frustrating. We are in the process of releasing a RT extension called WorkflowBuilder, which should make the use of the approval system of fewer hassles. Most notably you can define multi-stage approvals without writing the template for the CreateTickets action, and without modifying the scrips yourself. Cheers, CLK From grobm at vrshell.com Fri Feb 13 10:13:37 2009 From: grobm at vrshell.com (grobm at vrshell.com) Date: Fri, 13 Feb 2009 08:13:37 -0700 Subject: [rt-users] Issue with CCs getting emails onComment and Replies. Message-ID: <20090213081337.6qv70ov2wwsog4wc@www.vrshell.com> Version of RT 3.6-- I am having an issue with users reporting that sometimes (appears randomly) the CCs (individual emails added at the time of reply/comment) are not getting the emails. The people that are not getting the emails are either users with access to RT or just random email addresses. I have confirmed that the users that have access to RT do get CCs when they are included on the Reply or Comment. I am however not able to confirm the random email address requests that appear to also have the issue. If I try to reply to the ticket (not the owner) it appears to work. Suggestions? I checked the Scrips for onComment and onCorrespondence. Both state that it will notify the CCs. I also checked the templates, they are the standard ones that came with the RT 3.6 release. Recommendations other troubleshooting approaches to the issue? Thanks in Advance, -Mark Grob From clkao at bestpractical.com Fri Feb 13 10:46:19 2009 From: clkao at bestpractical.com (Chia-liang Kao) Date: Fri, 13 Feb 2009 15:46:19 +0000 (UTC) Subject: [rt-users] Approvals status open->resolved References: <200902131603.51640.Richard.Foley@rfi.net> Message-ID: Richard Foley rfi.net> writes: > > Hi all, > > I'm using RT 3.8.2 to set up approvals, and I'd like the approval process to > set the ticket status to "resolved", instead of "open". I'm setting the > status to "pending" inbetween times, and I'd like to get to "resolved" > without RT ignoring me To which end I have fudged the code temporarily > like this: Do you mean the status of the ticket pending approval? the code you changed is for setting the status for the approvals of next level to "open". If you want to change the status of the "top" ticket, you want to do that in the "if ($passed)" section, and do SetStatus on $top. > # /opt/rt3/lib/RT/Approval/Rule/Passed.pm:line 80: > > # $obj->SetStatus( Status => 'open', Force => 1 ); > $obj->SetStatus( Status => 'resolved', Force => 1 ); > > Only the ticket is still set to "open"! > > The target ticket is happily marked as "rejected" or "open", but I'm unable to > get it to choose "resolved"... I've also tried this with local/ with no more > luck - anyone have a better idea, please? > From rob.munsch at gmail.com Fri Feb 13 11:14:12 2009 From: rob.munsch at gmail.com (Rob Munsch) Date: Fri, 13 Feb 2009 11:14:12 -0500 Subject: [rt-users] Retroactive scrip-ing Message-ID: <8fae230c0902130814k34dd1e34t8bfe8de2fa27bc1b@mail.gmail.com> I have queues, CFs, scrips and such set up more or less the way i want them. For now. Until the department heads get back to me again. While configging things, i collected about 10k tickets into the General queue in various stages of completeness. Other queues weren't set up yet, CFs weren't being captured, etc. etc., so they remain in General with empty CFs. What would be the least-painful way of running all 10k of them thru the system as if they were being created, i.e. having all scrips apply to them now that we would have wanted when they came it? Thanks, Rob -- /chown -R us:us /yourbase From gleduc at mail.sdsu.edu Fri Feb 13 11:41:22 2009 From: gleduc at mail.sdsu.edu (Gene LeDuc) Date: Fri, 13 Feb 2009 08:41:22 -0800 Subject: [rt-users] Retroactive scrip-ing In-Reply-To: <8fae230c0902130814k34dd1e34t8bfe8de2fa27bc1b@mail.gmail.co m> References: <8fae230c0902130814k34dd1e34t8bfe8de2fa27bc1b@mail.gmail.com> Message-ID: <6.2.1.2.2.20090213083605.0259e848@mail.sdsu.edu> I think I'd write a perl script to read each ticket and then e-mail it back to RT. Not very elegant and a significant bump in your mail server's workload, but you know that they would all be treated as new tickets. This should be a pretty trivial script to write using the API. Gene At 08:14 AM 2/13/2009, Rob Munsch wrote: >I have queues, CFs, scrips and such set up more or less the way i want >them. For now. Until the department heads get back to me again. > >While configging things, i collected about 10k tickets into the >General queue in various stages of completeness. Other queues weren't >set up yet, CFs weren't being captured, etc. etc., so they remain in >General with empty CFs. > >What would be the least-painful way of running all 10k of them thru >the system as if they were being created, i.e. having all scrips apply >to them now that we would have wanted when they came it? > >Thanks, >Rob > >-- >/chown -R us:us /yourbase >_______________________________________________ >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 -- Gene LeDuc, GSEC Security Analyst San Diego State University From jalexson at jajxn.net Fri Feb 13 11:48:42 2009 From: jalexson at jajxn.net (J Alexson) Date: Fri, 13 Feb 2009 10:48:42 -0600 Subject: [rt-users] Approvals in 3.8.2 In-Reply-To: References: <3CE7D8D453B27148BBCA0B2063B11E64D5F9F0@s-wor-e-001.SCOUTSOFFICE.local> <1234526521.10967.50.camel@kayden.jajxn.net> Message-ID: <1234543722.2966.16.camel@sweetrose.janet.local> On Fri, 2009-02-13 at 14:10 +0000, Chia-liang Kao wrote: > We are in the process of releasing a RT extension called WorkflowBuilder, which > should make the use of the approval system of fewer hassles. Most notably you > can define multi-stage approvals without writing the template for the > CreateTickets action, and without modifying the scrips yourself. > Thanks Chia-liang! The WorkflowBuilder sounds like just the thing I've been needing to work on some flows I've been tasked with automating. I had even considered building a crude tool for my own use. John Alexson > _______________________________________________ > 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 From cnelson at delivra.com Fri Feb 13 11:43:13 2009 From: cnelson at delivra.com (Chris Nelson) Date: Fri, 13 Feb 2009 11:43:13 -0500 Subject: [rt-users] Modifying Data Label in RT 3.8.1 Message-ID: <8e313b7a0902130843t73faf585le5066d5216f4e899@mail.gmail.com> Greetings Everyone! My second question of the day (and hopefully my final). *Basics:* I'm running RT 3.8.1 on Linux Ubuntu 8.04 Hardy, Apache 2.2.8, Perl 5.8.8, and MySQL 5.0.51a-3ubuntu5.1. We want to be able to track the total time spent on a ticket *and* the time spent that we should bill to a client. As such, we developed our own internal process where we put the total time spent on a ticket in the Time Worked column and the time we plan to bill the client for (which is usually less than the total time) in the Time Estimated column. *The Problem: *Is it possible to change the Time Estimated data label to read *Billable Time* in the interface? That would greatly help reduce confusion. Thanks in advance! -Chris -------------- next part -------------- An HTML attachment was scrubbed... URL: From cnelson at delivra.com Fri Feb 13 11:40:24 2009 From: cnelson at delivra.com (Chris Nelson) Date: Fri, 13 Feb 2009 11:40:24 -0500 Subject: [rt-users] Modifying Quick Search in RT 3.8.1 Message-ID: <8e313b7a0902130840x4b18b69ah9149f5dba0300244@mail.gmail.com> Greetings everyone! I have two questions for this post. *Basics:* I'm running RT 3.8.1 on Linux Ubuntu 8.04 Hardy, Apache 2.2.8, Perl 5.8.8, and MySQL 5.0.51a-3ubuntu5.1. We have added a custom status of "Staged" to indicate when a ticket is open, but pending some action by other departments (ie, it is staged and waiting on approval to be moved into production). I followed the instructions found in this forum for adding that custom status and it works great. *The Problems:* 1. We want to add a column to the Quick Search on the RT at a Glance screen for Staged. So, across the top of Quick Search you would see *Queue New Open **Stalled Staged*. I have hunted and hunted and can't figure out how to do that. Is it possible? 2. Once you click on a queue, we want to ensure that tickets with a status of *staged* show up in the list. Thanks in advance for your time and assistance! -Chris -------------- next part -------------- An HTML attachment was scrubbed... URL: From Richard.Foley at rfi.net Fri Feb 13 12:20:45 2009 From: Richard.Foley at rfi.net (Richard Foley) Date: Fri, 13 Feb 2009 18:20:45 +0100 Subject: [rt-users] Approvals status open->resolved In-Reply-To: References: <200902131603.51640.Richard.Foley@rfi.net> Message-ID: <200902131820.45603.Richard.Foley@rfi.net> Hi Chia-liang, Ok, so now I've got this: if ($passed) { $top->SetStatus( Status => 'resolved', Force => 1 ); $self->RunScripAction('Notify Owner', 'Approval Ready for Owner', TicketObj => $top); } and nothing happens... ?-\ What I have is: 1. The original ticket status changed from "new" to "pending" via a Scrip. 2. The generated approval ticket has an automatic status of "open". 3. When I "Approve" the approval ticket, (which sets itself to "resolved"), 4. I want the original ticket to get a status of "resolved" also, but it does nothing currently. -- Richard Foley Ciao - shorter than aufwiedersehen http://www.rfi.net/ On Friday 13 February 2009 16:46:19 Chia-liang Kao wrote: > Richard Foley rfi.net> writes: > > > > > Hi all, > > > > I'm using RT 3.8.2 to set up approvals, and I'd like the approval process to > > set the ticket status to "resolved", instead of "open". I'm setting the > > status to "pending" inbetween times, and I'd like to get to "resolved" > > without RT ignoring me To which end I have fudged the code temporarily > > like this: > > Do you mean the status of the ticket pending approval? the code you changed is > for setting the status for the approvals of next level to "open". If you want > to change the status of the "top" ticket, you want to do that in the "if > ($passed)" section, and do SetStatus on $top. > > > > # /opt/rt3/lib/RT/Approval/Rule/Passed.pm:line 80: > > > > # $obj->SetStatus( Status => 'open', Force => 1 ); > > $obj->SetStatus( Status => 'resolved', Force => 1 ); > > > > Only the ticket is still set to "open"! > > > > The target ticket is happily marked as "rejected" or "open", but I'm unable to > > get it to choose "resolved"... I've also tried this with local/ with no more > > luck - anyone have a better idea, please? > > > > > > > _______________________________________________ > 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 > From Richard.Foley at rfi.net Fri Feb 13 12:20:45 2009 From: Richard.Foley at rfi.net (Richard Foley) Date: Fri, 13 Feb 2009 18:20:45 +0100 Subject: [rt-users] Approvals status open->resolved In-Reply-To: References: <200902131603.51640.Richard.Foley@rfi.net> Message-ID: <200902131820.45603.Richard.Foley@rfi.net> Hi Chia-liang, Ok, so now I've got this: if ($passed) { $top->SetStatus( Status => 'resolved', Force => 1 ); $self->RunScripAction('Notify Owner', 'Approval Ready for Owner', TicketObj => $top); } and nothing happens... ?-\ What I have is: 1. The original ticket status changed from "new" to "pending" via a Scrip. 2. The generated approval ticket has an automatic status of "open". 3. When I "Approve" the approval ticket, (which sets itself to "resolved"), 4. I want the original ticket to get a status of "resolved" also, but it does nothing currently. -- Richard Foley Ciao - shorter than aufwiedersehen http://www.rfi.net/ On Friday 13 February 2009 16:46:19 Chia-liang Kao wrote: > Richard Foley rfi.net> writes: > > > > > Hi all, > > > > I'm using RT 3.8.2 to set up approvals, and I'd like the approval process to > > set the ticket status to "resolved", instead of "open". I'm setting the > > status to "pending" inbetween times, and I'd like to get to "resolved" > > without RT ignoring me To which end I have fudged the code temporarily > > like this: > > Do you mean the status of the ticket pending approval? the code you changed is > for setting the status for the approvals of next level to "open". If you want > to change the status of the "top" ticket, you want to do that in the "if > ($passed)" section, and do SetStatus on $top. > > > > # /opt/rt3/lib/RT/Approval/Rule/Passed.pm:line 80: > > > > # $obj->SetStatus( Status => 'open', Force => 1 ); > > $obj->SetStatus( Status => 'resolved', Force => 1 ); > > > > Only the ticket is still set to "open"! > > > > The target ticket is happily marked as "rejected" or "open", but I'm unable to > > get it to choose "resolved"... I've also tried this with local/ with no more > > luck - anyone have a better idea, please? > > > > > > > _______________________________________________ > 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 > From jpierce at cambridgeenergyalliance.org Fri Feb 13 12:56:58 2009 From: jpierce at cambridgeenergyalliance.org (Jerrad Pierce) Date: Fri, 13 Feb 2009 12:56:58 -0500 Subject: [rt-users] Modifying Data Label in RT 3.8.1 In-Reply-To: <8e313b7a0902130843t73faf585le5066d5216f4e899@mail.gmail.com> References: <8e313b7a0902130843t73faf585le5066d5216f4e899@mail.gmail.com> Message-ID: > Is it possible to change the Time Estimated data label to read Billable Time > in the interface? That would greatly help reduce confusion. Customize a local copy of your language's po file? e.g; mkdir -p /opt/rt3/local/lib/RT/I18N/ cp /opt/rt3/lib/RT/I18N/en.po /opt/rt3/local/lib/RT/I18N/en.po emacs /opt/rt3/local/lib/RT/I18N/en.po -- Cambridge Energy Alliance: Save money. Save the planet. From jpierce at cambridgeenergyalliance.org Fri Feb 13 13:04:55 2009 From: jpierce at cambridgeenergyalliance.org (Jerrad Pierce) Date: Fri, 13 Feb 2009 13:04:55 -0500 Subject: [rt-users] Modifying Quick Search in RT 3.8.1 In-Reply-To: <8e313b7a0902130840x4b18b69ah9149f5dba0300244@mail.gmail.com> References: <8e313b7a0902130840x4b18b69ah9149f5dba0300244@mail.gmail.com> Message-ID: > We want to add a column to the Quick Search on the RT at a Glance screen for > Staged. So, across the top of Quick Search you would see Queue New Open > Stalled Staged. I have hunted and hunted and can't figure out how to do > that. Is it possible? You have to be root to edit the global queries for widgets on the front page, but Quicksearch appears to be special, and apparently requires tweaking a local copy of share/html/Elements/Quicksearch; it's a simple file though. > Once you click on a queue, we want to ensure that tickets with a status of > staged show up in the list. Add Staged to @ActiveStatus in RT_SiteConfig.pm (copying from RT_Config.pm as necessary) -- Cambridge Energy Alliance: Save money. Save the planet. From cnelson at delivra.com Fri Feb 13 13:06:45 2009 From: cnelson at delivra.com (Chris Nelson) Date: Fri, 13 Feb 2009 13:06:45 -0500 Subject: [rt-users] Modifying Data Label in RT 3.8.1 In-Reply-To: References: <8e313b7a0902130843t73faf585le5066d5216f4e899@mail.gmail.com> Message-ID: <8e313b7a0902131006qb7147d7sbee610677e63d78d@mail.gmail.com> Sorry - I'm a total n00b here. Can you explain what that's doing exactly? I can't quite follow what's happening. Looks like, you make a new dir, copy some specific library file (language po file?) and then "emacs" the lib file (don't know what that does). Then, would you go edit the copied file and look for Time Estimated? Thanks in advance, sorry for the newbie questions... -Chris On Fri, Feb 13, 2009 at 12:56 PM, Jerrad Pierce < jpierce at cambridgeenergyalliance.org> wrote: > > Is it possible to change the Time Estimated data label to read Billable > Time > > in the interface? That would greatly help reduce confusion. > > Customize a local copy of your language's po file? e.g; > > mkdir -p /opt/rt3/local/lib/RT/I18N/ > cp /opt/rt3/lib/RT/I18N/en.po /opt/rt3/local/lib/RT/I18N/en.po > emacs /opt/rt3/local/lib/RT/I18N/en.po > > -- > Cambridge Energy Alliance: Save money. Save the planet. > _______________________________________________ > 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 > -------------- next part -------------- An HTML attachment was scrubbed... URL: From rob.munsch at gmail.com Fri Feb 13 13:07:27 2009 From: rob.munsch at gmail.com (Rob Munsch) Date: Fri, 13 Feb 2009 13:07:27 -0500 Subject: [rt-users] Fwd: Retroactive scrip-ing In-Reply-To: <8fae230c0902131006tfdcd8b1t1bdbb0b99f738310@mail.gmail.com> References: <8fae230c0902130814k34dd1e34t8bfe8de2fa27bc1b@mail.gmail.com> <6.2.1.2.2.20090213083605.0259e848@mail.sdsu.edu> <8fae230c0902131006tfdcd8b1t1bdbb0b99f738310@mail.gmail.com> Message-ID: <8fae230c0902131007h28e5f9c4m7af3ca01966d5c66@mail.gmail.com> forgot to cc the list again :P itchy send finger, sorry Gene. On Fri, Feb 13, 2009 at 11:41 AM, Gene LeDuc wrote: > I think I'd write a perl script to read each ticket and then e-mail it back > to RT. Not very elegant and a significant bump in your mail server's > workload, but you know that they would all be treated as new tickets. This > should be a pretty trivial script to write using the API. Mail server's not working very hard right now, so that shouldn't be a problem. If i follow this right, this will create a new set of tickets with what i want, but the originals will still remain as-is, yes? I suppose i could destroy the originals after i verify it worked. Thanks, i'll take a poke at this. -- /chown -R us:us /yourbase From jpierce at cambridgeenergyalliance.org Fri Feb 13 13:12:33 2009 From: jpierce at cambridgeenergyalliance.org (Jerrad Pierce) Date: Fri, 13 Feb 2009 13:12:33 -0500 Subject: [rt-users] Modifying Data Label in RT 3.8.1 In-Reply-To: <8e313b7a0902131006qb7147d7sbee610677e63d78d@mail.gmail.com> References: <8e313b7a0902130843t73faf585le5066d5216f4e899@mail.gmail.com> <8e313b7a0902131006qb7147d7sbee610677e63d78d@mail.gmail.com> Message-ID: On Fri, Feb 13, 2009 at 13:06, Chris Nelson wrote: > Sorry - I'm a total n00b here. Can you explain what that's doing exactly? I > can't quite follow what's happening. Looks like, you make a new dir, uh, yeah > copy some specific library file (language po file?) uh-huh >and then "emacs" the lib file (don't know what that does). It's a text editor. Use whatever you want to make the changes. Emacs happens to have some understanding of po files, that should prevent you from bungling things. From bertignac at gmail.com Fri Feb 13 13:05:00 2009 From: bertignac at gmail.com (L B) Date: Fri, 13 Feb 2009 19:05:00 +0100 Subject: [rt-users] Create standard request forms with RT Message-ID: Hello all, I use RT 3.8.2. People are creating tickets to request things, and sometimes they forget some details. I would like to create a set of "standard request forms", ideally somewhere in RT, that will create tickets with a summary of the details. Exemple : request for an DNS entry will create a ticket in the DNS queue, with me as an owner and with this content : FQDN: something.bestpractical.com IP: 10.1.1.1 TTL (optionnal): 3600 Description: new website for something For example. This is filled in by the user in a form, the ticket can be created with the rt command line, command by email, or anything else. I have more complex requests, for example a request for a new server, that will create a ticket "new server", with childs such as "install physically the server", "request an IP", "configure the DNS" etc... And I'll consider the server "installed" when all the child will be resolved. My problem is which tool can I use to create these forms ? Is there something for this in RT or should I use something else ? -- L.B. From cnelson at delivra.com Fri Feb 13 13:16:39 2009 From: cnelson at delivra.com (Chris Nelson) Date: Fri, 13 Feb 2009 13:16:39 -0500 Subject: [rt-users] Modifying Quick Search in RT 3.8.1 In-Reply-To: References: <8e313b7a0902130840x4b18b69ah9149f5dba0300244@mail.gmail.com> Message-ID: <8e313b7a0902131016k78b5acc1h97753737fdd411df@mail.gmail.com> Sweet. I was able to figure out that page no problem and after a quick restart of Apache2, staged now shows in the quick search. Interestingly, I had already added the line: Set(@ActiveStatus, qw(new open stalled staged)); to RT_SiteConfig.pm and it still isn't showing up in those queries... Any other thoughts on solving the second issue? -Chris On Fri, Feb 13, 2009 at 1:04 PM, Jerrad Pierce < jpierce at cambridgeenergyalliance.org> wrote: > > We want to add a column to the Quick Search on the RT at a Glance screen > for > > Staged. So, across the top of Quick Search you would see Queue New Open > > Stalled Staged. I have hunted and hunted and can't figure out how to do > > that. Is it possible? > You have to be root to edit the global queries for widgets on the front > page, > but Quicksearch appears to be special, and apparently requires tweaking > a local copy of share/html/Elements/Quicksearch; it's a simple file though. > > > Once you click on a queue, we want to ensure that tickets with a status > of > > staged show up in the list. > Add Staged to @ActiveStatus in RT_SiteConfig.pm > (copying from RT_Config.pm as necessary) > > -- > Cambridge Energy Alliance: Save money. Save the planet. > -------------- next part -------------- An HTML attachment was scrubbed... URL: From jpierce at cambridgeenergyalliance.org Fri Feb 13 13:19:13 2009 From: jpierce at cambridgeenergyalliance.org (Jerrad Pierce) Date: Fri, 13 Feb 2009 13:19:13 -0500 Subject: [rt-users] Modifying Data Label in RT 3.8.1 In-Reply-To: References: <8e313b7a0902130843t73faf585le5066d5216f4e899@mail.gmail.com> <8e313b7a0902131006qb7147d7sbee610677e63d78d@mail.gmail.com> Message-ID: Specifically you want to add: msgid "Time Estimated" msgstr "Time Billed" to your local localization file. -- Cambridge Energy Alliance: Save money. Save the planet. From jpierce at cambridgeenergyalliance.org Fri Feb 13 13:22:52 2009 From: jpierce at cambridgeenergyalliance.org (Jerrad Pierce) Date: Fri, 13 Feb 2009 13:22:52 -0500 Subject: [rt-users] Fwd: Retroactive scrip-ing In-Reply-To: <8fae230c0902131007h28e5f9c4m7af3ca01966d5c66@mail.gmail.com> References: <8fae230c0902130814k34dd1e34t8bfe8de2fa27bc1b@mail.gmail.com> <6.2.1.2.2.20090213083605.0259e848@mail.sdsu.edu> <8fae230c0902131006tfdcd8b1t1bdbb0b99f738310@mail.gmail.com> <8fae230c0902131007h28e5f9c4m7af3ca01966d5c66@mail.gmail.com> Message-ID: > If i follow this right, this will create a new set of tickets with > what i want, but the originals will still remain as-is, yes? I > suppose i could destroy the originals after i verify it worked. Better to merge I should think, if you're going this route. Especially since you're also going to be sending out lots of requestor notifications, which could be potentially confusing e.g; "It's already done, why are you bugging me again?" or replying to an old message with the old ticket ID. -- Cambridge Energy Alliance: Save money. Save the planet. From ruslan.zakirov at gmail.com Fri Feb 13 13:23:18 2009 From: ruslan.zakirov at gmail.com (Ruslan Zakirov) Date: Fri, 13 Feb 2009 21:23:18 +0300 Subject: [rt-users] Retroactive scrip-ing In-Reply-To: <8fae230c0902130814k34dd1e34t8bfe8de2fa27bc1b@mail.gmail.com> References: <8fae230c0902130814k34dd1e34t8bfe8de2fa27bc1b@mail.gmail.com> Message-ID: <589c94400902131023w204e89a2w9debc692152e4454@mail.gmail.com> In the latest RT rt-crontool can be used for this. It has transaction and transaction-type arguments that can be very helpful, for example you can apply an action on all corresponds in tickets matching some search query and/or condition. However, you must understand that if your action changes a ticket then dates will be updated what can be undesired. I think linear escalation action in RT can give you hints on silencing updates. On Fri, Feb 13, 2009 at 7:14 PM, Rob Munsch wrote: > I have queues, CFs, scrips and such set up more or less the way i want > them. For now. Until the department heads get back to me again. > > While configging things, i collected about 10k tickets into the > General queue in various stages of completeness. Other queues weren't > set up yet, CFs weren't being captured, etc. etc., so they remain in > General with empty CFs. > > What would be the least-painful way of running all 10k of them thru > the system as if they were being created, i.e. having all scrips apply > to them now that we would have wanted when they came it? > > Thanks, > Rob > > -- > /chown -R us:us /yourbase > _______________________________________________ > 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 > -- Best regards, Ruslan. From jpierce at cambridgeenergyalliance.org Fri Feb 13 13:25:12 2009 From: jpierce at cambridgeenergyalliance.org (Jerrad Pierce) Date: Fri, 13 Feb 2009 13:25:12 -0500 Subject: [rt-users] Create standard request forms with RT In-Reply-To: References: Message-ID: It's not really clear what you need that custom fields don't satisfy. -- Cambridge Energy Alliance: Save money. Save the planet. From cnelson at delivra.com Fri Feb 13 13:28:25 2009 From: cnelson at delivra.com (Chris Nelson) Date: Fri, 13 Feb 2009 13:28:25 -0500 Subject: [rt-users] Modifying Data Label in RT 3.8.1 In-Reply-To: References: <8e313b7a0902130843t73faf585le5066d5216f4e899@mail.gmail.com> <8e313b7a0902131006qb7147d7sbee610677e63d78d@mail.gmail.com> Message-ID: <8e313b7a0902131028u3a09faf9naec90da3021599fb@mail.gmail.com> Hrm. I added: #: NOT FOUND IN SOURCE msgid "Time Estimated" msgstr "Billable Time" to the bottom of /opt/rt3/local/lib/RT/I18N/en.po and restarted apache2. No luck. Was I supposed to update the other file? Did I do something wrong? Thanks so much for your help... -Chris On Fri, Feb 13, 2009 at 1:19 PM, Jerrad Pierce < jpierce at cambridgeenergyalliance.org> wrote: > Specifically you want to add: > > msgid "Time Estimated" > msgstr "Time Billed" > > to your local localization file. > -- > Cambridge Energy Alliance: Save money. Save the planet. > -------------- next part -------------- An HTML attachment was scrubbed... URL: From gleduc at mail.sdsu.edu Fri Feb 13 13:39:36 2009 From: gleduc at mail.sdsu.edu (Gene LeDuc) Date: Fri, 13 Feb 2009 10:39:36 -0800 Subject: [rt-users] Create standard request forms with RT In-Reply-To: References: Message-ID: <6.2.1.2.2.20090213103646.02c568a8@mail.sdsu.edu> We use web pages to do this. User goes to DNS request page, fills in form, php does some sanity-checking on the data, data gets formatted and mailed to RT, RT creates ticket in DNS queue. Repeat for e-mail aliases, firewall rules, etc. Gene At 10:05 AM 2/13/2009, L B wrote: >Hello all, > > I use RT 3.8.2. People are creating tickets to request things, and >sometimes they forget some details. I would like to create a set of >"standard request forms", ideally somewhere in RT, that will create >tickets with a summary of the details. > >Exemple : request for an DNS entry will create a ticket in the DNS >queue, with me as an owner and with this content : > >FQDN: something.bestpractical.com >IP: 10.1.1.1 >TTL (optionnal): 3600 >Description: new website for something > > >For example. This is filled in by the user in a form, the ticket can >be created with the rt command line, command by email, or anything >else. > >I have more complex requests, for example a request for a new server, >that will create a ticket "new server", with childs such as "install >physically the server", "request an IP", "configure the DNS" etc... >And I'll consider the server "installed" when all the child will be >resolved. > >My problem is which tool can I use to create these forms ? Is there >something for this in RT or should I use something else ? > >-- >L.B. -- Gene LeDuc, GSEC Security Analyst San Diego State University From jpierce at cambridgeenergyalliance.org Fri Feb 13 13:48:45 2009 From: jpierce at cambridgeenergyalliance.org (Jerrad Pierce) Date: Fri, 13 Feb 2009 13:48:45 -0500 Subject: [rt-users] Modifying Data Label in RT 3.8.1 In-Reply-To: <8e313b7a0902131028u3a09faf9naec90da3021599fb@mail.gmail.com> References: <8e313b7a0902130843t73faf585le5066d5216f4e899@mail.gmail.com> <8e313b7a0902131006qb7147d7sbee610677e63d78d@mail.gmail.com> <8e313b7a0902131028u3a09faf9naec90da3021599fb@mail.gmail.com> Message-ID: > to the bottom of /opt/rt3/local/lib/RT/I18N/en.po and restarted apache2. No You don't need to restart, HUP/graceful/reload is good enough. > luck. Was I supposed to update the other file? Did I do something wrong? Hmm, it seems RT doesn't support local localizations, without creating a RT/I18N_Local.pm file. I *think* you might be able to get away with just: cp /opt/rt3/local/lib/RT/I18N.pm /opt/rt3/local/lib/RT/I18N_Local.pm It seems like overkill, but I18N.pm uses the __FILE__ token to locate po files. -- Cambridge Energy Alliance: Save money. Save the planet. From barnesaw at ucrwcu.rwc.uc.edu Fri Feb 13 13:48:38 2009 From: barnesaw at ucrwcu.rwc.uc.edu (Drew Barnes) Date: Fri, 13 Feb 2009 13:48:38 -0500 Subject: [rt-users] Fwd: Retroactive scrip-ing In-Reply-To: References: <8fae230c0902130814k34dd1e34t8bfe8de2fa27bc1b@mail.gmail.com> <6.2.1.2.2.20090213083605.0259e848@mail.sdsu.edu> <8fae230c0902131006tfdcd8b1t1bdbb0b99f738310@mail.gmail.com> <8fae230c0902131007h28e5f9c4m7af3ca01966d5c66@mail.gmail.com> Message-ID: <4995C086.2070203@ucrwcu.rwc.uc.edu> Disable all scrips that send correspondence, go one step further and shut down your MTA (so that mail sent in will try again later), use the API to re-run those transactions, re-enable scrips, start the MTA back up. No emailings, no fuss. Jerrad Pierce wrote: >> If i follow this right, this will create a new set of tickets with >> what i want, but the originals will still remain as-is, yes? I >> suppose i could destroy the originals after i verify it worked. >> > Better to merge I should think, if you're going this route. > Especially since you're also going to be sending out lots of > requestor notifications, which could be potentially confusing > e.g; "It's already done, why are you bugging me again?" or > replying to an old message with the old ticket ID. > > -- Drew Barnes Applications Analyst Network Resources Department Raymond Walters College University of Cincinnati From jpierce at cambridgeenergyalliance.org Fri Feb 13 13:52:19 2009 From: jpierce at cambridgeenergyalliance.org (Jerrad Pierce) Date: Fri, 13 Feb 2009 13:52:19 -0500 Subject: [rt-users] Create standard request forms with RT In-Reply-To: <6.2.1.2.2.20090213103646.02c568a8@mail.sdsu.edu> References: <6.2.1.2.2.20090213103646.02c568a8@mail.sdsu.edu> Message-ID: On Fri, Feb 13, 2009 at 13:39, Gene LeDuc wrote: > We use web pages to do this. User goes to DNS request page, fills in form, > php does some sanity-checking on the data, data gets formatted and mailed > to RT, RT creates ticket in DNS queue. Repeat for e-mail aliases, firewall That's not the best way to go about this. Either use a customized self-service interface, enable support for actions by email (so you can set custom fields), or use the REST interface. The second option will take the least work with your system, but there are security considerations to consider. See the wiki. -- Cambridge Energy Alliance: Save money. Save the planet. From lmacinnes at stargate.ca Fri Feb 13 13:06:45 2009 From: lmacinnes at stargate.ca (Liam R. MacInnes) Date: Fri, 13 Feb 2009 10:06:45 -0800 Subject: [rt-users] Page Cannot Be found after migrating from 3.6.1 to 3.8.2 Message-ID: Hi Everyone I just did a test migration from our existing 3.6.1 install to a 3.8.2 install following the process outlined here http://rt.bestpractical.com/view/MigrateToNewServer and in the UPGRADE.mysql and README files from the 3.8.2 package. After installing 3.8.2 on the new server I tested it as is created a couple tickets and whatnot and everything seemed to be working well I dropped the database and moved over my MySQL dump from the old server and ran through the migration and upgrade process from the sources I listed above. What I'm seeing now is that most users can't view their tickets. They get a The page you requested could not be found Please check the URL and try again. Error on the http://example.com/rt/Ticket/Display.html?id=123456 page They can however see all the tickets listed. Root appears to be able to see all the tickets so I suspect it may be a permissions issue but I don't really know where to start. Were any permissions added that are needed to view a ticket between 3.6.1 and 3.8.2? Thanks for your help all Liam From cnelson at delivra.com Fri Feb 13 14:12:48 2009 From: cnelson at delivra.com (Chris Nelson) Date: Fri, 13 Feb 2009 14:12:48 -0500 Subject: [rt-users] Modifying Data Label in RT 3.8.1 In-Reply-To: References: <8e313b7a0902130843t73faf585le5066d5216f4e899@mail.gmail.com> <8e313b7a0902131006qb7147d7sbee610677e63d78d@mail.gmail.com> <8e313b7a0902131028u3a09faf9naec90da3021599fb@mail.gmail.com> Message-ID: <8e313b7a0902131112q75d0dce6s867dc99637243991@mail.gmail.com> It REALLY didn't like that. I wasn't able to start apache with that file. I had to delete the file to get it to start again. (BTW, HUP isn't a known thing on my ubuntu box...) -Chris On Fri, Feb 13, 2009 at 1:48 PM, Jerrad Pierce < jpierce at cambridgeenergyalliance.org> wrote: > > to the bottom of /opt/rt3/local/lib/RT/I18N/en.po and restarted apache2. > No > You don't need to restart, HUP/graceful/reload is good enough. > > > luck. Was I supposed to update the other file? Did I do something wrong? > > Hmm, it seems RT doesn't support local localizations, without creating > a RT/I18N_Local.pm file. I *think* you might be able to get away with just: > > cp /opt/rt3/local/lib/RT/I18N.pm /opt/rt3/local/lib/RT/I18N_Local.pm > > It seems like overkill, but I18N.pm uses the __FILE__ token to locate po > files. > -- > Cambridge Energy Alliance: Save money. Save the planet. > -------------- next part -------------- An HTML attachment was scrubbed... URL: From jpierce at cambridgeenergyalliance.org Fri Feb 13 14:32:44 2009 From: jpierce at cambridgeenergyalliance.org (Jerrad Pierce) Date: Fri, 13 Feb 2009 14:32:44 -0500 Subject: [rt-users] Modifying Data Label in RT 3.8.1 In-Reply-To: <8e313b7a0902131112q75d0dce6s867dc99637243991@mail.gmail.com> References: <8e313b7a0902130843t73faf585le5066d5216f4e899@mail.gmail.com> <8e313b7a0902131006qb7147d7sbee610677e63d78d@mail.gmail.com> <8e313b7a0902131028u3a09faf9naec90da3021599fb@mail.gmail.com> <8e313b7a0902131112q75d0dce6s867dc99637243991@mail.gmail.com> Message-ID: On Fri, Feb 13, 2009 at 14:12, Chris Nelson wrote: > It REALLY didn't like that. I wasn't able to start apache with that file. I > had to delete the file to get it to start again. Any information from error logs to report? Did you not copy I18N/i_default.pm to local too? I did, and works fine for me. > (BTW, HUP isn't a known thing on my ubuntu box...) Even Ubuntu understands SIGHUP -- Cambridge Energy Alliance: Save money. Save the planet. From adjones at cca.edu Fri Feb 13 14:29:20 2009 From: adjones at cca.edu (Andy Jones) Date: Fri, 13 Feb 2009 11:29:20 -0800 Subject: [rt-users] Sending multipart messages from templates Message-ID: Hi, folks. I'm interested in making our correspondence from RT a little prettier-- that is, including some HTML. I've created a template that uses HTML successfully and the message appears to be working just fine. The problem I'm running into is that some folks in our office don't use email clients that display HTML. I'd like to send a multipart message, but I can't seem to get the configuration right-- if it's at all possible. Has anyone figured this out? I've combed through the archives, but I haven't found anything dealing with this particular issue. The template I'm working with has the following information at the beginning: Subject: Ticket [{$rtname} #{$Ticket->id}] has been stolen Content-Type: text/html References: Message-ID: <77359DC1-CB29-4EFD-A6B6-54EBE1DC4F60@bestpractical.com> On Feb 13, 2009, at 2:29 PM, Andy Jones wrote: > Hi, folks. > > I'm interested in making our correspondence from RT a little > prettier-- that is, including some HTML. I've created a template that > uses HTML successfully and the message appears to be working just > fine. > > The problem I'm running into is that some folks in our office don't > use email clients that display HTML. I'd like to send a multipart > message, but I can't seem to get the configuration right-- if it's at > all possible. Has anyone figured this out? I've combed through the > archives, but I haven't found anything dealing with this particular > issue. RT 3.8.2 generates a multipart alternative email when you use an html template. From Template_Overlay.pm's _DowngradeFromHTML $orig_entity->make_multipart('alternative', Force => 1); #make a plain text version of the original html templage in $new_entity $orig_entity->add_part($new_entity, 0); # plain comes before html This played well with mutt and Mail.app -kevin > > > The template I'm working with has the following information at the > beginning: > > Subject: Ticket [{$rtname} #{$Ticket->id}] has been stolen > Content-Type: text/html > > > > When I try changing the Content-Type to multipart/alternative or > multipart/mixed, RT simply fails to send the message. > > Any help would be greatly appreciated! > > Thanks, > Andy > > Andy Jones > User Support Manager > 510.594.5016 > adjones at cca.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 > From bertignac at gmail.com Fri Feb 13 16:24:11 2009 From: bertignac at gmail.com (L B) Date: Fri, 13 Feb 2009 22:24:11 +0100 Subject: [rt-users] Create standard request forms with RT In-Reply-To: References: <6.2.1.2.2.20090213103646.02c568a8@mail.sdsu.edu> Message-ID: I don't use custom fields because : - I don't want users to log in the self service to create requests - I don't want to create custom fields per queue (especially mandatory ones) because the DNS queue can be used to request a new DNS entry, but also to report DNS problems or ask anything related to DNS. We can use web pages, but it's more or less creating a kind of portal. Do you have a technology/framework recommendation to do this ? Thanks! On Fri, Feb 13, 2009 at 7:52 PM, Jerrad Pierce wrote: > On Fri, Feb 13, 2009 at 13:39, Gene LeDuc wrote: >> We use web pages to do this. User goes to DNS request page, fills in form, >> php does some sanity-checking on the data, data gets formatted and mailed >> to RT, RT creates ticket in DNS queue. Repeat for e-mail aliases, firewall > That's not the best way to go about this. Either use a customized self-service > interface, enable support for actions by email (so you can set custom fields), > or use the REST interface. The second option will take the least work with your > system, but there are security considerations to consider. See the wiki. > > -- > Cambridge Energy Alliance: Save money. Save the planet. > -- L.B. From jpierce at cambridgeenergyalliance.org Fri Feb 13 17:00:32 2009 From: jpierce at cambridgeenergyalliance.org (Jerrad Pierce) Date: Fri, 13 Feb 2009 17:00:32 -0500 Subject: [rt-users] Create standard request forms with RT In-Reply-To: References: <6.2.1.2.2.20090213103646.02c568a8@mail.sdsu.edu> Message-ID: On Fri, Feb 13, 2009 at 16:24, L B wrote: > I don't use custom fields because : > - I don't want users to log in the self service to create requests > - I don't want to create custom fields per queue (especially > mandatory ones) because the DNS queue can be used to request a new DNS > entry, but also to report DNS problems or ask anything related to DNS. > > We can use web pages, but it's more or less creating a kind of portal. > Do you have a technology/framework recommendation to do this ? Your reasons for "not using CFs" do not preclude them. As before, REST or commands by email. Simply make them optional in RT (not ideal), and use your front-end to require values as necessary. From rob.munsch at gmail.com Fri Feb 13 17:17:08 2009 From: rob.munsch at gmail.com (Rob Munsch) Date: Fri, 13 Feb 2009 17:17:08 -0500 Subject: [rt-users] Fwd: Retroactive scrip-ing In-Reply-To: <4995C086.2070203@ucrwcu.rwc.uc.edu> References: <8fae230c0902130814k34dd1e34t8bfe8de2fa27bc1b@mail.gmail.com> <6.2.1.2.2.20090213083605.0259e848@mail.sdsu.edu> <8fae230c0902131006tfdcd8b1t1bdbb0b99f738310@mail.gmail.com> <8fae230c0902131007h28e5f9c4m7af3ca01966d5c66@mail.gmail.com> <4995C086.2070203@ucrwcu.rwc.uc.edu> Message-ID: <8fae230c0902131417m578ad426o3985f2138d55fa62@mail.gmail.com> On Fri, Feb 13, 2009 at 1:48 PM, Drew Barnes wrote: > use the API to re-run those transactions I have to confess, after some time googling and looking over the wiki, that i cannot figure out how to do that :(. -- /chown -R us:us /yourbase From hvgeekwtrvl at gmail.com Fri Feb 13 18:10:12 2009 From: hvgeekwtrvl at gmail.com (james machado) Date: Fri, 13 Feb 2009 15:10:12 -0800 Subject: [rt-users] global default auto-refresh patch for 3.8.2 In-Reply-To: <0AC880A8-A48B-4611-BA90-6E6BAE822DB0@bestpractical.com> References: <0AC880A8-A48B-4611-BA90-6E6BAE822DB0@bestpractical.com> Message-ID: Letting the user change the value of the refresh for themselves is not a bad thing but neither is having a non-zero default for the entire installation. I very much would have liked to be able to set a non-zero default for the page refresh for the installation, the options I have seen and tried cause breakage of the system and require each user to change the preference each time they login to the system. I do agree that undocumented additions and variables are bad but it would be very nice if both options were available. James On Thu, Feb 12, 2009 at 12:27 PM, Kevin Falcone wrote: > > On Feb 12, 2009, at 3:19 PM, Jo Rhett wrote: > > >> On Feb 12, 2009, at 2:43 PM, Jo Rhett wrote: > >>> This patch is adapted from something Ian posted for 3.6.4 adapted > >>> for 3.8.2. Jesse, please consider adopting this for the mainline as > >>> it is a popular question and this patch allows the person to > >>> override the default. > > > > On Feb 12, 2009, at 12:12 PM, Kevin Falcone wrote: > >> Since 3.8 added user level preferences, this really looks like > >> something which is > >> better handled as a user preference. RT::Config has docs about > >> adding items > >> to %META and marking them as user overridable. It would also want > >> some > >> changes and docs for RT_Config.pm because you could set a global > >> default > >> (default would be 0) > > > > Are you saying that you guys will implement it that way for a later > > version? Or is this a request for a patch to implement these things? > > > > That was a suggestion of how to make the patch better and more > compatible with 3.8 > > I wouldn't apply any patch that adds two new Config variables without > documenting > them and adding defaults to the shipped config file. > > -kevin > _______________________________________________ > 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 > -------------- next part -------------- An HTML attachment was scrubbed... URL: From falcone at bestpractical.com Fri Feb 13 18:15:04 2009 From: falcone at bestpractical.com (Kevin Falcone) Date: Fri, 13 Feb 2009 18:15:04 -0500 Subject: [rt-users] global default auto-refresh patch for 3.8.2 In-Reply-To: References: <0AC880A8-A48B-4611-BA90-6E6BAE822DB0@bestpractical.com> Message-ID: <2E37A633-AACE-4E14-9157-9999A09DC1EF@bestpractical.com> On Feb 13, 2009, at 6:10 PM, james machado wrote: > Letting the user change the value of the refresh for themselves is > not a bad thing but neither is having a non-zero default for the > entire installation. I very much would have liked to be able to set > a non-zero default for the page refresh for the installation, the > options I have seen and tried cause breakage of the system and > require each user to change the preference each time they login to > the system. I do agree that undocumented additions and variables > are bad but it would be very nice if both options were available. My point was that the installation default should continue to be 0 in order to be backwards compatible. If such a patch were to be produced, I would be happy to consider it for inclusion in a future 3.8 release. -kevin > > > > On Thu, Feb 12, 2009 at 12:27 PM, Kevin Falcone > wrote: > > On Feb 12, 2009, at 3:19 PM, Jo Rhett wrote: > > >> On Feb 12, 2009, at 2:43 PM, Jo Rhett wrote: > >>> This patch is adapted from something Ian posted for 3.6.4 adapted > >>> for 3.8.2. Jesse, please consider adopting this for the > mainline as > >>> it is a popular question and this patch allows the person to > >>> override the default. > > > > On Feb 12, 2009, at 12:12 PM, Kevin Falcone wrote: > >> Since 3.8 added user level preferences, this really looks like > >> something which is > >> better handled as a user preference. RT::Config has docs about > >> adding items > >> to %META and marking them as user overridable. It would also want > >> some > >> changes and docs for RT_Config.pm because you could set a global > >> default > >> (default would be 0) > > > > Are you saying that you guys will implement it that way for a later > > version? Or is this a request for a patch to implement these things? > > > > That was a suggestion of how to make the patch better and more > compatible with 3.8 > > I wouldn't apply any patch that adds two new Config variables without > documenting > them and adding defaults to the shipped config file. > > -kevin > _______________________________________________ > 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 > From gleduc at mail.sdsu.edu Fri Feb 13 18:18:27 2009 From: gleduc at mail.sdsu.edu (Gene LeDuc) Date: Fri, 13 Feb 2009 15:18:27 -0800 Subject: [rt-users] Fwd: Retroactive scrip-ing In-Reply-To: <8fae230c0902131417m578ad426o3985f2138d55fa62@mail.gmail.co m> References: <8fae230c0902130814k34dd1e34t8bfe8de2fa27bc1b@mail.gmail.com> <6.2.1.2.2.20090213083605.0259e848@mail.sdsu.edu> <8fae230c0902131006tfdcd8b1t1bdbb0b99f738310@mail.gmail.com> <8fae230c0902131007h28e5f9c4m7af3ca01966d5c66@mail.gmail.com> <4995C086.2070203@ucrwcu.rwc.uc.edu> <8fae230c0902131417m578ad426o3985f2138d55fa62@mail.gmail.com> Message-ID: <6.2.1.2.2.20090213151203.05f2d038@mail.sdsu.edu> If you speak perl, I'll be happy to send you a copy of a script we use that would illustrate getting ticket info using the API. If you don't speak perl, then I wouldn't recommend learning it with this script or this project. At 02:17 PM 2/13/2009, Rob Munsch wrote: >On Fri, Feb 13, 2009 at 1:48 PM, Drew Barnes >wrote: > > > use the API to re-run those transactions > >I have to confess, after some time googling and looking over the wiki, >that i cannot figure out how to do that :(. > >-- >/chown -R us:us /yourbase -- Gene LeDuc, GSEC Security Analyst San Diego State University From rob.munsch at gmail.com Fri Feb 13 18:25:09 2009 From: rob.munsch at gmail.com (Rob Munsch) Date: Fri, 13 Feb 2009 18:25:09 -0500 Subject: [rt-users] Fwd: Retroactive scrip-ing In-Reply-To: <6.2.1.2.2.20090213151203.05f2d038@mail.sdsu.edu> References: <8fae230c0902130814k34dd1e34t8bfe8de2fa27bc1b@mail.gmail.com> <6.2.1.2.2.20090213083605.0259e848@mail.sdsu.edu> <8fae230c0902131006tfdcd8b1t1bdbb0b99f738310@mail.gmail.com> <8fae230c0902131007h28e5f9c4m7af3ca01966d5c66@mail.gmail.com> <4995C086.2070203@ucrwcu.rwc.uc.edu> <8fae230c0902131417m578ad426o3985f2138d55fa62@mail.gmail.com> <6.2.1.2.2.20090213151203.05f2d038@mail.sdsu.edu> Message-ID: <8fae230c0902131525p5708e378q4dd409f91f3a88e7@mail.gmail.com> I speak it well enough to modify things, so far. I wouldn't call myself fluent, but i can more than copy-paste code. I'd love to see it. This system isn't in production yet, so i don't mind potential breakage trying to get something to work. Thanks! On Fri, Feb 13, 2009 at 6:18 PM, Gene LeDuc wrote: > If you speak perl, I'll be happy to send you a copy of a script we use that > would illustrate getting ticket info using the API. If you don't speak > perl, then I wouldn't recommend learning it with this script or this > project. > > At 02:17 PM 2/13/2009, Rob Munsch wrote: >> >> On Fri, Feb 13, 2009 at 1:48 PM, Drew Barnes >> wrote: >> >> > use the API to re-run those transactions >> >> I have to confess, after some time googling and looking over the wiki, >> that i cannot figure out how to do that :(. >> >> -- >> /chown -R us:us /yourbase > > > -- > Gene LeDuc, GSEC > Security Analyst > San Diego State University > -- /chown -R us:us /yourbase From clkao at bestpractical.com Fri Feb 13 20:22:46 2009 From: clkao at bestpractical.com (Chia-liang Kao) Date: Sat, 14 Feb 2009 01:22:46 +0000 (UTC) Subject: [rt-users] Approvals status open->resolved References: <200902131603.51640.Richard.Foley@rfi.net> <200902131820.45603.Richard.Foley@rfi.net> Message-ID: Richard, Richard Foley rfi.net> writes: > > Hi Chia-liang, > > Ok, so now I've got this: > > if ($passed) { > $top->SetStatus( Status => 'resolved', Force => 1 ); > $self->RunScripAction('Notify Owner', 'Approval Ready for Owner', > TicketObj => $top); > } the change seems to work for me. Here's the change to the test in t/approval/basic.t that demostrates the original ticket got set to resolved upon all approval passed: http://fsck.com/~clkao/rt-approval-autoresolve.patch From jrhett at netconsonance.com Fri Feb 13 21:44:36 2009 From: jrhett at netconsonance.com (Jo Rhett) Date: Fri, 13 Feb 2009 18:44:36 -0800 Subject: [rt-users] change updates from unprivileged user to a different transaction type? In-Reply-To: <20090212220224.GC13543@17h.local> References: <1234460097.7536.19.camel@pcx4546.desy.de> <20090212220224.GC13543@17h.local> Message-ID: <96BC0895-EAFD-4651-B017-69B305929A79@netconsonance.com> On Feb 12, 2009, at 2:02 PM, Jesse Vincent wrote: > We already have something for you, I think. > > RT::Transaction->IsInbounda > > =head2 IsInbound > > Returns true if the creator of the transaction is a requestor of the > ticket. > Returns false otherwise By "a requestor" I take it to mean "anyone other than a watcher or owner" ? How is (or where can I review) the logic for this? FYI, I assume you mean RT::Transaction->IsInbound or is there RT::Transaction->IsInboundb too? -- Jo Rhett Net Consonance : consonant endings by net philanthropy, open source and other randomness -------------- next part -------------- An HTML attachment was scrubbed... URL: From bertignac at gmail.com Sat Feb 14 06:12:14 2009 From: bertignac at gmail.com (L B) Date: Sat, 14 Feb 2009 12:12:14 +0100 Subject: [rt-users] Create standard request forms with RT In-Reply-To: References: <6.2.1.2.2.20090213103646.02c568a8@mail.sdsu.edu> Message-ID: On Fri, Feb 13, 2009 at 11:00 PM, Jerrad Pierce wrote: > On Fri, Feb 13, 2009 at 16:24, L B wrote: >> I don't use custom fields because : >> - I don't want users to log in the self service to create requests >> - I don't want to create custom fields per queue (especially >> mandatory ones) because the DNS queue can be used to request a new DNS >> entry, but also to report DNS problems or ask anything related to DNS. >> >> We can use web pages, but it's more or less creating a kind of portal. >> Do you have a technology/framework recommendation to do this ? > Your reasons for "not using CFs" do not preclude them. As before, > REST or commands by email. Simply make them optional in RT (not ideal), > and use your front-end to require values as necessary. > I can do that, but it doesn't solve my original problem : which frontend ? -- L.B. From casterln at nature.berkeley.edu Sat Feb 14 14:23:50 2009 From: casterln at nature.berkeley.edu (Gary Casterline) Date: Sat, 14 Feb 2009 11:23:50 -0800 Subject: [rt-users] solaris 10 syslog woes Message-ID: <49971A46.8040306@nature.berkeley.edu> Hi, Just upgraded from 3.6.6 to 3.8.2 running on Solaris 10. Now I find myself struggling to the the syslog stuff to work. Here are the settings that I had thought would work from my understanding of the docs and googling: Set(@LogToSyslogConf = ( socket => 'stream')); [Sat Feb 14 11:18:58 2009] [error] [client 169.229.201.201] undef is not a valid Log::Dispatch log level at /opt/rt3/bin/../lib/RT.pm line 341\n Does anyone have rt 3.8.2 working on Solaris 10? Care to share your LogToSyslogConf settings? From falcone at bestpractical.com Sat Feb 14 14:52:27 2009 From: falcone at bestpractical.com (Kevin Falcone) Date: Sat, 14 Feb 2009 14:52:27 -0500 Subject: [rt-users] solaris 10 syslog woes In-Reply-To: <49971A46.8040306@nature.berkeley.edu> References: <49971A46.8040306@nature.berkeley.edu> Message-ID: On Feb 14, 2009, at 2:23 PM, Gary Casterline wrote: > Hi, > > Just upgraded from 3.6.6 to 3.8.2 running on Solaris 10. Now I find > myself struggling to the the syslog stuff to work. > > Here are the settings that I had thought would work from my > understanding of the docs > and googling: What have you set $LogToSyslog to (that seems to be the source of the undef error you're seeing) In addition, I know that on Solaris 8 and 9 I needed ( socket => 'inet' ) to avoid problems (which is what is documented in RT_Config.pm), but I haven't had a chance to play with Solaris 10 yet. -kevin > > > Set(@LogToSyslogConf = ( socket => 'stream')); > > [Sat Feb 14 11:18:58 2009] [error] [client 169.229.201.201] undef is > not > a valid Log::Dispatch log level at /opt/rt3/bin/../lib/RT.pm line > 341\n > > Does anyone have rt 3.8.2 working on Solaris 10? Care to share your > LogToSyslogConf settings? > _______________________________________________ > 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 > From Jim.Tambling at datatote.co.uk Sat Feb 14 15:29:51 2009 From: Jim.Tambling at datatote.co.uk (Jim Tambling) Date: Sat, 14 Feb 2009 20:29:51 -0000 Subject: [rt-users] Reminders still open after a ticket is closed Message-ID: <72D9E13A8FC8994794D448E91198AE070133FBB2@mail.sys.internal> Thanks Mark, Tried that but it still doesn't work. Will try it next week when we upgrade to 3.8.2. Regards, Jim -----Original Message----- From: Roedel, Mark [mailto:MarkRoedel at letu.edu] Sent: 12 February 2009 18:09 To: Jim Tambling; rt-users at bestpractical.com Subject: RE: [rt-users] Reminders still open after a ticket is closed That part of it looks OK to me. I recently had a problem with a similarly-structured scrip that didn't seem to be firing. It turned out to be because I'd left the "Custom Action Preparation Code" field blank. When I put a "return 1;" into that field, it started behaving as expected. -- Mark Roedel Senior Programmer/Analyst - Web Services LeTourneau University From: Jim Tambling [mailto:Jim.Tambling at datatote.co.uk] Sent: Wednesday, February 11, 2009 4:36 PM To: Roedel, Mark; rt-users at bestpractical.com Subject: RE: [rt-users] Reminders still open after a ticket is closed Thanks Mark I tried that but it doesn't seem to work. Here's the code I put in the scrip; my $tickets = new RT::Tickets(RT->SystemUser) my $id = $self->TicketObj->id; my $queue = $self->TicketObj->QueueObj->Name; return 1 unless (defined($id)); # Can this be undefined? $tickets->FromSQL('Type = "reminder" AND RefersTo="'.$id.'"'); while (my $ticket = $tickets->Next) { $RT::Logger->info("Closing associated reminder"); $ticket->SetStatus("resolved"); } return 1; I have zero knowledge of perl so I don't know if this is correct. Regards -----Original Message----- From: Roedel, Mark [mailto:MarkRoedel at letu.edu] Sent: 10 February 2009 23:04 To: Jim Tambling; rt-users at bestpractical.com Subject: RE: [rt-users] Reminders still open after a ticket is closed Looks to me like http://wiki.bestpractical.com/view/OnQueueChangeFixReminders should get you most of the way there as a jumping-off point. Obviously, you'd change the scrip condition to "On Resolve" and you'd use a $ticket->SetStatus('resolved') call in place of the $Ticket->SetQueue($queue) in the while loop... -- Mark Roedel Senior Programmer/Analyst - Web Services LeTourneau University From: rt-users-bounces at lists.bestpractical.com [mailto:rt-users-bounces at lists.bestpractical.com] On Behalf Of Jim Tambling Sent: Tuesday, February 10, 2009 4:37 PM To: rt-users at bestpractical.com Subject: [rt-users] Reminders still open after a ticket is closed If I set a reminder for a ticket, after the ticket is resolved the reminder is still active. Is there anyway to automate closing the reminders on resolution of the ticket? Regards ________________________________ Spam Not spam Forget previous vote No virus found in this incoming message. Checked by AVG - www.avg.com Version: 8.0.234 / Virus Database: 270.10.23/1948 - Release Date: 02/12/09 07:20:00 -------------- next part -------------- An HTML attachment was scrubbed... URL: From luca.greco at alcacoop.it Sun Feb 15 00:04:35 2009 From: luca.greco at alcacoop.it (Luca Greco) Date: Sun, 15 Feb 2009 06:04:35 +0100 Subject: [rt-users] GraphViz issue in 3.8.1 Message-ID: <4997A263.7040809@alcacoop.it> Try this... it worked for me :-) With the same problem in 3.8.0 fresh install, after an explicit install of IPC::Run::SafeHandles it was resolved: root at deck:~# perl /opt/rt3/lib/RT/Graph/Tickets.pm Name "RT::WebPath" used only once: possible typo at /opt/rt3/lib/RT/Graph/Tickets.pm line 229. Name "RT::DisableGraphViz" used only once: possible typo at /opt/rt3/lib/RT/Graph/Tickets.pm line 60. Can't locate IPC/Run/SafeHandles.pm in @INC (@INC contains: /etc/perl /usr/local/lib/perl/5.10.0 /usr/local/share/perl/5.10.0 /usr/lib/perl5 /usr/share/perl5 /usr/lib/perl/5.10 /usr/share/perl/5.10 /usr/local/lib/site_perl .) at /opt/rt3/lib/RT/Graph/Tickets.pm line 63. root at deck:~# perl -MCPAN -e 'install IPC::Run::SafeHandles' ---- Luca Greco @ Alca Societ? Cooperativa From geek+rt at cmu.edu Sun Feb 15 02:49:28 2009 From: geek+rt at cmu.edu (Brian Gallew) Date: Sun, 15 Feb 2009 10:49:28 +0300 Subject: [rt-users] Updating the schema for a contribution In-Reply-To: <20090205165029.GA7130@17h.local> References: <498AAD3F.4030707@cutaway.it> <16426EA38D57E74CB1DE5A6AE1DB039401D0EF0C@w3hamboex11.ger.win.int.kn> <498B171F.2070503@ultra-secure.de> <20090205165029.GA7130@17h.local> Message-ID: <4997C908.1040200@cmu.edu> In preparation for updating our RT installation to 3.8.x, I've re-done my quick SPAM handling modification. I can (and will) distribute the necessary files, but it would be really nice if I could package it up a little more nicely. One of the things I need to do is replace two queries: "Search - My Tickets" and "Search - Unowned Tickets". I've created and initaldata.SPAM file which can trivially be used to insert the new queries, but there doesn't seem to be a way to convince rt-setup-database to drop the existing queries first. So, what's the best way to handle this. Is there a recommended way to add random SQL to an initialdata file? Should I just draw up a not to tell the owner to delete those rows? Inquiring minds want to know! FWIW, there is a wiki page at: http://wiki.bestpractical.com/view/QuickSpamHandler From casterln at nature.berkeley.edu Sun Feb 15 16:23:53 2009 From: casterln at nature.berkeley.edu (Gary Casterline) Date: Sun, 15 Feb 2009 13:23:53 -0800 Subject: [rt-users] solaris 10 syslog woes In-Reply-To: References: <49971A46.8040306@nature.berkeley.edu> Message-ID: <499887E9.3000908@nature.berkeley.edu> Kevin Falcone wrote: > On Feb 14, 2009, at 2:23 PM, Gary Casterline wrote: > > >> Hi, >> >> Just upgraded from 3.6.6 to 3.8.2 running on Solaris 10. Now I find >> myself struggling to the the syslog stuff to work. >> >> Here are the settings that I had thought would work from my >> understanding of the docs >> and googling: >> > > What have you set $LogToSyslog to (that seems to be the source of the > undef error you're seeing) > In addition, I know that on Solaris 8 and 9 I needed ( socket => > 'inet' ) > to avoid problems (which is what is documented in RT_Config.pm), > but I haven't had a chance to play with Solaris 10 yet. > > -kevin > > Just tried it again with Set($LogToSyslog , 'debug'); Set(@LogToSyslogConf = ( socket => 'inet')); and still get [Sun Feb 15 13:20:53 2009] [error] [client 169.229.201.201] undef is not a valid Log::Dispatch log level at /opt/rt3/bin/../lib/RT.pm line 341\n After making a change to RT_SiteConfig.pm, is it necessary to restart apache or anything? From jmoseley at corp.xanadoo.com Sun Feb 15 16:52:44 2009 From: jmoseley at corp.xanadoo.com (jmoseley at corp.xanadoo.com) Date: Sun, 15 Feb 2009 15:52:44 -0600 Subject: [rt-users] solaris 10 syslog woes In-Reply-To: <499887E9.3000908@nature.berkeley.edu> Message-ID: Yes, any time you make a change to RT_SiteConfig.pm, it's necessary to restart apache and clear out the mason cache. Reference the readme docs. James Moseley Gary Casterline To Sent by: RT Users rt-users-bounces@ lists.bestpractic cc al.com Subject Re: [rt-users] solaris 10 syslog 02/15/2009 03:23 woes PM After making a change to RT_SiteConfig.pm, is it necessary to restart apache or anything? From jesse at bestpractical.com Sun Feb 15 16:54:19 2009 From: jesse at bestpractical.com (Jesse Vincent) Date: Sun, 15 Feb 2009 16:54:19 -0500 Subject: [rt-users] solaris 10 syslog woes In-Reply-To: References: <499887E9.3000908@nature.berkeley.edu> Message-ID: <20090215215419.GH14175@bestpractical.com> On Sun, Feb 15, 2009 at 03:52:44PM -0600, jmoseley at corp.xanadoo.com wrote: > Yes, any time you make a change to RT_SiteConfig.pm, it's necessary to > restart apache and clear out the mason cache. Actually, for changes to lib and etc, you need only stop and start apache. The mason cache is only for templates. From jmoseley at corp.xanadoo.com Sun Feb 15 17:15:50 2009 From: jmoseley at corp.xanadoo.com (jmoseley at corp.xanadoo.com) Date: Sun, 15 Feb 2009 16:15:50 -0600 Subject: [rt-users] solaris 10 syslog woes In-Reply-To: <20090215215419.GH14175@bestpractical.com> Message-ID: Thanks. Good to know Jesse. James Moseley Jesse Vincent To 02/15/2009 03:54 jmoseley at corp.xanadoo.com PM cc Gary Casterline , RT Users , rt-users-bounces at lists.bestpractica l.com Subject Re: [rt-users] solaris 10 syslog woes Actually, for changes to lib and etc, you need only stop and start apache. The mason cache is only for templates. From jon.westholm at cint.com Mon Feb 16 05:45:19 2009 From: jon.westholm at cint.com (Jon Westholm) Date: Mon, 16 Feb 2009 11:45:19 +0100 Subject: [rt-users] Reply to a ticket for a support user Message-ID: Hi all, Total freshmen to RT and setting up my first instance that should run two queues. Currently I have configured two users as support persons. RT sends the new ticket mail and also the case closed mail without any problems but; - As one of the support persons I cannot send a reply mail to the requestor. It just becomes a comment in the ticket. - As root this works just fine. I have added both of my users to the Global Super User feature and now I am running out of ways to configure all the permissions on queue, group, user, privileged and non privilege uses, etc What am I missing. I want the support person to communicate with reply to the requestor. Cheers! // jon Cut and paste of my system conf; Loaded perl modules Perl v5.8.8 under linux Apache2::Const v2.000002; Apache2::Log v2.000002; Apache2::RequestIO v2.000002; Apache2::RequestRec v2.000002; Apache2::RequestUtil v2.000002; Apache2::Response v2.000002; Apache2::ServerUtil v2.000002; Apache2::Status v4.00; Apache::Session v1.88; Apache::Session::Generate::MD5 v2.12; Apache::Session::Lock::MySQL v1.01; Apache::Session::MySQL v1.01; Apache::Session::Serialize::Storable v1.01; Apache::Session::Store::DBI v1.02; Apache::Session::Store::MySQL v1.04; APR v0.009000; APR::Pool v0.009000; APR::Table v0.009000; AutoLoader v5.60; base v2.07; bytes v1.02; Cache::Simple::TimedExpiry v0.27; capitalization v0.03; Carp v1.04; CGI v3.42; CGI::Cookie v1.29; CGI::Util v1.5_01; Class::Accessor v0.31; Class::Accessor::Fast v0.31; Class::Container v0.12; Class::Data::Inheritable v0.08; Class::Inspector v1.23; Class::ReturnValue v0.55; Clone v0.30; constant v1.05; CSS::Squish v0.07; Cwd v3.29; Data::Dumper v2.121_08; Date::Format v2.22; Date::Parse v2.27; DBD::mysql v3.0008; DBI v1.53; DBIx::SearchBuilder v1.54; DBIx::SearchBuilder::Union v0; DBIx::SearchBuilder::Unique v0.01; Devel::StackTrace v1.20; Devel::StackTraceFrame v1.20; Devel::Symdump v2.08; Digest::base v1.00; Digest::MD5 v2.36; DynaLoader v1.04; Email::Address v1.889; Encode v2.26; Encode::Alias v2.10; Encode::Config v2.05; Encode::Encoding v2.05; Errno v1.0901; Exception::Class v1.26; Exception::Class::Base v1.2; Exporter v5.58; Exporter::Heavy v5.58; Fcntl v1.05; File::Basename v2.74; File::Glob v1.05; File::Path v1.08; File::ShareDir v1.00; File::Spec v3.29; File::Spec::Functions v3.29; File::Spec::Unix v3.29; File::Temp v0.21; FileHandle v2.01; GD v2.34; GD::Image v2.27; GraphViz v2.04; HTML::Element v3.23; HTML::Entities v3.57; HTML::Formatter v2.04; HTML::FormatText v2.04; HTML::Mason v1.40; HTML::Mason::ApacheHandler v1.69; HTML::Mason::Exception v1.1; HTML::Mason::Exception::Abort v1.1; HTML::Mason::Exception::Compilation v1.1; HTML::Mason::Exception::Compilation::IncompatibleCompiler v1.1; HTML::Mason::Exception::Compiler v1.1; HTML::Mason::Exception::Decline v1.1; HTML::Mason::Exception::Params v1.1; HTML::Mason::Exception::Syntax v1.1; HTML::Mason::Exception::System v1.1; HTML::Mason::Exception::TopLevelNotFound v1.1; HTML::Mason::Exception::VirtualMethod v1.1; HTML::Mason::Exceptions v1.43; HTML::Parser v3.59; HTML::Scrubber v0.08; HTML::Tagset v3.20; HTML::TreeBuilder v3.23; I18N::LangTags v0.35; integer v1.00; IO v1.22; IO::File v1.13; IO::Handle v1.25; IO::InnerFile v2.110; IO::Lines v2.110; IO::ScalarArray v2.110; IO::Seekable v1.1; IO::Select v1.17; IO::Socket v1.29; IO::Socket::INET v1.29; IO::Socket::UNIX v1.22; IO::WrapTie v2.110; IPC::Open2 v1.02; IPC::Open3 v1.02; IPC::Run v0.82; IPC::Run::Debug v0.82; IPC::Run::IO v0.82; IPC::Run::Timer v0.82; List::Util v1.19; Locale::Maketext v1.09; Locale::Maketext::Fuzzy v0.10; Locale::Maketext::Lexicon v0.77; Locale::Maketext::Lexicon::Gettext v0.17; Log::Dispatch v2.22; Log::Dispatch::Base v1.09; Log::Dispatch::Output v1.26; Log::Dispatch::Screen v1.17; Log::Dispatch::Syslog v1.18; Mail::Address v2.04; Mail::Field v2.04; Mail::Field::AddrList v2.04; Mail::Field::Date v2.04; Mail::Field::Generic v2.04; Mail::Header v2.04; Mail::Internet v2.04; Mail::Mailer v2.04; Mail::Util v2.04; MIME::Base64 v3.07; MIME::Body v5.427; MIME::Decoder v5.427; MIME::Decoder::Base64 v5.427; MIME::Decoder::Binary v5.427; MIME::Decoder::NBit v5.427; MIME::Entity v5.427; MIME::Field::ContDisp v5.427; MIME::Field::ConTraEnc v5.427; MIME::Field::ContType v5.427; MIME::Field::ParamVal v5.427; MIME::Head v5.427; MIME::Parser v5.427; MIME::QuotedPrint v3.07; MIME::Tools v5.427; MIME::Words v5.427; mod_perl v2.000002; mod_perl2 v2.000002; ModPerl::Const v2.000002; Module::Versions::Report v1.06; Net::Cmd v2.29; Net::Config v1.11; Net::SMTP v2.31; overload v1.04; Params::Util v0.35; Params::Validate v0.91; PerlIO v1.04; PerlIO::scalar v0.04; POSIX v1.09; re v0.05; Regexp::Common v2.122; Regexp::Common::delimited v2.106; Regexp::Common::URI v2.110; Regexp::Common::URI::fax v2.102; Regexp::Common::URI::file v2.102; Regexp::Common::URI::ftp v2.103; Regexp::Common::URI::gopher v2.102; Regexp::Common::URI::http v2.103; Regexp::Common::URI::news v2.102; Regexp::Common::URI::pop v2.102; Regexp::Common::URI::prospero v2.102; Regexp::Common::URI::RFC1035 v2.102; Regexp::Common::URI::RFC1738 v2.106; Regexp::Common::URI::RFC1808 v2.102; Regexp::Common::URI::RFC2384 v2.104; Regexp::Common::URI::RFC2396 v2.102; Regexp::Common::URI::RFC2806 v2.102; Regexp::Common::URI::tel v2.102; Regexp::Common::URI::telnet v2.102; Regexp::Common::URI::tv v2.102; Regexp::Common::URI::wais v2.102; RT v3.8.2; RT::Interface::Email v2; RT::Interface::Web::Request v0.30; Scalar::Util v1.19; SelectSaver v1.01; Socket v1.78; Storable v2.15; strict v1.03; Symbol v1.06; Sys::Syslog v0.18; Text::Autoformat v1.13; Text::Quoted v2.05; Text::Reform v1.11; Text::Tabs v2005.0824; Text::Template v1.45; Text::Wrapper v1.02; Time::HiRes v1.86; Time::JulianDay v2003.1125; Time::Local v1.11; Time::ParseDate v2006.0814; Time::Timezone v2006.0814; Time::Zone v2.22; UNIVERSAL v1.01; UNIVERSAL::require v0.11; URI v1.37; URI::Escape v3.29; URI::file v4.20; utf8 v1.06; vars v1.01; warnings v1.05; warnings::register v1.01; XSLoader v0.06; RT Config MaxInlineBody 12000 OldestTransactionsFirst 1 UsernameFormat concise ShowUnreadMessageNotifications 1 WebDefaultStylesheet web2 MessageBoxRichText 1 PlainTextPre 0 MessageBoxRichTextHeight 200 MessageBoxWidth 72 MessageBoxHeight 15 ActiveStatus new, open, stalled Active_MakeClicky AmbiguousDayInFuture 0 AmbiguousDayInPast 0 AutoLogoff 0 CanonicalizeOnCreate 0 CanonicalizeRedirectURLs 0 CommentAddress CorrespondAddress CustomFieldValuesSources DashboardAddress DashboardSubject %s Dashboard: %s DatabaseHost localhost DatabaseName rt3 DatabasePassword Password not printed DatabasePort DatabaseRTHost localhost DatabaseType mysql DatabaseUser rt3 DateDayBeforeMonth 1 DateTimeFormat DefaultFormat DefaultSearchResultFormat '__id__/TITLE:#', '__Subject__/TITLE:Subject', Status, QueueName, OwnerName, Priority, '__NEWLINE__', '', '__Requestors__', '__CreatedRelative__', '__ToldRelative__', '__LastUpdatedRelative__', '__TimeLeft__' DefaultSummaryRows 10 DevelMode 0 EmailFrequency Individual messages EmailInputEncodings utf-8, iso-8859-1, us-ascii EmailOutputEncoding utf-8 EnableReminders 1 ExtractSubjectTagMatch Regexp ExtractSubjectTagNoMatch Regexp ForwardFromUser 0 FriendlyFromLineFormat "%s via RT" <%s> FriendlyToLineFormat "%s of rt.cint.com Ticket #%s":; GnuPG Enable, 0, AllowEncryptDataInDB, 0, OutgoingMessagesFormat, RFC GnuPGOptions homedir, /opt/rt3/var/data/gpg HomepageComponents QuickCreate, Quicksearch, MyAdminQueues, MySupportQueues, MyReminders, RefreshHomepage, Dashboards InactiveStatus resolved, rejected, deleted LexiconLanguages * LinkTransactionsRun1Scrip 0 LogDir /opt/rt3/var/log LogStackTraces LogToFileNamed rt.log LogToScreen info LogToSyslog info LogToSyslogConf LogoURL /NoAuth/images/bplogo.gif LoopsToRTOwner 1 MailCommand smtp MailParams MasonParameters MaxAttachmentSize 10000000 MessageBoxIncludeSignature 1 MessageBoxWrap HARD MinimumPasswordLength 5 NetServerOptions NotifyActor 0 Organization rt.cint.com OwnerEmail root PreviewScripMessages 0 RTAddressRegexp ^rt\@example.com$ RecordOutgoingEmail 1 RedistributeAutoGeneratedMessages privileged SMTPDebug 0 SMTPServer smtp.stockholm.cint.com SelfServiceRegex Regexp SendmailArguments -oi -t SendmailBounceArguments -f "<>" SendmailPath /usr/sbin/sendmail ShowBccHeader 0 ShowTransactionImages 1 StandaloneMaxServers 1 StandaloneMaxSpareServers 0 StandaloneMinServers 1 StandaloneMinSpareServers 0 StrictLinkACL 1 Timezone US/Eastern UseFriendlyFromLine 1 UseFriendlyToLine 0 UseTransactionBatch 1 WebBaseURL http://localhost:80 WebDomain localhost WebFlushDbCacheEveryRequest 1 WebImagesURL /NoAuth/images/ WebNoAuthRegex Regexp WebPath WebPort 80 WebSecureCookies 0 WebURL http://localhost:80/ WikiImplicitLinks 0 rtname rt.cint.com RT Variables RT::BasePath /opt/rt3 RT::BinPath /opt/rt3/bin RT::EtcPath /opt/rt3/etc RT::LocalEtcPath /opt/rt3/local/etc RT::LocalLexiconPath /opt/rt3/local/po RT::LocalLibPath /opt/rt3/local/lib RT::LocalPath /opt/rt3/local RT::LocalPluginPath /opt/rt3/local/plugins RT::MasonComponentRoot /opt/rt3/share/html RT::MasonDataDir /opt/rt3/var/mason_data RT::MasonLocalComponentRoot /opt/rt3/local/html RT::MasonSessionDir /opt/rt3/var/session_data RT::SbinPath /opt/rt3/sbin RT::VERSION 3.8.2 RT::VarPath /opt/rt3/var Perl configuration Summary of my perl5 (revision 5 version 8 subversion 8) configuration: Platform: osname=linux, osvers=2.6.24.4, archname=i486-linux-gnu-thread-multi uname='linux ninsei 2.6.24.4 #1 smp preempt fri apr 18 15:36:09 pdt 2008 i686 gnulinux ' config_args='-Dusethreads -Duselargefiles -Dccflags=-DDEBIAN -Dcccdlflags=-fPIC -Darchname=i486-linux-gnu -Dprefix=/usr -Dprivlib=/usr/share/perl/5.8 -Darchlib=/usr/lib/perl/5.8 -Dvendorprefix=/usr -Dvendorlib=/usr/share/perl5 -Dvendorarch=/usr/lib/perl5 -Dsiteprefix=/usr/local -Dsitelib=/usr/local/share/perl/5.8.8 -Dsitearch=/usr/local/lib/perl/5.8.8 -Dman1dir=/usr/share/man/man1 -Dman3dir=/usr/share/man/man3 -Dsiteman1dir=/usr/local/man/man1 -Dsiteman3dir=/usr/local/man/man3 -Dman1ext=1 -Dman3ext=3perl -Dpager=/usr/bin/sensible-pager -Uafs -Ud_csh -Uusesfio -Uusenm -Duseshrplib -Dlibperl=libperl.so.5.8.8 -Dd_dosuid -des' hint=recommended, useposix=true, d_sigaction=define usethreads=define use5005threads=undef useithreads=define usemultiplicity=define useperlio=define d_sfio=undef uselargefiles=define usesocks=undef use64bitint=undef use64bitall=undef uselongdouble=undef usemymalloc=n, bincompat5005=undef Compiler: cc='cc', ccflags ='-D_REENTRANT -D_GNU_SOURCE -DTHREADS_HAVE_PIDS -DDEBIAN -fno-strict-aliasing -pipe -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64', optimize='-O2', cppflags='-D_REENTRANT -D_GNU_SOURCE -DTHREADS_HAVE_PIDS -DDEBIAN -fno-strict-aliasing -pipe -I/usr/local/include' ccversion='', gccversion='4.1.2 20061115 (prerelease) (Debian 4.1.1-21)', gccosandvers='' intsize=4, longsize=4, ptrsize=4, doublesize=8, byteorder=1234 d_longlong=define, longlongsize=8, d_longdbl=define, longdblsize=12 ivtype='long', ivsize=4, nvtype='double', nvsize=8, Off_t='off_t', lseeksize=8 alignbytes=4, prototype=define Linker and Libraries: ld='cc', ldflags =' -L/usr/local/lib' libpth=/usr/local/lib /lib /usr/lib libs=-lgdbm -lgdbm_compat -ldb -ldl -lm -lpthread -lc -lcrypt perllibs=-ldl -lm -lpthread -lc -lcrypt libc=/lib/libc-2.3.6.so, so=so, useshrplib=true, libperl=libperl.so.5.8.8 gnulibc_version='2.3.6' Dynamic Linking: dlsrc=dl_dlopen.xs, dlext=so, d_dlsymun=undef, ccdlflags='-Wl,-E' cccdlflags='-fPIC', lddlflags='-shared -L/usr/local/lib' Perl Include Paths (@INC) /opt/rt3/bin/../local/lib /opt/rt3/bin/../lib /etc/perl /usr/local/lib/perl/5.8.8 /usr/local/share/perl/5.8.8 /usr/lib/perl5 /usr/share/perl5 /usr/lib/perl/5.8 /usr/share/perl/5.8 /usr/local/lib/site_perl . /etc/apache2 -------------- next part -------------- An HTML attachment was scrubbed... URL: From ruslan.zakirov at gmail.com Mon Feb 16 12:01:11 2009 From: ruslan.zakirov at gmail.com (Ruslan Zakirov) Date: Mon, 16 Feb 2009 20:01:11 +0300 Subject: [rt-users] Reply to a ticket for a support user In-Reply-To: References: Message-ID: <589c94400902160901ib8c22a6na2aeb430a65c3fb4@mail.gmail.com> ReplyToTicket right and pay attention to NotifyActor config option. Sure you'll need scrip notify requestors on correspond with template xxx. On Mon, Feb 16, 2009 at 1:45 PM, Jon Westholm wrote: > Hi all, > > Total freshmen to RT and setting up my first instance that should run two > queues. Currently I have configured two users as support persons. RT sends > the new ticket mail and also the case closed mail without any problems but; > > - As one of the support persons I cannot send a reply mail to the > requestor. It just becomes a comment in the ticket. > > - As root this works just fine. > > > > I have added both of my users to the Global Super User feature and now I am > running out of ways to configure all the permissions on queue, group, user, > privileged and non privilege uses, etc > > > > What am I missing. I want the support person to communicate with reply to > the requestor. > > Cheers! > > > > // jon > > > > Cut and paste of my system conf; > > Loaded perl modules > > Perl v5.8.8 under linux > Apache2::Const v2.000002; > Apache2::Log v2.000002; > Apache2::RequestIO v2.000002; > Apache2::RequestRec v2.000002; > Apache2::RequestUtil v2.000002; > Apache2::Response v2.000002; > Apache2::ServerUtil v2.000002; > Apache2::Status v4.00; > Apache::Session v1.88; > Apache::Session::Generate::MD5 v2.12; > Apache::Session::Lock::MySQL v1.01; > Apache::Session::MySQL v1.01; > Apache::Session::Serialize::Storable v1.01; > Apache::Session::Store::DBI v1.02; > Apache::Session::Store::MySQL v1.04; > APR v0.009000; > APR::Pool v0.009000; > APR::Table v0.009000; > AutoLoader v5.60; > base v2.07; > bytes v1.02; > Cache::Simple::TimedExpiry v0.27; > capitalization v0.03; > Carp v1.04; > CGI v3.42; > CGI::Cookie v1.29; > CGI::Util v1.5_01; > Class::Accessor v0.31; > Class::Accessor::Fast v0.31; > Class::Container v0.12; > Class::Data::Inheritable v0.08; > Class::Inspector v1.23; > Class::ReturnValue v0.55; > Clone v0.30; > constant v1.05; > CSS::Squish v0.07; > Cwd v3.29; > Data::Dumper v2.121_08; > Date::Format v2.22; > Date::Parse v2.27; > DBD::mysql v3.0008; > DBI v1.53; > DBIx::SearchBuilder v1.54; > DBIx::SearchBuilder::Union v0; > DBIx::SearchBuilder::Unique v0.01; > Devel::StackTrace v1.20; > Devel::StackTraceFrame v1.20; > Devel::Symdump v2.08; > Digest::base v1.00; > Digest::MD5 v2.36; > DynaLoader v1.04; > Email::Address v1.889; > Encode v2.26; > Encode::Alias v2.10; > Encode::Config v2.05; > Encode::Encoding v2.05; > Errno v1.0901; > Exception::Class v1.26; > Exception::Class::Base v1.2; > Exporter v5.58; > Exporter::Heavy v5.58; > Fcntl v1.05; > File::Basename v2.74; > File::Glob v1.05; > File::Path v1.08; > File::ShareDir v1.00; > File::Spec v3.29; > File::Spec::Functions v3.29; > File::Spec::Unix v3.29; > File::Temp v0.21; > FileHandle v2.01; > GD v2.34; > GD::Image v2.27; > GraphViz v2.04; > HTML::Element v3.23; > HTML::Entities v3.57; > HTML::Formatter v2.04; > HTML::FormatText v2.04; > HTML::Mason v1.40; > HTML::Mason::ApacheHandler v1.69; > HTML::Mason::Exception v1.1; > HTML::Mason::Exception::Abort v1.1; > HTML::Mason::Exception::Compilation v1.1; > HTML::Mason::Exception::Compilation::IncompatibleCompiler v1.1; > HTML::Mason::Exception::Compiler v1.1; > HTML::Mason::Exception::Decline v1.1; > HTML::Mason::Exception::Params v1.1; > HTML::Mason::Exception::Syntax v1.1; > HTML::Mason::Exception::System v1.1; > HTML::Mason::Exception::TopLevelNotFound v1.1; > HTML::Mason::Exception::VirtualMethod v1.1; > HTML::Mason::Exceptions v1.43; > HTML::Parser v3.59; > HTML::Scrubber v0.08; > HTML::Tagset v3.20; > HTML::TreeBuilder v3.23; > I18N::LangTags v0.35; > integer v1.00; > IO v1.22; > IO::File v1.13; > IO::Handle v1.25; > IO::InnerFile v2.110; > IO::Lines v2.110; > IO::ScalarArray v2.110; > IO::Seekable v1.1; > IO::Select v1.17; > IO::Socket v1.29; > IO::Socket::INET v1.29; > IO::Socket::UNIX v1.22; > IO::WrapTie v2.110; > IPC::Open2 v1.02; > IPC::Open3 v1.02; > IPC::Run v0.82; > IPC::Run::Debug v0.82; > IPC::Run::IO v0.82; > IPC::Run::Timer v0.82; > List::Util v1.19; > Locale::Maketext v1.09; > Locale::Maketext::Fuzzy v0.10; > Locale::Maketext::Lexicon v0.77; > Locale::Maketext::Lexicon::Gettext v0.17; > Log::Dispatch v2.22; > Log::Dispatch::Base v1.09; > Log::Dispatch::Output v1.26; > Log::Dispatch::Screen v1.17; > Log::Dispatch::Syslog v1.18; > Mail::Address v2.04; > Mail::Field v2.04; > Mail::Field::AddrList v2.04; > Mail::Field::Date v2.04; > Mail::Field::Generic v2.04; > Mail::Header v2.04; > Mail::Internet v2.04; > Mail::Mailer v2.04; > Mail::Util v2.04; > MIME::Base64 v3.07; > MIME::Body v5.427; > MIME::Decoder v5.427; > MIME::Decoder::Base64 v5.427; > MIME::Decoder::Binary v5.427; > MIME::Decoder::NBit v5.427; > MIME::Entity v5.427; > MIME::Field::ContDisp v5.427; > MIME::Field::ConTraEnc v5.427; > MIME::Field::ContType v5.427; > MIME::Field::ParamVal v5.427; > MIME::Head v5.427; > MIME::Parser v5.427; > MIME::QuotedPrint v3.07; > MIME::Tools v5.427; > MIME::Words v5.427; > mod_perl v2.000002; > mod_perl2 v2.000002; > ModPerl::Const v2.000002; > Module::Versions::Report v1.06; > Net::Cmd v2.29; > Net::Config v1.11; > Net::SMTP v2.31; > overload v1.04; > Params::Util v0.35; > Params::Validate v0.91; > PerlIO v1.04; > PerlIO::scalar v0.04; > POSIX v1.09; > re v0.05; > Regexp::Common v2.122; > Regexp::Common::delimited v2.106; > Regexp::Common::URI v2.110; > Regexp::Common::URI::fax v2.102; > Regexp::Common::URI::file v2.102; > Regexp::Common::URI::ftp v2.103; > Regexp::Common::URI::gopher v2.102; > Regexp::Common::URI::http v2.103; > Regexp::Common::URI::news v2.102; > Regexp::Common::URI::pop v2.102; > Regexp::Common::URI::prospero v2.102; > Regexp::Common::URI::RFC1035 v2.102; > Regexp::Common::URI::RFC1738 v2.106; > Regexp::Common::URI::RFC1808 v2.102; > Regexp::Common::URI::RFC2384 v2.104; > Regexp::Common::URI::RFC2396 v2.102; > Regexp::Common::URI::RFC2806 v2.102; > Regexp::Common::URI::tel v2.102; > Regexp::Common::URI::telnet v2.102; > Regexp::Common::URI::tv v2.102; > Regexp::Common::URI::wais v2.102; > RT v3.8.2; > RT::Interface::Email v2; > RT::Interface::Web::Request v0.30; > Scalar::Util v1.19; > SelectSaver v1.01; > Socket v1.78; > Storable v2.15; > strict v1.03; > Symbol v1.06; > Sys::Syslog v0.18; > Text::Autoformat v1.13; > Text::Quoted v2.05; > Text::Reform v1.11; > Text::Tabs v2005.0824; > Text::Template v1.45; > Text::Wrapper v1.02; > Time::HiRes v1.86; > Time::JulianDay v2003.1125; > Time::Local v1.11; > Time::ParseDate v2006.0814; > Time::Timezone v2006.0814; > Time::Zone v2.22; > UNIVERSAL v1.01; > UNIVERSAL::require v0.11; > URI v1.37; > URI::Escape v3.29; > URI::file v4.20; > utf8 v1.06; > vars v1.01; > warnings v1.05; > warnings::register v1.01; > XSLoader v0.06; > > RT Config > > MaxInlineBody > > 12000 > > OldestTransactionsFirst > > 1 > > UsernameFormat > > concise > > ShowUnreadMessageNotifications > > 1 > > WebDefaultStylesheet > > web2 > > MessageBoxRichText > > 1 > > PlainTextPre > > 0 > > MessageBoxRichTextHeight > > 200 > > MessageBoxWidth > > 72 > > MessageBoxHeight > > 15 > > ActiveStatus > > new, open, stalled > > Active_MakeClicky > > AmbiguousDayInFuture > > 0 > > AmbiguousDayInPast > > 0 > > AutoLogoff > > 0 > > CanonicalizeOnCreate > > 0 > > CanonicalizeRedirectURLs > > 0 > > CommentAddress > > CorrespondAddress > > CustomFieldValuesSources > > DashboardAddress > > DashboardSubject > > %s Dashboard: %s > > DatabaseHost > > localhost > > DatabaseName > > rt3 > > DatabasePassword > > Password not printed > > DatabasePort > > DatabaseRTHost > > localhost > > DatabaseType > > mysql > > DatabaseUser > > rt3 > > DateDayBeforeMonth > > 1 > > DateTimeFormat > > DefaultFormat > > DefaultSearchResultFormat > > ' HREF="__WebPath__/Ticket/Display.html?id=__id__">__id__/TITLE:#', > ' HREF="__WebPath__/Ticket/Display.html?id=__id__">__Subject__/TITLE:Subject', > Status, QueueName, OwnerName, Priority, '__NEWLINE__', '', > '__Requestors__', '__CreatedRelative__', > '__ToldRelative__', '__LastUpdatedRelative__', > '__TimeLeft__' > > DefaultSummaryRows > > 10 > > DevelMode > > 0 > > EmailFrequency > > Individual messages > > EmailInputEncodings > > utf-8, iso-8859-1, us-ascii > > EmailOutputEncoding > > utf-8 > > EnableReminders > > 1 > > ExtractSubjectTagMatch > > Regexp > > ExtractSubjectTagNoMatch > > Regexp > > ForwardFromUser > > 0 > > FriendlyFromLineFormat > > "%s via RT" <%s> > > FriendlyToLineFormat > > "%s of rt.cint.com Ticket #%s":; > > GnuPG > > Enable, 0, AllowEncryptDataInDB, 0, OutgoingMessagesFormat, RFC > > GnuPGOptions > > homedir, /opt/rt3/var/data/gpg > > HomepageComponents > > QuickCreate, Quicksearch, MyAdminQueues, MySupportQueues, MyReminders, > RefreshHomepage, Dashboards > > InactiveStatus > > resolved, rejected, deleted > > LexiconLanguages > > * > > LinkTransactionsRun1Scrip > > 0 > > LogDir > > /opt/rt3/var/log > > LogStackTraces > > LogToFileNamed > > rt.log > > LogToScreen > > info > > LogToSyslog > > info > > LogToSyslogConf > > LogoURL > > /NoAuth/images/bplogo.gif > > LoopsToRTOwner > > 1 > > MailCommand > > smtp > > MailParams > > MasonParameters > > MaxAttachmentSize > > 10000000 > > MessageBoxIncludeSignature > > 1 > > MessageBoxWrap > > HARD > > MinimumPasswordLength > > 5 > > NetServerOptions > > NotifyActor > > 0 > > Organization > > rt.cint.com > > OwnerEmail > > root > > PreviewScripMessages > > 0 > > RTAddressRegexp > > ^rt\@example.com$ > > RecordOutgoingEmail > > 1 > > RedistributeAutoGeneratedMessages > > privileged > > SMTPDebug > > 0 > > SMTPServer > > smtp.stockholm.cint.com > > SelfServiceRegex > > Regexp > > SendmailArguments > > -oi -t > > SendmailBounceArguments > > -f "<>" > > SendmailPath > > /usr/sbin/sendmail > > ShowBccHeader > > 0 > > ShowTransactionImages > > 1 > > StandaloneMaxServers > > 1 > > StandaloneMaxSpareServers > > 0 > > StandaloneMinServers > > 1 > > StandaloneMinSpareServers > > 0 > > StrictLinkACL > > 1 > > Timezone > > US/Eastern > > UseFriendlyFromLine > > 1 > > UseFriendlyToLine > > 0 > > UseTransactionBatch > > 1 > > WebBaseURL > > http://localhost:80 > > WebDomain > > localhost > > WebFlushDbCacheEveryRequest > > 1 > > WebImagesURL > > /NoAuth/images/ > > WebNoAuthRegex > > Regexp > > WebPath > > WebPort > > 80 > > WebSecureCookies > > 0 > > WebURL > > http://localhost:80/ > > WikiImplicitLinks > > 0 > > rtname > > rt.cint.com > > RT Variables > > RT::BasePath > > /opt/rt3 > > RT::BinPath > > /opt/rt3/bin > > RT::EtcPath > > /opt/rt3/etc > > RT::LocalEtcPath > > /opt/rt3/local/etc > > RT::LocalLexiconPath > > /opt/rt3/local/po > > RT::LocalLibPath > > /opt/rt3/local/lib > > RT::LocalPath > > /opt/rt3/local > > RT::LocalPluginPath > > /opt/rt3/local/plugins > > RT::MasonComponentRoot > > /opt/rt3/share/html > > RT::MasonDataDir > > /opt/rt3/var/mason_data > > RT::MasonLocalComponentRoot > > /opt/rt3/local/html > > RT::MasonSessionDir > > /opt/rt3/var/session_data > > RT::SbinPath > > /opt/rt3/sbin > > RT::VERSION > > 3.8.2 > > RT::VarPath > > /opt/rt3/var > > Perl configuration > > Summary of my perl5 (revision 5 version 8 subversion 8) configuration: > > Platform: > > osname=linux, osvers=2.6.24.4, archname=i486-linux-gnu-thread-multi > > uname='linux ninsei 2.6.24.4 #1 smp preempt fri apr 18 15:36:09 pdt 2008 > i686 gnulinux ' > > config_args='-Dusethreads -Duselargefiles -Dccflags=-DDEBIAN > -Dcccdlflags=-fPIC -Darchname=i486-linux-gnu -Dprefix=/usr > -Dprivlib=/usr/share/perl/5.8 -Darchlib=/usr/lib/perl/5.8 > -Dvendorprefix=/usr -Dvendorlib=/usr/share/perl5 -Dvendorarch=/usr/lib/perl5 > -Dsiteprefix=/usr/local -Dsitelib=/usr/local/share/perl/5.8.8 > -Dsitearch=/usr/local/lib/perl/5.8.8 -Dman1dir=/usr/share/man/man1 > -Dman3dir=/usr/share/man/man3 -Dsiteman1dir=/usr/local/man/man1 > -Dsiteman3dir=/usr/local/man/man3 -Dman1ext=1 -Dman3ext=3perl > -Dpager=/usr/bin/sensible-pager -Uafs -Ud_csh -Uusesfio -Uusenm -Duseshrplib > -Dlibperl=libperl.so.5.8.8 -Dd_dosuid -des' > > hint=recommended, useposix=true, d_sigaction=define > > usethreads=define use5005threads=undef useithreads=define > usemultiplicity=define > > useperlio=define d_sfio=undef uselargefiles=define usesocks=undef > > use64bitint=undef use64bitall=undef uselongdouble=undef > > usemymalloc=n, bincompat5005=undef > > Compiler: > > cc='cc', ccflags ='-D_REENTRANT -D_GNU_SOURCE -DTHREADS_HAVE_PIDS > -DDEBIAN -fno-strict-aliasing -pipe -I/usr/local/include -D_LARGEFILE_SOURCE > -D_FILE_OFFSET_BITS=64', > > optimize='-O2', > > cppflags='-D_REENTRANT -D_GNU_SOURCE -DTHREADS_HAVE_PIDS -DDEBIAN > -fno-strict-aliasing -pipe -I/usr/local/include' > > ccversion='', gccversion='4.1.2 20061115 (prerelease) (Debian > 4.1.1-21)', gccosandvers='' > > intsize=4, longsize=4, ptrsize=4, doublesize=8, byteorder=1234 > > d_longlong=define, longlongsize=8, d_longdbl=define, longdblsize=12 > > ivtype='long', ivsize=4, nvtype='double', nvsize=8, Off_t='off_t', > lseeksize=8 > > alignbytes=4, prototype=define > > Linker and Libraries: > > ld='cc', ldflags =' -L/usr/local/lib' > > libpth=/usr/local/lib /lib /usr/lib > > libs=-lgdbm -lgdbm_compat -ldb -ldl -lm -lpthread -lc -lcrypt > > perllibs=-ldl -lm -lpthread -lc -lcrypt > > libc=/lib/libc-2.3.6.so, so=so, useshrplib=true, > libperl=libperl.so.5.8.8 > > gnulibc_version='2.3.6' > > Dynamic Linking: > > dlsrc=dl_dlopen.xs, dlext=so, d_dlsymun=undef, ccdlflags='-Wl,-E' > > cccdlflags='-fPIC', lddlflags='-shared -L/usr/local/lib' > > > > > > Perl Include Paths (@INC) > > /opt/rt3/bin/../local/lib > > /opt/rt3/bin/../lib > > /etc/perl > > /usr/local/lib/perl/5.8.8 > > /usr/local/share/perl/5.8.8 > > /usr/lib/perl5 > > /usr/share/perl5 > > /usr/lib/perl/5.8 > > /usr/share/perl/5.8 > > /usr/local/lib/site_perl > > . > > /etc/apache2 > > > > _______________________________________________ > 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 > -- Best regards, Ruslan. From mathieu at closetwork.org Mon Feb 16 12:20:38 2009 From: mathieu at closetwork.org (Mathieu Longtin) Date: Mon, 16 Feb 2009 12:20:38 -0500 Subject: [rt-users] is it possible to demerge a ticket? Message-ID: <539eb5520902160920r5475e2b6r23c8a88bdef8b010@mail.gmail.com> Hi, somebody here merged a ticket with another one, but shouldn't have. Is it possible to split the tickets again? Thanks -- Mathieu Longtin 1-514-803-8977 -------------- next part -------------- An HTML attachment was scrubbed... URL: From elacour at easter-eggs.com Mon Feb 16 12:28:54 2009 From: elacour at easter-eggs.com (Emmanuel Lacour) Date: Mon, 16 Feb 2009 18:28:54 +0100 Subject: [rt-users] is it possible to demerge a ticket? In-Reply-To: <539eb5520902160920r5475e2b6r23c8a88bdef8b010@mail.gmail.com> References: <539eb5520902160920r5475e2b6r23c8a88bdef8b010@mail.gmail.com> Message-ID: <20090216172853.GF15409@easter-eggs.com> On Mon, Feb 16, 2009 at 12:20:38PM -0500, Mathieu Longtin wrote: > Hi, > > somebody here merged a ticket with another one, but shouldn't have. Is it > possible to split the tickets again? > It's a bit difficult but possible in the DB. See the FAQ entry on this at http://wiki.bestpractical.com/. From lars.k.klykken at met.no Mon Feb 16 12:59:16 2009 From: lars.k.klykken at met.no (Lars Kristian Klykken) Date: Mon, 16 Feb 2009 18:59:16 +0100 Subject: [rt-users] CanonicalizeUserInfo in Email.pm - "Name in use" In-Reply-To: <20090129164157.GF21527@met.no> References: <20090129164157.GF21527@met.no> Message-ID: <20090216175916.GA18769@met.no> On Thu, Jan 29, 2009 at 05:41:57PM +0100, Lars Kristian Klykken wrote: > Users are properly authenticated on the web interface, and they also > have no problem sending mail to RT, as long as they're using the email > address defined in RT at createtime (or modified manually in the > preferences), but as soon as they try to send an email to RT with one of > the LDAP defined aliases (specified as 'mail' objects) it will be > bounced with the reason 'Name in use'. I have now solved this issue by rewriting the aliases through an LDAP lookup on the MTA on the RT server. In this case, Postfix. main.cf: local_header_rewrite_clients = hash:/etc/postfix/smtpservers sender_canonical_maps = ldap:/etc/postfix/canonical-ldap.cf canonical-ldap.cf: server_host = ldap.example.com version = 3 search_base = o=example.com query_filter = mailalternateaddress=%s result_attribute = mail domains = example.com .../Bosse -- Lars Kristian (Bosse) Klykken, Senior Engineer Tel. +47 22963068 Server Operations / IT Division Fax. +47 22696355 Norwegian Meteorological Institute, Oslo http://www.met.no From cnelson at delivra.com Mon Feb 16 14:10:44 2009 From: cnelson at delivra.com (Chris Nelson) Date: Mon, 16 Feb 2009 14:10:44 -0500 Subject: [rt-users] Modifying Data Label in RT 3.8.1 In-Reply-To: References: <8e313b7a0902130843t73faf585le5066d5216f4e899@mail.gmail.com> <8e313b7a0902131006qb7147d7sbee610677e63d78d@mail.gmail.com> <8e313b7a0902131028u3a09faf9naec90da3021599fb@mail.gmail.com> <8e313b7a0902131112q75d0dce6s867dc99637243991@mail.gmail.com> Message-ID: <8e313b7a0902161110s7944c254v153c1b1d8dc39880@mail.gmail.com> Thanks for all the help! I feel like you've really gone above and beyond helping me sort this out! Unfortunately, it's still not working (and I'm 95% sure it's all me). Here's what I've done: Created a file called *rt3/lib/RT/I18N/en_qaa.po*. That file contains the following: #: added 2/16/2009 by CN to modify a data label. According to #: instructions at http://wiki.bestpractical.com/view/CustomizeLabel msgid "Time Estimated" msgstr "Billable Time" I then tried SIGHUP and HUP at the command line and just got *-bash: HUP: command not found* (which I think is just a function of me misunderstanding what you're telling me to do to gracefully restart the server). So, I went with the old standby of *sudo /etc/init.d/apache2 restart* and then removed all the cookies in my browser associated with the Web site. When I started a new session, logged back into the Web site, I still see *Time Estimated*when I go to edit a ticket. Thanks so much for sticking with me on this problem! -Chris On Fri, Feb 13, 2009 at 2:47 PM, Jerrad Pierce < jpierce at cambridgeenergyalliance.org> wrote: > On Fri, Feb 13, 2009 at 14:32, Jerrad Pierce > wrote: > > On Fri, Feb 13, 2009 at 14:12, Chris Nelson wrote: > >> It REALLY didn't like that. I wasn't able to start apache with that > file. I > >> had to delete the file to get it to start again. > > Any information from error logs to report? Did you not copy I18N/ > i_default.pm > > to local too? > > > > I did, and works fine for me. > Actually, to clarify, see: > http://wiki.bestpractical.com/view/CustomizeLabel > > This may not be the sanctioned way/what Best Practical had in mind, > but it seems close, and it works. Others are welcome to make corrections. > > -- > Cambridge Energy Alliance: Save money. Save the planet. > -------------- next part -------------- An HTML attachment was scrubbed... URL: From cnelson at delivra.com Mon Feb 16 15:04:06 2009 From: cnelson at delivra.com (Chris Nelson) Date: Mon, 16 Feb 2009 15:04:06 -0500 Subject: [rt-users] Modifying Data Label in RT 3.8.1 In-Reply-To: <8e313b7a0902161110s7944c254v153c1b1d8dc39880@mail.gmail.com> References: <8e313b7a0902130843t73faf585le5066d5216f4e899@mail.gmail.com> <8e313b7a0902131006qb7147d7sbee610677e63d78d@mail.gmail.com> <8e313b7a0902131028u3a09faf9naec90da3021599fb@mail.gmail.com> <8e313b7a0902131112q75d0dce6s867dc99637243991@mail.gmail.com> <8e313b7a0902161110s7944c254v153c1b1d8dc39880@mail.gmail.com> Message-ID: <8e313b7a0902161204q7e5a6611l135d308e063abe0b@mail.gmail.com> Ok. I added the lines: msgid "Time Estimated" msgstr "Billable Time" to the bottom of *rt3/lib/RT/I18N/en.po*, restarted apache, and it worked like a champ! Is there a way to get RT to use the en_qaa.po file so that upgrades won't destroy those changes? Thanks so very much for the help! -Chris On Mon, Feb 16, 2009 at 2:10 PM, Chris Nelson wrote: > Thanks for all the help! I feel like you've really gone above and beyond > helping me sort this out! > > Unfortunately, it's still not working (and I'm 95% sure it's all me). > > Here's what I've done: > > Created a file called *rt3/lib/RT/I18N/en_qaa.po*. That file contains the > following: > #: added 2/16/2009 by CN to modify a data label. According to > #: instructions at http://wiki.bestpractical.com/view/CustomizeLabel > > msgid "Time Estimated" > msgstr "Billable Time" > > I then tried SIGHUP and HUP at the command line and just got *-bash: HUP: > command not found* (which I think is just a function of me > misunderstanding what you're telling me to do to gracefully restart the > server). So, I went with the old standby of *sudo /etc/init.d/apache2 > restart* and then removed all the cookies in my browser associated with > the Web site. When I started a new session, logged back into the Web site, I > still see *Time Estimated* when I go to edit a ticket. > > Thanks so much for sticking with me on this problem! > -Chris > > > On Fri, Feb 13, 2009 at 2:47 PM, Jerrad Pierce < > jpierce at cambridgeenergyalliance.org> wrote: > >> On Fri, Feb 13, 2009 at 14:32, Jerrad Pierce >> wrote: >> > On Fri, Feb 13, 2009 at 14:12, Chris Nelson >> wrote: >> >> It REALLY didn't like that. I wasn't able to start apache with that >> file. I >> >> had to delete the file to get it to start again. >> > Any information from error logs to report? Did you not copy I18N/ >> i_default.pm >> > to local too? >> > >> > I did, and works fine for me. >> Actually, to clarify, see: >> http://wiki.bestpractical.com/view/CustomizeLabel >> >> This may not be the sanctioned way/what Best Practical had in mind, >> but it seems close, and it works. Others are welcome to make corrections. >> >> -- >> Cambridge Energy Alliance: Save money. Save the planet. >> > > -------------- next part -------------- An HTML attachment was scrubbed... URL: From cnelson at delivra.com Mon Feb 16 15:06:49 2009 From: cnelson at delivra.com (Chris Nelson) Date: Mon, 16 Feb 2009 15:06:49 -0500 Subject: [rt-users] Modifying Quick Search in RT 3.8.1 In-Reply-To: <8e313b7a0902131016k78b5acc1h97753737fdd411df@mail.gmail.com> References: <8e313b7a0902130840x4b18b69ah9149f5dba0300244@mail.gmail.com> <8e313b7a0902131016k78b5acc1h97753737fdd411df@mail.gmail.com> Message-ID: <8e313b7a0902161206m6c9b8933hf299639309aad9ce@mail.gmail.com> OK. I was able to solve the last problem here as well! I went to *rt3/share/html/Elements/QueueSummary* and added *OR Status = 'staged'* to the following line: % my $all_q = $queue_cond . "(Status = 'open' OR Status = 'new' OR Status = 'stalled' OR Status = 'staged')"; I imagine this isn't the best way to do this as it will be overwritten if we do any upgrades. Is there a config file I can put this in? Thanks so very much for all the help! -Chris % my $all_q = $queue_cond . "(Status = 'open' OR Status = 'new' OR Status = 'stalled' OR Status = 'stalled')"; On Fri, Feb 13, 2009 at 1:16 PM, Chris Nelson wrote: > Sweet. I was able to figure out that page no problem and after a quick > restart of Apache2, staged now shows in the quick search. > > Interestingly, I had already added the line: > Set(@ActiveStatus, qw(new open stalled staged)); > to RT_SiteConfig.pm and it still isn't showing up in those queries... > > Any other thoughts on solving the second issue? > -Chris > > > On Fri, Feb 13, 2009 at 1:04 PM, Jerrad Pierce < > jpierce at cambridgeenergyalliance.org> wrote: > >> > We want to add a column to the Quick Search on the RT at a Glance screen >> for >> > Staged. So, across the top of Quick Search you would see Queue New Open >> > Stalled Staged. I have hunted and hunted and can't figure out how to do >> > that. Is it possible? >> You have to be root to edit the global queries for widgets on the front >> page, >> but Quicksearch appears to be special, and apparently requires tweaking >> a local copy of share/html/Elements/Quicksearch; it's a simple file >> though. >> >> > Once you click on a queue, we want to ensure that tickets with a status >> of >> > staged show up in the list. >> Add Staged to @ActiveStatus in RT_SiteConfig.pm >> (copying from RT_Config.pm as necessary) >> >> -- >> Cambridge Energy Alliance: Save money. Save the planet. >> > > -------------- next part -------------- An HTML attachment was scrubbed... URL: From jpierce at cambridgeenergyalliance.org Mon Feb 16 15:44:26 2009 From: jpierce at cambridgeenergyalliance.org (Jerrad Pierce) Date: Mon, 16 Feb 2009 15:44:26 -0500 Subject: [rt-users] Modifying Data Label in RT 3.8.1 In-Reply-To: <8e313b7a0902161204q7e5a6611l135d308e063abe0b@mail.gmail.com> References: <8e313b7a0902130843t73faf585le5066d5216f4e899@mail.gmail.com> <8e313b7a0902131028u3a09faf9naec90da3021599fb@mail.gmail.com> <8e313b7a0902131112q75d0dce6s867dc99637243991@mail.gmail.com> <8e313b7a0902161110s7944c254v153c1b1d8dc39880@mail.gmail.com> <8e313b7a0902161204q7e5a6611l135d308e063abe0b@mail.gmail.com> Message-ID: On Mon, Feb 16, 2009 at 15:04, Chris Nelson wrote: > to the bottom of rt3/lib/RT/I18N/en.po, restarted apache, and it worked like > a champ! Is there a way to get RT to use the en_qaa.po file so that upgrades > won't destroy those changes? Yes, you have to set your language to that dialect in user preferences. You should also be able to set the system default language to that dialect. -- Cambridge Energy Alliance: Save money. Save the planet. From mnagel at willingminds.com Mon Feb 16 15:36:00 2009 From: mnagel at willingminds.com (Mark D. Nagel) Date: Mon, 16 Feb 2009 12:36:00 -0800 Subject: [rt-users] Modifying Quick Search in RT 3.8.1 In-Reply-To: <8e313b7a0902161206m6c9b8933hf299639309aad9ce@mail.gmail.com> References: <8e313b7a0902130840x4b18b69ah9149f5dba0300244@mail.gmail.com> <8e313b7a0902131016k78b5acc1h97753737fdd411df@mail.gmail.com> <8e313b7a0902161206m6c9b8933hf299639309aad9ce@mail.gmail.com> Message-ID: <4999CE30.1000504@willingminds.com> Chris Nelson wrote: > OK. I was able to solve the last problem here as well! > > I went to *rt3/share/html/Elements/QueueSummary* and added *OR Status > = 'staged'* to the following line: > % my $all_q = $queue_cond . "(Status = 'open' OR Status = 'new' OR > Status = 'stalled' OR Status = 'staged')"; > > I imagine this isn't the best way to do this as it will be overwritten > if we do any upgrades. Is there a config file I can put this in? I'd posted a patch for this that was accepted (not sure if it is 3.8.2, but could be) so all you should have to change us QuickSearch -- the line above becomes: my $all_q = $queue_cond . "(" . join(" OR ", map { $_->{cond} } @$conditions) . ")"; Then, all you need to do is add to the conditions list in QuickSearch. Regards, Mark -- Mark D. Nagel, CCIE #3177 Principal Consultant, Willing Minds LLC (http://www.willingminds.com) cell: 949-279-5817, desk: 714-495-4001, fax: 949-623-9854 *** Please send support requests to support at willingminds.com! *** From toml at bitstatement.net Mon Feb 16 16:40:14 2009 From: toml at bitstatement.net (Tom Lahti) Date: Mon, 16 Feb 2009 13:40:14 -0800 Subject: [rt-users] ruby -> REST Message-ID: <4999DD3E.9070401@bitstatement.net> I am working on some code in ruby that accesses the REST interface. I am running RT 3.8.2. I am able to login, save cookies, and retrieve tickets and history without problems. My problem starts when I try to use REST to add a comment/correspondence to a ticket. The following code: ---------------------------------------------------- url = "#{REST}ticket/846/comment" req = Net::HTTP::Post.new(url) req.add_field 'User-Agent',UA req.add_field 'Cookie',cookie req.set_form_data( { "Action" => "comment", "Text" => "This is some text" } ) response,data = http.request(req) puts response.code + " " + response.message puts "Data: " puts data ---------------------------------------------------- produces this output: ==================================================== 200 OK Data: no value sent for required parameter 'changes' Stack: [/opt/rt38/share/html/REST/1.0/dhandler:285] [/opt/rt38/share/html/REST/1.0/autohandler:54] [/opt/rt38/share/html/autohandler:311] ==================================================== I've looked at /opt/rt38/share/html/REST/1.0/dhandler line 285 and there is a method call $m->comp with no mention of a parameter named 'changes', which is quite possibly the problem. Later in the file there is another $m->comp call that has a 'changes' parameter. I suspect this is a bug in share/html/REST/1.0/dhandler. But what I don't understand is why the RT command line tool can do it and I can't. Anyone else run into this? -- -- ============================ Tom Lahti BIT Statement LLC (425)251-0833 x 117 http://www.bitstatement.net/ -- ============================ From toml at bitstatement.net Mon Feb 16 18:36:38 2009 From: toml at bitstatement.net (Tom Lahti) Date: Mon, 16 Feb 2009 15:36:38 -0800 Subject: [rt-users] ruby -> REST In-Reply-To: <4999DD3E.9070401@bitstatement.net> References: <4999DD3E.9070401@bitstatement.net> Message-ID: <4999F886.5080005@bitstatement.net> Tom Lahti wrote: > I am working on some code in ruby that accesses the REST interface. I've re-written the whole thing using the rest_client ruby gem, and essentially the same results, but I get more info out of what's going on: # ./resttest2.rb --------------------- Request headers {"User-Agent"=>"Mozilla/5.0 fake 0.1", "Content-Type"=>"application/x-www-form-urlencoded", :content_type=>"application/x-www-form-urlencoded", "Cookie"=>"RT_SID_xxxx.net.443=[a_hex_session_id]"} --------------------- Request payload "Ticket=846&Text=This%20is%20yet%20another%20test." ===================== --------------------- Response headers {:server=> "Apache/[snip] mod_perl/2.0.3 Perl/v5.8.8", :date=>"Mon, 16 Feb 2009 23:24:29 GMT", :transfer_encoding=>"chunked", :content_type=>"text/plain; charset=utf-8"} --------------------- Response Payload no value sent for required parameter 'changes' Stack: [/opt/rt38/share/html/REST/1.0/dhandler:285] [/opt/rt38/share/html/REST/1.0/autohandler:54] [/opt/rt38/share/html/autohandler:311] Is it permissible to POST to the REST interface using content type application/x-www-form-urlencoded? It would seem that the RT CLI does something else but its difficult for me to figure out what. Should I be asking about this on rt-devel instead? -- -- ============================ Tom Lahti BIT Statement LLC (425)251-0833 x 117 http://www.bitstatement.net/ -- ============================ From Joel.Schuweiler at schmoozecom.com Mon Feb 16 19:11:30 2009 From: Joel.Schuweiler at schmoozecom.com (Joel Schuweiler) Date: Mon, 16 Feb 2009 18:11:30 -0600 Subject: [rt-users] Set a ticket custom field based on a User Custom field scrip action Message-ID: <04F770AE4B9BEC4FBDF9C306CFF44F27754D574B9C@schmoozecom1.schmooze.schmoozecom.com> Here's the scenario: 1) A User has a custom field called Billable with two choices, yes, and no. 2) User creates ticket 3) Scrip checks Billable and sets ticket billable if user is billable I'm having a bit of trouble figuring out how I can access the custom field belonging to the user however, anyone have thoughts on this? -Joel -------------- next part -------------- An HTML attachment was scrubbed... URL: From toml at bitstatement.net Mon Feb 16 21:43:59 2009 From: toml at bitstatement.net (Tom Lahti) Date: Mon, 16 Feb 2009 18:43:59 -0800 Subject: [rt-users] ruby -> REST In-Reply-To: <4999F886.5080005@bitstatement.net> References: <4999DD3E.9070401@bitstatement.net> <4999F886.5080005@bitstatement.net> Message-ID: <499A246F.6030807@bitstatement.net> > no value sent for required parameter 'changes' > Stack: > [/opt/rt38/share/html/REST/1.0/dhandler:285] > [/opt/rt38/share/html/REST/1.0/autohandler:54] > [/opt/rt38/share/html/autohandler:311] I seem to have figured this out. You can use application/x-www-form-urlencoded, but you have to create a single form field named "content", and it must contain the entire form in RFC822 format. I didn't really see that documented anywhere I was looking, so perhaps the documentation is somewhat lacking. For example, where I had this: req.set_form_data( { "Action" => "comment", "Text" => "This is some text" } ) I changed to this: req.set_form_data( { "content" => "Action: comment\nText: This is some text" }) and it works as desired. For the "Text" parameter in the content, if you want to add a multi-line comment it seems you have to have white-space at the beginning of continuation lines, otherwise the RT "form parser" in the REST interface thinks its a syntax error; any line with a character in the first column is expected to be a field name within the form. It also seems bizarre to me to implement the interface that way. Basically its like making a web page with a single text area named "content" and then requiring formatting within that one field. Why not have the REST interface have discrete fields? Coding to it would be certainly be cleaner. Maybe for /REST/2.0/ ? :) -- -- ============================ Tom Lahti BIT Statement LLC (425)251-0833 x 117 http://www.bitstatement.net/ -- ============================ From alberto.villanueva at altran.es Tue Feb 17 03:21:27 2009 From: alberto.villanueva at altran.es (Alberto Villanueva) Date: Tue, 17 Feb 2009 09:21:27 +0100 Subject: [rt-users] Remove a ticket Message-ID: Hi all, I would to remove all tickets, but I don't remove the whole database. Does someone know which the best manner to do that? I have a solution, but I don't know if it's the best: mysql -p use delete * from Transactions; delete * from Tickets; Regards, ALBERTO VILLANUEVA VAL Consultor ____________________________________________ Altran ParqueEmpresarial Las Mercedes, Edificio 1 C/ Campezo, 1. 28022 Madrid Tel : + 34 91 744 46 00 Fax: + 34 91 415 24 57 www.altran.es -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: image001.jpg Type: image/jpeg Size: 3874 bytes Desc: not available URL: From elacour at easter-eggs.com Tue Feb 17 03:23:35 2009 From: elacour at easter-eggs.com (Emmanuel Lacour) Date: Tue, 17 Feb 2009 09:23:35 +0100 Subject: [rt-users] Set a ticket custom field based on a User Custom field scrip action In-Reply-To: <04F770AE4B9BEC4FBDF9C306CFF44F27754D574B9C@schmoozecom1.schmooze.schmoozecom.com> References: <04F770AE4B9BEC4FBDF9C306CFF44F27754D574B9C@schmoozecom1.schmooze.schmoozecom.com> Message-ID: <20090217082335.GA27872@easter-eggs.com> On Mon, Feb 16, 2009 at 06:11:30PM -0600, Joel Schuweiler wrote: > Here's the scenario: > > 1) A User has a custom field called Billable with two choices, yes, and no. > 2) User creates ticket > 3) Scrip checks Billable and sets ticket billable if user is billable > > > I'm having a bit of trouble figuring out how I can access the custom > field belonging to the user however, anyone have thoughts on this? > Something like this I think: my $billable = $self->TransactionObj->Creator->FirstCustomFieldValue ( 'Billable' ); From elacour at easter-eggs.com Tue Feb 17 03:26:12 2009 From: elacour at easter-eggs.com (Emmanuel Lacour) Date: Tue, 17 Feb 2009 09:26:12 +0100 Subject: [rt-users] Remove a ticket In-Reply-To: References: Message-ID: <20090217082611.GB27872@easter-eggs.com> On Tue, Feb 17, 2009 at 09:21:27AM +0100, Alberto Villanueva wrote: > Hi all, > > > > I would to remove all tickets, but I don't remove the whole database. Does > someone know which the best manner to do that? > > > You can use RTx::Shredder for this (as a module from CPAN if RT < 3.8, included in 3.8.x). From alberto.villanueva at altran.es Tue Feb 17 05:02:53 2009 From: alberto.villanueva at altran.es (Alberto Villanueva) Date: Tue, 17 Feb 2009 11:02:53 +0100 Subject: [rt-users] Remove a ticket In-Reply-To: <20090217082611.GB27872@easter-eggs.com> References: <20090217082611.GB27872@easter-eggs.com> Message-ID: Hi, When I execute the sentence (rt-shredder --force -plugin 'Tickets=status,new'), I get the next error: [warning]: RT::CachedGroupMember-12--- bla,bla,bla I'sorry by the "warning". Any idea?? Thanks a lot! Regards, ALBERTO VILLANUEVA VAL Consultor ____________________________________________ Altran ParqueEmpresarial Las Mercedes, Edificio 1 C/ Campezo, 1. 28022 Madrid Tel : + 34 91 744 46 00 Fax: + 34 91 415 24 57 www.altran.es -----Mensaje original----- De: rt-users-bounces at lists.bestpractical.com [mailto:rt-users-bounces at lists.bestpractical.com] En nombre de Emmanuel Lacour Enviado el: martes, 17 de febrero de 2009 9:26 Para: rt-users at lists.bestpractical.com Asunto: Re: [rt-users] Remove a ticket On Tue, Feb 17, 2009 at 09:21:27AM +0100, Alberto Villanueva wrote: > Hi all, > > > > I would to remove all tickets, but I don't remove the whole database. Does > someone know which the best manner to do that? > > > You can use RTx::Shredder for this (as a module from CPAN if RT < 3.8, included in 3.8.x). _______________________________________________ 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 From alberto.villanueva at altran.es Tue Feb 17 05:06:04 2009 From: alberto.villanueva at altran.es (Alberto Villanueva) Date: Tue, 17 Feb 2009 11:06:04 +0100 Subject: [rt-users] Remove a ticket In-Reply-To: References: <20090217082611.GB27872@easter-eggs.com> Message-ID: I also created the indexes: CREATE INDEX SHREDDER_CGM1 ON CachedGroupMembers(MemberId, GroupId, Disabled); CREATE INDEX SHREDDER_CGM2 ON CachedGroupMembers(ImmediateParentId, MemberId); CREATE UNIQUE INDEX SHREDDER_GM1 ON GroupMembers(MemberId, GroupId); CREATE INDEX SHREDDER_TXN1 ON Transactions(ReferenceType, OldReference); CREATE INDEX SHREDDER_TXN2 ON Transactions(ReferenceType, NewReference); CREATE INDEX SHREDDER_TXN3 ON Transactions(Type, OldValue); CREATE INDEX SHREDDER_TXN4 ON Transactions(Type, NewValue); Saludos, ALBERTO VILLANUEVA VAL Consultor ____________________________________________ Altran ParqueEmpresarial Las Mercedes, Edificio 1 C/ Campezo, 1. 28022 Madrid Tel : + 34 91 744 46 00 Fax: + 34 91 415 24 57 www.altran.es -----Mensaje original----- De: rt-users-bounces at lists.bestpractical.com [mailto:rt-users-bounces at lists.bestpractical.com] En nombre de Alberto Villanueva Enviado el: martes, 17 de febrero de 2009 11:03 Para: 'Emmanuel Lacour'; rt-users at lists.bestpractical.com Asunto: Re: [rt-users] Remove a ticket Hi, When I execute the sentence (rt-shredder --force -plugin 'Tickets=status,new'), I get the next error: [warning]: RT::CachedGroupMember-12--- bla,bla,bla I'sorry by the "warning". Any idea?? Thanks a lot! Regards, ALBERTO VILLANUEVA VAL Consultor ____________________________________________ Altran ParqueEmpresarial Las Mercedes, Edificio 1 C/ Campezo, 1. 28022 Madrid Tel : + 34 91 744 46 00 Fax: + 34 91 415 24 57 www.altran.es -----Mensaje original----- De: rt-users-bounces at lists.bestpractical.com [mailto:rt-users-bounces at lists.bestpractical.com] En nombre de Emmanuel Lacour Enviado el: martes, 17 de febrero de 2009 9:26 Para: rt-users at lists.bestpractical.com Asunto: Re: [rt-users] Remove a ticket On Tue, Feb 17, 2009 at 09:21:27AM +0100, Alberto Villanueva wrote: > Hi all, > > > > I would to remove all tickets, but I don't remove the whole database. Does > someone know which the best manner to do that? > > > You can use RTx::Shredder for this (as a module from CPAN if RT < 3.8, included in 3.8.x). _______________________________________________ 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 _______________________________________________ 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 From Jim.Tambling at datatote.co.uk Tue Feb 17 07:12:20 2009 From: Jim.Tambling at datatote.co.uk (Jim Tambling) Date: Tue, 17 Feb 2009 12:12:20 -0000 Subject: [rt-users] Global CustomField not displaying Message-ID: <72D9E13A8FC8994794D448E91198AE070133FBB8@mail.sys.internal> Hello I have created a custom field to appear in all tickets. I have enabled it globally for all queues but it does not appear in any new ticket. Where am I going wrong? Regards, Jim -------------- next part -------------- An HTML attachment was scrubbed... URL: From c_apotla at qualcomm.com Tue Feb 17 07:42:27 2009 From: c_apotla at qualcomm.com (Potla, Ashish Bassaliel) Date: Tue, 17 Feb 2009 04:42:27 -0800 Subject: [rt-users] Global CustomField not displaying In-Reply-To: <72D9E13A8FC8994794D448E91198AE070133FBB8@mail.sys.internal> References: <72D9E13A8FC8994794D448E91198AE070133FBB8@mail.sys.internal> Message-ID: Hi Did you apply the group-rights and the user-rights with ShowCustomField and ModifyCustomField rights? Might be worth a look. -Ashish ________________________________________ From: rt-users-bounces at lists.bestpractical.com [rt-users-bounces at lists.bestpractical.com] On Behalf Of Jim Tambling [Jim.Tambling at datatote.co.uk] Sent: Tuesday, February 17, 2009 5:42 PM To: rt-users at bestpractical.com Subject: [rt-users] Global CustomField not displaying Hello I have created a custom field to appear in all tickets. I have enabled it globally for all queues but it does not appear in any new ticket. Where am I going wrong? Regards, Jim From Jim.Tambling at datatote.co.uk Tue Feb 17 07:52:11 2009 From: Jim.Tambling at datatote.co.uk (Jim Tambling) Date: Tue, 17 Feb 2009 12:52:11 -0000 Subject: [rt-users] Global CustomField not displaying References: <72D9E13A8FC8994794D448E91198AE070133FBB8@mail.sys.internal> Message-ID: <72D9E13A8FC8994794D448E91198AE070144C4AD@mail.sys.internal> Thank you sir, that worked :) -----Original Message----- From: Potla, Ashish Bassaliel [mailto:c_apotla at qualcomm.com] Sent: 17 February 2009 12:42 To: Jim Tambling; rt-users at bestpractical.com Subject: RE: Global CustomField not displaying Hi Did you apply the group-rights and the user-rights with ShowCustomField and ModifyCustomField rights? Might be worth a look. -Ashish ________________________________________ From: rt-users-bounces at lists.bestpractical.com [rt-users-bounces at lists.bestpractical.com] On Behalf Of Jim Tambling [Jim.Tambling at datatote.co.uk] Sent: Tuesday, February 17, 2009 5:42 PM To: rt-users at bestpractical.com Subject: [rt-users] Global CustomField not displaying Hello I have created a custom field to appear in all tickets. I have enabled it globally for all queues but it does not appear in any new ticket. Where am I going wrong? Regards, Jim No virus found in this incoming message. Checked by AVG - www.avg.com Version: 8.0.237 / Virus Database: 270.10.23/1952 - Release Date: 02/16/09 18:31:00 From Joel.Schuweiler at schmoozecom.com Tue Feb 17 09:08:50 2009 From: Joel.Schuweiler at schmoozecom.com (Joel Schuweiler) Date: Tue, 17 Feb 2009 08:08:50 -0600 Subject: [rt-users] Set a ticket custom field based on a User Custom field scrip action In-Reply-To: <20090217082335.GA27872@easter-eggs.com> Message-ID: <04F770AE4B9BEC4FBDF9C306CFF44F27754D574BA4@schmoozecom1.schmooze.schmoozecom.com> [Tue Feb 17 14:06:09 2009] [error]: Scrip 67 Prepare failed: Can't call method "FirstCustomFieldValue" without a package or object reference at (eval 932) line 1. -----Original Message----- From: rt-users-bounces at lists.bestpractical.com [mailto:rt-users-bounces at lists.bestpractical.com] On Behalf Of Emmanuel Lacour Sent: Tuesday, February 17, 2009 2:24 AM To: rt-users at lists.bestpractical.com Subject: Re: [rt-users] Set a ticket custom field based on a User Custom field scrip action On Mon, Feb 16, 2009 at 06:11:30PM -0600, Joel Schuweiler wrote: > Here's the scenario: > > 1) A User has a custom field called Billable with two choices, yes, and no. > 2) User creates ticket > 3) Scrip checks Billable and sets ticket billable if user is billable > > > I'm having a bit of trouble figuring out how I can access the custom > field belonging to the user however, anyone have thoughts on this? > Something like this I think: my $billable = $self->TransactionObj->Creator->FirstCustomFieldValue ( 'Billable' ); _______________________________________________ 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 From Marcin.Stangel at framestore.com Tue Feb 17 09:13:12 2009 From: Marcin.Stangel at framestore.com (Marcin Stangel) Date: Tue, 17 Feb 2009 14:13:12 +0000 Subject: [rt-users] [Fwd: quick configuration question...] Message-ID: <499AC5F8.1010705@framestore.com> Hi there! I have RT system (3.8.1) running on RHEL 5 64bit server, using apache 2.23. For authentication I use the plugin RT::Authen::ExternalAuth to authenticate against Active Directory and it all works great...but... We wanted to make it even more simply and to utilize Kerbreros. Our Linux Servers and workstations are using a piece of software called vintela, wchich brings some AD goodness to Linux world... The server on which apache is running is using vintela (VAS) services, including Kerberos (server is in the AD domain), and apache is configured to use mod_auth_vas which utilizes Kerberos. My question is: What should I change in my RT_SiteConfig.pm to have RT using basin apache authentication ? I tried to configure our site to use apache authentication (because apache is already configured for kerberos) like this: Set($WebExternalAuth , 1); Set($WebFallbackToInternalAuth , 1); Set($WebExternalAuto , 1); but this didn't work - when loggin in, it just shows an empty index page with no tickets - just nothing... Is there anything else I need to do? Maybe something to add to virtual host definition ? my virtual host configuration for this RT instance is like this: ServerName rt.our-domain ServerAlias rt DocumentRoot /var/systems-rt/share/html ErrorLog /var/log/httpd/systems-rt-error.log CustomLog /var/log/httpd/systems-rt-access.log common PerlOptions +Parent PerlModule Apache2::RequestRec Apache2::compat PerlModule Apache::DBI PerlRequire /var/systems-rt/bin/webmux.pl PerlSetVar MasonArgsMethod CGI # Normally a request for a directory will be rewritten to index.html # (or similar) by default if that file exists. For some reason this does # not happen with the handler being set to perl-script. We thus have to # do it ourselves using mod_rewrite. RewriteEngine on RewriteRule ^/(.*)$ /var/systems-rt/share/html/$1 RewriteCond %{REQUEST_FILENAME} -d RewriteRule ^(/var/systems-rt/share/html.*)/$ $1/index.html # We need this to prevent requests for images being sent through to # the RT::Mason handler. SetHandler default-handler SetHandler perl-script PerlHandler RT::Mason would be great to get some clues/hints. regards, Marcin -- Marcin Stangel www.framestore.com Systems Support 19-23 Wells Street London W1T 3PQ +44 (0)20 7106 2544 From elacour at easter-eggs.com Tue Feb 17 09:22:59 2009 From: elacour at easter-eggs.com (Emmanuel Lacour) Date: Tue, 17 Feb 2009 15:22:59 +0100 Subject: [rt-users] Set a ticket custom field based on a User Custom field scrip action In-Reply-To: <04F770AE4B9BEC4FBDF9C306CFF44F27754D574BA4@schmoozecom1.schmooze.schmoozecom.com> References: <20090217082335.GA27872@easter-eggs.com> <04F770AE4B9BEC4FBDF9C306CFF44F27754D574BA4@schmoozecom1.schmooze.schmoozecom.com> Message-ID: <20090217142258.GJ27872@easter-eggs.com> On Tue, Feb 17, 2009 at 08:08:50AM -0600, Joel Schuweiler wrote: > [Tue Feb 17 14:06:09 2009] [error]: Scrip 67 Prepare failed: Can't call method "FirstCustomFieldValue" without a package or object reference at (eval 932) line 1. > > my $billable = $self->TransactionObj->Creator->FirstCustomFieldValue ( 'Billable' ); > try: my $billable_obj = $self->TransactionObj->Creator->CustomFieldValues ( 'Billable' ); my $billable = $billable_obj->First; (maybe ->First->Content). I'm sorry I have no time to test what I'm writing ;) From rfh at vialtus.com Tue Feb 17 09:46:53 2009 From: rfh at vialtus.com (Raed El-Hames) Date: Tue, 17 Feb 2009 14:46:53 +0000 Subject: [rt-users] Set a ticket custom field based on a User Custom field scrip action In-Reply-To: <20090217142258.GJ27872@easter-eggs.com> References: <20090217082335.GA27872@easter-eggs.com> <04F770AE4B9BEC4FBDF9C306CFF44F27754D574BA4@schmoozecom1.schmooze.schmoozecom.com> <20090217142258.GJ27872@easter-eggs.com> Message-ID: <499ACDDD.1050104@vialtus.com> Or maybe : my $billable = $self->TransactionObj->CreatorObj->FirstCustomFieldValue('Billable'); note the (Obj) at the end of Creator Regards; Roy Emmanuel Lacour wrote: > On Tue, Feb 17, 2009 at 08:08:50AM -0600, Joel Schuweiler wrote: > >> [Tue Feb 17 14:06:09 2009] [error]: Scrip 67 Prepare failed: Can't call method "FirstCustomFieldValue" without a package or object reference at (eval 932) line 1. >> >> my $billable = $self->TransactionObj->Creator->FirstCustomFieldValue ( 'Billable' ); >> >> > > try: > > my $billable_obj = $self->TransactionObj->Creator->CustomFieldValues ( 'Billable' ); > my $billable = $billable_obj->First; > > (maybe ->First->Content). > > I'm sorry I have no time to test what I'm writing ;) > > _______________________________________________ > 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 > From jesse at bestpractical.com Tue Feb 17 09:50:41 2009 From: jesse at bestpractical.com (Jesse Vincent) Date: Tue, 17 Feb 2009 09:50:41 -0500 Subject: [rt-users] ruby -> REST In-Reply-To: <499A246F.6030807@bitstatement.net> References: <4999DD3E.9070401@bitstatement.net> <4999F886.5080005@bitstatement.net> <499A246F.6030807@bitstatement.net> Message-ID: <20090217145041.GE11561@174-147-210-21.pools.spcsdns.net> > It also seems bizarre to me to implement the interface that way. Basically > its like making a web page with a single text area named "content" and then > requiring formatting within that one field. Why not have the REST interface > have discrete fields? Coding to it would be certainly be cleaner. Maybe > for /REST/2.0/ ? When it was implemented in 2002(?) or so, REST best practices were much less clear. And the initial design goal involved being able to implement a commandline client as a shell script with wget and a text editor. RFC822-encoded forms were a very straight forward way to get from A to B. If I were doing it today[1], I'd do it differently. -Jesse [1] And indeed, RT4 is based on Jifty and serves up both the legacy /REST/1.0 interface and Jifty's much more modern REST interface: http://cpansearch.perl.org/src/SARTAK/Jifty-0.80408/lib/Jifty/Plugin/REST/Dispatcher.pm -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 194 bytes Desc: not available URL: From mathieu at closetwork.org Tue Feb 17 10:32:18 2009 From: mathieu at closetwork.org (Mathieu Longtin) Date: Tue, 17 Feb 2009 10:32:18 -0500 Subject: [rt-users] is it possible to demerge a ticket? In-Reply-To: <20090216172853.GF15409@easter-eggs.com> References: <539eb5520902160920r5475e2b6r23c8a88bdef8b010@mail.gmail.com> <20090216172853.GF15409@easter-eggs.com> Message-ID: <539eb5520902170732m2fb7c36ckad7a6a3686a87601@mail.gmail.com> Thanks, that worked. Go in the DB, change the effectiveid of the ticket back to its ID. It could be easier, but not the end of the world. -- Mathieu Longtin 1-514-803-8977 On Mon, Feb 16, 2009 at 12:28 PM, Emmanuel Lacour wrote: > On Mon, Feb 16, 2009 at 12:20:38PM -0500, Mathieu Longtin wrote: > > Hi, > > > > somebody here merged a ticket with another one, but shouldn't have. Is it > > possible to split the tickets again? > > > > It's a bit difficult but possible in the DB. See the FAQ entry on this > at http://wiki.bestpractical.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 > -------------- next part -------------- An HTML attachment was scrubbed... URL: From tjrc at sanger.ac.uk Tue Feb 17 11:51:57 2009 From: tjrc at sanger.ac.uk (Tim Cutts) Date: Tue, 17 Feb 2009 16:51:57 +0000 Subject: [rt-users] Severe performance problems suddenly in RT 3.8.2 Message-ID: We migrated our RT server to RT 3.8.2 a week ago, and all went well until today, when suddenly we've been hit by a massive performance problem. It seems that almost any query which touches the Attachments table takes an absolute age to complete. For example, I've just logged into the MySQL database itself directly, and done: select count(*) from Attachments; and I've been waiting for a couple of minutes, with nothing coming back. Is there anything I ought to be looking at? The database server is MySQL 5.0.32 Tim -- The Wellcome Trust Sanger Institute is operated by Genome Research Limited, a charity registered in England with number 1021457 and a company registered in England with number 2742969, whose registered office is 215 Euston Road, London, NW1 2BE. From steve.obrien at hdesd.org Tue Feb 17 12:23:29 2009 From: steve.obrien at hdesd.org (Steve O'Brien) Date: Tue, 17 Feb 2009 09:23:29 -0800 Subject: [rt-users] RT::Extension::SLA Question Message-ID: I am try to use RT to replace our current help desk system but have been struggling with 2 points: 1.) We have an SLA with our customers and need to be able to incorporate that into our ticket system. I have installed and begun configuring the SLA extension but I am not really sure if it is set up correctly here is my config: # Set Business Hours %RT::ServiceBusinessHours = ( 0 => { Name => 'Sunday',Start => 'undef', End => 'undef' }, 1 => { Name => 'Monday', Start => '07:30', End => '17:00' }, 2 => { Name => 'Tuesday', Start => '07:30', End => '17:00' }, 3 => { Name => 'Wednesday', Start => '07:30', End => '17:00' }, 4 => { Name => 'Thursday', Start => '07:30', End => '17:00' }, 5 => { Name => 'Friday', Start => '07:30', End => '17:00' }, 6 => { Name => 'Saturday', Start => 'undef', End => 'undef' }, holidays => [qw(2009-02-16 2009-03-23 2009-03-24 2009-03-25 2009-03-26 2 009-03-27)], ); # RT:Extension::SLA Config %RT::ServiceAgreements = ( Default => 'Service Impaired', Levels => { 'System Inoperable' => { Response => { BusinessMinutes => 60*2 } }, 'Service Impaired' => { Response => { BusinessMinutes => 60*9 } }, 'General Inquiry' => { Response=> { BusinessMinutes => 60*27 } }, }, ); When I create a ticket I now see a user defined field called SLA, however there is just one field called 'No Value' so I think I might have missed something. 2.) Custom reports, I would need to be able to generate reports using the SLA data to tell us if we are meeting our SLA, etc. TIA, Steve -------------- next part -------------- An HTML attachment was scrubbed... URL: From jesse at bestpractical.com Tue Feb 17 12:29:10 2009 From: jesse at bestpractical.com (Jesse Vincent) Date: Tue, 17 Feb 2009 12:29:10 -0500 Subject: [rt-users] Severe performance problems suddenly in RT 3.8.2 In-Reply-To: References: Message-ID: <20090217172910.GB23657@17h.local> On Tue 17.Feb'09 at 16:51:57 +0000, Tim Cutts wrote: > We migrated our RT server to RT 3.8.2 a week ago, and all went well > until today, From what version? > when suddenly we've been hit by a massive performance > problem. It seems that almost any query which touches the Attachments > table takes an absolute age to complete. Anything in mysql's error logs? What does EXPLAIN SELECT COUNT(id) FROM Attachments say? > Is there anything I ought to be looking at? The database server is > MySQL 5.0.32 MySQL versions > 4.1 and < 5.0.45 are known to have a crippling query optimizer bug that WILL hurt you on RT, but I'm not sure this is that. > > Tim > > > -- > The Wellcome Trust Sanger Institute is operated by Genome Research > Limited, a charity registered in England with number 1021457 and a > company registered in England with number 2742969, whose registered > office is 215 Euston Road, London, NW1 2BE. > _______________________________________________ > 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 > -- -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 194 bytes Desc: not available URL: From ruslan.zakirov at gmail.com Tue Feb 17 12:53:28 2009 From: ruslan.zakirov at gmail.com (Ruslan Zakirov) Date: Tue, 17 Feb 2009 20:53:28 +0300 Subject: [rt-users] RT::Extension::SLA Question In-Reply-To: References: Message-ID: <589c94400902170953i5cd18739k8cf1ccfccd2eec92@mail.gmail.com> As far as I recall SLA extension supports multiple business hours, so you have to define: %RT::ServiceBusinessHours = ( 'Default' => { ... your description description ... }, ); Such config allow you to define multiple business hours sets. Values of the SLA custom field is not synced automatically with values in the config. It's your job to add values via web UI -> Configuration -> Custom Fields -> SLA. As well you should grant rights on this CFs if you want people to be able to change level of service (escalate). On Tue, Feb 17, 2009 at 8:23 PM, Steve O'Brien wrote: > I am try to use RT to replace our current help desk system but have been > struggling with 2 points: > > 1.) We have an SLA with our customers and need to be able to incorporate > that into our ticket system. I have installed and begun configuring the SLA > extension but I am not really sure if it is set up correctly here is my > config: > > # Set Business Hours > > %RT::ServiceBusinessHours = ( > > 0 => { Name => 'Sunday',Start => 'undef', End => 'undef' }, > > 1 => { Name => 'Monday', Start => '07:30', End => '17:00' }, > > 2 => { Name => 'Tuesday', Start => '07:30', End => '17:00' }, > > 3 => { Name => 'Wednesday', Start => '07:30', End => '17:00' }, > > 4 => { Name => 'Thursday', Start => '07:30', End => '17:00' }, > > 5 => { Name => 'Friday', Start => '07:30', End => '17:00' }, > > 6 => { Name => 'Saturday', Start => 'undef', End => 'undef' }, > > holidays => [qw(2009-02-16 2009-03-23 2009-03-24 2009-03-25 > 2009-03-26 2 > > 009-03-27)], > > ); > > > > # RT:Extension::SLA Config > > %RT::ServiceAgreements = ( > > Default => 'Service Impaired', > > Levels => { > > 'System Inoperable' => { Response => { BusinessMinutes => 60*2 } > }, > > 'Service Impaired' => { Response => { BusinessMinutes => 60*9 } > }, > > 'General Inquiry' => { Response=> { BusinessMinutes => 60*27 } > }, > > }, > > ); > > > > When I create a ticket I now see a user defined field called SLA, however > there is just one field called 'No Value' so I think I might have missed > something. > > 2.) Custom reports, I would need to be able to generate reports using the > SLA data to tell us if we are meeting our SLA, etc. > > > > > > TIA, > > 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 > -- Best regards, Ruslan. From jesse at bestpractical.com Tue Feb 17 12:59:17 2009 From: jesse at bestpractical.com (Jesse Vincent) Date: Tue, 17 Feb 2009 12:59:17 -0500 Subject: [rt-users] Severe performance problems suddenly in RT 3.8.2 In-Reply-To: <20090217174743.GF20889@sanger.ac.uk> References: <20090217172910.GB23657@17h.local> <20090217174743.GF20889@sanger.ac.uk> Message-ID: <20090217175917.GN11561@174-147-210-21.pools.spcsdns.net> On Tue 17.Feb'09 at 17:47:43 +0000, Dave Holland wrote: > Tim's just got into his car to go home, but I can provide some > answers... > > On Tue, Feb 17, 2009 at 12:29:10PM -0500, Jesse Vincent wrote: > > On Tue 17.Feb'09 at 16:51:57 +0000, Tim Cutts wrote: > > > We migrated our RT server to RT 3.8.2 a week ago, and all went well > > > until today, > > From what version? > > 3.4.2 And just to be sure, you ran the commands in UPGRADING.mysql? > > > Anything in mysql's error logs? > > No, only the messages in the slow log, e.g: > > # Query_time: 240 Lock_time: 0 Rows_sent: 4 Rows_examined: 27 > SELECT DISTINCT main.Id AS id, main.Filename AS filename, > main.ContentType AS contenttype, main.Headers AS headers, main.Subject > AS subject, main.Parent AS parent, main.ContentEncoding AS > contentencoding, main.ContentType AS contenttype, main.TransactionId AS > transactionid, main.Created AS created FROM Attachments main JOIN > Transactions Transactions_1 ON ( Transactions_1.id = main.TransactionId > ) JOIN Tickets Tickets_2 ON ( Tickets_2.id = Transactions_1.ObjectId ) > WHERE (Tickets_2.EffectiveId = '97814') AND (Transactions_1.ObjectType = > 'RT::Ticket') ORDER BY main.id ASC; Can you give me an 'EXPLAIN' on that query? > > and > > # Query_time: 275 Lock_time: 0 Rows_sent: 1 Rows_examined: 806085 > select count(id) from Attachments; > > > What does EXPLAIN SELECT COUNT(id) FROM Attachments say? > > | id | select_type | table | type | possible_keys | key | key_len | ref | rows | Extra | > +----+-------------+-------------+-------+---------------+---------+---------+------+---------+-------------+ > | 1 | SIMPLE | Attachments | index | NULL | PRIMARY | 4 | NULL | 2698295 | Using index | > > > MySQL versions > 4.1 and < 5.0.45 are known to have a crippling query > > optimizer bug that WILL hurt you on RT, but I'm not sure this is that. > > Any pointers, please? I couldn't see anything in the RT wiki, sorry. "institutional wisdom", sadly. But I'm assured "That issue isn't this one" Can you easily optimize your tables? Perhaps first, it's worth running mysqltuner.pl (http://mysqltuner.pl) and posting the output. > This is on Debian Etch so I expect we can upgrade to 5.0.51 from > backports quite easily if need be. > > thanks, > Dave > -- > ** Dave Holland ** Systems Support -- Infrastructure Management ** > ** 01223 496923 ** The Sanger Institute, Hinxton, Cambridge, UK ** > "An infinite number of mathematicians walk into a bar..." > > > -- > The Wellcome Trust Sanger Institute is operated by Genome Research > Limited, a charity registered in England with number 1021457 and a > company registered in England with number 2742969, whose registered > office is 215 Euston Road, London, NW1 2BE. > -- -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 194 bytes Desc: not available URL: From dh3 at sanger.ac.uk Tue Feb 17 13:09:00 2009 From: dh3 at sanger.ac.uk (Dave Holland) Date: Tue, 17 Feb 2009 18:09:00 +0000 Subject: [rt-users] Severe performance problems suddenly in RT 3.8.2 In-Reply-To: <20090217175917.GN11561@174-147-210-21.pools.spcsdns.net> References: <20090217172910.GB23657@17h.local> <20090217174743.GF20889@sanger.ac.uk> <20090217175917.GN11561@174-147-210-21.pools.spcsdns.net> Message-ID: <20090217180900.GG20889@sanger.ac.uk> On Tue, Feb 17, 2009 at 12:59:17PM -0500, Jesse Vincent wrote: > And just to be sure, you ran the commands in UPGRADING.mysql? I believe so (Tim did it). > > # Query_time: 240 Lock_time: 0 Rows_sent: 4 Rows_examined: 27 > > SELECT DISTINCT main.Id AS id, main.Filename AS filename, > > main.ContentType AS contenttype, main.Headers AS headers, main.Subject > > AS subject, main.Parent AS parent, main.ContentEncoding AS > > contentencoding, main.ContentType AS contenttype, main.TransactionId AS > > transactionid, main.Created AS created FROM Attachments main JOIN > > Transactions Transactions_1 ON ( Transactions_1.id = main.TransactionId > > ) JOIN Tickets Tickets_2 ON ( Tickets_2.id = Transactions_1.ObjectId ) > > WHERE (Tickets_2.EffectiveId = '97814') AND (Transactions_1.ObjectType = > > 'RT::Ticket') ORDER BY main.id ASC; > > > Can you give me an 'EXPLAIN' on that query? Sure: +----+-------------+----------------+------+-----------------------+---------------+---------+-------------------------+------+----------------------------------------------+ | id | select_type | table | type | possible_keys | key | key_len | ref | rows | Extra | +----+-------------+----------------+------+-----------------------+---------------+---------+-------------------------+------+----------------------------------------------+ | 1 | SIMPLE | Tickets_2 | ref | PRIMARY,Tickets6 | Tickets6 | 4 | const | 1 | Using index; Using temporary; Using filesort | | 1 | SIMPLE | Transactions_1 | ref | PRIMARY,Transactions1 | Transactions1 | 70 | const,rtdb.Tickets_2.id | 1 | Using where; Using index | | 1 | SIMPLE | main | ref | Attachments2 | Attachments2 | 4 | rtdb.Transactions_1.id | 1 | | +----+-------------+----------------+------+-----------------------+---------------+---------+-------------------------+------+----------------------------------------------+ > Can you easily optimize your tables? Perhaps first, it's worth running > mysqltuner.pl (http://mysqltuner.pl) and posting the output. >> MySQLTuner 1.0.0 - Major Hayden >> Bug reports, feature requests, and downloads at >> http://mysqltuner.com/ >> Run with '--help' for additional options and output filtering -------- General Statistics -------------------------------------------------- [--] Skipped version check for MySQLTuner script [OK] Currently running supported MySQL version 5.0.32-Debian_7etch8-log [OK] Operating on 32-bit architecture with less than 2GB RAM -------- Storage Engine Statistics ------------------------------------------- [--] Status: +Archive -BDB -Federated +InnoDB -ISAM -NDBCluster [--] Data in MyISAM tables: 15M (Tables: 1) [--] Data in InnoDB tables: 4G (Tables: 20) [!!] Total fragmented tables: 1 -------- Performance Metrics ------------------------------------------------- [--] Up for: 1h 13m 11s (106K q [24.317 qps], 456 conn, TX: 228M, RX: 41M) [--] Reads / Writes: 97% / 3% [--] Total buffers: 1.3G global + 2.6M per thread (100 max threads) [OK] Maximum possible memory usage: 1.6G (80% of installed RAM) [OK] Slow queries: 0% (72/106K) [OK] Highest usage of available connections: 56% (56/100) [OK] Key buffer size / total MyISAM indexes: 256.0M/209.0M [!!] Key buffer hit rate: 87.9% (13K cached / 1K reads) [OK] Query cache efficiency: 53.8% (53K cached / 98K selects) [OK] Query cache prunes per day: 0 [OK] Sorts requiring temporary tables: 0% (0 temp sorts / 2K sorts) [!!] Temporary tables created on disk: 26% (1K on disk / 7K total) [OK] Thread cache hit rate: 87% (57 created / 456 connections) [OK] Table cache hit rate: 42% (89 open / 207 opened) [OK] Open file limit used: 4% (43/1K) [OK] Table locks acquired immediately: 99% (95K immediate / 95K locks) [!!] InnoDB data size / buffer pool: 5.0G/1.0G -------- Recommendations ----------------------------------------------------- General recommendations: Run OPTIMIZE TABLE to defragment tables for better performance MySQL started within last 24 hours - recommendations may be inaccurate When making adjustments, make tmp_table_size/max_heap_table_size equal Reduce your SELECT DISTINCT queries without LIMIT clauses Variables to adjust: tmp_table_size (> 64M) max_heap_table_size (> 16M) innodb_buffer_pool_size (>= 4G) It's a 2GB machine so we can't up the innodb_buffer_pool_size (much) more. I think the tmp_table_size/max_heap_table_size is the most recent tweak we've tried. thanks again, Dave -- ** Dave Holland ** Systems Support -- Infrastructure Management ** ** 01223 496923 ** The Sanger Institute, Hinxton, Cambridge, UK ** "Flattery is flattery, but chocolate gets results." -- The Wellcome Trust Sanger Institute is operated by Genome Research Limited, a charity registered in England with number 1021457 and a company registered in England with number 2742969, whose registered office is 215 Euston Road, London, NW1 2BE. From matthew.seaman at thebunker.net Tue Feb 17 13:12:05 2009 From: matthew.seaman at thebunker.net (Matthew Seaman) Date: Tue, 17 Feb 2009 18:12:05 +0000 Subject: [rt-users] RT::Extension::SLA Question In-Reply-To: References: Message-ID: <499AFDF5.1040404@thebunker.net> Steve O'Brien wrote: > I am try to use RT to replace our current help desk system but have > been struggling with 2 points: Yep. Same here. > 1.) We have an SLA with our customers and need to be able to incorporate that into our ticket system. I have installed and begun configuring the SLA extension but I am not really sure if it is set up correctly here is my config: > # Set Business Hours > %RT::ServiceBusinessHours = ( > 0 => { Name => 'Sunday',Start => 'undef', End => 'undef' }, > 1 => { Name => 'Monday', Start => '07:30', End => '17:00' }, > 2 => { Name => 'Tuesday', Start => '07:30', End => '17:00' }, > 3 => { Name => 'Wednesday', Start => '07:30', End => '17:00' }, > 4 => { Name => 'Thursday', Start => '07:30', End => '17:00' }, > 5 => { Name => 'Friday', Start => '07:30', End => '17:00' }, > 6 => { Name => 'Saturday', Start => 'undef', End => 'undef' }, > holidays => [qw(2009-02-16 2009-03-23 2009-03-24 2009-03-25 2009-03-26 2 > 009-03-27)], > ); For rt-3.8.x I believe that should now be expressed like so: Set( %ServiceBusinessHours, ( 0 => { Name => 'Sunday',Start => 'undef', End => 'undef' }, 1 => { Name => 'Monday', Start => '07:30', End => '17:00' }, 2 => { Name => 'Tuesday', Start => '07:30', End => '17:00' }, 3 => { Name => 'Wednesday', Start => '07:30', End => '17:00' }, 4 => { Name => 'Thursday', Start => '07:30', End => '17:00' }, 5 => { Name => 'Friday', Start => '07:30', End => '17:00' }, 6 => { Name => 'Saturday', Start => 'undef', End => 'undef' }, holidays => [qw(2009-02-16 2009-03-23 2009-03-24 2009-03-25 2009-03-26 2 009-03-27)], ) ); > # RT:Extension::SLA Config > %RT::ServiceAgreements = ( > Default => 'Service Impaired', > Levels => { > 'System Inoperable' => { Response => { BusinessMinutes => 60*2 } }, > 'Service Impaired' => { Response => { BusinessMinutes => 60*9 } }, > 'General Inquiry' => { Response=> { BusinessMinutes => 60*27 } }, > }, > ); Similarly: Set( %ServiceAgreements, ( Default => 'Service Impaired', Levels => { 'System Inoperable' => { Response => { BusinessMinutes => 60*2 } }, 'Service Impaired' => { Response => { BusinessMinutes => 60*9 } }, 'General Inquiry' => { Response=> { BusinessMinutes => 60*27 } }, }, ) ); > When I create a ticket I now see a user defined field called SLA, > however there is just one field called 'No Value' so I think I might > have missed something. You just need to configure the SLA custom field in the usual way -- as a 'Select one value' and then add your service levels as the list of available options. Now when you go to set the SLA on a ticket it should automatically set the 'Starts' and 'Due' dates on the ticket. You'll need to set up rt-crontool to run at regular intervals -- given your 'System Inoperable' SLA is two hours, you'll probably need to run it more frequently than hourly. You may want to Google for ways of supressing the rt-crontool transactions from ticket histories lest they swamp all other transactions. There's one feature I'd love to have added to RT::Extension::SLA -- setting initial and final ticket priorities automatically -- exactly as 'Starts' and 'Due' dates are set. One of these days I'll have enough spare time to have a go at coding that up. > 2.) Custom reports, I would need to be able to generate reports using > the SLA data to tell us if we are meeting our SLA, etc. It's not particularly difficult to do a ticket search to find tickets resolved after due date and with the SLA custom field set to some value. You can produce pie and bar charts from the search results, or you can export them as .tsv files and you can use a spread sheet to produce whatever analyses you desire. Cheers, Matthew -- Dr Matthew Seaman The Bunker, Ash Radar Station PGP: 0x60AE908C on servers Marshborough Rd Tel: +44 1304 814890 Sandwich Fax: +44 1304 814899 Kent, CT13 0PL, UK -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 259 bytes Desc: OpenPGP digital signature URL: From jesse at bestpractical.com Tue Feb 17 13:16:22 2009 From: jesse at bestpractical.com (Jesse Vincent) Date: Tue, 17 Feb 2009 13:16:22 -0500 Subject: [rt-users] Severe performance problems suddenly in RT 3.8.2 In-Reply-To: <20090217180900.GG20889@sanger.ac.uk> References: <20090217172910.GB23657@17h.local> <20090217174743.GF20889@sanger.ac.uk> <20090217175917.GN11561@174-147-210-21.pools.spcsdns.net> <20090217180900.GG20889@sanger.ac.uk> Message-ID: <20090217181622.GO11561@174-147-210-21.pools.spcsdns.net> > I believe so (Tim did it). > > > > # Query_time: 240 Lock_time: 0 Rows_sent: 4 Rows_examined: 27 That just looks...crazy. Can you try an OPTIMIZE TABLE Attachments; ? (It may take ... a while.) -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 194 bytes Desc: not available URL: From rfh at vialtus.com Tue Feb 17 13:17:55 2009 From: rfh at vialtus.com (Raed El-Hames) Date: Tue, 17 Feb 2009 18:17:55 +0000 Subject: [rt-users] is it possible to demerge a ticket? In-Reply-To: <539eb5520902170732m2fb7c36ckad7a6a3686a87601@mail.gmail.com> References: <539eb5520902160920r5475e2b6r23c8a88bdef8b010@mail.gmail.com> <20090216172853.GF15409@easter-eggs.com> <539eb5520902170732m2fb7c36ckad7a6a3686a87601@mail.gmail.com> Message-ID: <499AFF53.5060906@vialtus.com> You would also need to check if the requesters list for each of your tickets is as they should be, when you merge tickets both set of requesters(and Ccs) get merged into the master ticket. Regards; Roy Mathieu Longtin wrote: > Thanks, that worked. > > Go in the DB, change the effectiveid of the ticket back to its ID. It > could be easier, but not the end of the world. > > -- > Mathieu Longtin > 1-514-803-8977 > > > On Mon, Feb 16, 2009 at 12:28 PM, Emmanuel Lacour > > wrote: > > On Mon, Feb 16, 2009 at 12:20:38PM -0500, Mathieu Longtin wrote: > > Hi, > > > > somebody here merged a ticket with another one, but shouldn't > have. Is it > > possible to split the tickets again? > > > > It's a bit difficult but possible in the DB. See the FAQ entry on this > at http://wiki.bestpractical.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 > > -- *Roy El-hames * ISP Systems *Vialtus Solutions* *(formerly Pipex Business)* Direct Dial: +44(0) 208 587 6181 E-mail: rfh at vialtus.com Visit us on: www.vialtus.com This email is subject to: http://www.vialtus.com/disclaimer.html From dh3 at sanger.ac.uk Tue Feb 17 12:47:43 2009 From: dh3 at sanger.ac.uk (Dave Holland) Date: Tue, 17 Feb 2009 17:47:43 +0000 Subject: [rt-users] Severe performance problems suddenly in RT 3.8.2 In-Reply-To: <20090217172910.GB23657@17h.local> References: <20090217172910.GB23657@17h.local> Message-ID: <20090217174743.GF20889@sanger.ac.uk> Tim's just got into his car to go home, but I can provide some answers... On Tue, Feb 17, 2009 at 12:29:10PM -0500, Jesse Vincent wrote: > On Tue 17.Feb'09 at 16:51:57 +0000, Tim Cutts wrote: > > We migrated our RT server to RT 3.8.2 a week ago, and all went well > > until today, > From what version? 3.4.2 > Anything in mysql's error logs? No, only the messages in the slow log, e.g: # Query_time: 240 Lock_time: 0 Rows_sent: 4 Rows_examined: 27 SELECT DISTINCT main.Id AS id, main.Filename AS filename, main.ContentType AS contenttype, main.Headers AS headers, main.Subject AS subject, main.Parent AS parent, main.ContentEncoding AS contentencoding, main.ContentType AS contenttype, main.TransactionId AS transactionid, main.Created AS created FROM Attachments main JOIN Transactions Transactions_1 ON ( Transactions_1.id = main.TransactionId ) JOIN Tickets Tickets_2 ON ( Tickets_2.id = Transactions_1.ObjectId ) WHERE (Tickets_2.EffectiveId = '97814') AND (Transactions_1.ObjectType = 'RT::Ticket') ORDER BY main.id ASC; and # Query_time: 275 Lock_time: 0 Rows_sent: 1 Rows_examined: 806085 select count(id) from Attachments; > What does EXPLAIN SELECT COUNT(id) FROM Attachments say? | id | select_type | table | type | possible_keys | key | key_len | ref | rows | Extra | +----+-------------+-------------+-------+---------------+---------+---------+------+---------+-------------+ | 1 | SIMPLE | Attachments | index | NULL | PRIMARY | 4 | NULL | 2698295 | Using index | > MySQL versions > 4.1 and < 5.0.45 are known to have a crippling query > optimizer bug that WILL hurt you on RT, but I'm not sure this is that. Any pointers, please? I couldn't see anything in the RT wiki, sorry. This is on Debian Etch so I expect we can upgrade to 5.0.51 from backports quite easily if need be. thanks, Dave -- ** Dave Holland ** Systems Support -- Infrastructure Management ** ** 01223 496923 ** The Sanger Institute, Hinxton, Cambridge, UK ** "An infinite number of mathematicians walk into a bar..." -- The Wellcome Trust Sanger Institute is operated by Genome Research Limited, a charity registered in England with number 1021457 and a company registered in England with number 2742969, whose registered office is 215 Euston Road, London, NW1 2BE. From ruslan.zakirov at gmail.com Tue Feb 17 13:26:54 2009 From: ruslan.zakirov at gmail.com (Ruslan Zakirov) Date: Tue, 17 Feb 2009 21:26:54 +0300 Subject: [rt-users] RT::Extension::SLA Question In-Reply-To: <499AFDF5.1040404@thebunker.net> References: <499AFDF5.1040404@thebunker.net> Message-ID: <589c94400902171026w12c1072emae6267400fc26439@mail.gmail.com> [snip] > > There's one feature I'd love to have added to RT::Extension::SLA -- setting > initial and final ticket priorities automatically -- exactly as 'Starts' and > 'Due' > dates are set. One of these days I'll have enough spare time to have a go > at > coding that up. In 3.8 there is LinearEscalate action that can be used within crontool to set priority according to Starts and Due dates. It even can be configured via argument, for example it can be silent absolutely and only update priority and don't touch transactions and LastUpdated field. >> >> 2.) Custom reports, I would need to be able to generate reports using >> the SLA data to tell us if we are meeting our SLA, etc. > > It's not particularly difficult to do a ticket search to find tickets > resolved > after due date and with the SLA custom field set to some value. You can > produce > pie and bar charts from the search results, or you can export them as .tsv > files > and you can use a spread sheet to produce whatever analyses you desire. To get regular reports you can use dashboards in RT 3.8 and get them in email every morning or watch online. > > Cheers, > > Matthew -- Best regards, Ruslan. From ruslan.zakirov at gmail.com Tue Feb 17 13:33:37 2009 From: ruslan.zakirov at gmail.com (Ruslan Zakirov) Date: Tue, 17 Feb 2009 21:33:37 +0300 Subject: [rt-users] RT::Extension::SLA Question In-Reply-To: <499AFDF5.1040404@thebunker.net> References: <499AFDF5.1040404@thebunker.net> Message-ID: <589c94400902171033q20cea736h4d595ce7dd91b472@mail.gmail.com> [snip] > You just need to configure the SLA custom field in the usual way -- as a > 'Select one value' and then add your service levels as the list of available > options. Now when you go to set the SLA on a ticket it should automatically > set the 'Starts' and 'Due' dates on the ticket. You'll need to set up > rt-crontool > to run at regular intervals -- given your 'System Inoperable' SLA is two > hours, > you'll probably need to run it more frequently than hourly. You may want to > Google > for ways of supressing the rt-crontool transactions from ticket histories > lest they > swamp all other transactions. Matthew, I don't understand why you're suggesting crontool here, can you describe? RT::Extension::SLA shipped with pretty good scrips that can be disabled and re-enabled to turn off or turn back on some functionality. For example it has scrip that sets default value of the SLA according to the config. Starts/Due dates are set by another scrip which doesn't care when and by whom SLA CF has be changed. Such setup allows you to disable assigning of default service level for tickets and set them manually for every ticket (some companies may like it). [snip] -- Best regards, Ruslan. From ruslan.zakirov at gmail.com Tue Feb 17 13:39:04 2009 From: ruslan.zakirov at gmail.com (Ruslan Zakirov) Date: Tue, 17 Feb 2009 21:39:04 +0300 Subject: [rt-users] Severe performance problems suddenly in RT 3.8.2 In-Reply-To: <20090217174743.GF20889@sanger.ac.uk> References: <20090217172910.GB23657@17h.local> <20090217174743.GF20889@sanger.ac.uk> Message-ID: <589c94400902171039s1acc5a9bv74768a5259b82ebe@mail.gmail.com> On Tue, Feb 17, 2009 at 8:47 PM, Dave Holland wrote: > Tim's just got into his car to go home, but I can provide some > answers... > > On Tue, Feb 17, 2009 at 12:29:10PM -0500, Jesse Vincent wrote: >> On Tue 17.Feb'09 at 16:51:57 +0000, Tim Cutts wrote: >> > We migrated our RT server to RT 3.8.2 a week ago, and all went well >> > until today, >> From what version? > > 3.4.2 > >> Anything in mysql's error logs? > > No, only the messages in the slow log, e.g: > > # Query_time: 240 Lock_time: 0 Rows_sent: 4 Rows_examined: 27 I hope you see that mysql examined only 27 rows and spend 240 seconds to do that. I suspect that it's related to very high IO activity that were going parallel with this query and blocked mysql's IO requests. [snip] -- Best regards, Ruslan. From KFCrocker at lbl.gov Tue Feb 17 14:20:01 2009 From: KFCrocker at lbl.gov (Kenneth Crocker) Date: Tue, 17 Feb 2009 11:20:01 -0800 Subject: [rt-users] CommandByEmail confusion Message-ID: <499B0DE1.5090802@lbl.gov> To all, I am VERY confused. I went to Bestpractical (http://cpansearch.perl.org/src/FALCONE/RT-Extensions) to download the CommandByEmail Extension. I am on 3.6.4 so I'm unsure that ".06" will work for me. I went to "insatlling Instruction" and it mentioned the install commands and also about the patch, which I don't believe I need. What seemed to be missing was how to download "CommandByEmail.05" directly into /opt/rt3/xxxx. just the patch. So, I then went to "overview" and saw the Download for .06, but that downloads directly onto my desktop. I thought I was supposed to download directly into /opt/rt/xxxxx and then run the make install and then change my RT Config file to get this to work and I can't even get the thing to download correctly to start with. I was hoping this would be a simple effort to find the software, download it into my /opt/rt/ directory and run the installation commands. For a UNIX newbie, this just isn't the case. I need some help on how to get the "CommandByEmail" (version .05) to install into my Unix session in the directory /opt/rt/whatever so I can run the install commands and get this up and running. Please help. THanks. Kenn LBNL From Paul_OLeary at breconridge.com Tue Feb 17 14:39:47 2009 From: Paul_OLeary at breconridge.com (O'Leary, Paul) Date: Tue, 17 Feb 2009 14:39:47 -0500 Subject: [rt-users] Disabled "RT Administration" group - Priv users staying BASIC Message-ID: <441943649C17D84E8262B5B2E9A4CAE4542F2A@kbexch02.corp.breconridge.com> Hello, I need help to get my RT 363 system back online. By mistake, I unchecked the enabled button for the RT administration group, and have disabled it. Now I am unable to perform any admin tasks. I went into the database (Oracle) and checked the principals and cachegroupmembers table and found the entries for that group and Reset the Disabled field to 0, but after a restart it doesn't seem to have any effect on the system. I'm not sure if it's related, but the reason I went poking around at that group was about half of my admin group team lost the ability to go into Advanced view (as if they weren't privileged). I suspect this is the larger root cause of my issue. Can anyone tell me where in the database schema the flag is set for privileged users? Also, my messages logs are littered with "Couldn't load user from database" errors when an admin tries to login. This was occurring before I disabled the RT Admnistration group. Any help is appreciated to get my privileged accounts back online. Cheers Paul "This email is confidential. Any unauthorized use or disclosure is strictly prohibited." -------------- next part -------------- An HTML attachment was scrubbed... URL: From matthew.seaman at thebunker.net Tue Feb 17 14:42:59 2009 From: matthew.seaman at thebunker.net (Matthew Seaman) Date: Tue, 17 Feb 2009 19:42:59 +0000 Subject: [rt-users] RT::Extension::SLA Question In-Reply-To: <589c94400902171033q20cea736h4d595ce7dd91b472@mail.gmail.com> References: <499AFDF5.1040404@thebunker.net> <589c94400902171033q20cea736h4d595ce7dd91b472@mail.gmail.com> Message-ID: <499B1343.7050301@thebunker.net> Ruslan Zakirov wrote: > [snip] > >> You just need to configure the SLA custom field in the usual way -- as a >> 'Select one value' and then add your service levels as the list of available >> options. Now when you go to set the SLA on a ticket it should automatically >> set the 'Starts' and 'Due' dates on the ticket. You'll need to set up >> rt-crontool >> to run at regular intervals -- given your 'System Inoperable' SLA is two >> hours, >> you'll probably need to run it more frequently than hourly. You may want to >> Google >> for ways of supressing the rt-crontool transactions from ticket histories >> lest they >> swamp all other transactions. > > Matthew, > > I don't understand why you're suggesting crontool here, can you describe? > > RT::Extension::SLA shipped with pretty good scrips that can be > disabled and re-enabled to turn off or turn back on some > functionality. For example it has scrip that sets default value of the > SLA according to the config. Starts/Due dates are set by another scrip > which doesn't care when and by whom SLA CF has be changed. Such setup > allows you to disable assigning of default service level for tickets > and set them manually for every ticket (some companies may like it). > > [snip] > Apologies. I'm too much in the thick of things right now that I'm losing track of what is local customisation and what is add-on module and what is core functionality. I guess we will be using the SLA stuff a bit differently to how it was initially conceived. We're in the process of replacing an ancient and distinctly unsatisfactory ticketing system with RT. What we've done is set up a '[_1] Highest Priority Tickets in the Support Queue' search portlet on the At-a-Glance screen for our Support team, displayed in descending order of priority. There will be an on-duty Support person 24x7 one of whose tasks will be to watch for incoming support requests and assign SLA values according to the nature of the problem: these can vary from '10 business days' for routine things like renewing SSL certificates down to 1 hour for a 'Service Down' incident. We also use a modification of the 'StatusInColour' customization from the Wiki to colour the items based on the value of the priority field (Well, we will be. I upgraded from 3.6.7 to 3.8.2 yesterday and haven't quite got round to porting that bit over yet. Tomorrow probably) The idea is: if it's at the top of the priority list, then that's the next thing to work on, and if it's coloured bright red, it really needs attention *right* *now*. This works by using rt-crontool with LinearEscalate to raise ticket priorities as they get closer to their due dates. We're running rt-crontool for the Support queue every 15 minutes -- however as all the tickets default to using the Queue's default initial and final priorities (0 and 99 respectively) it means an urgent problem with a SLA of an hour only gets 3 or 4 updates before it's overdue, and it would only tend to come to the top of the list on the last update. Hence the desire to automatically set initial and final priorities based on the manually chosen SLA value. Cheers, Matthew -- Dr Matthew Seaman The Bunker, Ash Radar Station PGP: 0x60AE908C on servers Marshborough Rd Tel: +44 1304 814890 Sandwich Fax: +44 1304 814899 Kent, CT13 0PL, UK -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 259 bytes Desc: OpenPGP digital signature URL: From tjrc at sanger.ac.uk Tue Feb 17 15:58:29 2009 From: tjrc at sanger.ac.uk (Tim Cutts) Date: Tue, 17 Feb 2009 20:58:29 +0000 Subject: [rt-users] Severe performance problems suddenly in RT 3.8.2 In-Reply-To: <20090217180900.GG20889@sanger.ac.uk> References: <20090217172910.GB23657@17h.local> <20090217174743.GF20889@sanger.ac.uk> <20090217175917.GN11561@174-147-210-21.pools.spcsdns.net> <20090217180900.GG20889@sanger.ac.uk> Message-ID: <8FBC7765-4508-41A1-A5FB-C3885E659447@sanger.ac.uk> On 17 Feb 2009, at 6:09 pm, Dave Holland wrote: > On Tue, Feb 17, 2009 at 12:59:17PM -0500, Jesse Vincent wrote: >> And just to be sure, you ran the commands in UPGRADING.mysql? > > I believe so (Tim did it). Indeed. All done pukka according to the upgrade docs. Tim -- The Wellcome Trust Sanger Institute is operated by Genome Research Limited, a charity registered in England with number 1021457 and a company registered in England with number 2742969, whose registered office is 215 Euston Road, London, NW1 2BE. From tjrc at sanger.ac.uk Tue Feb 17 16:00:19 2009 From: tjrc at sanger.ac.uk (Tim Cutts) Date: Tue, 17 Feb 2009 21:00:19 +0000 Subject: [rt-users] Severe performance problems suddenly in RT 3.8.2 In-Reply-To: <20090217181622.GO11561@174-147-210-21.pools.spcsdns.net> References: <20090217172910.GB23657@17h.local> <20090217174743.GF20889@sanger.ac.uk> <20090217175917.GN11561@174-147-210-21.pools.spcsdns.net> <20090217180900.GG20889@sanger.ac.uk> <20090217181622.GO11561@174-147-210-21.pools.spcsdns.net> Message-ID: <1DD82909-39CF-4AB6-BE3B-CCB242219862@sanger.ac.uk> On 17 Feb 2009, at 6:16 pm, Jesse Vincent wrote: > > >> I believe so (Tim did it). >> >>>> # Query_time: 240 Lock_time: 0 Rows_sent: 4 Rows_examined: 27 > > That just looks...crazy. Can you try an OPTIMIZE TABLE Attachments; ? > (It may take ... a while.) Might as well do that now, since we're out of hours. I've started that off. Tim -- The Wellcome Trust Sanger Institute is operated by Genome Research Limited, a charity registered in England with number 1021457 and a company registered in England with number 2742969, whose registered office is 215 Euston Road, London, NW1 2BE. From krishnalelis at gmail.com Tue Feb 17 16:19:02 2009 From: krishnalelis at gmail.com (Krishnamurti L. L. V. Nunes) Date: Tue, 17 Feb 2009 18:19:02 -0300 Subject: [rt-users] webmux.pl crashes apache2 start Message-ID: <9f9b69440902171319o55ff1d58l36df8e9aec877cf6@mail.gmail.com> Hello world! I have a brand new installation of RT 3.8.2. The configure, testdeps, e install worked propperly, and I was able to run initialize-database, all ok so far. But setting apache to run the web interface fails because of bin/webmux.pl file. Whenever I have the line: PerlRequire "/opt/rt-3.8/bin/webmux.pl" in my apache config file, apache crashes with the error: [error] Can't locate object method "Config" via package "RT" at /opt/rt-3.8/bin/webmux.pl line 100.\nBEGIN failed--compilation aborted at /opt/rt-3.8/bin/webmux.pl line 102.\nCompilation failed in require at (eval 243) line 1.\n I've tryed som workarounds found at this list archives and other foruns, but none worked. I've tryed upgrading UNIVERSAL::require as suggested, but it was alread in the newest version. I checked if it could be the config of SELINUX, but it was already set to permissive. Nothing in the /var/log/messages. Also tryed adding the code bellow in webmux.pl, after the BEGIN block, but nothing changed. require Apache::RequestUtil; no warnings 'redefine'; my $sub = *Apache::request{CODE}; *Apache::request = sub { my $r; eval { $r = $sub->('Apache'); }; # warn $@ if $@; return $r; }; I have apache 2.2.9-10 and mod_perl 2.0.4-1 in a Debian/Lenny box. Any fixes for that? -- Krishnamurti Lelis Lima Vieira Nunes From ian.trenfield at googlemail.com Tue Feb 17 16:15:52 2009 From: ian.trenfield at googlemail.com (Ian Trenfield) Date: Tue, 17 Feb 2009 21:15:52 +0000 Subject: [rt-users] Multiple attachments error Message-ID: Hi, I've seen this question asked before, but have not seen a definitive reply yet so thought it worth asking again. We have an intermittent issue regarding attachments, and it seems to happen more often when users are including multiple attachments. The error message is as follows: read-open /tmp/husk4zilgH : No such file or directory at /usr/share/perl5/MIME/Body.pm line 435. We're running RT 3.6 on an Ubuntu server. The /tmp folder is owned by the correct user and permissions are 700. As I say this appears to happen more when there are multiple attachments involved, it also appears to happen more when the system is generally busier (as I can't get it to fail at all out of hours). As a result, I'm wondering whether RT is uploading a file into /tmp which is then being overwritten and deleted by somebody else's upload. That would explain why it happens more for multiple attachments, as it's generally longer between the first upload and submit. However, I can't be sure. Is there a workaround to this? If not, as a last resort, is it possible, with an RT or Perl modification, to set the temporary filename used to be a random 20 character string rather than a random 10 character string (assuming that the overwriting theory is correct)? We'd like to do everything possible to fix this issue with the currently installed version rather than an upgrade, due to the various customisation we have in place. Any help would be gratefully appreciated, Ian From jesse at bestpractical.com Tue Feb 17 16:36:17 2009 From: jesse at bestpractical.com (Jesse Vincent) Date: Tue, 17 Feb 2009 16:36:17 -0500 Subject: [rt-users] Multiple attachments error In-Reply-To: References: Message-ID: <20090217213617.GB44146@17h.local> On Tue 17.Feb'09 at 21:15:52 +0000, Ian Trenfield wrote: > Hi, > I've seen this question asked before, but have not seen a definitive > reply yet so thought it worth asking again. > > We have an intermittent issue regarding attachments, and it seems to > happen more often when users are including multiple attachments. The > error message is as follows: > > read-open /tmp/husk4zilgH : No such file or directory at > /usr/share/perl5/MIME/Body.pm line 435. > > We're running RT 3.6 on an Ubuntu server. The /tmp folder is owned by > the correct user and permissions are 700. This codepath got ~entirely reworked for RT 3.8 due to just this issue. If you can bring your test system up to current to verify the fix locally, you _should_ it working better. Best, Jesse -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 194 bytes Desc: not available URL: From tjrc at sanger.ac.uk Tue Feb 17 17:26:11 2009 From: tjrc at sanger.ac.uk (Tim Cutts) Date: Tue, 17 Feb 2009 22:26:11 +0000 Subject: [rt-users] Severe performance problems suddenly in RT 3.8.2 In-Reply-To: <20090217181622.GO11561@174-147-210-21.pools.spcsdns.net> References: <20090217172910.GB23657@17h.local> <20090217174743.GF20889@sanger.ac.uk> <20090217175917.GN11561@174-147-210-21.pools.spcsdns.net> <20090217180900.GG20889@sanger.ac.uk> <20090217181622.GO11561@174-147-210-21.pools.spcsdns.net> Message-ID: On 17 Feb 2009, at 6:16 pm, Jesse Vincent wrote: > > >> I believe so (Tim did it). >> >>>> # Query_time: 240 Lock_time: 0 Rows_sent: 4 Rows_examined: 27 > > That just looks...crazy. Can you try an OPTIMIZE TABLE Attachments; ? > (It may take ... a while.) OK, OPTIMIZE TABLE done, but performance on SELECT COUNT(id) FROM Attachments is still terrible: This does sort of smell like an optimiser bug - it says it's using indices, but the level of I/O being done by the machine suggests it's actually performing a full table scan. mysql> optimize table Attachments; +------------------+----------+----------+----------+ | Table | Op | Msg_type | Msg_text | +------------------+----------+----------+----------+ | rtdb.Attachments | optimize | status | OK | +------------------+----------+----------+----------+ 1 row in set (23 min 11.29 sec) mysql> select count(id) from Attachments; +-----------+ | count(id) | +-----------+ | 806180 | +-----------+ 1 row in set (3 min 27.42 sec) mysql> explain select count(id) from Attachments; +----+-------------+-------------+-------+---------------+--------- +---------+------+---------+-------------+ | id | select_type | table | type | possible_keys | key | key_len | ref | rows | Extra | +----+-------------+-------------+-------+---------------+--------- +---------+------+---------+-------------+ | 1 | SIMPLE | Attachments | index | NULL | PRIMARY | 4 | NULL | 3065551 | Using index | +----+-------------+-------------+-------+---------------+--------- +---------+------+---------+-------------+ 1 row in set (0.00 sec) Now, I may be being silly here, but how can a table with only 806180 id's in its primary key have more than 3 million rows? And counting them takes three minutes, which really isn't many rows a second... Tim -- The Wellcome Trust Sanger Institute is operated by Genome Research Limited, a charity registered in England with number 1021457 and a company registered in England with number 2742969, whose registered office is 215 Euston Road, London, NW1 2BE. From toml at bitstatement.net Tue Feb 17 17:40:57 2009 From: toml at bitstatement.net (Tom Lahti) Date: Tue, 17 Feb 2009 14:40:57 -0800 Subject: [rt-users] Severe performance problems suddenly in RT 3.8.2 In-Reply-To: References: <20090217172910.GB23657@17h.local> <20090217174743.GF20889@sanger.ac.uk> <20090217175917.GN11561@174-147-210-21.pools.spcsdns.net> <20090217180900.GG20889@sanger.ac.uk> <20090217181622.GO11561@174-147-210-21.pools.spcsdns.net> Message-ID: <499B3CF9.3050105@bitstatement.net> > Now, I may be being silly here, but how can a table with only 806180 > id's in its primary key have more than 3 million rows? And counting > them takes three minutes, which really isn't many rows a second... Is this stored in InnoDB by chance? If it were me, I would mysqldump all databases, nuke the back-end InnoDB files and reload from dump. But that's just me. -- -- ============================ Tom Lahti BIT Statement LLC (425)251-0833 x 117 http://www.bitstatement.net/ -- ============================ From jesse at bestpractical.com Tue Feb 17 17:52:23 2009 From: jesse at bestpractical.com (Jesse Vincent) Date: Tue, 17 Feb 2009 17:52:23 -0500 Subject: [rt-users] Severe performance problems suddenly in RT 3.8.2 In-Reply-To: References: <20090217172910.GB23657@17h.local> <20090217174743.GF20889@sanger.ac.uk> <20090217175917.GN11561@174-147-210-21.pools.spcsdns.net> <20090217180900.GG20889@sanger.ac.uk> <20090217181622.GO11561@174-147-210-21.pools.spcsdns.net> Message-ID: <20090217225223.GM23657@17h.local> > OK, OPTIMIZE TABLE done, but performance on SELECT COUNT(id) FROM > Attachments is still terrible: > > This does sort of smell like an optimiser bug - it says it's using > indices, but the level of I/O being done by the machine suggests it's > actually performing a full table scan. Indeed. Before you dig deeply into what's going on with this version of mysql, coming up to a current 5.0.x probably makes sense. > > mysql> optimize table Attachments; > +------------------+----------+----------+----------+ > | Table | Op | Msg_type | Msg_text | > +------------------+----------+----------+----------+ > | rtdb.Attachments | optimize | status | OK | > +------------------+----------+----------+----------+ > 1 row in set (23 min 11.29 sec) > > mysql> select count(id) from Attachments; > +-----------+ > | count(id) | > +-----------+ > | 806180 | > +-----------+ > 1 row in set (3 min 27.42 sec) > > mysql> explain select count(id) from Attachments; > +----+-------------+-------------+-------+---------------+--------- > +---------+------+---------+-------------+ > | id | select_type | table | type | possible_keys | key | > key_len | ref | rows | Extra | > +----+-------------+-------------+-------+---------------+--------- > +---------+------+---------+-------------+ > | 1 | SIMPLE | Attachments | index | NULL | PRIMARY | 4 > | NULL | 3065551 | Using index | > +----+-------------+-------------+-------+---------------+--------- > +---------+------+---------+-------------+ > 1 row in set (0.00 sec) > > Now, I may be being silly here, but how can a table with only 806180 > id's in its primary key have more than 3 million rows? An excellent question. I have a sneaking suspicion there's some DB corruption in there somewhere :/ But maybe it's just a database bug. -- -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 194 bytes Desc: not available URL: From tjrc at sanger.ac.uk Tue Feb 17 18:12:12 2009 From: tjrc at sanger.ac.uk (Tim Cutts) Date: Tue, 17 Feb 2009 23:12:12 +0000 Subject: [rt-users] Severe performance problems suddenly in RT 3.8.2 In-Reply-To: <589c94400902171039s1acc5a9bv74768a5259b82ebe@mail.gmail.com> References: <20090217172910.GB23657@17h.local> <20090217174743.GF20889@sanger.ac.uk> <589c94400902171039s1acc5a9bv74768a5259b82ebe@mail.gmail.com> Message-ID: <369B844A-D392-4609-BB9B-0D351D65FF4A@sanger.ac.uk> On 17 Feb 2009, at 6:39 pm, Ruslan Zakirov wrote: > I hope you see that mysql examined only 27 rows and spend 240 seconds > to do that. I suspect that it's related to very high IO activity that > were going parallel with this query and blocked mysql's IO requests. That was my worry. I've shuffled the virtual machine onto a physical server with no other VM's running, and the performance problem remains the same. The graph of disk I/O from the VMware control center shows the system doing no I/O at all until I start the SELECT, and then it goes to about 15 MB/sec for the duration of the query. So if there is contention, it's not at the level of the physical server's I/O. However, it could still be contention for the SAN volume which hosts the virtual machine; I find this hard to believe since the total I/O of all three physical servers is pretty low, but I will try tomorrow to see what happens if I move the virtual machine to its own piece of storage, Tim -- The Wellcome Trust Sanger Institute is operated by Genome Research Limited, a charity registered in England with number 1021457 and a company registered in England with number 2742969, whose registered office is 215 Euston Road, London, NW1 2BE. From rob.munsch at gmail.com Tue Feb 17 18:23:45 2009 From: rob.munsch at gmail.com (Rob Munsch) Date: Tue, 17 Feb 2009 18:23:45 -0500 Subject: [rt-users] Attachments table constantly fragmenting Message-ID: <8fae230c0902171523n2ef88354s6036c2dd64a29e5d@mail.gmail.com> Hello, I've been using the mysqltuner script to check up on things, tune mem use to our resources, etc. One thing remains consistent: no matter what i have things set to, within a few hours of restart or full stop / start (at most), the Attachments table becomes fragmented. Here's the most recent report, and i realize it's only a few hours since last restart: -------- General Statistics -------------------------------------------------- [--] Skipped version check for MySQLTuner script [OK] Currently running supported MySQL version 5.0.51a-3ubuntu5.1-log [OK] Operating on 64-bit architecture -------- Storage Engine Statistics ------------------------------------------- [--] Status: +Archive -BDB -Federated +InnoDB -ISAM -NDBCluster [--] Data in MyISAM tables: 6M (Tables: 15) [--] Data in InnoDB tables: 453M (Tables: 86) [!!] Total fragmented tables: 1 -------- Performance Metrics ------------------------------------------------- [--] Up for: 3h 9m 37s (29K q [2.583 qps], 157 conn, TX: 56M, RX: 5M) [--] Reads / Writes: 64% / 36% [--] Total buffers: 1.8G global + 2.6M per thread (100 max threads) [OK] Maximum possible memory usage: 2.0G (25% of installed RAM) [OK] Slow queries: 0% (275/29K) [OK] Highest usage of available connections: 14% (14/100) [OK] Key buffer size / total MyISAM indexes: 512.0M/489.4M [!!] Key buffer hit rate: 37.8% (386 cached / 240 reads) [OK] Query cache efficiency: 59.0% (13K cached / 23K selects) [OK] Query cache prunes per day: 0 [OK] Sorts requiring temporary tables: 0% (2 temp sorts / 695 sorts) [!!] Temporary tables created on disk: 38% (366 on disk / 960 total) [OK] Thread cache hit rate: 91% (14 created / 157 connections) [OK] Table cache hit rate: 95% (120 open / 126 opened) [OK] Open file limit used: 3% (67/2K) [OK] Table locks acquired immediately: 100% (17K immediate / 17K locks) [OK] InnoDB data size / buffer pool: 453.2M/512.0M -------- Recommendations ----------------------------------------------------- General recommendations: Run OPTIMIZE TABLE to defragment tables for better performance MySQL started within last 24 hours - recommendations may be inaccurate Temporary table size is already large - reduce result set size Reduce your SELECT DISTINCT queries without LIMIT clauses CPU's a quad-core Xeon, there's 8GB of phys RAM, and the disks are 10k SAS in hardware RAID-1. Even when used after the 24hr minimum (or 3 days, or 8 days), three things remain: a fragmented table which always turns out to be attachments; the Key Buffer Hit Rate; and the temp tables on disk stat. I don't fully understand the latter two and haven't figured it out yet by online docs and commentary, but i get the impression it's the nature of our DB structure and queries used. Important note about that - the MySQL server on this box is hosting two DBs. rt3 is one, but an internal DB we use for mumble mumble is also on the box. I'm not sure if that custom-written DB and its UI used across the office by all employees is the reason for the key buffer / temp table alerts; the programmer for that one is working on the two recommendations of reducing result sets (may not be possible) and making sure there are LIMITs on his queries wherever possible. Should I be worried about the constantly-fragmenting Attachments table? Can i get more fine-grained info about it from within MySQL? Thanks, Rob -- /chown -R us:us /yourbase -------------- next part -------------- An HTML attachment was scrubbed... URL: From tjrc at sanger.ac.uk Tue Feb 17 18:32:51 2009 From: tjrc at sanger.ac.uk (Tim Cutts) Date: Tue, 17 Feb 2009 23:32:51 +0000 Subject: [rt-users] Severe performance problems suddenly in RT 3.8.2 In-Reply-To: <20090217225223.GM23657@17h.local> References: <20090217172910.GB23657@17h.local> <20090217174743.GF20889@sanger.ac.uk> <20090217175917.GN11561@174-147-210-21.pools.spcsdns.net> <20090217180900.GG20889@sanger.ac.uk> <20090217181622.GO11561@174-147-210-21.pools.spcsdns.net> <20090217225223.GM23657@17h.local> Message-ID: <494E226A-9357-41D3-B8DD-2D2DD72F2720@sanger.ac.uk> On 17 Feb 2009, at 10:52 pm, Jesse Vincent wrote: >> OK, OPTIMIZE TABLE done, but performance on SELECT COUNT(id) FROM >> Attachments is still terrible: >> >> This does sort of smell like an optimiser bug - it says it's using >> indices, but the level of I/O being done by the machine suggests it's >> actually performing a full table scan. > > Indeed. Before you dig deeply into what's going on with this version > of > mysql, coming up to a current 5.0.x probably makes sense. OK, I've just moved up to 5.0.51a, as supplied in etch-backports, and the problem persists. An ANALYZE TABLE on the Attachments table has helped a bit with the ludicrous statistics from EXPLAIN, but they're now just very silly rather than ludicrous: mysql> explain select count(id) from Attachments; +----+-------------+-------------+-------+---------------+--------- +---------+------+---------+-------------+ | id | select_type | table | type | possible_keys | key | key_len | ref | rows | Extra | +----+-------------+-------------+-------+---------------+--------- +---------+------+---------+-------------+ | 1 | SIMPLE | Attachments | index | NULL | PRIMARY | 4 | NULL | 2324446 | Using index | +----+-------------+-------------+-------+---------------+--------- +---------+------+---------+-------------+ A reload might be the way forward here. There is a part of me wondering what suddenly broke this today. I'm currently searching the table for suspiciously large looking attachments. Tim -- The Wellcome Trust Sanger Institute is operated by Genome Research Limited, a charity registered in England with number 1021457 and a company registered in England with number 2742969, whose registered office is 215 Euston Road, London, NW1 2BE. From toml at bitstatement.net Tue Feb 17 18:45:41 2009 From: toml at bitstatement.net (Tom Lahti) Date: Tue, 17 Feb 2009 15:45:41 -0800 Subject: [rt-users] Attachments table constantly fragmenting In-Reply-To: <8fae230c0902171523n2ef88354s6036c2dd64a29e5d@mail.gmail.com> References: <8fae230c0902171523n2ef88354s6036c2dd64a29e5d@mail.gmail.com> Message-ID: <499B4C25.1080203@bitstatement.net> > [!!] Total fragmented tables: 1 > [--] Reads / Writes: 64% / 36% Fragmentation is normal, especially with that read/write ratio. It doesn't necessarily indicate a problem. You can periodically optimize the fragmented tables to improve performance, if performance becomes an issue, which should only be if RT does large ranges on primary keys or full table scans (naughty!). Otherwise, I'd ignore it. -- -- ============================ Tom Lahti BIT Statement LLC (425)251-0833 x 117 http://www.bitstatement.net/ -- ============================ From ruslan.zakirov at gmail.com Tue Feb 17 19:48:47 2009 From: ruslan.zakirov at gmail.com (Ruslan Zakirov) Date: Wed, 18 Feb 2009 03:48:47 +0300 Subject: [rt-users] Severe performance problems suddenly in RT 3.8.2 In-Reply-To: <494E226A-9357-41D3-B8DD-2D2DD72F2720@sanger.ac.uk> References: <20090217172910.GB23657@17h.local> <20090217174743.GF20889@sanger.ac.uk> <20090217175917.GN11561@174-147-210-21.pools.spcsdns.net> <20090217180900.GG20889@sanger.ac.uk> <20090217181622.GO11561@174-147-210-21.pools.spcsdns.net> <20090217225223.GM23657@17h.local> <494E226A-9357-41D3-B8DD-2D2DD72F2720@sanger.ac.uk> Message-ID: <589c94400902171648p7554c854ta8eb769b0c867dab@mail.gmail.com> First time I see something like that. May be it's better to ask on mysql lists. And sure you should keep digging into a reason. My practice shows that there is no such thing as "suddenly" in IT. There is always some change that turn world up side down. optimize/analyze on InnoDB don't do the same job as on myisam tables, it's documented in mysql's docs. You can find way to rebuild indexes on a table and as the last resort use full re-load. On Wed, Feb 18, 2009 at 2:32 AM, Tim Cutts wrote: > > On 17 Feb 2009, at 10:52 pm, Jesse Vincent wrote: > >>> OK, OPTIMIZE TABLE done, but performance on SELECT COUNT(id) FROM >>> Attachments is still terrible: >>> >>> This does sort of smell like an optimiser bug - it says it's using >>> indices, but the level of I/O being done by the machine suggests it's >>> actually performing a full table scan. >> >> Indeed. Before you dig deeply into what's going on with this version >> of >> mysql, coming up to a current 5.0.x probably makes sense. > > OK, I've just moved up to 5.0.51a, as supplied in etch-backports, and > the problem persists. An ANALYZE TABLE on the Attachments table has > helped a bit with the ludicrous statistics from EXPLAIN, but they're > now just very silly rather than ludicrous: > > mysql> explain select count(id) from Attachments; > +----+-------------+-------------+-------+---------------+--------- > +---------+------+---------+-------------+ > | id | select_type | table | type | possible_keys | key | > key_len | ref | rows | Extra | > +----+-------------+-------------+-------+---------------+--------- > +---------+------+---------+-------------+ > | 1 | SIMPLE | Attachments | index | NULL | PRIMARY | > 4 | NULL | 2324446 | Using index | > +----+-------------+-------------+-------+---------------+--------- > +---------+------+---------+-------------+ > > A reload might be the way forward here. > > There is a part of me wondering what suddenly broke this today. I'm > currently searching the table for suspiciously large looking > attachments. > > Tim -- Best regards, Ruslan. From steve.obrien at hdesd.org Wed Feb 18 01:29:04 2009 From: steve.obrien at hdesd.org (Steve OBrien) Date: Tue, 17 Feb 2009 22:29:04 -0800 Subject: [rt-users] RT::Extension::SLA Question In-Reply-To: <499B1343.7050301@thebunker.net> References: <499AFDF5.1040404@thebunker.net> <589c94400902171033q20cea736h4d595ce7dd91b472@mail.gmail.com> <499B1343.7050301@thebunker.net> Message-ID: <1234938544.3216.62.camel@localhost.localdomain> Thanks Matthew! I am still a bit foggy on how to use this module and what it really does. I configured the custom fields with a sort value, name and description (I did not know what to put for category). Care to share your ColorMap config with the SLA priorities? TIA, Steve On Tue, 2009-02-17 at 11:42 -0800, Matthew Seaman wrote: > Ruslan Zakirov wrote: > > [snip] > > > >> You just need to configure the SLA custom field in the usual way -- as a > >> 'Select one value' and then add your service levels as the list of available > >> options. Now when you go to set the SLA on a ticket it should automatically > >> set the 'Starts' and 'Due' dates on the ticket. You'll need to set up > >> rt-crontool > >> to run at regular intervals -- given your 'System Inoperable' SLA is two > >> hours, > >> you'll probably need to run it more frequently than hourly. You may want to > >> Google > >> for ways of supressing the rt-crontool transactions from ticket histories > >> lest they > >> swamp all other transactions. > > > > Matthew, > > > > I don't understand why you're suggesting crontool here, can you describe? > > > > RT::Extension::SLA shipped with pretty good scrips that can be > > disabled and re-enabled to turn off or turn back on some > > functionality. For example it has scrip that sets default value of the > > SLA according to the config. Starts/Due dates are set by another scrip > > which doesn't care when and by whom SLA CF has be changed. Such setup > > allows you to disable assigning of default service level for tickets > > and set them manually for every ticket (some companies may like it). > > > > [snip] > > > > Apologies. I'm too much in the thick of things right now that I'm losing > track of what is local customisation and what is add-on module and what is > core functionality. I guess we will be using the SLA stuff a bit differently > to how it was initially conceived. > > We're in the process of replacing an ancient and distinctly unsatisfactory > ticketing system with RT. What we've done is set up a '[_1] Highest Priority > Tickets in the Support Queue' search portlet on the At-a-Glance screen for > our Support team, displayed in descending order of priority. There will be > an on-duty Support person 24x7 one of whose tasks will be to watch for incoming > support requests and assign SLA values according to the nature of the problem: > these can vary from '10 business days' for routine things like renewing SSL certificates down to 1 hour for a 'Service Down' incident. > > We also use a modification of the 'StatusInColour' customization from the > Wiki to colour the items based on the value of the priority field (Well, we > will be. I upgraded from 3.6.7 to 3.8.2 yesterday and haven't quite got round > to porting that bit over yet. Tomorrow probably) The idea is: if it's at the > top of the priority list, then that's the next thing to work on, and if it's > coloured bright red, it really needs attention *right* *now*. > > This works by using rt-crontool with LinearEscalate to raise ticket priorities > as they get closer to their due dates. We're running rt-crontool for the > Support queue every 15 minutes -- however as all the tickets default to using > the Queue's default initial and final priorities (0 and 99 respectively) it > means an urgent problem with a SLA of an hour only gets 3 or 4 updates before > it's overdue, and it would only tend to come to the top of the list on the last > update. Hence the desire to automatically set initial and final priorities based > on the manually chosen SLA value. > > Cheers, > > Matthew From tjrc at sanger.ac.uk Wed Feb 18 02:18:14 2009 From: tjrc at sanger.ac.uk (Tim Cutts) Date: Wed, 18 Feb 2009 07:18:14 +0000 Subject: [rt-users] Severe performance problems suddenly in RT 3.8.2 In-Reply-To: <589c94400902171648p7554c854ta8eb769b0c867dab@mail.gmail.com> References: <20090217172910.GB23657@17h.local> <20090217174743.GF20889@sanger.ac.uk> <20090217175917.GN11561@174-147-210-21.pools.spcsdns.net> <20090217180900.GG20889@sanger.ac.uk> <20090217181622.GO11561@174-147-210-21.pools.spcsdns.net> <20090217225223.GM23657@17h.local> <494E226A-9357-41D3-B8DD-2D2DD72F2720@sanger.ac.uk> <589c94400902171648p7554c854ta8eb769b0c867dab@mail.gmail.com> Message-ID: <484C67CE-D063-4D6E-8009-F930BDC0B5CF@sanger.ac.uk> On 18 Feb 2009, at 12:48 am, Ruslan Zakirov wrote: > First time I see something like that. May be it's better to ask on > mysql lists. And sure you should keep digging into a reason. My > practice shows that there is no such thing as "suddenly" in IT. There > is always some change that turn world up side down. > > optimize/analyze on InnoDB don't do the same job as on myisam tables, > it's documented in mysql's docs. You can find way to rebuild indexes > on a table and as the last resort use full re-load. I think that's what I'm going to do - the slave of our RT instance, which is also running MySQL 5.0.51, performs the same query in only 15 seconds, not four minutes... Tim -- The Wellcome Trust Sanger Institute is operated by Genome Research Limited, a charity registered in England with number 1021457 and a company registered in England with number 2742969, whose registered office is 215 Euston Road, London, NW1 2BE. From kevinm at lithotech.co.za Wed Feb 18 02:09:20 2009 From: kevinm at lithotech.co.za (Kevin McClusky) Date: Wed, 18 Feb 2009 09:09:20 +0200 Subject: [rt-users] Errors after upgrade to 3.8.2 Message-ID: <002d01c99197$d21a7bd0$764f7370$@co.za> Hi All Have just updated 3.8.1 to 3.8.2 on FC10 using yum update, and now the httpd service will not start up. The following errors are in the log file. Any help would be appreciated as I am pretty new to Linux: [Wed Feb 18 07:12:50 2009] [error] Base class package "Class::Accessor::Fast" is empty.\n (Perhaps you need to 'use' the module which defines that package first,\n or make that module available in @INC (@INC contains: /usr/local/lib/rt3/lib /usr/lib/perl5/vendor_perl/5.10.0 /usr/lib/perl5/5.10.0/i386-linux-thread-multi /usr/lib/perl5/5.10.0 /usr/local/lib/perl5/site_perl/5.10.0/i386-linux-thread-multi /usr/local/lib/perl5/site_perl/5.10.0 /usr/lib/perl5/vendor_perl/5.10.0/i386-linux-thread-multi /usr/lib/perl5/vendor_perl /usr/local/lib/perl5/site_perl /usr/lib/perl5/site_perl . /etc/httpd).\n at /usr/lib/perl5/vendor_perl/5.10.0/RT/Ruleset.pm line 53\nBEGIN failed--compilation aborted at /usr/lib/perl5/vendor_perl/5.10.0/RT/Ruleset.pm line 53.\nCompilation failed in require at /usr/lib/perl5/vendor_perl/5.10.0/RT/Transaction_Overlay.pm line 81.\nBEGIN failed--compilation aborted at /usr/lib/perl5/vendor_perl/5.10.0/RT/Transaction_Overlay.pm line 81.\nCompilation failed in require at (eval 173) line 3.\nCompilation failed in require at /usr/lib/perl5/vendor_perl/5.10.0/RT/Transactions.pm line 76.\nBEGIN failed--compilation aborted at /usr/lib/perl5/vendor_perl/5.10.0/RT/Transactions.pm line 76.\nCompilation failed in require at /usr/lib/perl5/vendor_perl/5.10.0/RT/Record.pm line 1502.\nBEGIN failed--compilation aborted at /usr/lib/perl5/vendor_perl/5.10.0/RT/Record.pm line 1502.\nCompilation failed in require at /usr/lib/perl5/vendor_perl/5.10.0/RT/Attribute.pm line 72.\nBEGIN failed--compilation aborted at /usr/lib/perl5/vendor_perl/5.10.0/RT/Attribute.pm line 72.\nCompilation failed in require at /usr/lib/perl5/vendor_perl/5.10.0/RT/SharedSetting.pm line 67.\nBEGIN failed--compilation aborted at /usr/lib/perl5/vendor_perl/5.10.0/RT/SharedSetting.pm line 67.\nCompilation failed in require at (eval 105) line 3.\n\t...propagated at /usr/lib/perl5/5.10.0/base.pm line 93.\nBEGIN failed--compilation aborted at /usr/lib/perl5/vendor_perl/5.10.0/RT/SavedSearch.pm line 69.\nCompilation failed in require at /usr/lib/perl5/vendor_perl/5.10.0/RT/SavedSearches.pm line 70.\nBEGIN failed--compilation aborted at /usr/lib/perl5/vendor_perl/5.10.0/RT/SavedSearches.pm line 70.\nCompilation failed in require at /usr/lib/perl5/vendor_perl/5.10.0/RT/Interface/Web.pm line 68.\nBEGIN failed--compilation aborted at /usr/lib/perl5/vendor_perl/5.10.0/RT/Interface/Web.pm line 68.\nCompilation failed in require at /usr/sbin/webmux.pl line 111.\nBEGIN failed--compilation aborted at /usr/sbin/webmux.pl line 111.\nCompilation failed in require at (eval 2) line 1.\n [Wed Feb 18 07:12:50 2009] [error] Can't load Perl file: /usr/sbin/webmux.pl for server rtserver.islitho.co.za:0, exiting... Thanks Kevin ------- This e-mail and attachments are confidential/legally privileged and any unauthorised use, distribution or disclosure thereof, in whatever form, by anyone other than the addressee is prohibited. If you have received this e-mail in error, please destroy it. The views and opinions in this e-mail and attachments may not necessarily be those of the Directors and Management of the Lithotech Group of Companies. The aforementioned does not accept any liability for any damage, loss or expense arising from this e-mail and/or from accessing any attachments. -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: multipart/alternative Size: 1 bytes Desc: not available URL: -------------- next part -------------- Internal Virus Database is out of date. Checked by AVG - http://www.avg.com Version: 8.0.176 / Virus Database: 270.10.15/1922 - Release Date: 1/28/2009 7:24 PM From tjrc at sanger.ac.uk Wed Feb 18 04:37:29 2009 From: tjrc at sanger.ac.uk (Tim Cutts) Date: Wed, 18 Feb 2009 09:37:29 +0000 Subject: [rt-users] Severe performance problems suddenly in RT 3.8.2 In-Reply-To: <589c94400902171648p7554c854ta8eb769b0c867dab@mail.gmail.com> References: <20090217172910.GB23657@17h.local> <20090217174743.GF20889@sanger.ac.uk> <20090217175917.GN11561@174-147-210-21.pools.spcsdns.net> <20090217180900.GG20889@sanger.ac.uk> <20090217181622.GO11561@174-147-210-21.pools.spcsdns.net> <20090217225223.GM23657@17h.local> <494E226A-9357-41D3-B8DD-2D2DD72F2720@sanger.ac.uk> <589c94400902171648p7554c854ta8eb769b0c867dab@mail.gmail.com> Message-ID: <1B3F4265-EE22-48F7-BD7B-94207D1DBDA4@sanger.ac.uk> On 18 Feb 2009, at 12:48 am, Ruslan Zakirov wrote: > First time I see something like that. May be it's better to ask on > mysql lists. And sure you should keep digging into a reason. My > practice shows that there is no such thing as "suddenly" in IT. There > is always some change that turn world up side down. > > optimize/analyze on InnoDB don't do the same job as on myisam tables, > it's documented in mysql's docs. You can find way to rebuild indexes > on a table and as the last resort use full re-load. We've had a flash of realisation, and we think we know what the problem is. This virtual machine has a snapshot on it. This means that all writes subsequent to the snapshot being taken have been going to a replay log, rather than to the .vmdk file that the virtual machine lives in. Presumably this is a much more complex scenario for I/O to operate in than when snapshots are not present. I hadn't realised this was how VMware snapshots work. So, I'm deleting the snapshots now, but this is a very time consuming process because it's having to replay a week's worth of RT writes back into the .vmdk file. We'll let you know whether this solves the problem. Tim -- The Wellcome Trust Sanger Institute is operated by Genome Research Limited, a charity registered in England with number 1021457 and a company registered in England with number 2742969, whose registered office is 215 Euston Road, London, NW1 2BE. From Marcin.Stangel at framestore.com Wed Feb 18 07:19:37 2009 From: Marcin.Stangel at framestore.com (Marcin Stangel) Date: Wed, 18 Feb 2009 12:19:37 +0000 Subject: [rt-users] RT + VAS + Kerberos + AD In-Reply-To: <1B3F4265-EE22-48F7-BD7B-94207D1DBDA4@sanger.ac.uk> References: <20090217172910.GB23657@17h.local> <20090217174743.GF20889@sanger.ac.uk> <20090217175917.GN11561@174-147-210-21.pools.spcsdns.net> <20090217180900.GG20889@sanger.ac.uk> <20090217181622.GO11561@174-147-210-21.pools.spcsdns.net> <20090217225223.GM23657@17h.local> <494E226A-9357-41D3-B8DD-2D2DD72F2720@sanger.ac.uk> <589c94400902171648p7554c854ta8eb769b0c867dab@mail.gmail.com> <1B3F4265-EE22-48F7-BD7B-94207D1DBDA4@sanger.ac.uk> Message-ID: <499BFCD9.5090102@framestore.com> Hello, Some time ago I asked you for hints / clues regarding the setup of RT 3.8.1 running on RHEL5, using Vintela Authentication Services (VAS) and Active Directory + Kerberos. I just couldn't stop thinking about it, so I kept digging ... I finally figured out how to configure it to work correctly, so I decided to share it in case someone else would have similar issue. first thing RT_SiteConfig.pm just add these three lines: Set($WebExternalAuth , 1); Set($WebFallbackToInternalAuth , 1); Set($WebExternalAuto , 1); apache configuration: in your virtual host definition (within ......... ) AuthType VAS AuthName "Systems Support Request Tracker" AuthVasUseBasic On AuthVasRemoteUserMap local Require valid-user after the you will need this: Satisfy Any Allow from all otherwise RT's mailgate will not accept any emails to your RT system. one final information is, that this setup assumes that you have installed and configured the following module for your apache: mod_auth_vas which is available on http://rc.quest.com Hope this will save some time to someone :) regards, Marcin From rob.munsch at gmail.com Wed Feb 18 11:38:53 2009 From: rob.munsch at gmail.com (Rob Munsch) Date: Wed, 18 Feb 2009 11:38:53 -0500 Subject: [rt-users] Reloading RT::User in 3.8.2 Message-ID: <8fae230c0902180838s53a51629v5b20f6c303cf560b@mail.gmail.com> I noticed this in ExternalAuth's .08 patchnotes: * html/Callbacks/ExternalAuth/autohandler/Auth Modified the log message regarding the RT-3.8.[01] plugin bug from error level to debug level and modified the text of the message to be more clear for RT-3.8.2+ users. and for .08_01: * html/Callbacks/ExternalAuth/autohandler/Auth Workaround for RT versions 3.8.0 and 3.8.1 removed. RT::Authen::ExternalAuth v0.08 will be officially compatible only with versions 3.8.2 and up. However... I'm running .08 and RT 3.8.2, and while debugging something else, i noticed this: Feb 18 11:29:33 data RT: Reloading RT::User to work around a bug in RT-3.8.0 and RT-3.8.1 Trace begun at /opt/rt3/bin/../lib/RT.pm line 289 Log::Dispatch::__ANON__('Log::Dispatch=HASH(0xc981ba0)', 'Reloading RT::User to work around a bug in RT-3.8.0 and RT-3.8.1') called at /opt/rt3/local/plugins/RT-Authen-ExternalAuth/html/Callbacks/ExternalAuth/autohandler/Auth line 14 HTML::Mason::Commands::__ANON__ at /usr/local/share/perl/5.8.8/HTML/Mason/Component.pm line 135 HTML::Mason::Component::run('HTML::Mason::Component::FileBased=HASH(0xce13e30)') called at /usr/local/share/perl/5.8.8/HTML/Mason/Request.pm line 1279 eval {...} at /usr/local/share/perl/5.8.8/HTML/Mason/Request.pm line 1274 HTML::Mason::Request::comp(undef, undef) called at /opt/rt3/bin/../lib/RT/Interface/Web/Request.pm line 180 RT::Interface::Web::Request::callback('RT::Interface::Web::Request=HASH(0x10a2e30)', 'CallbackName', 'Auth') called at /opt/rt3/share/html/autohandler line 256 HTML::Mason::Commands::__ANON__ at /usr/local/share/perl/5.8 I have ExternalAuth working, and i'm definitely using 3.8.2, so i'm not sure if i managed to accomplish something especially weird here... -- /chown -R us:us /yourbase From rob.munsch at gmail.com Wed Feb 18 11:41:15 2009 From: rob.munsch at gmail.com (Rob Munsch) Date: Wed, 18 Feb 2009 11:41:15 -0500 Subject: [rt-users] Still tryin' to merge tix with matching CFs Message-ID: <8fae230c0902180841i257443c7q45be636810b8d338@mail.gmail.com> Mr. Evans first posted about this 11/08. In archives, i see no replies to the thread. I haven't heard anything either, and can't find anything but Greg's original post on the web. If this is a taboo subject or something, please let me know, but i'd really like to be able to do this :). Thanks, Rob ---------- Forwarded message ---------- Mornin', I found a post from a ways back asking how to do this, with a nonfunctional scrip code. The OP wants to do what i want to do: "What I am trying to do now, is on each ticket submission, Extract that [Custom] field and then check to see if there is another ticket that has that same number in the custom field and if they match, merge the tickets." My first question is, assuming a reasonably tuned MySQL suitable to its (fast) hardware: how horrible would this be in an ever-growing DB? It must search the DB for every last ticket and compare the two CFs, yes? The posted code was: --- my $TicketsObj = RT::Tickets->new($RT::SystemUser); $TicketsObj->LimitQueue(VALUE => 'AfterHoursSupport'); $TicketsObj->LimitCustomField(CUSTOMFIELD => 'AfterHoursTicketNumber', OPERATOR => '=', VALUE => $AHTixNum); if ($TicketsObj->Count == 0) { return 1; } my $id = undef; while (my $ticket = $TicketsObj->Next) { next if $self->TicketObj->Id == $ticket->Id; $id = $ticket->Id; last; } $id || return 1; $RT::Logger->debug("Merging ticket " . $self->TicketObj->Id . " into $id because of OA number match."); $self->TicketObj->MergeInto($id); 1; --- The OP did not specify exactly which chunks went where, but that he'd tried various combinations of condition and prep. My first thought was that this was incorrect; the condition is OnCreate and no code need go in that block. Prep should be the field search and compare, and cleanup the ticket merge itself, yes? (the above is the OP's exact code and doesn't reflect my own setup). -- /chown -R us:us /yourbase -- /chown -R us:us /yourbase From mike.peachey at jennic.com Wed Feb 18 11:58:55 2009 From: mike.peachey at jennic.com (Mike Peachey) Date: Wed, 18 Feb 2009 16:58:55 +0000 Subject: [rt-users] Reloading RT::User in 3.8.2 In-Reply-To: <8fae230c0902180838s53a51629v5b20f6c303cf560b@mail.gmail.com> References: <8fae230c0902180838s53a51629v5b20f6c303cf560b@mail.gmail.com> Message-ID: <499C3E4F.6030205@jennic.com> Rob Munsch wrote: > I noticed this in ExternalAuth's .08 patchnotes: > > * html/Callbacks/ExternalAuth/autohandler/Auth > > Modified the log message regarding the RT-3.8.[01] plugin > bug from error level to debug level and modified the text > of the message to be more clear for RT-3.8.2+ users. 0.08 == Release Version and Authoritative. > > and for .08_01: > > * html/Callbacks/ExternalAuth/autohandler/Auth > > Workaround for RT versions 3.8.0 and 3.8.1 removed. > RT::Authen::ExternalAuth v0.08 will be officially compatible > only with versions 3.8.2 and up. 0.08_01 was a development version and should be ignored and discarded. > > However... I'm running .08 and RT 3.8.2, and while debugging something > else, i noticed this: > > Feb 18 11:29:33 data RT: Reloading RT::User to work around a bug in > RT-3.8.0 and RT-3.8.1 Trace begun at /opt/rt3/bin/../lib/RT.pm line > 289 Log::Dispatch::__ANON__('Log::Dispatch=HASH(0xc981ba0)', > 'Reloading RT::User to work around a bug in RT-3.8.0 and RT-3.8.1') It doesn't check if you're on 3.8.[01] it just reloads RT::User no matter what. Just happens it only makes anything different if you're using 3.8.[01]. You can safely ignore the message. -- Kind Regards, __________________________________________________ Mike Peachey, IT Tel: +44 114 281 2655 Fax: +44 114 281 2951 Jennic Ltd, Furnival Street, Sheffield, S1 4QT, UK Comp Reg No: 3191371 - Registered In England http://www.jennic.com __________________________________________________ From dh3 at sanger.ac.uk Wed Feb 18 12:54:41 2009 From: dh3 at sanger.ac.uk (Dave Holland) Date: Wed, 18 Feb 2009 17:54:41 +0000 Subject: [rt-users] Severe performance problems suddenly in RT 3.8.2 In-Reply-To: <20090217225223.GM23657@17h.local> References: <20090217172910.GB23657@17h.local> <20090217174743.GF20889@sanger.ac.uk> <20090217175917.GN11561@174-147-210-21.pools.spcsdns.net> <20090217180900.GG20889@sanger.ac.uk> <20090217181622.GO11561@174-147-210-21.pools.spcsdns.net> <20090217225223.GM23657@17h.local> Message-ID: <20090218175441.GJ20889@sanger.ac.uk> On Tue, Feb 17, 2009 at 05:52:23PM -0500, Jesse Vincent wrote: > An excellent question. I have a sneaking suspicion there's some DB > corruption in there somewhere :/ But maybe it's just a database bug. After chasing some red herrings we found something "interesting": mysql> select count(*) from Attachments; +----------+ | count(*) | +----------+ | 807113 | +----------+ 1 row in set (1 min 47.01 sec) mysql> select count(*) from Attachments ignore index(PRIMARY); +----------+ | count(*) | +----------+ | 807113 | +----------+ 1 row in set (0.66 sec) So I did a quick "alter table Attachments drop primary key, add primary key (id);" and now we are seeing much more sensible behaviour: mysql> select count(*) from Attachments; +----------+ | count(*) | +----------+ | 807568 | +----------+ 1 row in set (0.00 sec) There is still an occasional hiccup when it goes slower - possibly when an Attachment has been added - but by and large it's working as expected now. Thanks everyone for your help, I've learned rather a lot about MySQL in the last day or so! Cheers, Dave -- ** Dave Holland ** Systems Support -- Infrastructure Management ** ** 01223 496923 ** The Sanger Institute, Hinxton, Cambridge, UK ** "I've learned so much from my mistakes, I think I'll make some more." -- The Wellcome Trust Sanger Institute is operated by Genome Research Limited, a charity registered in England with number 1021457 and a company registered in England with number 2742969, whose registered office is 215 Euston Road, London, NW1 2BE. From tjrc at sanger.ac.uk Wed Feb 18 13:13:08 2009 From: tjrc at sanger.ac.uk (Tim Cutts) Date: Wed, 18 Feb 2009 18:13:08 +0000 Subject: [rt-users] Severe performance problems suddenly in RT 3.8.2 In-Reply-To: <20090218175441.GJ20889@sanger.ac.uk> References: <20090217172910.GB23657@17h.local> <20090217174743.GF20889@sanger.ac.uk> <20090217175917.GN11561@174-147-210-21.pools.spcsdns.net> <20090217180900.GG20889@sanger.ac.uk> <20090217181622.GO11561@174-147-210-21.pools.spcsdns.net> <20090217225223.GM23657@17h.local> <20090218175441.GJ20889@sanger.ac.uk> Message-ID: <0F7ED392-9E00-4B90-A7C0-165630370779@sanger.ac.uk> On 18 Feb 2009, at 5:54 pm, Dave Holland wrote: > On Tue, Feb 17, 2009 at 05:52:23PM -0500, Jesse Vincent wrote: >> An excellent question. I have a sneaking suspicion there's some DB >> corruption in there somewhere :/ But maybe it's just a database bug. > > After chasing some red herrings we found something "interesting": > > mysql> select count(*) from Attachments; > +----------+ > | count(*) | > +----------+ > | 807113 | > +----------+ > 1 row in set (1 min 47.01 sec) > > mysql> select count(*) from Attachments ignore index(PRIMARY); > +----------+ > | count(*) | > +----------+ > | 807113 | > +----------+ > 1 row in set (0.66 sec) > > So I did a quick "alter table Attachments drop primary key, add > primary > key (id);" and now we are seeing much more sensible behaviour: > > mysql> select count(*) from Attachments; > +----------+ > | count(*) | > +----------+ > | 807568 | > +----------+ > 1 row in set (0.00 sec) > > There is still an occasional hiccup when it goes slower - possibly > when > an Attachment has been added - but by and large it's working as > expected > now. > > Thanks everyone for your help, I've learned rather a lot about MySQL > in > the last day or so! Should add that any form of full text search of Content is still taking so long that the web interface times out, and in some browsers this can then have a nasty effect on the session and you can't open any more RT windows without shutting down your browser (behaviour seen on both IE and Firefox) Tim -- The Wellcome Trust Sanger Institute is operated by Genome Research Limited, a charity registered in England with number 1021457 and a company registered in England with number 2742969, whose registered office is 215 Euston Road, London, NW1 2BE. From jesse at bestpractical.com Wed Feb 18 13:20:26 2009 From: jesse at bestpractical.com (Jesse Vincent) Date: Wed, 18 Feb 2009 13:20:26 -0500 Subject: [rt-users] Errors after upgrade to 3.8.2 In-Reply-To: <002d01c99197$d21a7bd0$764f7370$@co.za> References: <002d01c99197$d21a7bd0$764f7370$@co.za> Message-ID: <20090218182026.GH53289@17h.local> On Wed 18.Feb'09 at 9:09:20 +0200, Kevin McClusky wrote: > Hi All > > > > Have just updated 3.8.1 to 3.8.2 on FC10 using yum update, and now the > httpd service will not start up. The following errors are in the log file. > Any help would be appreciated as I am pretty new to Linux: Looks like the yum update missed new added dependencies in 3.8.2. # sudo cpan Class::Accessor::Fast Should sort it out. From ktm at rice.edu Wed Feb 18 14:20:02 2009 From: ktm at rice.edu (Kenneth Marshall) Date: Wed, 18 Feb 2009 13:20:02 -0600 Subject: [rt-users] Severe performance problems suddenly in RT 3.8.2 In-Reply-To: <0F7ED392-9E00-4B90-A7C0-165630370779@sanger.ac.uk> References: <20090217172910.GB23657@17h.local> <20090217174743.GF20889@sanger.ac.uk> <20090217175917.GN11561@174-147-210-21.pools.spcsdns.net> <20090217180900.GG20889@sanger.ac.uk> <20090217181622.GO11561@174-147-210-21.pools.spcsdns.net> <20090217225223.GM23657@17h.local> <20090218175441.GJ20889@sanger.ac.uk> <0F7ED392-9E00-4B90-A7C0-165630370779@sanger.ac.uk> Message-ID: <20090218192002.GA14957@it.is.rice.edu> On Wed, Feb 18, 2009 at 06:13:08PM +0000, Tim Cutts wrote: > > On 18 Feb 2009, at 5:54 pm, Dave Holland wrote: > > > On Tue, Feb 17, 2009 at 05:52:23PM -0500, Jesse Vincent wrote: > >> An excellent question. I have a sneaking suspicion there's some DB > >> corruption in there somewhere :/ But maybe it's just a database bug. > > > > After chasing some red herrings we found something "interesting": > > > > mysql> select count(*) from Attachments; > > +----------+ > > | count(*) | > > +----------+ > > | 807113 | > > +----------+ > > 1 row in set (1 min 47.01 sec) > > > > mysql> select count(*) from Attachments ignore index(PRIMARY); > > +----------+ > > | count(*) | > > +----------+ > > | 807113 | > > +----------+ > > 1 row in set (0.66 sec) > > > > So I did a quick "alter table Attachments drop primary key, add > > primary > > key (id);" and now we are seeing much more sensible behaviour: > > > > mysql> select count(*) from Attachments; > > +----------+ > > | count(*) | > > +----------+ > > | 807568 | > > +----------+ > > 1 row in set (0.00 sec) > > > > There is still an occasional hiccup when it goes slower - possibly > > when > > an Attachment has been added - but by and large it's working as > > expected > > now. > > > > Thanks everyone for your help, I've learned rather a lot about MySQL > > in > > the last day or so! > > Should add that any form of full text search of Content is still > taking so long that the web interface times out, and in some browsers > this can then have a nasty effect on the session and you can't open > any more RT windows without shutting down your browser (behaviour seen > on both IE and Firefox) > > Tim > Tim, That is a consequence of the I/O needed versus the performance of your I/O subsystem. If full text search of content is needed I would recommend using a backend database with that support. Currently there are two recipes on the wiki for adding that support to Oracle and PostgreSQL. I am biased, but the PostgreSQL recipe is extremely easy to set up and preforms wonderfully -- but I am biased. :) Cheers, Ken From shannon_adams68 at yahoo.com Wed Feb 18 14:25:37 2009 From: shannon_adams68 at yahoo.com (Shannon Adams) Date: Wed, 18 Feb 2009 11:25:37 -0800 (PST) Subject: [rt-users] Syslog error when installing rt 3.8.2 on Cent OS 5.2 Message-ID: <432988.24746.qm@web110804.mail.gq1.yahoo.com> I am doing a fresh install of rt 3.8.2 on CentOS 5.2. I get down to: 'make initialize-database' it returns: Working with: Type: mysql Host: localhost Name: rt3 User: rt_user DBA: root Now creating a mysql database rt3 for RT. Done. Now populating database schema. Done. Now inserting database ACLs Granting access to rt_user@'localhost' on rt3. Done. Sys::Syslog version 0.16 required--this is only version 0.13 at /usr/lib/perl5/site_perl/5.8.8/Log/Dispatch/Syslog.pm line 13. BEGIN failed--compilation aborted at /usr/lib/perl5/site_perl/5.8.8/Log/Dispatch/Syslog.pm line 13. Compilation failed in require at /usr/src/build/rt-3.8.2/sbin/../lib/RT.pm line 340. make: *** [initialize-database] Error 2 I cannot figure out how to update Syslog to 0.16 and would appreciate any assistance. Shannon From rob.munsch at gmail.com Wed Feb 18 14:53:05 2009 From: rob.munsch at gmail.com (Rob Munsch) Date: Wed, 18 Feb 2009 14:53:05 -0500 Subject: [rt-users] Fwd: Reloading RT::User in 3.8.2 In-Reply-To: <8fae230c0902181152r6967c9deo68c22eb5e5b0974a@mail.gmail.com> References: <8fae230c0902180838s53a51629v5b20f6c303cf560b@mail.gmail.com> <499C3E4F.6030205@jennic.com> <8fae230c0902181152r6967c9deo68c22eb5e5b0974a@mail.gmail.com> Message-ID: <8fae230c0902181153y257409a6i7c8102ad44e9e496@mail.gmail.com> skipped list again, sorry mike On Wed, Feb 18, 2009 at 11:58 AM, Mike Peachey wrote: >> However... I'm running .08 and RT 3.8.2, and while debugging something >> else, i noticed this: >> >> Feb 18 11:29:33 data RT: Reloading RT::User to work around a bug in >> RT-3.8.0 and RT-3.8.1 Trace begun at /opt/rt3/bin/../lib/RT.pm line >> 289 Log::Dispatch::__ANON__('Log::Dispatch=HASH(0xc981ba0)', >> 'Reloading RT::User to work around a bug in RT-3.8.0 and RT-3.8.1') > > It doesn't check if you're on 3.8.[01] it just reloads RT::User no > matter what. Just happens it only makes anything different if you're > using 3.8.[01]. Oh, when it mentioned "more clear for 3.8.2 users," i was looking for 3.8.2 to be mentioned in the logline, i think. Wrong context. For a minute i thought i'd somehow managed to be running on a version earlier than 0.08. > You can safely ignore the message. Thanks! -- /chown -R us:us /yourbase -- /chown -R us:us /yourbase From rob.munsch at gmail.com Wed Feb 18 14:58:35 2009 From: rob.munsch at gmail.com (Rob Munsch) Date: Wed, 18 Feb 2009 14:58:35 -0500 Subject: [rt-users] Fwd: Attachments table constantly fragmenting In-Reply-To: <8fae230c0902181157j350a45b1xb7e6ad6a9da395d@mail.gmail.com> References: <8fae230c0902171523n2ef88354s6036c2dd64a29e5d@mail.gmail.com> <499B4C25.1080203@bitstatement.net> <8fae230c0902171544m6274bacdlb6309330ad570364@mail.gmail.com> <499B537F.9050401@bitstatement.net> <8fae230c0902180712v1a98ed00pcbaf5bcc1976f309@mail.gmail.com> <499C556A.9010904@bitstatement.net> <8fae230c0902181157j350a45b1xb7e6ad6a9da395d@mail.gmail.com> Message-ID: <8fae230c0902181158v6d1ac29flc1cb73330ed46b0b@mail.gmail.com> i am incapable of clicking reply-all today i blame the weather. On Wed, Feb 18, 2009 at 1:37 PM, Tom Lahti wrote: >> All good points. I guess what i need to balance against this is: will the >> fragmentation continue to worsen? Is it inevitable that performance will, >> at some point, deteriorate? > > I have another database (not RT) in mysql InnoDB tables that is about 2 > years old and has 15 million records. I have never optimized it. > Fragmentation worsens mainly when you DELETE and then INSERT; this > particular database almost never has DELETE operations, similar to RT. Makes sense. The idea is to keep all this for stats and history anyway, no plans on deleting anything. >> There's a daily 4 AM backup of the DB, so after that finishes, once a month >> (barring quicker performance deterioration) seems like a good idea. FYI, >> the reason i'm asking all these hypotheticals is that the DB is not very >> large now, but will increase exponentially over the next year. Data will >> increase, usage will increase, and the rate of increase will increase... i >> want some best practices in place, however general, before things really >> ramp up. As i have a window of a few hours a month when no one will be >> using the DB, i see no contraindications to using it - yah? > > If I had an installation where I was adding 1,000 tickets a day and almost > all with attachments, I would definitely consider it. I don't know what > size you're dealing with. Not quite that volume, but getting there, with a strong likelihood of increased growth over the next few years. An attachment-less ticket will be the exception. Thanks for all the info; a noninvasive monthly OPTIMIZE seems like it won't hurt anything, and making a schedule for it now means it'll be in place when it matters later, and i won't have to get users used to the maintenance window :) -- /chown -R us:us /yourbase From jesse at bestpractical.com Wed Feb 18 15:20:19 2009 From: jesse at bestpractical.com (Jesse Vincent) Date: Wed, 18 Feb 2009 15:20:19 -0500 Subject: [rt-users] Syslog error when installing rt 3.8.2 on Cent OS 5.2 In-Reply-To: <432988.24746.qm@web110804.mail.gq1.yahoo.com> References: <432988.24746.qm@web110804.mail.gq1.yahoo.com> Message-ID: <20090218202019.GI53289@17h.local> On Wed 18.Feb'09 at 11:25:37 -0800, Shannon Adams wrote: > I am doing a fresh install of rt 3.8.2 on CentOS 5.2. I get down to: > > Sys::Syslog version 0.16 required--this is only version 0.13 at /usr/lib/perl5/site_perl/5.8.8/Log/Dispatch/Syslog.pm line 13. > BEGIN failed--compilation aborted at /usr/lib/perl5/site_perl/5.8.8/Log/Dispatch/Syslog.pm line 13. > Compilation failed in require at /usr/src/build/rt-3.8.2/sbin/../lib/RT.pm line 340. > make: *** [initialize-database] Error 2 > > I cannot figure out how to update Syslog to 0.16 and would appreciate any assistance. RT doesn't directly require Sys::Syslog, but a downstream dependency, Log::Dispatch does. sudo perl -MCPAN -e'install Sys::Syslog' should do the trick. From rob.munsch at gmail.com Wed Feb 18 15:21:04 2009 From: rob.munsch at gmail.com (Rob Munsch) Date: Wed, 18 Feb 2009 15:21:04 -0500 Subject: [rt-users] webmux.pl crashes apache2 start In-Reply-To: <9f9b69440902171319o55ff1d58l36df8e9aec877cf6@mail.gmail.com> References: <9f9b69440902171319o55ff1d58l36df8e9aec877cf6@mail.gmail.com> Message-ID: <8fae230c0902181221v4e60eb2bm175ff319ccaface7@mail.gmail.com> On Tue, Feb 17, 2009 at 4:19 PM, Krishnamurti L. L. V. Nunes wrote: > Hello world! Hello! > Whenever I have the line: > PerlRequire "/opt/rt-3.8/bin/webmux.pl" > in my apache config file, apache crashes with the error: > > [error] Can't locate object method "Config" via package "RT" at > /opt/rt-3.8/bin/webmux.pl line 100.\nBEGIN failed--compilation aborted > at /opt/rt-3.8/bin/webmux.pl line 102.\nCompilation failed in require > at (eval 243) line 1.\n >From my original blundering attempts to get RT up and running, webmux.pl is what complains when something is misconfigged or incorrect in basic setup. RT_SiteConfig is read, modules are loaded, etc., and if it chokes on any of this, webmux.pl cannot execute properly; and since you're requiring it for apache to run, apache cannot start. We should probably see your RT_SiteConfig file, for starters. If you have any plugins set, comment them out maybe and see if it starts then? Rob -- /chown -R us:us /yourbase From Gary.Greene at minervanetworks.com Wed Feb 18 15:15:09 2009 From: Gary.Greene at minervanetworks.com (Gary Greene) Date: Wed, 18 Feb 2009 12:15:09 -0800 Subject: [rt-users] Syslog error when installing rt 3.8.2 on Cent OS 5.2 In-Reply-To: <432988.24746.qm@web110804.mail.gq1.yahoo.com> References: <432988.24746.qm@web110804.mail.gq1.yahoo.com> Message-ID: <7DC08293B3E4A24BB1FEB61A90FC367B01E3E7EB@scmail-00.minervanetworks.com> > -----Original Message----- > From: rt-users-bounces at lists.bestpractical.com > [mailto:rt-users-bounces at lists.bestpractical.com] On Behalf > Of Shannon Adams > Sent: Wednesday, February 18, 2009 11:26 AM > To: rt-users at lists.bestpractical.com > Subject: [rt-users] Syslog error when installing rt 3.8.2 on > Cent OS 5.2 > > I am doing a fresh install of rt 3.8.2 on CentOS 5.2. I get down to: > > 'make initialize-database' > > it returns: > > Working with: > Type: mysql > Host: localhost > Name: rt3 > User: rt_user > DBA: root > Now creating a mysql database rt3 for RT. > Done. > Now populating database schema. > Done. > Now inserting database ACLs > Granting access to rt_user@'localhost' on rt3. > Done. > > Sys::Syslog version 0.16 required--this is only version 0.13 > at /usr/lib/perl5/site_perl/5.8.8/Log/Dispatch/Syslog.pm line 13. > BEGIN failed--compilation aborted at > /usr/lib/perl5/site_perl/5.8.8/Log/Dispatch/Syslog.pm line 13. > Compilation failed in require at > /usr/src/build/rt-3.8.2/sbin/../lib/RT.pm line 340. > make: *** [initialize-database] Error 2 > > I cannot figure out how to update Syslog to 0.16 and would > appreciate any assistance. > > Shannon Either get the right version of perl-Log-Dispatch off rpmforge, or do what I do when I run into version mismatches and build a copy of the required module prefixed in site_perl with cpan2rpm (create the SRPM then clean the spec as needed). This has worked well for me on CentOS. -- Gary L. Greene, Jr. IT Operations Minerva Networks, Inc. Tel: (408) 240-1239 Cell: (650) 704-6633 From shannon_adams68 at yahoo.com Wed Feb 18 15:38:24 2009 From: shannon_adams68 at yahoo.com (Shannon Adams) Date: Wed, 18 Feb 2009 12:38:24 -0800 (PST) Subject: [rt-users] Syslog error when installing rt 3.8.2 on Cent OS 5.2 References: <432988.24746.qm@web110804.mail.gq1.yahoo.com> <20090218202019.GI53289@17h.local> Message-ID: <43034.4711.qm@web110805.mail.gq1.yahoo.com> Perfect, that was it. Thank you. ----- Original Message ---- From: Jesse Vincent To: Shannon Adams Cc: rt-users at lists.bestpractical.com Sent: Wednesday, February 18, 2009 3:20:19 PM Subject: Re: [rt-users] Syslog error when installing rt 3.8.2 on Cent OS 5.2 On Wed 18.Feb'09 at 11:25:37 -0800, Shannon Adams wrote: > I am doing a fresh install of rt 3.8.2 on CentOS 5.2. I get down to: > > Sys::Syslog version 0.16 required--this is only version 0.13 at /usr/lib/perl5/site_perl/5.8.8/Log/Dispatch/Syslog.pm line 13. > BEGIN failed--compilation aborted at /usr/lib/perl5/site_perl/5.8.8/Log/Dispatch/Syslog.pm line 13. > Compilation failed in require at /usr/src/build/rt-3.8.2/sbin/../lib/RT.pm line 340. > make: *** [initialize-database] Error 2 > > I cannot figure out how to update Syslog to 0.16 and would appreciate any assistance. RT doesn't directly require Sys::Syslog, but a downstream dependency, Log::Dispatch does. sudo perl -MCPAN -e'install Sys::Syslog' should do the trick. From jburke at crypticstudios.com Wed Feb 18 16:15:03 2009 From: jburke at crypticstudios.com (Jeremy Burke) Date: Wed, 18 Feb 2009 13:15:03 -0800 Subject: [rt-users] Still tryin' to merge tix with matching CFs In-Reply-To: <8fae230c0902180841i257443c7q45be636810b8d338@mail.gmail.com> References: <8fae230c0902180841i257443c7q45be636810b8d338@mail.gmail.com> Message-ID: I have this working in my RT 3.8.2 installation. It isn't a very busy system and I have yet to notice any performance issues. We only get about 50 tickets per day and it has less than 5000 tickets in the system. First, you need to setup and use the RT Extension to extract custom fields. http://search.cpan.org/~alexmv/RT-Extension-ExtractCustomFieldValues-1.8/ (There is a newer version 2.0 out which I have not used yet) Make sure this scrip runs before the merge scrip. Otherwise, the custom fields won't be populated to match on. I did this by naming the scrip "1Add UniqueID Custom Field". Once you are sure the Custom Field extraction is working, The following scrip should get you started on being able to match and merge on that field. The Custom Field name I match on is UniqueID. I omit the check for the queue which is in the previous scrip example you posted. Description: "2Merge on UniqueID match" (the 2 at the beginning has it run just after the CF extraction) Condition: OnCreate Action: User Defined Template: Global template: Blank Stage: TransactionCreate Custom condition: Custom action preparation code: 1; Custom action cleanup code: my $uniqueid = undef; $uniqueid = $self->TicketObj->FirstCustomFieldValue('UniqueID'); $RT::Logger->debug("My Uniqueid: $uniqueid for search."); my $TicketsObj = RT::Tickets->new($RT::SystemUser); $TicketsObj->LimitCustomField(CUSTOMFIELD => 'UniqueID', OPERATOR => '=', VALUE => $uniqueid); if ($TicketsObj->Count == 0) { return 1; } my $id = undef; while (my $ticket = $TicketsObj->Next) { next if $self->TicketObj->Id == $ticket->Id; $id = $ticket->Id; $RT::Logger->debug("Merging ticket " . $self->TicketObj->Id . " into $id because of UniqueID number match."); $self->TicketObj->MergeInto($id); } $id || return 1; 1; From rob.munsch at gmail.com Wed Feb 18 16:43:59 2009 From: rob.munsch at gmail.com (Rob Munsch) Date: Wed, 18 Feb 2009 16:43:59 -0500 Subject: [rt-users] Still tryin' to merge tix with matching CFs In-Reply-To: References: <8fae230c0902180841i257443c7q45be636810b8d338@mail.gmail.com> Message-ID: <8fae230c0902181343r10690754g845cc37ae3aa597b@mail.gmail.com> On Wed, Feb 18, 2009 at 4:15 PM, Jeremy Burke wrote: > I have this working in my RT 3.8.2 installation. It isn't a very busy system and I have yet to notice any performance issues. We only get about 50 tickets per day and it has less than 5000 tickets in the system. > > First, you need to setup and use the RT Extension to extract custom fields. http://search.cpan.org/~alexmv/RT-Extension-ExtractCustomFieldValues-1.8/ (There is a newer version 2.0 out which I have not used yet) I'm running 2.0 of ECFV with my 3.8.2 - works perfectly, except i don't know how to tell it to stop looking after first match. > Custom action preparation code: > 1; Interesting - why this, instead of leaving it blank? > my $TicketsObj = RT::Tickets->new($RT::SystemUser); I have no idea what this means. That is, i imply it's gathering itself to cycle through all existing tickets, but i'm not sure what new(system user) has to do with anything. Is this sort of basic info covered in the O'Reilly book? I'm having a hard time finding a comprehensive list of the various $meanings and $parts. My only remaining issue with this function now is that, as mentioned, the last match with ECVF always wins - i am searching the body for my CFs, and multiple matches replace previous. I'm not sure how to constrain a given CF to the first match found, as that's always the one i want, and later mentions are always historical in context ("This value is now foo. Value previous to this was blah," etc., and i end up with blah in my CF instead of foo). Thanks Jeremy, this was driving me nuts. I do not understand enough about to role of prep vs cleanup to have known i needed a return in there - was leaving blank. Was also splitting match code and merge code into prep and cleanup respectively. Neither worked... Rob -- /chown -R us:us /yourbase From james.faulkner at yale.edu Wed Feb 18 17:29:32 2009 From: james.faulkner at yale.edu (Jim Faulkner) Date: Wed, 18 Feb 2009 17:29:32 -0500 (EST) Subject: [rt-users] ERROR 1062 during 3.4.5 -> 3.8.2 database update Message-ID: I'm getting the "ERROR 1062 (23000) at line 210: Duplicate entry '' for key 2" error when updating the database from 3.4.5 to 3.8.2. I see from this message: http://www.mail-archive.com/rt-users at lists.bestpractical.com/msg17534.html that I have a few different choices as to how to solve this. However, I'm not a mysql expert, so I'm afraid I'll need a little more help. I've tried changing the Users table's collation to utf8_unicode_ci, however I still get the same error when updating the database. What collation should I use to prevent this error? The original collation is latin1_swedish_ci. I've also tried to find the affected rows so that I can rename the users. However, I'm not getting anywhere. The error says that the duplicate entry is '', however "select * from Users where Name='';" returns zero rows. I've also tried dumping the Name column into a text file and using the uniq unix command, but it finds no duplicates. What is the best way to find duplicate entries? -- Jim Faulkner / james.faulkner at cs.yale.edu Systems Administrator, Linux Systems Design & Support (LSDS) Yale University Information Technology Services (ITS) =============================================================== NOTE: Yale ITS will NEVER request passwords or other personal information via email. Messages requesting such information are fraudulent and should be deleted. From shannon_adams68 at yahoo.com Wed Feb 18 18:29:07 2009 From: shannon_adams68 at yahoo.com (Shannon Adams) Date: Wed, 18 Feb 2009 15:29:07 -0800 (PST) Subject: [rt-users] DBD::mysql error when installing rt 3.8.2 on Cent OS 5.2 Message-ID: <584506.75720.qm@web110809.mail.gq1.yahoo.com> I am in the process of migrating RT from an old server running Fedora Core 4, RT ver 3.8.1, and mysql version 4.1.20-log. I upgraded RT on this old server a while back and ran into the random logouts, binary attachment problems, etc. I have installed a new server running Cent OS 5.2. The installation of RT 3.8.2 and restore of the data from the old server is complete. This server is running mysql version 5.0.45. >From what I have read in all the documents, I need to upgrade my database on the new server since it was running on an old version of mysql. However, when I run this: "perl etc/upgrade/upgrade-mysql-schema.pl rt3 password password > sql.queries", it returns: DBD::mysql version 4.002 required--this is only version 3.0007 at etc/upgrade/up grade-mysql-schema.pl line 7. BEGIN failed--compilation aborted at etc/upgrade/upgrade-mysql-schema.pl line 7. To attempt to upgrade DBD::mysql, I run: perl -MCPAN -e'install DBD::mysql' but, it returns: Running make install make test had returned bad status, won't install without force Any ideas? From chrisc.email at abshernw.com Wed Feb 18 18:29:57 2009 From: chrisc.email at abshernw.com (Chris Crow) Date: Wed, 18 Feb 2009 15:29:57 -0800 Subject: [rt-users] Forward an entire ticket to an outside email address. Message-ID: <499C99F5.8070508@abshernw.com> I have a quick question about RT. We have a group of technicians that work entirely from the RT's web interface, so they never see any email. This works great, but they want a way to forward a ticket, including any attachments, to an outside email address. I have no idea how to get this accomplished, my first thought was to write a perl script that would send the ticket log and attachment to an email address of choice. I'm a intermediate perl programmer on a good day, so I was wondering if anyone had any better ideas. Thanks in advance, Chris Also, everyone at my company loves RT, it has changed the way we do support! From chaim.rieger at gmail.com Wed Feb 18 18:37:16 2009 From: chaim.rieger at gmail.com (Chaim Rieger) Date: Wed, 18 Feb 2009 15:37:16 -0800 Subject: [rt-users] DBD::mysql error when installing rt 3.8.2 on Cent OS 5.2 In-Reply-To: <584506.75720.qm@web110809.mail.gq1.yahoo.com> References: <584506.75720.qm@web110809.mail.gq1.yahoo.com> Message-ID: <499C9BAC.7090008@gmail.com> Shannon Adams wrote: > I am in the process of migrating RT from an old server running Fedora Core 4, RT ver 3.8.1, and mysql version 4.1.20-log. I upgraded RT on this old server a while back and ran into the random logouts, binary attachment problems, etc. > > I have installed a new server running Cent OS 5.2. The installation of RT 3.8.2 and restore of the data from the old server is complete. This server is running mysql version 5.0.45. > > From what I have read in all the documents, I need to upgrade my database on the new server since it was running on an old version of mysql. However, when I run this: "perl etc/upgrade/upgrade-mysql-schema.pl rt3 password password > sql.queries", it returns: > > DBD::mysql version 4.002 required--this is only version 3.0007 at etc/upgrade/up > grade-mysql-schema.pl line 7. > BEGIN failed--compilation aborted at etc/upgrade/upgrade-mysql-schema.pl line 7. > > To attempt to upgrade DBD::mysql, I run: perl -MCPAN -e'install DBD::mysql' but, it returns: > > Running make install > make test had returned bad status, won't install without force > > Any ideas? > > thats because the test user on your mysql db requires a passwd cpan look DBD::mysql read the docs and provide the passwd for the test user perl Makefile.pl ...... -- -- Chaim Rieger From scorey at netatlantic.com Wed Feb 18 18:39:04 2009 From: scorey at netatlantic.com (Sean Corey) Date: Wed, 18 Feb 2009 18:39:04 -0500 Subject: [rt-users] DBD::mysql error when installing rt 3.8.2 on Cent OS 5.2 In-Reply-To: <584506.75720.qm@web110809.mail.gq1.yahoo.com> References: <584506.75720.qm@web110809.mail.gq1.yahoo.com> Message-ID: <499C9C18.70208@netatlantic.com> cpan upgrade DBD::mysql Your version of DBD::mysql is to old to do the upgrade. I ran into this earlier today. Thanks, Sean Corey Shannon Adams wrote: > I am in the process of migrating RT from an old server running Fedora Core 4, RT ver 3.8.1, and mysql version 4.1.20-log. I upgraded RT on this old server a while back and ran into the random logouts, binary attachment problems, etc. > > I have installed a new server running Cent OS 5.2. The installation of RT 3.8.2 and restore of the data from the old server is complete. This server is running mysql version 5.0.45. > > From what I have read in all the documents, I need to upgrade my database on the new server since it was running on an old version of mysql. However, when I run this: "perl etc/upgrade/upgrade-mysql-schema.pl rt3 password password > sql.queries", it returns: > > DBD::mysql version 4.002 required--this is only version 3.0007 at etc/upgrade/up > grade-mysql-schema.pl line 7. > BEGIN failed--compilation aborted at etc/upgrade/upgrade-mysql-schema.pl line 7. > > To attempt to upgrade DBD::mysql, I run: perl -MCPAN -e'install DBD::mysql' but, it returns: > > Running make install > make test had returned bad status, won't install without force > > 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 > From kevinm at lithotech.co.za Thu Feb 19 00:31:07 2009 From: kevinm at lithotech.co.za (Kevin McClusky) Date: Thu, 19 Feb 2009 07:31:07 +0200 Subject: [rt-users] Errors after upgrade to 3.8.2 Message-ID: <004101c99253$43f7e470$cbe7ad50$@co.za> Hi Jesse Please ignore previous post. CPAN was not installed. Installed via yum, ran command and it works perfectly. Keep up the good work! Regards Kevin Kevin Mcclusky Reports Lithotech Group Services T: +27 (011) 706 6751 F: +27 (086) 639 9703 C: +27 (082) 881 5970 E: kevinm at lithotech.co.za ------- This e-mail and attachments are confidential/legally privileged and any unauthorised use, distribution or disclosure thereof, in whatever form, by anyone other than the addressee is prohibited. If you have received this e-mail in error, please destroy it. The views and opinions in this e-mail and attachments may not necessarily be those of the Directors and Management of the Lithotech Group of Companies. The aforementioned does not accept any liability for any damage, loss or expense arising from this e-mail and/or from accessing any attachments. -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: image001.jpg Type: image/jpeg Size: 927 bytes Desc: not available URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: image002.gif Type: image/gif Size: 10259 bytes Desc: not available URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: multipart/alternative Size: 1 bytes Desc: not available URL: -------------- next part -------------- Internal Virus Database is out of date. Checked by AVG - http://www.avg.com Version: 8.0.176 / Virus Database: 270.10.15/1922 - Release Date: 1/28/2009 7:24 PM From alberto.villanueva at altran.es Thu Feb 19 03:29:07 2009 From: alberto.villanueva at altran.es (Alberto Villanueva) Date: Thu, 19 Feb 2009 09:29:07 +0100 Subject: [rt-users] a question about rigths Message-ID: Hi all!! I have a question: "OwnTicket" right involves "StealTicket"?? Thanks! Regards, ALBERTO VILLANUEVA VAL Consultor ____________________________________________ Altran ParqueEmpresarial Las Mercedes, Edificio 1 C/ Campezo, 1. 28022 Madrid Tel : + 34 91 744 46 00 Fax: + 34 91 415 24 57 www.altran.es -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: image001.jpg Type: image/jpeg Size: 3874 bytes Desc: not available URL: From matthew.seaman at thebunker.net Thu Feb 19 08:32:43 2009 From: matthew.seaman at thebunker.net (Matthew Seaman) Date: Thu, 19 Feb 2009 13:32:43 +0000 Subject: [rt-users] PATH for executing external programs from RT? Message-ID: <499D5F7B.6070502@thebunker.net> Dear all, When I click on 'graph' links in the Ticket display I get an error like so: Command 'dot' not found in /bin, /usr/bin at /usr/local/lib/perl5/site_perl/5.8.9/GraphViz.pm line 1160 Stack: [/usr/local/lib/perl5/5.8.9/Carp.pm:44] [/usr/local/lib/perl5/site_perl/5.8.9/IPC/Run.pm:1213] [/usr/local/lib/perl5/site_perl/5.8.9/IPC/Run.pm:2051] [/usr/local/lib/perl5/site_perl/5.8.9/IPC/Run.pm:2758] [/usr/local/lib/perl5/site_perl/5.8.9/IPC/Run.pm:1432] [/usr/local/lib/perl5/site_perl/5.8.9/GraphViz.pm:1160] [/usr/local/lib/perl5/site_perl/5.8.9/GraphViz.pm:981] [/usr/local/share/rt38/html/Ticket/Graphs/Elements/ShowGraph:49] [/usr/local/share/rt38/html/Ticket/Graphs/Elements/ShowGraph:49] [/usr/local/share/rt38/html/Ticket/Graphs/index.html:57] [/usr/local/share/rt38/html/autohandler:311] which is entirely understandable as under FreeBSD, dot is installed as /usr/local/bin/dot : # /usr/local/bin/dot -V dot - Graphviz version 2.20.3 (Mon Feb 16 20:41:15 UTC 2009) Similarly, none of the GPG functionality is working and there are many instances like the following in the log file: [Thu Feb 19 13:15:04 2009] [debug]: Probe for GPG failed. Process exitted with code 13 (/usr/local/lib/perl5/site_perl/5.8.9/RT/Crypt/GnuPG.pm:2362) [Thu Feb 19 13:15:04 2009] [debug]: RT's GnuPG libraries couldn't successfully execute gpg. PGP support has been disabled (/usr/local/lib/perl5/site_perl/5.8.9/RT/Config.pm:350) gpg is installed and working just fine, but again -- as /usr/local/bin/gpg: :# /usr/local/bin/gpg --version gpg (GnuPG) 2.0.10 libgcrypt 1.4.4 Copyright (C) 2009 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law. Home: ~/.gnupg Supported algorithms: Pubkey: RSA, ELG, DSA Cipher: 3DES, CAST5, BLOWFISH, AES, AES192, AES256, TWOFISH Hash: MD5, SHA1, RIPEMD160, SHA256, SHA384, SHA512, SHA224 Compression: Uncompressed, ZIP, ZLIB, BZIP2 Now, I had thought this was simply down to the environment Apache is started up with, or that it would pass through to CGI scripts. However no amount of fiddling with /usr/local/etc/apache22/envars.d/path.env or adding 'PassEnv PATH' in the apache config or of other similar attempts has made any difference. Neither have I been able to find any solution by grepping through quantities of perl modules. Is there a standard means either for setting the PATH rt applies to commands it invokes, or for supplying a fully qualified path for subsidiary programs it invokes? Cheers, Matthew -- Dr Matthew Seaman The Bunker, Ash Radar Station PGP: 0x60AE908C on servers Marshborough Rd Tel: +44 1304 814890 Sandwich Fax: +44 1304 814899 Kent, CT13 0PL, UK -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 259 bytes Desc: OpenPGP digital signature URL: From ktm at rice.edu Thu Feb 19 08:36:28 2009 From: ktm at rice.edu (Kenneth Marshall) Date: Thu, 19 Feb 2009 07:36:28 -0600 Subject: [rt-users] PATH for executing external programs from RT? In-Reply-To: <499D5F7B.6070502@thebunker.net> References: <499D5F7B.6070502@thebunker.net> Message-ID: <20090219133628.GE14957@it.is.rice.edu> Re-install the GraphViz and GnuPG modules using the correct paths to these programs. Alternatively, you can make a symbolic link from the actual location to where the module is looking for these programs. Cheers, Ken On Thu, Feb 19, 2009 at 01:32:43PM +0000, Matthew Seaman wrote: > > Dear all, > > When I click on 'graph' links in the Ticket display I get an error like so: > > Command 'dot' not found in /bin, /usr/bin at > /usr/local/lib/perl5/site_perl/5.8.9/GraphViz.pm line 1160 Stack: > [/usr/local/lib/perl5/5.8.9/Carp.pm:44] > [/usr/local/lib/perl5/site_perl/5.8.9/IPC/Run.pm:1213] > [/usr/local/lib/perl5/site_perl/5.8.9/IPC/Run.pm:2051] > [/usr/local/lib/perl5/site_perl/5.8.9/IPC/Run.pm:2758] > [/usr/local/lib/perl5/site_perl/5.8.9/IPC/Run.pm:1432] > [/usr/local/lib/perl5/site_perl/5.8.9/GraphViz.pm:1160] > [/usr/local/lib/perl5/site_perl/5.8.9/GraphViz.pm:981] > [/usr/local/share/rt38/html/Ticket/Graphs/Elements/ShowGraph:49] > [/usr/local/share/rt38/html/Ticket/Graphs/Elements/ShowGraph:49] > [/usr/local/share/rt38/html/Ticket/Graphs/index.html:57] > [/usr/local/share/rt38/html/autohandler:311] > > which is entirely understandable as under FreeBSD, dot is installed as > /usr/local/bin/dot : > > # /usr/local/bin/dot -V > dot - Graphviz version 2.20.3 (Mon Feb 16 20:41:15 UTC 2009) > > Similarly, none of the GPG functionality is working and there are many > instances like the following in the log file: > > [Thu Feb 19 13:15:04 2009] [debug]: Probe for GPG failed. Process exitted > with code 13 (/usr/local/lib/perl5/site_perl/5.8.9/RT/Crypt/GnuPG.pm:2362) > [Thu Feb 19 13:15:04 2009] [debug]: RT's GnuPG libraries couldn't > successfully execute gpg. PGP support has been disabled > (/usr/local/lib/perl5/site_perl/5.8.9/RT/Config.pm:350) > > gpg is installed and working just fine, but again -- as /usr/local/bin/gpg: > > :# /usr/local/bin/gpg --version > gpg (GnuPG) 2.0.10 > libgcrypt 1.4.4 > Copyright (C) 2009 Free Software Foundation, Inc. > License GPLv3+: GNU GPL version 3 or later > > This is free software: you are free to change and redistribute it. > There is NO WARRANTY, to the extent permitted by law. > > Home: ~/.gnupg > Supported algorithms: > Pubkey: RSA, ELG, DSA > Cipher: 3DES, CAST5, BLOWFISH, AES, AES192, AES256, TWOFISH > Hash: MD5, SHA1, RIPEMD160, SHA256, SHA384, SHA512, SHA224 > Compression: Uncompressed, ZIP, ZLIB, BZIP2 > > Now, I had thought this was simply down to the environment Apache is > started up with, or that it would pass through to CGI scripts. However > no amount of fiddling with /usr/local/etc/apache22/envars.d/path.env > or adding 'PassEnv PATH' in the apache config or of other similar attempts > has made any difference. Neither have I been able to find any solution by > grepping through quantities of perl modules. > > Is there a standard means either for setting the PATH rt applies to > commands it invokes, or for supplying a fully qualified path for subsidiary > programs it invokes? > > Cheers, > > Matthew > > -- > Dr Matthew Seaman The Bunker, Ash Radar Station > PGP: 0x60AE908C on servers Marshborough Rd > Tel: +44 1304 814890 Sandwich > Fax: +44 1304 814899 Kent, CT13 0PL, UK > > _______________________________________________ > 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 From bashir.jahed at nha.co.za Thu Feb 19 09:16:07 2009 From: bashir.jahed at nha.co.za (Bashir Jahed) Date: Thu, 19 Feb 2009 16:16:07 +0200 Subject: [rt-users] Autocreated on ticket submission - Quert Builder Message-ID: <03D0CD3BAC1F2949B639858D2686296E020E6464@musca.ctn.nha.co.za> Hi Alll, I have a problem that has shown up over the last week. It looks as if every single person who has ever submitted a ticket request has had a user autocreated. These users now how up in query builder when we try and do a search on the owner. Selecting the owner shows every single email address of every person who has ever submitted a support request. Any ideas how to prevent this from happening? RT 3.8.0 Thanks in advance ________________________________ bashir jahed nha | enhance 5 protea road | claremont | 7708 po box 24 | newlands | 7725 telephone +27 (21) 657-2574 mobile +27 (83) 414-0453 facsimile +27 (21) 657-2575 e-mail | messenger bashir.jahed at nha.co.za ________________________________ this message is subject to the disclaimer at www.nha.co.za/disclaimer.asp or disclaimer at nha.co.za -------------- next part -------------- An HTML attachment was scrubbed... URL: From ktm at rice.edu Thu Feb 19 09:18:24 2009 From: ktm at rice.edu (Kenneth Marshall) Date: Thu, 19 Feb 2009 08:18:24 -0600 Subject: [rt-users] Autocreated on ticket submission - Quert Builder In-Reply-To: <03D0CD3BAC1F2949B639858D2686296E020E6464@musca.ctn.nha.co.za> References: <03D0CD3BAC1F2949B639858D2686296E020E6464@musca.ctn.nha.co.za> Message-ID: <20090219141824.GF14957@it.is.rice.edu> Bashir, You need to fix your permissions. Somewhere you are letting every address own a ticket. That is what determines what shows up in the pull-down. Happy hunting. Ken On Thu, Feb 19, 2009 at 04:16:07PM +0200, Bashir Jahed wrote: > Hi Alll, > > > > I have a problem that has shown up over the last week. It looks as if > every single person who has ever submitted a ticket request has had a > user autocreated. These users now how up in query builder when we try > and do a search on the owner. Selecting the owner shows every single > email address of every person who has ever submitted a support request. > > > > Any ideas how to prevent this from happening? > > > > RT 3.8.0 > > > > Thanks in advance > > > > ________________________________ > > bashir jahed > nha | enhance > > > 5 protea road | claremont | 7708 > po box 24 | newlands | 7725 > > > telephone +27 (21) 657-2574 > > mobile +27 (83) 414-0453 > > facsimile +27 (21) 657-2575 > > e-mail | messenger bashir.jahed at nha.co.za > > > ________________________________ > > this message is subject to the disclaimer at > www.nha.co.za/disclaimer.asp or > disclaimer at nha.co.za > > > > > > > _______________________________________________ > 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 From bashir.jahed at nha.co.za Thu Feb 19 09:22:51 2009 From: bashir.jahed at nha.co.za (Bashir Jahed) Date: Thu, 19 Feb 2009 16:22:51 +0200 Subject: [rt-users] Autocreated on ticket submission - Quert Builder In-Reply-To: <20090219141824.GF14957@it.is.rice.edu> References: <03D0CD3BAC1F2949B639858D2686296E020E6464@musca.ctn.nha.co.za> <20090219141824.GF14957@it.is.rice.edu> Message-ID: <03D0CD3BAC1F2949B639858D2686296E020E6471@musca.ctn.nha.co.za> Man how did this happen, all user have ticked "Allow user to access RT" I am assuming this is the permission problem. Problem is how do i disable this....Thousands of email addresses.... -----Original Message----- From: Kenneth Marshall [mailto:ktm at rice.edu] Sent: 19 February 2009 04:18 PM To: Bashir Jahed Cc: rt-users at lists.bestpractical.com Subject: Re: [rt-users] Autocreated on ticket submission - Quert Builder Bashir, You need to fix your permissions. Somewhere you are letting every address own a ticket. That is what determines what shows up in the pull-down. Happy hunting. Ken On Thu, Feb 19, 2009 at 04:16:07PM +0200, Bashir Jahed wrote: > Hi Alll, > > > > I have a problem that has shown up over the last week. It looks as if > every single person who has ever submitted a ticket request has had a > user autocreated. These users now how up in query builder when we try > and do a search on the owner. Selecting the owner shows every single > email address of every person who has ever submitted a support request. > > > > Any ideas how to prevent this from happening? > > > > RT 3.8.0 > > > > Thanks in advance > > > > ________________________________ > > bashir jahed > nha | enhance > > > 5 protea road | claremont | 7708 > po box 24 | newlands | 7725 > > > telephone +27 (21) 657-2574 > > mobile +27 (83) 414-0453 > > facsimile +27 (21) 657-2575 > > e-mail | messenger bashir.jahed at nha.co.za > > > ________________________________ > > this message is subject to the disclaimer at > www.nha.co.za/disclaimer.asp or > disclaimer at nha.co.za > > > > > > > _______________________________________________ > 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 From mike.peachey at jennic.com Thu Feb 19 09:30:40 2009 From: mike.peachey at jennic.com (Mike Peachey) Date: Thu, 19 Feb 2009 14:30:40 +0000 Subject: [rt-users] Autocreated on ticket submission - Quert Builder In-Reply-To: <03D0CD3BAC1F2949B639858D2686296E020E6471@musca.ctn.nha.co.za> References: <03D0CD3BAC1F2949B639858D2686296E020E6464@musca.ctn.nha.co.za> <20090219141824.GF14957@it.is.rice.edu> <03D0CD3BAC1F2949B639858D2686296E020E6471@musca.ctn.nha.co.za> Message-ID: <499D6D10.1060004@jennic.com> Bashir Jahed wrote: > Man how did this happen, all user have ticked "Allow user to access RT" > > I am assuming this is the permission problem. Problem is how do i > disable this....Thousands of email addresses.... I think you're misunderstanding how the system works. In order to raise a ticket, the ticket must have a requestor. If the requestor doesn't exist as a user, the ticket can't be created. If you want someone to be able to create a ticket by email, it must auto-create an account for them based on the e-mail address. What you're seeing is normal behaviour. It would only be a problem if they were all being granted privileged user status (the checkbox for let this user be granted rights). In that case, then they would all show up in a user-selection combo box. -- Kind Regards, __________________________________________________ Mike Peachey, IT Tel: +44 114 281 2655 Fax: +44 114 281 2951 Jennic Ltd, Furnival Street, Sheffield, S1 4QT, UK Comp Reg No: 3191371 - Registered In England http://www.jennic.com __________________________________________________ From bashir.jahed at nha.co.za Thu Feb 19 09:35:21 2009 From: bashir.jahed at nha.co.za (Bashir Jahed) Date: Thu, 19 Feb 2009 16:35:21 +0200 Subject: [rt-users] Autocreated on ticket submission - Quert Builder In-Reply-To: <499D6D10.1060004@jennic.com> References: <03D0CD3BAC1F2949B639858D2686296E020E6464@musca.ctn.nha.co.za> <20090219141824.GF14957@it.is.rice.edu> <03D0CD3BAC1F2949B639858D2686296E020E6471@musca.ctn.nha.co.za> <499D6D10.1060004@jennic.com> Message-ID: <03D0CD3BAC1F2949B639858D2686296E020E6482@musca.ctn.nha.co.za> I have done the following: Checked for a specific user in the search box as owner to confirm it shows up. Then went into the specific user and unchecked "/users/Access Control/Let this user access RT" checkbox and confirmed that the user no longer shows up in the search box in the "Owner Field" They never used to show up and cannot race if anything has happened over the last week. Was on Leave and this was discovered while I was a way and nobody is claiming any responsibility.... So there is now way for me to find out what happened... -----Original Message----- From: Mike Peachey [mailto:mike.peachey at jennic.com] Sent: 19 February 2009 04:31 PM To: Bashir Jahed Cc: Kenneth Marshall; rt-users at lists.bestpractical.com Subject: Re: [rt-users] Autocreated on ticket submission - Quert Builder Bashir Jahed wrote: > Man how did this happen, all user have ticked "Allow user to access RT" > > I am assuming this is the permission problem. Problem is how do i > disable this....Thousands of email addresses.... I think you're misunderstanding how the system works. In order to raise a ticket, the ticket must have a requestor. If the requestor doesn't exist as a user, the ticket can't be created. If you want someone to be able to create a ticket by email, it must auto-create an account for them based on the e-mail address. What you're seeing is normal behaviour. It would only be a problem if they were all being granted privileged user status (the checkbox for let this user be granted rights). In that case, then they would all show up in a user-selection combo box. -- Kind Regards, __________________________________________________ Mike Peachey, IT Tel: +44 114 281 2655 Fax: +44 114 281 2951 Jennic Ltd, Furnival Street, Sheffield, S1 4QT, UK Comp Reg No: 3191371 - Registered In England http://www.jennic.com __________________________________________________ From mike.peachey at jennic.com Thu Feb 19 09:37:02 2009 From: mike.peachey at jennic.com (Mike Peachey) Date: Thu, 19 Feb 2009 14:37:02 +0000 Subject: [rt-users] Autocreated on ticket submission - Quert Builder In-Reply-To: <03D0CD3BAC1F2949B639858D2686296E020E6482@musca.ctn.nha.co.za> References: <03D0CD3BAC1F2949B639858D2686296E020E6464@musca.ctn.nha.co.za> <20090219141824.GF14957@it.is.rice.edu> <03D0CD3BAC1F2949B639858D2686296E020E6471@musca.ctn.nha.co.za> <499D6D10.1060004@jennic.com> <03D0CD3BAC1F2949B639858D2686296E020E6482@musca.ctn.nha.co.za> Message-ID: <499D6E8E.7000802@jennic.com> Bashir Jahed wrote: > I have done the following: > > Checked for a specific user in the search box as owner to confirm it > shows up. Then went into the specific user and unchecked "/users/Access > Control/Let this user access RT" checkbox and confirmed that the user no > longer shows up in the search box in the "Owner Field" Because that user is now disabled and is unable to raise tickets from that e-mail address.. -- Kind Regards, __________________________________________________ Mike Peachey, IT Tel: +44 114 281 2655 Fax: +44 114 281 2951 Jennic Ltd, Furnival Street, Sheffield, S1 4QT, UK Comp Reg No: 3191371 - Registered In England http://www.jennic.com __________________________________________________ From matthew.seaman at thebunker.net Thu Feb 19 10:20:08 2009 From: matthew.seaman at thebunker.net (Matthew Seaman) Date: Thu, 19 Feb 2009 15:20:08 +0000 Subject: [rt-users] PATH for executing external programs from RT? In-Reply-To: <20090219133628.GE14957@it.is.rice.edu> References: <499D5F7B.6070502@thebunker.net> <20090219133628.GE14957@it.is.rice.edu> Message-ID: <499D78A8.3010503@thebunker.net> Kenneth Marshall wrote: > Re-install the GraphViz and GnuPG modules using the correct > paths to these programs. Alternatively, you can make a symbolic > link from the actual location to where the module is looking for > these programs. > Both of those modules use the PATH setting in the environment to find executables. There is no explicit record of where programs were found at installation time. And, no, I'm not going to make a rat's nest of symbolic links everywhere. Fixing the thing that is broken is what is required, and in this case I'd say RT is pretty clearly not doing the right thing. Cheers, Matthew -- Dr Matthew Seaman The Bunker, Ash Radar Station PGP: 0x60AE908C on servers Marshborough Rd Tel: +44 1304 814890 Sandwich Fax: +44 1304 814899 Kent, CT13 0PL, UK -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 259 bytes Desc: OpenPGP digital signature URL: From alberto.villanueva at altran.es Thu Feb 19 10:24:23 2009 From: alberto.villanueva at altran.es (Alberto Villanueva) Date: Thu, 19 Feb 2009 16:24:23 +0100 Subject: [rt-users] Deleted status Message-ID: Hi, Does anyone know if a ticket has 'deleted' status it will be deleted permanently? Thanks! Regards, ALBERTO VILLANUEVA VAL Consultor ____________________________________________ Altran ParqueEmpresarial Las Mercedes, Edificio 1 C/ Campezo, 1. 28022 Madrid Tel : + 34 91 744 46 00 Fax: + 34 91 415 24 57 www.altran.es -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: image001.jpg Type: image/jpeg Size: 3874 bytes Desc: not available URL: From chrisb at gourmettrading.net Thu Feb 19 10:27:28 2009 From: chrisb at gourmettrading.net (Chris Black) Date: Thu, 19 Feb 2009 07:27:28 -0800 Subject: [rt-users] WebService for RT? Message-ID: Has anyone ever written a webservice or something to remotely create and update tickets? I have a few ideas where I need an external system to check, create and update RT tickets. I have done this in the past with the SSH and local scripts, but I would rather not have to do that with this solution. Thanks for you suggestions or help! -------------- next part -------------- An HTML attachment was scrubbed... URL: From barnesaw at ucrwcu.rwc.uc.edu Thu Feb 19 10:32:17 2009 From: barnesaw at ucrwcu.rwc.uc.edu (Drew Barnes) Date: Thu, 19 Feb 2009 10:32:17 -0500 Subject: [rt-users] Deleted status In-Reply-To: References: Message-ID: <499D7B81.2060504@ucrwcu.rwc.uc.edu> Nope, it will still exist in the database and will still be viewable if someone knows the id. The only way to truly delete is to use Shredder. Alberto Villanueva wrote: > > Hi, > > Does anyone know if a ticket has ?deleted? status it will be deleted > permanently? > > Thanks! > > Regards, > > > ALBERTO VILLANUEVA VAL > > Consultor > > ____________________________________________ > > *Altran* > > ParqueEmpresarial Las Mercedes, Edificio 1 > C/ Campezo, 1. 28022 Madrid > Tel : + 34 91 744 46 00 > Fax: + 34 91 415 24 57 > > www.altran.es > > ------------------------------------------------------------------------ > > _______________________________________________ > 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 -- Drew Barnes Applications Analyst Network Resources Department Raymond Walters College University of Cincinnati From matthew.seaman at thebunker.net Thu Feb 19 10:36:30 2009 From: matthew.seaman at thebunker.net (Matthew Seaman) Date: Thu, 19 Feb 2009 15:36:30 +0000 Subject: [rt-users] PATH for executing external programs from RT? In-Reply-To: <499D78A8.3010503@thebunker.net> References: <499D5F7B.6070502@thebunker.net> <20090219133628.GE14957@it.is.rice.edu> <499D78A8.3010503@thebunker.net> Message-ID: <499D7C7E.5000302@thebunker.net> Matthew Seaman wrote: > Kenneth Marshall wrote: >> Re-install the GraphViz and GnuPG modules using the correct >> paths to these programs. Alternatively, you can make a symbolic >> link from the actual location to where the module is looking for >> these programs. >> > > Both of those modules use the PATH setting in the environment to find > executables. There is no explicit record of where programs were found > at installation time. > > And, no, I'm not going to make a rat's nest of symbolic links everywhere. > Fixing the thing that is broken is what is required, and in this case > I'd say RT is pretty clearly not doing the right thing. > A hah! Found it. splenetic:/usr/local/bin:# diff -u webmux.pl{.save,} --- webmux.pl.save 2009-02-16 15:49:57.000000000 +0000 +++ webmux.pl 2009-02-19 15:21:01.000000000 +0000 @@ -49,7 +49,7 @@ use strict; BEGIN { - $ENV{'PATH'} = '/bin:/usr/bin'; # or whatever you need + $ENV{'PATH'} = '/bin:/usr/bin:/usr/local/bin'; # or whatever you need $ENV{'CDPATH'} = '' if defined $ENV{'CDPATH'}; $ENV{'SHELL'} = '/bin/sh' if defined $ENV{'SHELL'}; $ENV{'ENV'} = '' if defined $ENV{'ENV'}; Now the graph links work, and the GPG links are actually showing up. Definately one for the FreeBSD port even if not accepted upstream. Cheers, Matthew -- Dr Matthew Seaman The Bunker, Ash Radar Station PGP: 0x60AE908C on servers Marshborough Rd Tel: +44 1304 814890 Sandwich Fax: +44 1304 814899 Kent, CT13 0PL, UK -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 259 bytes Desc: OpenPGP digital signature URL: From alberto.villanueva at altran.es Thu Feb 19 10:40:46 2009 From: alberto.villanueva at altran.es (Alberto Villanueva) Date: Thu, 19 Feb 2009 16:40:46 +0100 Subject: [rt-users] Deleted status In-Reply-To: <499D7B81.2060504@ucrwcu.rwc.uc.edu> References: <499D7B81.2060504@ucrwcu.rwc.uc.edu> Message-ID: Thanks!! I thought that :) Now, if I want to delete several tickets by id, could it be done on shredder? I doesn't accept queries :( Regards, ALBERTO VILLANUEVA VAL Consultor ____________________________________________ Altran ParqueEmpresarial Las Mercedes, Edificio 1 C/ Campezo, 1. 28022 Madrid Tel : + 34 91 744 46 00 Fax: + 34 91 415 24 57 www.altran.es -----Mensaje original----- De: Drew Barnes [mailto:barnesaw at ucrwcu.rwc.uc.edu] Enviado el: jueves, 19 de febrero de 2009 16:32 Para: Alberto Villanueva CC: rt-users at lists.bestpractical.com Asunto: Re: [rt-users] Deleted status Nope, it will still exist in the database and will still be viewable if someone knows the id. The only way to truly delete is to use Shredder. Alberto Villanueva wrote: > > Hi, > > Does anyone know if a ticket has 'deleted' status it will be deleted > permanently? > > Thanks! > > Regards, > > > ALBERTO VILLANUEVA VAL > > Consultor > > ____________________________________________ > > *Altran* > > ParqueEmpresarial Las Mercedes, Edificio 1 > C/ Campezo, 1. 28022 Madrid > Tel : + 34 91 744 46 00 > Fax: + 34 91 415 24 57 > > www.altran.es > > ------------------------------------------------------------------------ > > _______________________________________________ > 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 -- Drew Barnes Applications Analyst Network Resources Department Raymond Walters College University of Cincinnati From todd at chaka.net Thu Feb 19 10:44:50 2009 From: todd at chaka.net (Todd Chapman) Date: Thu, 19 Feb 2009 10:44:50 -0500 Subject: [rt-users] RT 3.8 mangles html attachment Message-ID: <519782dc0902190744hd06431at262b206e5911dabf@mail.gmail.com> We have an RT instance in a trusted environment. I have the following in RT_SiteConfig.pm: Set($TrustHTMLAttachments, 1); Set($PreferRichText, 1); Set($MaxAttachmentSize , 10000000); I even turned of the HTML scrubber, yet when I attach an html file to a ticket and then save it back to my filesystem, the md5sum is changed. This doesn't happen for other file types. Anyone know what it going on? Thanks! -------------- next part -------------- An HTML attachment was scrubbed... URL: From jesse at bestpractical.com Thu Feb 19 10:47:07 2009 From: jesse at bestpractical.com (Jesse Vincent) Date: Thu, 19 Feb 2009 10:47:07 -0500 Subject: [rt-users] RT 3.8 mangles html attachment In-Reply-To: <519782dc0902190744hd06431at262b206e5911dabf@mail.gmail.com> References: <519782dc0902190744hd06431at262b206e5911dabf@mail.gmail.com> Message-ID: <20090219154707.GE4538@bestpractical.com> On Thu, Feb 19, 2009 at 10:44:50AM -0500, Todd Chapman wrote: > We have an RT instance in a trusted environment. I have the following in > RT_SiteConfig.pm: > > Set($TrustHTMLAttachments, 1); > Set($PreferRichText, 1); > Set($MaxAttachmentSize , 10000000); > > I even turned of the HTML scrubber, yet when I attach an html file to a > ticket and then save it back to my filesystem, the md5sum is changed. md5sum changed and "mangled" are hardly the same thing. But yes, RT canonicalizes text to UTF8 as it comes in. From todd at chaka.net Thu Feb 19 10:49:11 2009 From: todd at chaka.net (Todd Chapman) Date: Thu, 19 Feb 2009 10:49:11 -0500 Subject: [rt-users] RT 3.8 mangles html attachment In-Reply-To: <20090219154707.GE4538@bestpractical.com> References: <519782dc0902190744hd06431at262b206e5911dabf@mail.gmail.com> <20090219154707.GE4538@bestpractical.com> Message-ID: <519782dc0902190749k8097450q19c955cec9027d42@mail.gmail.com> Thanks for the reply Jessee, The html no longer displays correctly in the browser after canonicalization. Suggestions? On Thu, Feb 19, 2009 at 10:47 AM, Jesse Vincent wrote: > > > > On Thu, Feb 19, 2009 at 10:44:50AM -0500, Todd Chapman wrote: > > We have an RT instance in a trusted environment. I have the following in > > RT_SiteConfig.pm: > > > > Set($TrustHTMLAttachments, 1); > > Set($PreferRichText, 1); > > Set($MaxAttachmentSize , 10000000); > > > > I even turned of the HTML scrubber, yet when I attach an html file to a > > ticket and then save it back to my filesystem, the md5sum is changed. > > md5sum changed and "mangled" are hardly the same thing. But yes, RT > canonicalizes text to UTF8 as it comes in. > > -------------- next part -------------- An HTML attachment was scrubbed... URL: From alberto.villanueva at altran.es Thu Feb 19 10:49:40 2009 From: alberto.villanueva at altran.es (Alberto Villanueva) Date: Thu, 19 Feb 2009 16:49:40 +0100 Subject: [rt-users] Deleted status In-Reply-To: References: <499D7B81.2060504@ucrwcu.rwc.uc.edu> Message-ID: I have a possible solution: - Select tickets - Change to "deleted" status - Remove to "shredder" Regards, ALBERTO VILLANUEVA VAL Consultor ____________________________________________ Altran ParqueEmpresarial Las Mercedes, Edificio 1 C/ Campezo, 1. 28022 Madrid Tel : + 34 91 744 46 00 Fax: + 34 91 415 24 57 www.altran.es -----Mensaje original----- De: rt-users-bounces at lists.bestpractical.com [mailto:rt-users-bounces at lists.bestpractical.com] En nombre de Alberto Villanueva Enviado el: jueves, 19 de febrero de 2009 16:41 Para: 'Drew Barnes' CC: rt-users at lists.bestpractical.com Asunto: Re: [rt-users] Deleted status Thanks!! I thought that :) Now, if I want to delete several tickets by id, could it be done on shredder? I doesn't accept queries :( Regards, ALBERTO VILLANUEVA VAL Consultor ____________________________________________ Altran ParqueEmpresarial Las Mercedes, Edificio 1 C/ Campezo, 1. 28022 Madrid Tel : + 34 91 744 46 00 Fax: + 34 91 415 24 57 www.altran.es -----Mensaje original----- De: Drew Barnes [mailto:barnesaw at ucrwcu.rwc.uc.edu] Enviado el: jueves, 19 de febrero de 2009 16:32 Para: Alberto Villanueva CC: rt-users at lists.bestpractical.com Asunto: Re: [rt-users] Deleted status Nope, it will still exist in the database and will still be viewable if someone knows the id. The only way to truly delete is to use Shredder. Alberto Villanueva wrote: > > Hi, > > Does anyone know if a ticket has 'deleted' status it will be deleted > permanently? > > Thanks! > > Regards, > > > ALBERTO VILLANUEVA VAL > > Consultor > > ____________________________________________ > > *Altran* > > ParqueEmpresarial Las Mercedes, Edificio 1 > C/ Campezo, 1. 28022 Madrid > Tel : + 34 91 744 46 00 > Fax: + 34 91 415 24 57 > > www.altran.es > > ------------------------------------------------------------------------ > > _______________________________________________ > 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 -- Drew Barnes Applications Analyst Network Resources Department 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 From chrisb at gourmettrading.net Thu Feb 19 10:49:31 2009 From: chrisb at gourmettrading.net (Chris Black) Date: Thu, 19 Feb 2009 07:49:31 -0800 Subject: [rt-users] WebService for RT? In-Reply-To: <499D7AF9.50407@fullnet.co.uk> References: <499D7AF9.50407@fullnet.co.uk> Message-ID: Thanks. This looks like a good solution, however I need something that can give me back the Ticket ID and other information immediately. Having to wait for an email reply from RT to confirm the changes, etc would not be ideal. Thanks! On Feb 19, 2009, at 7:30 AM, Kobus Bensch - No Sig wrote: > Hi > > Enable and use the commands by email option. > > Kobus From racke at linuxia.de Thu Feb 19 11:03:20 2009 From: racke at linuxia.de (Stefan Hornburg) Date: Thu, 19 Feb 2009 17:03:20 +0100 Subject: [rt-users] WebService for RT? In-Reply-To: References: <499D7AF9.50407@fullnet.co.uk> Message-ID: <499D82C8.3070004@linuxia.de> Chris Black wrote: > Thanks. This looks like a good solution, however I need something that > can give me back the Ticket ID and other information immediately. > Having to wait for an email reply from RT to confirm the changes, etc > would not be ideal. > The REST interface just gives you the information back immediately if you don't count HTTP roundtrip time. Regards Racke -- LinuXia Systems => http://www.linuxia.de/ Expert Interchange Consulting and System Administration ICDEVGROUP => http://www.icdevgroup.org/ Interchange Development Team From jesse at bestpractical.com Thu Feb 19 11:05:14 2009 From: jesse at bestpractical.com (Jesse Vincent) Date: Thu, 19 Feb 2009 11:05:14 -0500 Subject: [rt-users] RT 3.8 mangles html attachment In-Reply-To: <519782dc0902190749k8097450q19c955cec9027d42@mail.gmail.com> References: <519782dc0902190744hd06431at262b206e5911dabf@mail.gmail.com> <20090219154707.GE4538@bestpractical.com> <519782dc0902190749k8097450q19c955cec9027d42@mail.gmail.com> Message-ID: <20090219160514.GN53289@17h.local> On Thu 19.Feb'09 at 10:49:11 -0500, Todd Chapman wrote: > Thanks for the reply Jessee, > > The html no longer displays correctly in the browser after > canonicalization. Suggestions? What do you mean "no longer displays correctly"? From todd at chaka.net Thu Feb 19 11:11:13 2009 From: todd at chaka.net (Todd Chapman) Date: Thu, 19 Feb 2009 11:11:13 -0500 Subject: [rt-users] RT 3.8 mangles html attachment In-Reply-To: <20090219160514.GN53289@17h.local> References: <519782dc0902190744hd06431at262b206e5911dabf@mail.gmail.com> <20090219154707.GE4538@bestpractical.com> <519782dc0902190749k8097450q19c955cec9027d42@mail.gmail.com> <20090219160514.GN53289@17h.local> Message-ID: <519782dc0902190811v14e6c752u94274f26bafdafce@mail.gmail.com> The original file when opened up in a browser looks like a formatted web page. After processing by RT the file look like it is rendered as what looks like plain text in Safari. In Firefox there are a bunch of weird question mark characters representing the spaces between characters. FF's page info says it's a type = "text/html" and encoding = UTF-8. On Thu, Feb 19, 2009 at 11:05 AM, Jesse Vincent wrote: > > On Thu 19.Feb'09 at 10:49:11 -0500, Todd Chapman wrote: > > Thanks for the reply Jessee, > > > > The html no longer displays correctly in the browser after > > canonicalization. Suggestions? > > What do you mean "no longer displays correctly"? > -------------- next part -------------- An HTML attachment was scrubbed... URL: From todd at chaka.net Thu Feb 19 11:34:38 2009 From: todd at chaka.net (Todd Chapman) Date: Thu, 19 Feb 2009 11:34:38 -0500 Subject: [rt-users] Forward an entire ticket to an outside email address. In-Reply-To: <499C99F5.8070508@abshernw.com> References: <499C99F5.8070508@abshernw.com> Message-ID: <519782dc0902190834p4c11db04l99e91bf45b33c005@mail.gmail.com> That's a feature of RT 3.8. On Wed, Feb 18, 2009 at 6:29 PM, Chris Crow wrote: > I have a quick question about RT. > > We have a group of technicians that work entirely from the RT's web > interface, so they never see any email. This works great, but they want > a way to forward a ticket, including any attachments, to an outside > email address. > > I have no idea how to get this accomplished, my first thought was to > write a perl script that would send the ticket log and attachment to an > email address of choice. I'm a intermediate perl programmer on a good > day, so I was wondering if anyone had any better ideas. > > Thanks in advance, > > Chris > > Also, everyone at my company loves RT, it has changed the way we do > 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 > -------------- next part -------------- An HTML attachment was scrubbed... URL: From jesse at bestpractical.com Thu Feb 19 11:35:50 2009 From: jesse at bestpractical.com (Jesse Vincent) Date: Thu, 19 Feb 2009 11:35:50 -0500 Subject: [rt-users] RT 3.8 mangles html attachment In-Reply-To: <519782dc0902190833l190563d7td1a133c50b7a7f21@mail.gmail.com> References: <519782dc0902190744hd06431at262b206e5911dabf@mail.gmail.com> <20090219154707.GE4538@bestpractical.com> <519782dc0902190749k8097450q19c955cec9027d42@mail.gmail.com> <20090219160514.GN53289@17h.local> <519782dc0902190811v14e6c752u94274f26bafdafce@mail.gmail.com> <519782dc0902190833l190563d7td1a133c50b7a7f21@mail.gmail.com> Message-ID: <20090219163550.GR53289@17h.local> On Thu 19.Feb'09 at 11:33:25 -0500, Todd Chapman wrote: > Correction, the weird question mark characters are between every character > in the original document. Like so: > > ? ? ? References: <499C99F5.8070508@abshernw.com> <519782dc0902190834p4c11db04l99e91bf45b33c005@mail.gmail.com> Message-ID: <519782dc0902190836w1bb7e1efp14a0d18afbfbe7f@mail.gmail.com> Actually, you can't forward a whole ticket, but you can forward a comment or correspondence. On Thu, Feb 19, 2009 at 11:34 AM, Todd Chapman wrote: > That's a feature of RT 3.8. > > > On Wed, Feb 18, 2009 at 6:29 PM, Chris Crow wrote: > >> I have a quick question about RT. >> >> We have a group of technicians that work entirely from the RT's web >> interface, so they never see any email. This works great, but they want >> a way to forward a ticket, including any attachments, to an outside >> email address. >> >> I have no idea how to get this accomplished, my first thought was to >> write a perl script that would send the ticket log and attachment to an >> email address of choice. I'm a intermediate perl programmer on a good >> day, so I was wondering if anyone had any better ideas. >> >> Thanks in advance, >> >> Chris >> >> Also, everyone at my company loves RT, it has changed the way we do >> 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 >> > > -------------- next part -------------- An HTML attachment was scrubbed... URL: From todd at chaka.net Thu Feb 19 11:40:28 2009 From: todd at chaka.net (Todd Chapman) Date: Thu, 19 Feb 2009 11:40:28 -0500 Subject: [rt-users] RT 3.8 mangles html attachment In-Reply-To: <20090219163550.GR53289@17h.local> References: <519782dc0902190744hd06431at262b206e5911dabf@mail.gmail.com> <20090219154707.GE4538@bestpractical.com> <519782dc0902190749k8097450q19c955cec9027d42@mail.gmail.com> <20090219160514.GN53289@17h.local> <519782dc0902190811v14e6c752u94274f26bafdafce@mail.gmail.com> <519782dc0902190833l190563d7td1a133c50b7a7f21@mail.gmail.com> <20090219163550.GR53289@17h.local> Message-ID: <519782dc0902190840i1d95d242h7c89413f68789409@mail.gmail.com> Jesse, That does not appear to be the case. Can I send the original file directly to you? On Thu, Feb 19, 2009 at 11:35 AM, Jesse Vincent wrote: > > > > On Thu 19.Feb'09 at 11:33:25 -0500, Todd Chapman wrote: > > Correction, the weird question mark characters are between every > character > > in the original document. Like so: > > > > ? ? ? > Fascinating. Does it do this with all html attachments? > -------------- next part -------------- An HTML attachment was scrubbed... URL: From todd at chaka.net Thu Feb 19 11:33:25 2009 From: todd at chaka.net (Todd Chapman) Date: Thu, 19 Feb 2009 11:33:25 -0500 Subject: [rt-users] RT 3.8 mangles html attachment In-Reply-To: <519782dc0902190811v14e6c752u94274f26bafdafce@mail.gmail.com> References: <519782dc0902190744hd06431at262b206e5911dabf@mail.gmail.com> <20090219154707.GE4538@bestpractical.com> <519782dc0902190749k8097450q19c955cec9027d42@mail.gmail.com> <20090219160514.GN53289@17h.local> <519782dc0902190811v14e6c752u94274f26bafdafce@mail.gmail.com> Message-ID: <519782dc0902190833l190563d7td1a133c50b7a7f21@mail.gmail.com> Correction, the weird question mark characters are between every character in the original document. Like so: ? ? ?? ? ?? ? ?? ? ?? ? ? wrote: > The original file when opened up in a browser looks like a formatted web > page. After processing by RT the file look like it is rendered as what looks > like plain text in Safari. In Firefox there are a bunch of weird question > mark characters representing the spaces between characters. FF's page info > says it's a type = "text/html" and encoding = UTF-8. > > > On Thu, Feb 19, 2009 at 11:05 AM, Jesse Vincent wrote: > >> >> On Thu 19.Feb'09 at 10:49:11 -0500, Todd Chapman wrote: >> > Thanks for the reply Jessee, >> > >> > The html no longer displays correctly in the browser after >> > canonicalization. Suggestions? >> >> What do you mean "no longer displays correctly"? >> > > -------------- next part -------------- An HTML attachment was scrubbed... URL: From racke at linuxia.de Thu Feb 19 10:50:03 2009 From: racke at linuxia.de (Stefan Hornburg) Date: Thu, 19 Feb 2009 16:50:03 +0100 Subject: [rt-users] WebService for RT? In-Reply-To: References: Message-ID: <499D7FAB.1020907@linuxia.de> Chris Black wrote: > Has anyone ever written a webservice or something to remotely create and > update tickets? I have a few ideas where I need an external system to > check, create and update RT tickets. > > I have done this in the past with the SSH and local scripts, but I would > rather not have to do that with this solution. There is a REST interface and a corresponding Perl module (though that might be a bit outdated with 3.8). Regards Racke -- LinuXia Systems => http://www.linuxia.de/ Expert Interchange Consulting and System Administration ICDEVGROUP => http://www.icdevgroup.org/ Interchange Development Team From todd at chaka.net Thu Feb 19 11:42:42 2009 From: todd at chaka.net (Todd Chapman) Date: Thu, 19 Feb 2009 11:42:42 -0500 Subject: [rt-users] RT 3.8 mangles html attachment In-Reply-To: <20090219163550.GR53289@17h.local> References: <519782dc0902190744hd06431at262b206e5911dabf@mail.gmail.com> <20090219154707.GE4538@bestpractical.com> <519782dc0902190749k8097450q19c955cec9027d42@mail.gmail.com> <20090219160514.GN53289@17h.local> <519782dc0902190811v14e6c752u94274f26bafdafce@mail.gmail.com> <519782dc0902190833l190563d7td1a133c50b7a7f21@mail.gmail.com> <20090219163550.GR53289@17h.local> Message-ID: <519782dc0902190842i486f1723wa51fd776ca6fe9a4@mail.gmail.com> According to FF the original file has an encoding of UTF-16LE. It was generated by Word. (I know, I know) On Thu, Feb 19, 2009 at 11:35 AM, Jesse Vincent wrote: > > > > On Thu 19.Feb'09 at 11:33:25 -0500, Todd Chapman wrote: > > Correction, the weird question mark characters are between every > character > > in the original document. Like so: > > > > ? ? ? > Fascinating. Does it do this with all html attachments? > -------------- next part -------------- An HTML attachment was scrubbed... URL: From ktm at rice.edu Thu Feb 19 11:44:43 2009 From: ktm at rice.edu (Kenneth Marshall) Date: Thu, 19 Feb 2009 10:44:43 -0600 Subject: [rt-users] PATH for executing external programs from RT? In-Reply-To: <499D7C7E.5000302@thebunker.net> References: <499D5F7B.6070502@thebunker.net> <20090219133628.GE14957@it.is.rice.edu> <499D78A8.3010503@thebunker.net> <499D7C7E.5000302@thebunker.net> Message-ID: <20090219164443.GG14957@it.is.rice.edu> I just assumed that the values were hardcoded and not something that changing your PATH setting would affect. Since that is the case, this is the appropriate change. I am glad you fixed it. Cheers, Ken On Thu, Feb 19, 2009 at 03:36:30PM +0000, Matthew Seaman wrote: > Matthew Seaman wrote: >> Kenneth Marshall wrote: >>> Re-install the GraphViz and GnuPG modules using the correct >>> paths to these programs. Alternatively, you can make a symbolic >>> link from the actual location to where the module is looking for >>> these programs. >>> >> Both of those modules use the PATH setting in the environment to find >> executables. There is no explicit record of where programs were found at >> installation time. >> And, no, I'm not going to make a rat's nest of symbolic links everywhere. >> Fixing the thing that is broken is what is required, and in this case I'd >> say RT is pretty clearly not doing the right thing. > > A hah! Found it. > > splenetic:/usr/local/bin:# diff -u webmux.pl{.save,} > --- webmux.pl.save 2009-02-16 15:49:57.000000000 +0000 > +++ webmux.pl 2009-02-19 15:21:01.000000000 +0000 > @@ -49,7 +49,7 @@ > use strict; > > BEGIN { > - $ENV{'PATH'} = '/bin:/usr/bin'; # or whatever > you need > + $ENV{'PATH'} = '/bin:/usr/bin:/usr/local/bin'; # or whatever you > need > $ENV{'CDPATH'} = '' if defined $ENV{'CDPATH'}; > $ENV{'SHELL'} = '/bin/sh' if defined $ENV{'SHELL'}; > $ENV{'ENV'} = '' if defined $ENV{'ENV'}; > > Now the graph links work, and the GPG links are actually showing up. > Definately one for the FreeBSD port even if not accepted upstream. > > Cheers, > > Matthew > > -- > Dr Matthew Seaman The Bunker, Ash Radar Station > PGP: 0x60AE908C on servers Marshborough Rd > Tel: +44 1304 814890 Sandwich > Fax: +44 1304 814899 Kent, CT13 0PL, UK > From jesse at bestpractical.com Thu Feb 19 11:45:32 2009 From: jesse at bestpractical.com (Jesse Vincent) Date: Thu, 19 Feb 2009 11:45:32 -0500 Subject: [rt-users] RT 3.8 mangles html attachment In-Reply-To: <519782dc0902190842i486f1723wa51fd776ca6fe9a4@mail.gmail.com> References: <519782dc0902190744hd06431at262b206e5911dabf@mail.gmail.com> <20090219154707.GE4538@bestpractical.com> <519782dc0902190749k8097450q19c955cec9027d42@mail.gmail.com> <20090219160514.GN53289@17h.local> <519782dc0902190811v14e6c752u94274f26bafdafce@mail.gmail.com> <519782dc0902190833l190563d7td1a133c50b7a7f21@mail.gmail.com> <20090219163550.GR53289@17h.local> <519782dc0902190842i486f1723wa51fd776ca6fe9a4@mail.gmail.com> Message-ID: <20090219164532.GV53289@17h.local> On Thu 19.Feb'09 at 11:42:42 -0500, Todd Chapman wrote: > According to FF the original file has an encoding of UTF-16LE. It was > generated by Word. (I know, I know) Now we're getting somewhere. Was it attached to a mail as an attachment? If so, what do the headers for the original attachment look like as they hit RT. If not, how did it get into RT? From jesse at bestpractical.com Thu Feb 19 11:45:57 2009 From: jesse at bestpractical.com (Jesse Vincent) Date: Thu, 19 Feb 2009 11:45:57 -0500 Subject: [rt-users] WebService for RT? In-Reply-To: <499D7FAB.1020907@linuxia.de> References: <499D7FAB.1020907@linuxia.de> Message-ID: <20090219164557.GW53289@17h.local> On Thu 19.Feb'09 at 16:50:03 +0100, Stefan Hornburg wrote: > There is a REST interface and a corresponding Perl module (though that > might be a bit outdated with 3.8). I'm using RT::Client::REST against 3.8.2 just fine. From todd at chaka.net Thu Feb 19 11:54:35 2009 From: todd at chaka.net (Todd Chapman) Date: Thu, 19 Feb 2009 11:54:35 -0500 Subject: [rt-users] RT 3.8 mangles html attachment In-Reply-To: <20090219164532.GV53289@17h.local> References: <519782dc0902190744hd06431at262b206e5911dabf@mail.gmail.com> <20090219154707.GE4538@bestpractical.com> <519782dc0902190749k8097450q19c955cec9027d42@mail.gmail.com> <20090219160514.GN53289@17h.local> <519782dc0902190811v14e6c752u94274f26bafdafce@mail.gmail.com> <519782dc0902190833l190563d7td1a133c50b7a7f21@mail.gmail.com> <20090219163550.GR53289@17h.local> <519782dc0902190842i486f1723wa51fd776ca6fe9a4@mail.gmail.com> <20090219164532.GV53289@17h.local> Message-ID: <519782dc0902190854o55596e56j6dd26344a504f7ab@mail.gmail.com> It was attached using the web interface. On Thu, Feb 19, 2009 at 11:45 AM, Jesse Vincent wrote: > > > > On Thu 19.Feb'09 at 11:42:42 -0500, Todd Chapman wrote: > > According to FF the original file has an encoding of UTF-16LE. It was > > generated by Word. (I know, I know) > > Now we're getting somewhere. Was it attached to a mail as an > attachment? If so, what do the headers for the original attachment look > like as they hit RT. If not, how did it get into RT? > -------------- next part -------------- An HTML attachment was scrubbed... URL: From todd at chaka.net Thu Feb 19 11:55:19 2009 From: todd at chaka.net (Todd Chapman) Date: Thu, 19 Feb 2009 11:55:19 -0500 Subject: [rt-users] RT 3.8 mangles html attachment In-Reply-To: <20090219164532.GV53289@17h.local> References: <519782dc0902190744hd06431at262b206e5911dabf@mail.gmail.com> <20090219154707.GE4538@bestpractical.com> <519782dc0902190749k8097450q19c955cec9027d42@mail.gmail.com> <20090219160514.GN53289@17h.local> <519782dc0902190811v14e6c752u94274f26bafdafce@mail.gmail.com> <519782dc0902190833l190563d7td1a133c50b7a7f21@mail.gmail.com> <20090219163550.GR53289@17h.local> <519782dc0902190842i486f1723wa51fd776ca6fe9a4@mail.gmail.com> <20090219164532.GV53289@17h.local> Message-ID: <519782dc0902190855l18a2e166xfd297d61efd3baf8@mail.gmail.com> It was attached in the web interface on the Create.html page. (Not a custom field) On Thu, Feb 19, 2009 at 11:45 AM, Jesse Vincent wrote: > > > > On Thu 19.Feb'09 at 11:42:42 -0500, Todd Chapman wrote: > > According to FF the original file has an encoding of UTF-16LE. It was > > generated by Word. (I know, I know) > > Now we're getting somewhere. Was it attached to a mail as an > attachment? If so, what do the headers for the original attachment look > like as they hit RT. If not, how did it get into RT? > -------------- next part -------------- An HTML attachment was scrubbed... URL: From jesse at bestpractical.com Thu Feb 19 11:59:48 2009 From: jesse at bestpractical.com (Jesse Vincent) Date: Thu, 19 Feb 2009 11:59:48 -0500 Subject: [rt-users] a question about rigths In-Reply-To: References: Message-ID: <20090219165948.GZ53289@17h.local> > > > I have a question: "OwnTicket" right involves "StealTicket"?? StealTicket means you can take ownership of a ticket someone else owns. OwnTicket is "who's allowed to own the ticket at all" From alberto.villanueva at altran.es Thu Feb 19 12:10:38 2009 From: alberto.villanueva at altran.es (Alberto Villanueva) Date: Thu, 19 Feb 2009 18:10:38 +0100 Subject: [rt-users] a question about rigths In-Reply-To: <20090219165948.GZ53289@17h.local> References: <20090219165948.GZ53289@17h.local> Message-ID: Hi! Thanks by the answer ;) But... I have granted the "take" permission to my users..., and they can steal tickets!! :( :( Any idea? Regards, ALBERTO VILLANUEVA VAL Consultor ____________________________________________ Altran ParqueEmpresarial Las Mercedes, Edificio 1 C/ Campezo, 1. 28022 Madrid Tel : + 34 91 744 46 00 Fax: + 34 91 415 24 57 www.altran.es -----Mensaje original----- De: Jesse Vincent [mailto:jesse at bestpractical.com] Enviado el: jueves, 19 de febrero de 2009 18:00 Para: Alberto Villanueva CC: rt-users at lists.bestpractical.com Asunto: Re: [rt-users] a question about rigths > > > I have a question: "OwnTicket" right involves "StealTicket"?? StealTicket means you can take ownership of a ticket someone else owns. OwnTicket is "who's allowed to own the ticket at all" From jesse at bestpractical.com Thu Feb 19 12:29:40 2009 From: jesse at bestpractical.com (Jesse Vincent) Date: Thu, 19 Feb 2009 12:29:40 -0500 Subject: [rt-users] RT 3.8 mangles html attachment In-Reply-To: <519782dc0902190855l18a2e166xfd297d61efd3baf8@mail.gmail.com> References: <519782dc0902190744hd06431at262b206e5911dabf@mail.gmail.com> <20090219154707.GE4538@bestpractical.com> <519782dc0902190749k8097450q19c955cec9027d42@mail.gmail.com> <20090219160514.GN53289@17h.local> <519782dc0902190811v14e6c752u94274f26bafdafce@mail.gmail.com> <519782dc0902190833l190563d7td1a133c50b7a7f21@mail.gmail.com> <20090219163550.GR53289@17h.local> <519782dc0902190842i486f1723wa51fd776ca6fe9a4@mail.gmail.com> <20090219164532.GV53289@17h.local> <519782dc0902190855l18a2e166xfd297d61efd3baf8@mail.gmail.com> Message-ID: <20090219172940.GD53289@17h.local> On Thu 19.Feb'09 at 11:55:19 -0500, Todd Chapman wrote: > It was attached in the web interface on the Create.html page. (Not a > custom field) And what headers is RT serving it out with? Is RT announcing it as utf8? Is that stored in the database as content-type? If you save the raw data from RT to disk and open it in a browser, does it render correctly? (Use wget, not your browser to save it. The browser could corrupt it) > > On Thu, Feb 19, 2009 at 11:45 AM, Jesse Vincent > <[1]jesse at bestpractical.com> wrote: > > On Thu 19.Feb'09 at 11:42:42 -0500, Todd Chapman wrote: > > According to FF the original file has an encoding of UTF-16LE. It > was > > generated by Word. (I know, I know) > > Now we're getting somewhere. Was it attached to a mail as an > attachment? If so, what do the headers for the original attachment look > like as they hit RT. If not, how did it get into RT? > > References > > Visible links > 1. mailto:jesse at bestpractical.com -- From jrhett at netconsonance.com Thu Feb 19 12:35:23 2009 From: jrhett at netconsonance.com (Jo Rhett) Date: Thu, 19 Feb 2009 09:35:23 -0800 Subject: [rt-users] changed site to SSL -- no username/password prompt? Message-ID: <0F360F6D-D697-4A2B-82E2-92CFA935251F@netconsonance.com> This is probably FAQ but I've been searching and coming up dry. We changed the site to SSL. Setup the apache vhost correctly. Changed the webbaseurl in RT_SiteConfig. Changed the mailgate aliases. Stopped apache and cleared the mason cache. It's working just fine in an Apache sense. Mailgate is working fine and submitting tickets. We're getting notifications about new tickets and updated tickets. ...but we can't login. The login page has no username/password prompt. The login page is otherwise whole and displays correctly. There's just no username/password prompt. No where to enter our login information. -- Jo Rhett Net Consonance : consonant endings by net philanthropy, open source and other randomness From jrhett at netconsonance.com Thu Feb 19 12:53:32 2009 From: jrhett at netconsonance.com (Jo Rhett) Date: Thu, 19 Feb 2009 09:53:32 -0800 Subject: [rt-users] changed site to SSL -- no username/password prompt? In-Reply-To: <0F360F6D-D697-4A2B-82E2-92CFA935251F@netconsonance.com> References: <0F360F6D-D697-4A2B-82E2-92CFA935251F@netconsonance.com> Message-ID: <193A14F6-AC47-4D9B-BFEA-3638070F380E@netconsonance.com> In specific, the titlebox content is empty.
Login 3.8.2

On Feb 19, 2009, at 9:35 AM, Jo Rhett wrote: > This is probably FAQ but I've been searching and coming up dry. > > We changed the site to SSL. Setup the apache vhost correctly. > Changed the webbaseurl in RT_SiteConfig. Changed the mailgate > aliases. Stopped apache and cleared the mason cache. > > It's working just fine in an Apache sense. Mailgate is working fine > and submitting tickets. We're getting notifications about new tickets > and updated tickets. > > ...but we can't login. The login page has no username/password > prompt. The login page is otherwise whole and displays correctly. > There's just no username/password prompt. No where to enter our login > information. > > -- > Jo Rhett > Net Consonance : consonant endings by net philanthropy, open source > and other randomness > > > _______________________________________________ > 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 -- Jo Rhett Net Consonance : consonant endings by net philanthropy, open source and other randomness From todd at chaka.net Thu Feb 19 12:56:11 2009 From: todd at chaka.net (Todd Chapman) Date: Thu, 19 Feb 2009 12:56:11 -0500 Subject: [rt-users] RT 3.8 mangles html attachment In-Reply-To: <20090219172940.GD53289@17h.local> References: <519782dc0902190744hd06431at262b206e5911dabf@mail.gmail.com> <519782dc0902190749k8097450q19c955cec9027d42@mail.gmail.com> <20090219160514.GN53289@17h.local> <519782dc0902190811v14e6c752u94274f26bafdafce@mail.gmail.com> <519782dc0902190833l190563d7td1a133c50b7a7f21@mail.gmail.com> <20090219163550.GR53289@17h.local> <519782dc0902190842i486f1723wa51fd776ca6fe9a4@mail.gmail.com> <20090219164532.GV53289@17h.local> <519782dc0902190855l18a2e166xfd297d61efd3baf8@mail.gmail.com> <20090219172940.GD53289@17h.local> Message-ID: <519782dc0902190956m654d2a83hea8e2582f198521e@mail.gmail.com> On Thu, Feb 19, 2009 at 12:29 PM, Jesse Vincent wrote: > > > > On Thu 19.Feb'09 at 11:55:19 -0500, Todd Chapman wrote: > > It was attached in the web interface on the Create.html page. (Not a > > custom field) > > And what headers is RT serving it out with? Is RT announcing it as utf8? > Is that stored in the database as content-type? > > If you save the raw data from RT to disk and open it in a browser, does > it render correctly? (Use wget, not your browser to save it. The browser > could corrupt it) It displays the same when downloaded with wget. (same md5) Here are the headers via the wget -S option: HTTP/1.1 200 OK Date: Thu, 19 Feb 2009 17:52:57 GMT Server: Apache/2.2.3 (CentOS) Set-Cookie: RT_SID_techrt.80=b6f63c39b4f0992034a41bb57f9bac80; path=/ Connection: close Content-Type: text/html;charset=utf-8 Length: unspecified [text/html] > > > > > > On Thu, Feb 19, 2009 at 11:45 AM, Jesse Vincent > > <[1]jesse at bestpractical.com> wrote: > > > > On Thu 19.Feb'09 at 11:42:42 -0500, Todd Chapman wrote: > > > According to FF the original file has an encoding of UTF-16LE. > It > > was > > > generated by Word. (I know, I know) > > > > Now we're getting somewhere. Was it attached to a mail as an > > attachment? If so, what do the headers for the original attachment > look > > like as they hit RT. If not, how did it get into RT? > > > > References > > > > Visible links > > 1. mailto:jesse at bestpractical.com > > -- > -------------- next part -------------- An HTML attachment was scrubbed... URL: From KFCrocker at lbl.gov Thu Feb 19 12:57:11 2009 From: KFCrocker at lbl.gov (Kenneth Crocker) Date: Thu, 19 Feb 2009 09:57:11 -0800 Subject: [rt-users] Autocreated on ticket submission - Quert Builder In-Reply-To: <499D6E8E.7000802@jennic.com> References: <03D0CD3BAC1F2949B639858D2686296E020E6464@musca.ctn.nha.co.za> <20090219141824.GF14957@it.is.rice.edu> <03D0CD3BAC1F2949B639858D2686296E020E6471@musca.ctn.nha.co.za> <499D6D10.1060004@jennic.com> <03D0CD3BAC1F2949B639858D2686296E020E6482@musca.ctn.nha.co.za> <499D6E8E.7000802@jennic.com> Message-ID: <499D9D77.8090107@lbl.gov> Bashir, What Mike was telling you is that if the "BOTTOM" box is checked for a user, they can have privileges. This means that if you grant the "OwnTicket" right globally to Privileged users, then all these requestors that send in tickets via email will have the right to OWN a ticket, hence they appear on the drop-down. So, you can do a couple different things to resolve this. 1) Uncheck the bottom box on these Users. This could turn out to be a long, ongoing process unless you can set your RT_SiteConfig.pm file to allow them to become unprivileged users only (Top box checked ONLY). I'm not sure what that setting is, perhaps Mike knows. 2) Remove the Global settings for "OwnTicket" and perhaps others like "TakeTicket", "StealTIcket", "DeleteTicket", etc. from Privileged Users or "Everyone" and grant those rights to groups of users. That way privileges are more defined in who can do what and your queries will run MUCH faster as well. Hopes this helps. Kenn LBNL On 2/19/2009 6:37 AM, Mike Peachey wrote: > Bashir Jahed wrote: >> I have done the following: >> >> Checked for a specific user in the search box as owner to confirm it >> shows up. Then went into the specific user and unchecked "/users/Access >> Control/Let this user access RT" checkbox and confirmed that the user no >> longer shows up in the search box in the "Owner Field" > > Because that user is now disabled and is unable to raise tickets from > that e-mail address.. > From toml at bitstatement.net Thu Feb 19 13:01:43 2009 From: toml at bitstatement.net (Tom Lahti) Date: Thu, 19 Feb 2009 10:01:43 -0800 Subject: [rt-users] WebService for RT? In-Reply-To: <20090219164557.GW53289@17h.local> References: <499D7FAB.1020907@linuxia.de> <20090219164557.GW53289@17h.local> Message-ID: <499D9E87.3010007@bitstatement.net> Jesse Vincent wrote: > > On Thu 19.Feb'09 at 16:50:03 +0100, Stefan Hornburg wrote: >> There is a REST interface and a corresponding Perl module (though that >> might be a bit outdated with 3.8). > > I'm using RT::Client::REST against 3.8.2 just fine. I'm also right now working on a ruby class that does essentially the same thing. Using RT::Client::REST (or my ruby class when its finished) it should not be hard to wrap the whole API in an XML-RPC service, or something similar, if you really wanted to. Though the wisdom of making a web service that accesses another web service would definitely be questioned. I suppose its likely that if you are using, say, classic ASP, that XML-RPC access to RT::Client::REST might be a far shade easier to code than re-writing RT::Client::REST in ASP. If I can get permission to open source my ruby class, I will. -- ============================ Tom Lahti BIT Statement LLC http://www.bitstatement.net/ -- ============================ From KFCrocker at lbl.gov Thu Feb 19 13:05:45 2009 From: KFCrocker at lbl.gov (Kenneth Crocker) Date: Thu, 19 Feb 2009 10:05:45 -0800 Subject: [rt-users] a question about rigths In-Reply-To: References: <20090219165948.GZ53289@17h.local> Message-ID: <499D9F79.5030104@lbl.gov> Alberto, They shouldn't be able to "Steal" a ticket (which means it already has an owner) unless that right is being granted somewhere. Have you looked at your global rights? Have you check memberships in groups and roles and compare the rights granted to those? HAve you checked both Global and Queue privileges? Kenn LBNL On 2/19/2009 9:10 AM, Alberto Villanueva wrote: > Hi! > > Thanks by the answer ;) > > But... I have granted the "take" permission to my users..., and they can steal > tickets!! :( :( > > Any idea? > > Regards, > > ALBERTO VILLANUEVA VAL > Consultor > ____________________________________________ > Altran > ParqueEmpresarial Las Mercedes, Edificio 1 > C/ Campezo, 1. 28022 Madrid > Tel : + 34 91 744 46 00 > Fax: + 34 91 415 24 57 > www.altran.es > > > -----Mensaje original----- > De: Jesse Vincent [mailto:jesse at bestpractical.com] > Enviado el: jueves, 19 de febrero de 2009 18:00 > Para: Alberto Villanueva > CC: rt-users at lists.bestpractical.com > Asunto: Re: [rt-users] a question about rigths > > >> >> I have a question: "OwnTicket" right involves "StealTicket"?? > > StealTicket means you can take ownership of a ticket someone else owns. > OwnTicket is "who's allowed to own the ticket at all" > > > _______________________________________________ > 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 > From falcone at bestpractical.com Thu Feb 19 13:14:16 2009 From: falcone at bestpractical.com (Kevin Falcone) Date: Thu, 19 Feb 2009 13:14:16 -0500 Subject: [rt-users] changed site to SSL -- no username/password prompt? In-Reply-To: <193A14F6-AC47-4D9B-BFEA-3638070F380E@netconsonance.com> References: <0F360F6D-D697-4A2B-82E2-92CFA935251F@netconsonance.com> <193A14F6-AC47-4D9B-BFEA-3638070F380E@netconsonance.com> Message-ID: <82B650AA-DDA9-45D4-93F2-25860A8364F3@bestpractical.com> On Feb 19, 2009, at 12:53 PM, Jo Rhett wrote: > In specific, the titlebox content is empty. > >
>
>
>
> > Login > 3.8.2 >
>
> > > >
>
>
>
Sounds like you've set WebExternalAuth to 1 and WebFallbackToInternalAuth to 0 -kevin > > On Feb 19, 2009, at 9:35 AM, Jo Rhett wrote: >> This is probably FAQ but I've been searching and coming up dry. >> >> We changed the site to SSL. Setup the apache vhost correctly. >> Changed the webbaseurl in RT_SiteConfig. Changed the mailgate >> aliases. Stopped apache and cleared the mason cache. >> >> It's working just fine in an Apache sense. Mailgate is working fine >> and submitting tickets. We're getting notifications about new >> tickets >> and updated tickets. >> >> ...but we can't login. The login page has no username/password >> prompt. The login page is otherwise whole and displays correctly. >> There's just no username/password prompt. No where to enter our >> login >> information. >> >> -- >> Jo Rhett >> Net Consonance : consonant endings by net philanthropy, open source >> and other randomness >> >> >> _______________________________________________ >> 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 > > -- > Jo Rhett > Net Consonance : consonant endings by net philanthropy, open source > and other randomness > > > _______________________________________________ > 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 > From jrhett at netconsonance.com Thu Feb 19 13:22:00 2009 From: jrhett at netconsonance.com (Jo Rhett) Date: Thu, 19 Feb 2009 10:22:00 -0800 Subject: [rt-users] changed site to SSL -- no username/password prompt? In-Reply-To: <82B650AA-DDA9-45D4-93F2-25860A8364F3@bestpractical.com> References: <0F360F6D-D697-4A2B-82E2-92CFA935251F@netconsonance.com> <193A14F6-AC47-4D9B-BFEA-3638070F380E@netconsonance.com> <82B650AA-DDA9-45D4-93F2-25860A8364F3@bestpractical.com> Message-ID: On Feb 19, 2009, at 10:14 AM, Kevin Falcone wrote: > Sounds like you've set WebExternalAuth to 1 and > WebFallbackToInternalAuth to 0 Bingo. Where can I send the beer? For a bonus question: why did this work in non-ssl mode? I remember setting this way way way back when we though we'd use http auth, but realized it was easier to just have our internal password management change the passwords in RT's database ;-) -- Jo Rhett Net Consonance : consonant endings by net philanthropy, open source and other randomness From jrhett at netconsonance.com Thu Feb 19 13:40:33 2009 From: jrhett at netconsonance.com (Jo Rhett) Date: Thu, 19 Feb 2009 10:40:33 -0800 Subject: [rt-users] change updates from unprivileged user to a different transaction type? In-Reply-To: <20090212220224.GC13543@17h.local> References: <1234460097.7536.19.camel@pcx4546.desy.de> <20090212220224.GC13543@17h.local> Message-ID: On Feb 12, 2009, at 2:02 PM, Jesse Vincent wrote: >> Jesse, how would you feel about having an action which indicates >> an update >> not by a privileged user? >> Ie, "Correspond" and Comments would be from privileged. >> "Update" or "Response" (or any other name you like) would be an >> update >> from an unprivileged user. >> This kind of change would make it easy to build Scrip actions >> around >> handling responses better. Would you be interested in this? > > We already have something for you, I think. > > RT::Transaction->IsInbounda So I figured I'd test this out. It wasn't working, so I dug around inside RT/Transact.pm and I can't find this function. Is this going into 3.8.3 or 4.0 ? -- Jo Rhett Net Consonance : consonant endings by net philanthropy, open source and other randomness From sturner at MIT.EDU Thu Feb 19 13:43:36 2009 From: sturner at MIT.EDU (Stephen Turner) Date: Thu, 19 Feb 2009 13:43:36 -0500 Subject: [rt-users] change updates from unprivileged user to a different transaction type? In-Reply-To: References: <1234460097.7536.19.camel@pcx4546.desy.de> <20090212220224.GC13543@17h.local> Message-ID: On Thu, 19 Feb 2009 13:40:33 -0500, Jo Rhett wrote: > On Feb 12, 2009, at 2:02 PM, Jesse Vincent wrote: >> >> RT::Transaction->IsInbounda > > > So I figured I'd test this out. It wasn't working, so I dug around > inside RT/Transact.pm and I can't find this function. Is this going > into 3.8.3 or 4.0 ? > You should find it in Transaction_Overlay.pm Steve -- Stephen Turner Senior Programmer/Analyst - SAIS MIT IS&T From jesse at bestpractical.com Thu Feb 19 14:06:58 2009 From: jesse at bestpractical.com (Jesse Vincent) Date: Thu, 19 Feb 2009 14:06:58 -0500 Subject: [rt-users] change updates from unprivileged user to a different transaction type? In-Reply-To: References: <1234460097.7536.19.camel@pcx4546.desy.de> <20090212220224.GC13543@17h.local> Message-ID: <20090219190658.GN53289@17h.local> >> >> We already have something for you, I think. >> >> RT::Transaction->IsInbounda > > > So I figured I'd test this out. It wasn't working, so I dug around > inside RT/Transact.pm and I can't find this function. Is this going > into 3.8.3 or 4.0 ? Sorry. the "a" at the end was a typo. It's been there since RT 2.0 > > -- > Jo Rhett > Net Consonance : consonant endings by net philanthropy, open source and > other randomness > > -- From jrhett at netconsonance.com Thu Feb 19 14:07:06 2009 From: jrhett at netconsonance.com (Jo Rhett) Date: Thu, 19 Feb 2009 11:07:06 -0800 Subject: [rt-users] change updates from unprivileged user to a different transaction type? In-Reply-To: References: <1234460097.7536.19.camel@pcx4546.desy.de> <20090212220224.GC13543@17h.local> Message-ID: <3E879DB5-3589-4743-97A2-FD5ED5DDF629@netconsonance.com> On Feb 19, 2009, at 10:43 AM, Stephen Turner wrote: > On Thu, 19 Feb 2009 13:40:33 -0500, Jo Rhett > wrote: > >> On Feb 12, 2009, at 2:02 PM, Jesse Vincent wrote: >>> >>> RT::Transaction->IsInbounda >> >> >> So I figured I'd test this out. It wasn't working, so I dug around >> inside RT/Transact.pm and I can't find this function. Is this going >> into 3.8.3 or 4.0 ? > You should find it in Transaction_Overlay.pm I was just writing in to say "oops" when I saw you beat me to it. Oops ;-) My problem was trying to directly use $RT::Transaction->IsInbound versus $self->TicketObj->IsInbound It's working now, thanks! -- Jo Rhett Net Consonance : consonant endings by net philanthropy, open source and other randomness From jesse at bestpractical.com Thu Feb 19 14:08:56 2009 From: jesse at bestpractical.com (Jesse Vincent) Date: Thu, 19 Feb 2009 14:08:56 -0500 Subject: [rt-users] RT 3.8 mangles html attachment In-Reply-To: <519782dc0902191051i7b999e0ehc9635769013d80e5@mail.gmail.com> References: <519782dc0902190833l190563d7td1a133c50b7a7f21@mail.gmail.com> <20090219163550.GR53289@17h.local> <519782dc0902190842i486f1723wa51fd776ca6fe9a4@mail.gmail.com> <20090219164532.GV53289@17h.local> <519782dc0902190855l18a2e166xfd297d61efd3baf8@mail.gmail.com> <20090219172940.GD53289@17h.local> <519782dc0902190956m654d2a83hea8e2582f198521e@mail.gmail.com> <20090219182245.GM53289@17h.local> <519782dc0902191048w34a07af1j6e4334d4c8600fe7@mail.gmail.com> <519782dc0902191051i7b999e0ehc9635769013d80e5@mail.gmail.com> Message-ID: <20090219190856.GO53289@17h.local> > > > I don't know how FF figures out that it is UTF-16LE. I'd recommend starting in lib/RT/I18N.pm sub SetMIMEEntityToUTF8. instrument there. > > > On Thu, Feb 19, 2009 at 1:48 PM, Todd Chapman wrote: > > > > > > On Thu, Feb 19, 2009 at 1:22 PM, Jesse Vincent wrote: > >> > >> > >> > >> On Thu 19.Feb'09 at 12:56:11 -0500, Todd Chapman wrote: > >> > On Thu, Feb 19, 2009 at 12:29 PM, Jesse Vincent > >> > <[1]jesse at bestpractical.com> wrote: > >> > > >> > On Thu 19.Feb'09 at 11:55:19 -0500, Todd Chapman wrote: > >> > > It was attached in the web interface on the Create.html page. (Not > >> > a > >> > > custom field) > >> > > >> > And what headers is RT serving it out with? Is RT announcing it as utf8? > >> > Is that stored in the database as content-type? > >> > > >> > >> Well, what does the database say for content-type? Is the content in the > >> database 'right'? > >> > > > > Sorry. And thanks again for all the help! > > > > mysql> select Subject, Filename, ContentType, ContentEncoding, Headers from Attachments where id=10792\G > > *************************** 1. row *************************** > > Subject: Re Eprize RPC interface failing on DC registration.htm > > Filename: Re Eprize RPC interface failing on DC registration.htm > > ContentType: text/html > > ContentEncoding: none > > Headers: MIME-Version: 1.0 > > Subject: Re Eprize RPC interface failing on DC registration.htm > > X-Mailer: MIME-tools 5.426 (Entity 5.426) > > Content-Type: text/html; > > charset="utf-8"; > > name="Re Eprize RPC interface failing on DC registration.htm" > > Content-Disposition: inline; > > filename="Re Eprize RPC interface failing on DC registration.htm" > > Content-Transfer-Encoding: binary > > X-RT-Original-Encoding: utf-8 > > Content-Length: 73017 > > > > 1 row in set (0.00 sec) > > > -- From alberto.villanueva at altran.es Thu Feb 19 14:23:50 2009 From: alberto.villanueva at altran.es (Alberto Villanueva) Date: Thu, 19 Feb 2009 20:23:50 +0100 Subject: [rt-users] 500 - Internal error Message-ID: Hi all! I have this problem because I have tried to update lots of tickets. I have resolved giving grant to the "rt3" database to the "_rt_user" user. But. now I can initialize session with no user :-( :-( :-( Some idea?? PS. The installation is a production server that it worked fine until 18.30 :-( :-( Regards, ALBERTO VILLANUEVA VAL Consultor ____________________________________________ Altran ParqueEmpresarial Las Mercedes, Edificio 1 C/ Campezo, 1. 28022 Madrid Tel : + 34 91 744 46 00 Fax: + 34 91 415 24 57 www.altran.es -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: image001.jpg Type: image/jpeg Size: 3874 bytes Desc: not available URL: From chaim.rieger at gmail.com Thu Feb 19 14:29:43 2009 From: chaim.rieger at gmail.com (chaim.rieger at gmail.com) Date: Thu, 19 Feb 2009 19:29:43 +0000 Subject: [rt-users] 500 - Internal error In-Reply-To: References: Message-ID: <698107403-1235071804-cardhu_decombobulator_blackberry.rim.net-1170900759-@bxe1146.bisx.prod.on.blackberry> What do the logs say ? Sent via BlackBerry from T-Mobile -----Original Message----- From: "Alberto Villanueva" Date: Thu, 19 Feb 2009 20:23:50 To: Subject: [rt-users] 500 - Internal error _______________________________________________ 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 From alberto.villanueva at altran.es Thu Feb 19 14:43:21 2009 From: alberto.villanueva at altran.es (Alberto Villanueva) Date: Thu, 19 Feb 2009 20:43:21 +0100 Subject: [rt-users] 500 - Internal error In-Reply-To: <698107403-1235071804-cardhu_decombobulator_blackberry.rim.net-1170900759-@bxe1146.bisx.prod.on.blackberry> References: <698107403-1235071804-cardhu_decombobulator_blackberry.rim.net-1170900759-@bxe1146.bisx.prod.on.blackberry> Message-ID: The rt log ("/var/log/rt.log") is empty :S :S :S The log of apache (/var/log/httpd/error_log): [Thu Feb 19 19:38:45 2009] [warning]: DBD::mysql::st execute failed: INSERT command denied to user 'vtd_rt_dbuser'@'localhost' for table 'sessions' at /usr/lib/perl5/site_perl/5.10.0/Apache/Session/Store/DBI.pm line 44. (/usr/lib/perl5/site_perl/5.10.0/Apache/Session/Store/DBI.pm:44) The log of apache (/var/log/mysql_log): 090219 18:52:45 mysqld started InnoDB: The log sequence number in ibdata files does not match InnoDB: the log sequence number in the ib_logfiles! 090219 18:52:46 InnoDB: Database was not shut down normally! InnoDB: Starting crash recovery. InnoDB: Reading tablespace information from the .ibd files... InnoDB: Restoring possible half-written data pages from the doublewrite InnoDB: buffer... 090219 18:52:51 InnoDB: Started; log sequence number 0 480031337 090219 18:52:54 [Note] /usr/sbin/mysqld-max: ready for connections. Version: '5.0.51a-Max' socket: '/var/lib/mysql/mysql.sock' port: 3306 SUSE MySQL RPM 090219 19:22:37 [Note] /usr/sbin/mysqld-max: Normal shutdown 090219 19:22:37 InnoDB: Starting shutdown... 090219 19:22:39 InnoDB: Shutdown completed; log sequence number 0 482089083 090219 19:22:39 [Note] /usr/sbin/mysqld-max: Shutdown complete 090219 19:22:39 mysqld ended 090219 19:22:40 mysqld started 090219 19:22:40 InnoDB: Started; log sequence number 0 482089083 090219 19:22:40 [Note] /usr/sbin/mysqld-max: ready for connections. Version: '5.0.51a-Max' socket: '/var/lib/mysql/mysql.sock' port: 3306 SUSE MySQL RPM 090219 19:39:40 [Note] /usr/sbin/mysqld-max: Normal shutdown 090219 19:39:40 InnoDB: Starting shutdown... 090219 19:39:42 InnoDB: Shutdown completed; log sequence number 0 482089083 090219 19:39:42 [Note] /usr/sbin/mysqld-max: Shutdown complete 090219 19:39:42 mysqld ended 090219 19:39:42 mysqld started 090219 19:39:42 InnoDB: Started; log sequence number 0 482089083 090219 19:39:42 [Note] /usr/sbin/mysqld-max: ready for connections. Version: '5.0.51a-Max' socket: '/var/lib/mysql/mysql.sock' port: 3306 SUSE MySQL RPM 090219 19:48:36 [Note] /usr/sbin/mysqld-max: Normal shutdown 090219 19:48:38 InnoDB: Starting shutdown... 090219 19:48:39 InnoDB: Shutdown completed; log sequence number 0 482116559 090219 19:48:39 [Note] /usr/sbin/mysqld-max: Shutdown complete 090219 19:48:39 mysqld ended 090219 19:48:40 mysqld started 090219 19:48:40 InnoDB: Started; log sequence number 0 482116559 090219 19:48:40 [Note] /usr/sbin/mysqld-max: ready for connections. Version: '5.0.51a-Max' socket: '/var/lib/mysql/mysql.sock' port: 3306 SUSE MySQL RPM 090219 19:50:42 [Note] /usr/sbin/mysqld-max: Normal shutdown 090219 19:50:42 InnoDB: Starting shutdown... 090219 19:50:43 InnoDB: Shutdown completed; log sequence number 0 482123150 090219 19:50:43 [Note] /usr/sbin/mysqld-max: Shutdown complete 090219 19:50:43 mysqld ended 090219 19:50:43 mysqld started 090219 19:50:43 InnoDB: Started; log sequence number 0 482123150 090219 19:50:43 [Note] /usr/sbin/mysqld-max: ready for connections. Version: '5.0.51a-Max' socket: '/var/lib/mysql/mysql.sock' port: 3306 SUSE MySQL RPM 090219 19:52:22 [Note] /usr/sbin/mysqld-max: Normal shutdown 090219 19:52:22 InnoDB: Starting shutdown... 090219 19:52:24 InnoDB: Shutdown completed; log sequence number 0 482123150 090219 19:52:24 [Note] /usr/sbin/mysqld-max: Shutdown complete 090219 19:52:24 mysqld ended 090219 19:52:24 mysqld started 090219 19:52:24 InnoDB: Started; log sequence number 0 482123150 090219 19:52:24 [Note] /usr/sbin/mysqld-max: ready for connections. Version: '5.0.51a-Max' socket: '/var/lib/mysql/mysql.sock' port: 3306 SUSE MySQL RPM 090219 20:03:34 [Note] /usr/sbin/mysqld-max: Normal shutdown 090219 20:03:36 InnoDB: Starting shutdown... 090219 20:03:37 InnoDB: Shutdown completed; log sequence number 0 482123160 090219 20:03:37 [Note] /usr/sbin/mysqld-max: Shutdown complete 090219 20:03:37 mysqld ended 090219 20:03:37 mysqld started 090219 20:03:38 InnoDB: Started; log sequence number 0 482123160 090219 20:03:38 [Note] /usr/sbin/mysqld-max: ready for connections. Version: '5.0.51a-Max' socket: '/var/lib/mysql/mysql.sock' port: 3306 SUSE MySQL RPM 090219 20:19:43 [Note] /usr/sbin/mysqld-max: Normal shutdown 090219 20:19:45 InnoDB: Starting shutdown... 090219 20:19:46 InnoDB: Shutdown completed; log sequence number 0 482123160 090219 20:19:46 [Note] /usr/sbin/mysqld-max: Shutdown complete 090219 20:19:46 mysqld ended 090219 20:19:46 mysqld started 090219 20:19:46 InnoDB: Started; log sequence number 0 482123160 090219 20:19:46 [Note] /usr/sbin/mysqld-max: ready for connections. Version: '5.0.51a-Max' socket: '/var/lib/mysql/mysql.sock' port: 3306 SUSE MySQL RPM Thanks! Regards, ALBERTO VILLANUEVA VAL Consultor ____________________________________________ Altran ParqueEmpresarial Las Mercedes, Edificio 1 C/ Campezo, 1. 28022 Madrid Tel : + 34 91 744 46 00 Fax: + 34 91 415 24 57 www.altran.es -----Mensaje original----- De: chaim.rieger at gmail.com [mailto:chaim.rieger at gmail.com] Enviado el: jueves, 19 de febrero de 2009 20:30 Para: Alberto Villanueva; rt-users-bounces at lists.bestpractical.com; rt-users at lists.bestpractical.com Asunto: Re: [rt-users] 500 - Internal error What do the logs say ? Sent via BlackBerry from T-Mobile -----Original Message----- From: "Alberto Villanueva" Date: Thu, 19 Feb 2009 20:23:50 To: Subject: [rt-users] 500 - Internal error _______________________________________________ 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 From james.faulkner at yale.edu Thu Feb 19 15:00:33 2009 From: james.faulkner at yale.edu (Jim Faulkner) Date: Thu, 19 Feb 2009 15:00:33 -0500 (EST) Subject: [rt-users] ERROR 1062 during 3.4.5 -> 3.8.2 database update In-Reply-To: References: Message-ID: Just wanted to follow up on this. I was able to work around the "Duplicate entry" mysql error by modifying the "ALTER TABLE" command that caused the problem to be "ALTER IGNORE TABLE." The IGNORE mysql extension is described on this page: http://dev.mysql.com/doc/refman/5.1/en/alter-table.html Basically it will delete any duplicate rows encountered. This is fine for my purposes, because I am confident that any duplicate rows in the Users table were caused by spam e-mails. I will be running rt-shredder and rt-validator as well to delete any spam tickets associated with those users and make sure that the RT database is OK. On Wed, 18 Feb 2009, Jim Faulkner wrote: > > I'm getting the "ERROR 1062 (23000) at line 210: Duplicate entry '' for key 2" > error when updating the database from 3.4.5 to 3.8.2. I see from this message: > http://www.mail-archive.com/rt-users at lists.bestpractical.com/msg17534.html > > that I have a few different choices as to how to solve this. However, I'm not > a mysql expert, so I'm afraid I'll need a little more help. > > I've tried changing the Users table's collation to utf8_unicode_ci, however I > still get the same error when updating the database. What collation should I > use to prevent this error? The original collation is latin1_swedish_ci. > > I've also tried to find the affected rows so that I can rename the users. > However, I'm not getting anywhere. The error says that the duplicate > entry is '', however "select * from Users where Name='';" returns zero > rows. I've also tried dumping the Name column into a text file and using > the uniq unix command, but it finds no duplicates. What is the best way > to find duplicate entries? > > -- Jim Faulkner / james.faulkner at cs.yale.edu Systems Administrator, Linux Systems Design & Support (LSDS) Yale University Information Technology Services (ITS) =============================================================== NOTE: Yale ITS will NEVER request passwords or other personal information via email. Messages requesting such information are fraudulent and should be deleted. From curtisb at vianet.ca Thu Feb 19 15:10:54 2009 From: curtisb at vianet.ca (Curtis Bruneau) Date: Thu, 19 Feb 2009 15:10:54 -0500 Subject: [rt-users] ERROR 1062 during 3.4.5 -> 3.8.2 database update In-Reply-To: References: Message-ID: <499DBCCE.7010408@vianet.ca> I had the same problem and it was caused by accents, since mysql has no accent sensitive collations (_as) aside from utf8_bin which is everything sensitive, I basically just removed the user (or rename) to fix the issue. Since emails generally shouldn't have them it's pretty safe to do, the old latin collations did support them to some degree. Jim Faulkner wrote: > Just wanted to follow up on this. I was able to work around the > "Duplicate entry" mysql error by modifying the "ALTER TABLE" command that > caused the problem to be "ALTER IGNORE TABLE." The IGNORE mysql extension > is described on this page: > http://dev.mysql.com/doc/refman/5.1/en/alter-table.html > > Basically it will delete any duplicate rows encountered. This is fine for > my purposes, because I am confident that any duplicate rows in the Users > table were caused by spam e-mails. I will be running rt-shredder and > rt-validator as well to delete any spam tickets associated with those > users and make sure that the RT database is OK. > > On Wed, 18 Feb 2009, Jim Faulkner wrote: > > >> I'm getting the "ERROR 1062 (23000) at line 210: Duplicate entry '' for key 2" >> error when updating the database from 3.4.5 to 3.8.2. I see from this message: >> http://www.mail-archive.com/rt-users at lists.bestpractical.com/msg17534.html >> >> that I have a few different choices as to how to solve this. However, I'm not >> a mysql expert, so I'm afraid I'll need a little more help. >> >> I've tried changing the Users table's collation to utf8_unicode_ci, however I >> still get the same error when updating the database. What collation should I >> use to prevent this error? The original collation is latin1_swedish_ci. >> >> I've also tried to find the affected rows so that I can rename the users. >> However, I'm not getting anywhere. The error says that the duplicate >> entry is '', however "select * from Users where Name='';" returns zero >> rows. I've also tried dumping the Name column into a text file and using >> the uniq unix command, but it finds no duplicates. What is the best way >> to find duplicate entries? >> >> >> > > From jrhett at netconsonance.com Thu Feb 19 20:23:25 2009 From: jrhett at netconsonance.com (Jo Rhett) Date: Thu, 19 Feb 2009 17:23:25 -0800 Subject: [rt-users] date search criteria? Message-ID: Can someone please smack me upside the head on what search words to use to find the date search criteria? The best I have found is not in the wiki, but http://web.mit.edu/tooltime/notebook/reference/search-guide.html Some of the queries I have been failing to do Queue1 tickets between 8am and 5pm for the most recent 8am. Queue1 tickets between 2/5 8am and 2/6 10pm. ...etc -- Jo Rhett Net Consonance : consonant endings by net philanthropy, open source and other randomness -------------- next part -------------- An HTML attachment was scrubbed... URL: From alberto.villanueva at altran.es Fri Feb 20 01:57:59 2009 From: alberto.villanueva at altran.es (Alberto Villanueva) Date: Fri, 20 Feb 2009 07:57:59 +0100 Subject: [rt-users] a question about rigths In-Reply-To: <499D9F79.5030104@lbl.gov> References: <20090219165948.GZ53289@17h.local> <499D9F79.5030104@lbl.gov> Message-ID: Good morning ;) Yes, I have checked all permissions, and nobody has that. Anyway, I will check them again. Thanks! ;) Regards, ALBERTO VILLANUEVA VAL Consultor ____________________________________________ Altran ParqueEmpresarial Las Mercedes, Edificio 1 C/ Campezo, 1. 28022 Madrid Tel : + 34 91 744 46 00 Fax: + 34 91 415 24 57 www.altran.es -----Mensaje original----- De: Kenneth Crocker [mailto:KFCrocker at lbl.gov] Enviado el: jueves, 19 de febrero de 2009 19:06 Para: Alberto Villanueva CC: 'Jesse Vincent'; rt-users at lists.bestpractical.com Asunto: Re: [rt-users] a question about rigths Alberto, They shouldn't be able to "Steal" a ticket (which means it already has an owner) unless that right is being granted somewhere. Have you looked at your global rights? Have you check memberships in groups and roles and compare the rights granted to those? HAve you checked both Global and Queue privileges? Kenn LBNL On 2/19/2009 9:10 AM, Alberto Villanueva wrote: > Hi! > > Thanks by the answer ;) > > But... I have granted the "take" permission to my users..., and they can steal > tickets!! :( :( > > Any idea? > > Regards, > > ALBERTO VILLANUEVA VAL > Consultor > ____________________________________________ > Altran > ParqueEmpresarial Las Mercedes, Edificio 1 > C/ Campezo, 1. 28022 Madrid > Tel : + 34 91 744 46 00 > Fax: + 34 91 415 24 57 > www.altran.es > > > -----Mensaje original----- > De: Jesse Vincent [mailto:jesse at bestpractical.com] > Enviado el: jueves, 19 de febrero de 2009 18:00 > Para: Alberto Villanueva > CC: rt-users at lists.bestpractical.com > Asunto: Re: [rt-users] a question about rigths > > >> >> I have a question: "OwnTicket" right involves "StealTicket"?? > > StealTicket means you can take ownership of a ticket someone else owns. > OwnTicket is "who's allowed to own the ticket at all" > > > _______________________________________________ > 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 > From bashir.jahed at nha.co.za Fri Feb 20 02:08:05 2009 From: bashir.jahed at nha.co.za (Bashir Jahed) Date: Fri, 20 Feb 2009 09:08:05 +0200 Subject: [rt-users] Autocreated on ticket submission - Quert Builder In-Reply-To: <499D9D77.8090107@lbl.gov> References: <03D0CD3BAC1F2949B639858D2686296E020E6464@musca.ctn.nha.co.za> <20090219141824.GF14957@it.is.rice.edu> <03D0CD3BAC1F2949B639858D2686296E020E6471@musca.ctn.nha.co.za> <499D6D10.1060004@jennic.com> <03D0CD3BAC1F2949B639858D2686296E020E6482@musca.ctn.nha.co.za> <499D6E8E.7000802@jennic.com> <499D9D77.8090107@lbl.gov> Message-ID: <03D0CD3BAC1F2949B639858D2686296E020E6545@musca.ctn.nha.co.za> I have just removed all privileges for the "Everyone" group and the "Privileged" group has no rights assigned but still no luck. Really baffled by this one. -----Original Message----- From: Kenneth Crocker [mailto:KFCrocker at lbl.gov] Sent: 19 February 2009 07:57 PM To: Bashir Jahed Cc: rt-users at lists.bestpractical.com Subject: Re: [rt-users] Autocreated on ticket submission - Quert Builder Bashir, What Mike was telling you is that if the "BOTTOM" box is checked for a user, they can have privileges. This means that if you grant the "OwnTicket" right globally to Privileged users, then all these requestors that send in tickets via email will have the right to OWN a ticket, hence they appear on the drop-down. So, you can do a couple different things to resolve this. 1) Uncheck the bottom box on these Users. This could turn out to be a long, ongoing process unless you can set your RT_SiteConfig.pm file to allow them to become unprivileged users only (Top box checked ONLY). I'm not sure what that setting is, perhaps Mike knows. 2) Remove the Global settings for "OwnTicket" and perhaps others like "TakeTicket", "StealTIcket", "DeleteTicket", etc. from Privileged Users or "Everyone" and grant those rights to groups of users. That way privileges are more defined in who can do what and your queries will run MUCH faster as well. Hopes this helps. Kenn LBNL On 2/19/2009 6:37 AM, Mike Peachey wrote: > Bashir Jahed wrote: >> I have done the following: >> >> Checked for a specific user in the search box as owner to confirm it >> shows up. Then went into the specific user and unchecked "/users/Access >> Control/Let this user access RT" checkbox and confirmed that the user no >> longer shows up in the search box in the "Owner Field" > > Because that user is now disabled and is unable to raise tickets from > that e-mail address.. > From bertignac at gmail.com Fri Feb 20 03:43:26 2009 From: bertignac at gmail.com (L B) Date: Fri, 20 Feb 2009 09:43:26 +0100 Subject: [rt-users] Approvals in 3.8.2 In-Reply-To: <1234543722.2966.16.camel@sweetrose.janet.local> References: <3CE7D8D453B27148BBCA0B2063B11E64D5F9F0@s-wor-e-001.SCOUTSOFFICE.local> <1234526521.10967.50.camel@kayden.jajxn.net> <1234543722.2966.16.camel@sweetrose.janet.local> Message-ID: Hello, This extension looks very interesting. Do you have an idea of the release date ? Even a devel version for testing ? Thanks! -- L.B. From alberto.villanueva at altran.es Fri Feb 20 03:49:38 2009 From: alberto.villanueva at altran.es (Alberto Villanueva) Date: Fri, 20 Feb 2009 09:49:38 +0100 Subject: [rt-users] Restore root password Message-ID: Hii all!! If I want to restore the root password with the next sentence: perl -I/opt/rt3/lib -MRT -MRT::User -e'RT::LoadConfig;RT::Init; my $u = RT::User->new($RT::SystemUser); $u->Load("root"); $u->SetPassword("secret")' I get the next errors: DBD::mysql::st execute failed: SELECT command denied to user 'vtd_rt_dbuser'@'localhost' for table 'Users' at /usr/lib/perl5/site_perl/5.10.0/DBIx/SearchBuilder/Handle.pm line 505. RT::Handle=HASH(0x1e91af0) couldn't execute the query 'SELECT * FROM Users WHERE Name = ?' at /usr/lib/perl5/site_perl/5.10.0/DBIx/SearchBuilder/Handle.pm line 518 DBIx::SearchBuilder::Handle::SimpleQuery('RT::Handle=HASH(0x1e91af0)', 'SELECT * FROM Users WHERE Name = ?', 'RT_System') called at /usr/lib/perl5/site_perl/5.10.0/DBIx/SearchBuilder/Record.pm line 1207 DBIx::SearchBuilder::Record::_LoadFromSQL('RT::CurrentUser=HASH(0x1f481a8)', 'SELECT * FROM Users WHERE Name = ?', 'RT_System') called at /usr/lib/perl5/site_perl/5.10.0/DBIx/SearchBuilder/Record.pm line 1126 DBIx::SearchBuilder::Record::LoadByCols('RT::CurrentUser=HASH(0x1f481a8)', 'Name', 'RT_System') called at /usr/lib/perl5/site_perl/5.10.0/DBIx/SearchBuilder/Record/Cachable.pm line 119 DBIx::SearchBuilder::Record::Cachable::LoadByCols('RT::CurrentUser=HASH(0x1f481a 8)', 'Name', 'RT_System') called at /opt/rt3/lib/RT/Record.pm line 350 RT::Record::LoadByCols('RT::CurrentUser=HASH(0x1f481a8)', 'Name', 'RT_System') called at /usr/lib/perl5/site_perl/5.10.0/DBIx/SearchBuilder/Record.pm line 1071 DBIx::SearchBuilder::Record::LoadByCol('RT::CurrentUser=HASH(0x1f481a8)', 'Name', 'RT_System') called at /opt/rt3/lib/RT/CurrentUser.pm line 203 RT::CurrentUser::LoadByName('RT::CurrentUser=HASH(0x1f481a8)', 'RT_System') called at /opt/rt3/lib/RT.pm line 480 RT::InitSystemObjects() called at /opt/rt3/lib/RT.pm line 187 RT::Init() called at -e line 1 DBD::mysql::st execute failed: SELECT command denied to user 'vtd_rt_dbuser'@'localhost' for table 'Users' at /usr/lib/perl5/site_perl/5.10.0/DBIx/SearchBuilder/Handle.pm line 505. RT::Handle=HASH(0x1e91af0) couldn't execute the query 'SELECT * FROM Users WHERE Name = ?' at /usr/lib/perl5/site_perl/5.10.0/DBIx/SearchBuilder/Handle.pm line 518 DBIx::SearchBuilder::Handle::SimpleQuery('RT::Handle=HASH(0x1e91af0)', 'SELECT * FROM Users WHERE Name = ?', 'Nobody') called at /usr/lib/perl5/site_perl/5.10.0/DBIx/SearchBuilder/Record.pm line 1207 DBIx::SearchBuilder::Record::_LoadFromSQL('RT::CurrentUser=HASH(0x1f22428)', 'SELECT * FROM Users WHERE Name = ?', 'Nobody') called at /usr/lib/perl5/site_perl/5.10.0/DBIx/SearchBuilder/Record.pm line 1126 DBIx::SearchBuilder::Record::LoadByCols('RT::CurrentUser=HASH(0x1f22428)', 'Name', 'Nobody') called at /usr/lib/perl5/site_perl/5.10.0/DBIx/SearchBuilder/Record/Cachable.pm line 119 DBIx::SearchBuilder::Record::Cachable::LoadByCols('RT::CurrentUser=HASH(0x1f2242 8)', 'Name', 'Nobody') called at /opt/rt3/lib/RT/Record.pm line 350 RT::Record::LoadByCols('RT::CurrentUser=HASH(0x1f22428)', 'Name', 'Nobody') called at /usr/lib/perl5/site_perl/5.10.0/DBIx/SearchBuilder/Record.pm line 1071 DBIx::SearchBuilder::Record::LoadByCol('RT::CurrentUser=HASH(0x1f22428)', 'Name', 'Nobody') called at /opt/rt3/lib/RT/CurrentUser.pm line 203 RT::CurrentUser::LoadByName('RT::CurrentUser=HASH(0x1f22428)', 'Nobody') called at /opt/rt3/lib/RT.pm line 484 RT::InitSystemObjects() called at /opt/rt3/lib/RT.pm line 187 RT::Init() called at -e line 1 [Fri Feb 20 08:42:23 2009] [warning]: DBD::mysql::st execute failed: SELECT command denied to user 'vtd_rt_dbuser'@'localhost' for table 'Users' at /usr/lib/perl5/site_perl/5.10.0/DBIx/SearchBuilder/Handle.pm line 505. (/usr/lib/perl5/site_perl/5.10.0/DBIx/SearchBuilder/Handle.pm:505) [Fri Feb 20 08:42:23 2009] [warning]: RT::Handle=HASH(0x1e91af0) couldn't execute the query 'SELECT * FROM Users WHERE Name = ?' at /usr/lib/perl5/site_perl/5.10.0/DBIx/SearchBuilder/Handle.pm line 518 DBIx::SearchBuilder::Handle::SimpleQuery('RT::Handle=HASH(0x1e91af0)', 'SELECT * FROM Users WHERE Name = ?', 'root') called at /usr/lib/perl5/site_perl/5.10.0/DBIx/SearchBuilder/Record.pm line 1207 DBIx::SearchBuilder::Record::_LoadFromSQL('RT::User=HASH(0x393a730)', 'SELECT * FROM Users WHERE Name = ?', 'root') called at /usr/lib/perl5/site_perl/5.10.0/DBIx/SearchBuilder/Record.pm line 1126 DBIx::SearchBuilder::Record::LoadByCols('RT::User=HASH(0x393a730)', 'Name', 'root') called at /usr/lib/perl5/site_perl/5.10.0/DBIx/SearchBuilder/Record/Cachable.pm line 119 DBIx::SearchBuilder::Record::Cachable::LoadByCols('RT::User=HASH(0x393a730)', 'Name', 'root') called at /opt/rt3/lib/RT/Record.pm line 350 RT::Record::LoadByCols('RT::User=HASH(0x393a730)', 'Name', 'root') called at /usr/lib/perl5/site_perl/5.10.0/DBIx/SearchBuilder/Record.pm line 1071 DBIx::SearchBuilder::Record::LoadByCol('RT::User=HASH(0x393a730)', 'Name', 'root') called at /opt/rt3/lib/RT/User_Overlay.pm line 439 RT::User::Load('RT::User=HASH(0x393a730)', 'root') called at -e line 1 (/usr/lib/perl5/5.10.0/Carp.pm:47) [Fri Feb 20 08:42:23 2009] [error]: Couldn't get principal for not loaded object (/opt/rt3/lib/RT/User_Overlay.pm:1113) [Fri Feb 20 08:42:23 2009] [crit]: Can't call method "HasRight" on an undefined value at /opt/rt3/lib/RT/User_Overlay.pm line 1209. (/opt/rt3/lib/RT.pm:377) Can't call method "HasRight" on an undefined value at /opt/rt3/lib/RT/User_Overlay.pm line 1209. vtdrt:~ # perl -I/opt/rt3/lib -MRT -MRT::User -e'RT::LoadConfig;RT::Init; my $u = RT::User->new($RT::SystemUser); $u->Load("root"); $u->SetPassword("secret")' DBD::mysql::st execute failed: SELECT command denied to user 'vtd_rt_dbuser'@'localhost' for table 'Users' at /usr/lib/perl5/site_perl/5.10.0/DBIx/SearchBuilder/Handle.pm line 505. RT::Handle=HASH(0x1e91af0) couldn't execute the query 'SELECT * FROM Users WHERE Name = ?' at /usr/lib/perl5/site_perl/5.10.0/DBIx/SearchBuilder/Handle.pm line 518 DBIx::SearchBuilder::Handle::SimpleQuery('RT::Handle=HASH(0x1e91af0)', 'SELECT * FROM Users WHERE Name = ?', 'RT_System') called at /usr/lib/perl5/site_perl/5.10.0/DBIx/SearchBuilder/Record.pm line 1207 DBIx::SearchBuilder::Record::_LoadFromSQL('RT::CurrentUser=HASH(0x1f481a8)', 'SELECT * FROM Users WHERE Name = ?', 'RT_System') called at /usr/lib/perl5/site_perl/5.10.0/DBIx/SearchBuilder/Record.pm line 1126 DBIx::SearchBuilder::Record::LoadByCols('RT::CurrentUser=HASH(0x1f481a8)', 'Name', 'RT_System') called at /usr/lib/perl5/site_perl/5.10.0/DBIx/SearchBuilder/Record/Cachable.pm line 119 DBIx::SearchBuilder::Record::Cachable::LoadByCols('RT::CurrentUser=HASH(0x1f481a 8)', 'Name', 'RT_System') called at /opt/rt3/lib/RT/Record.pm line 350 RT::Record::LoadByCols('RT::CurrentUser=HASH(0x1f481a8)', 'Name', 'RT_System') called at /usr/lib/perl5/site_perl/5.10.0/DBIx/SearchBuilder/Record.pm line 1071 DBIx::SearchBuilder::Record::LoadByCol('RT::CurrentUser=HASH(0x1f481a8)', 'Name', 'RT_System') called at /opt/rt3/lib/RT/CurrentUser.pm line 203 RT::CurrentUser::LoadByName('RT::CurrentUser=HASH(0x1f481a8)', 'RT_System') called at /opt/rt3/lib/RT.pm line 480 RT::InitSystemObjects() called at /opt/rt3/lib/RT.pm line 187 RT::Init() called at -e line 1 DBD::mysql::st execute failed: SELECT command denied to user 'vtd_rt_dbuser'@'localhost' for table 'Users' at /usr/lib/perl5/site_perl/5.10.0/DBIx/SearchBuilder/Handle.pm line 505. RT::Handle=HASH(0x1e91af0) couldn't execute the query 'SELECT * FROM Users WHERE Name = ?' at /usr/lib/perl5/site_perl/5.10.0/DBIx/SearchBuilder/Handle.pm line 518 DBIx::SearchBuilder::Handle::SimpleQuery('RT::Handle=HASH(0x1e91af0)', 'SELECT * FROM Users WHERE Name = ?', 'Nobody') called at /usr/lib/perl5/site_perl/5.10.0/DBIx/SearchBuilder/Record.pm line 1207 DBIx::SearchBuilder::Record::_LoadFromSQL('RT::CurrentUser=HASH(0x1f22428)', 'SELECT * FROM Users WHERE Name = ?', 'Nobody') called at /usr/lib/perl5/site_perl/5.10.0/DBIx/SearchBuilder/Record.pm line 1126 DBIx::SearchBuilder::Record::LoadByCols('RT::CurrentUser=HASH(0x1f22428)', 'Name', 'Nobody') called at /usr/lib/perl5/site_perl/5.10.0/DBIx/SearchBuilder/Record/Cachable.pm line 119 DBIx::SearchBuilder::Record::Cachable::LoadByCols('RT::CurrentUser=HASH(0x1f2242 8)', 'Name', 'Nobody') called at /opt/rt3/lib/RT/Record.pm line 350 RT::Record::LoadByCols('RT::CurrentUser=HASH(0x1f22428)', 'Name', 'Nobody') called at /usr/lib/perl5/site_perl/5.10.0/DBIx/SearchBuilder/Record.pm line 1071 DBIx::SearchBuilder::Record::LoadByCol('RT::CurrentUser=HASH(0x1f22428)', 'Name', 'Nobody') called at /opt/rt3/lib/RT/CurrentUser.pm line 203 RT::CurrentUser::LoadByName('RT::CurrentUser=HASH(0x1f22428)', 'Nobody') called at /opt/rt3/lib/RT.pm line 484 RT::InitSystemObjects() called at /opt/rt3/lib/RT.pm line 187 RT::Init() called at -e line 1 [Fri Feb 20 08:45:41 2009] [warning]: DBD::mysql::st execute failed: SELECT command denied to user 'vtd_rt_dbuser'@'localhost' for table 'Users' at /usr/lib/perl5/site_perl/5.10.0/DBIx/SearchBuilder/Handle.pm line 505. (/usr/lib/perl5/site_perl/5.10.0/DBIx/SearchBuilder/Handle.pm:505) [Fri Feb 20 08:45:42 2009] [warning]: RT::Handle=HASH(0x1e91af0) couldn't execute the query 'SELECT * FROM Users WHERE Name = ?' at /usr/lib/perl5/site_perl/5.10.0/DBIx/SearchBuilder/Handle.pm line 518 DBIx::SearchBuilder::Handle::SimpleQuery('RT::Handle=HASH(0x1e91af0)', 'SELECT * FROM Users WHERE Name = ?', 'root') called at /usr/lib/perl5/site_perl/5.10.0/DBIx/SearchBuilder/Record.pm line 1207 DBIx::SearchBuilder::Record::_LoadFromSQL('RT::User=HASH(0x393a730)', 'SELECT * FROM Users WHERE Name = ?', 'root') called at /usr/lib/perl5/site_perl/5.10.0/DBIx/SearchBuilder/Record.pm line 1126 DBIx::SearchBuilder::Record::LoadByCols('RT::User=HASH(0x393a730)', 'Name', 'root') called at /usr/lib/perl5/site_perl/5.10.0/DBIx/SearchBuilder/Record/Cachable.pm line 119 DBIx::SearchBuilder::Record::Cachable::LoadByCols('RT::User=HASH(0x393a730)', 'Name', 'root') called at /opt/rt3/lib/RT/Record.pm line 350 RT::Record::LoadByCols('RT::User=HASH(0x393a730)', 'Name', 'root') called at /usr/lib/perl5/site_perl/5.10.0/DBIx/SearchBuilder/Record.pm line 1071 DBIx::SearchBuilder::Record::LoadByCol('RT::User=HASH(0x393a730)', 'Name', 'root') called at /opt/rt3/lib/RT/User_Overlay.pm line 439 RT::User::Load('RT::User=HASH(0x393a730)', 'root') called at -e line 1 (/usr/lib/perl5/5.10.0/Carp.pm:47) [Fri Feb 20 08:45:42 2009] [error]: Couldn't get principal for not loaded object (/opt/rt3/lib/RT/User_Overlay.pm:1113) [Fri Feb 20 08:45:42 2009] [crit]: Can't call method "HasRight" on an undefined value at /opt/rt3/lib/RT/User_Overlay.pm line 1209. (/opt/rt3/lib/RT.pm:377) Can't call method "HasRight" on an undefined value at /opt/rt3/lib/RT/User_Overlay.pm line 1209. Any idea?? Thanks a lot!, and I'm sorry :-( Regards, ALBERTO VILLANUEVA VAL Consultor ____________________________________________ Altran ParqueEmpresarial Las Mercedes, Edificio 1 C/ Campezo, 1. 28022 Madrid Tel : + 34 91 744 46 00 Fax: + 34 91 415 24 57 www.altran.es -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: image001.jpg Type: image/jpeg Size: 3874 bytes Desc: not available URL: From bashir.jahed at nha.co.za Fri Feb 20 04:00:40 2009 From: bashir.jahed at nha.co.za (Bashir Jahed) Date: Fri, 20 Feb 2009 11:00:40 +0200 Subject: [rt-users] Autocreated on ticket submission - Quert Builder In-Reply-To: <499D9D77.8090107@lbl.gov> References: <03D0CD3BAC1F2949B639858D2686296E020E6464@musca.ctn.nha.co.za> <20090219141824.GF14957@it.is.rice.edu> <03D0CD3BAC1F2949B639858D2686296E020E6471@musca.ctn.nha.co.za> <499D6D10.1060004@jennic.com> <03D0CD3BAC1F2949B639858D2686296E020E6482@musca.ctn.nha.co.za> <499D6E8E.7000802@jennic.com> <499D9D77.8090107@lbl.gov> Message-ID: <03D0CD3BAC1F2949B639858D2686296E020E6605@musca.ctn.nha.co.za> Point 2) That is the way it is defined. The "everyone" group is only allowed the "Comment, Create and Reply" as we auto create tickets. No user is given any direct Rights. All rights are queue specific and is assigned to groups. Point 1) there is now way I can go though 100 000 non privileged accounts and uncheck hte "Allow user to Access RT" Box. Please help, is there any way to add it to the RT_SiteConfig" file and rerun it to disable the "allow user to access RT" flag? Bash -----Original Message----- From: Kenneth Crocker [mailto:KFCrocker at lbl.gov] Sent: 19 February 2009 07:57 PM To: Bashir Jahed Cc: rt-users at lists.bestpractical.com Subject: Re: [rt-users] Autocreated on ticket submission - Quert Builder Bashir, What Mike was telling you is that if the "BOTTOM" box is checked for a user, they can have privileges. This means that if you grant the "OwnTicket" right globally to Privileged users, then all these requestors that send in tickets via email will have the right to OWN a ticket, hence they appear on the drop-down. So, you can do a couple different things to resolve this. 1) Uncheck the bottom box on these Users. This could turn out to be a long, ongoing process unless you can set your RT_SiteConfig.pm file to allow them to become unprivileged users only (Top box checked ONLY). I'm not sure what that setting is, perhaps Mike knows. 2) Remove the Global settings for "OwnTicket" and perhaps others like "TakeTicket", "StealTIcket", "DeleteTicket", etc. from Privileged Users or "Everyone" and grant those rights to groups of users. That way privileges are more defined in who can do what and your queries will run MUCH faster as well. Hopes this helps. Kenn LBNL On 2/19/2009 6:37 AM, Mike Peachey wrote: > Bashir Jahed wrote: >> I have done the following: >> >> Checked for a specific user in the search box as owner to confirm it >> shows up. Then went into the specific user and unchecked "/users/Access >> Control/Let this user access RT" checkbox and confirmed that the user no >> longer shows up in the search box in the "Owner Field" > > Because that user is now disabled and is unable to raise tickets from > that e-mail address.. > From bertignac at gmail.com Fri Feb 20 05:20:41 2009 From: bertignac at gmail.com (L B) Date: Fri, 20 Feb 2009 11:20:41 +0100 Subject: [rt-users] Strange things with RT 3.8.2 Approval system Message-ID: Hello, I have a problem with the approval system in RT 3.8.2. I want tickets to get approved by two users. This is exactly what I did : - Default installation of RT 3.8.2 - Creation of two users, USER1 and USER2, privileged. - New group with these two users MYPROJECT_APPROVERS - Creation of a queue MYPROJECT_APPROVAL -> with a new template : approval_template (from Wiki/Oreilly book) ## BEGIN ############################################################################# ===Create-Ticket: approval_MYPROJECT_1 Subject: Approval for {$Tickets{'TOP'}->Subject} Depended-On-By: TOP Queue: ___Approvals Owner: USER1 Type: approval Content: Someone has created a ticket. you should review and approve it, so they can finish their work ENDOFCONTENT ===Create-Ticket: approval_MY_PROJECT_2 Subject: Approval for {$Tickets{'TOP'}->Subject} Depended-On-By: TOP Queue: ___Approvals Owner: USER2 Type: approval Content: Someone has created a ticket. you should review and approve it, so they can finish their work ENDOFCONTENT ## END ############################################################################# -> with a new scrip : approval_scrip ## BEGIN ############################################################################# Condition : On Create Action : Create Tickets Template : approval_template Stage : TransactionCreate ## END ############################################################################# - Enable ___Approval queue - Add rights OwnTicket and ShowTicket on ___Approval queue for MYPROJECT_APPROVERS group - Add rights CreateTicket,ReplyToTicket,SeeQueue,ShowTicket on MYPROJECT_APPROVAL queue for MYPROJECT_APPROVERS group This is the behaviour of this configuration : ################## ## SCENARIO 1 ################## - when user "root" (for instance) creates a ticket in MYPROJECT_APPROVAL queue, a ticket is created with two tickets in the "Depends on" section. One belongs to USER1, the other one to USER2. Each user receives an email with this content : ## BEGIN ############################################################################# Greetings, There is a new item pending your approval: "Approval for test12", a summary of which appears below. Please visit http://xxxxx.xx.com/Approvals/Display.html?id=31 to approve or reject this ticket, or http://xxxxx.xx.com/Approvals/ to batch-process all your pending approvals. ------------------------------------------------------------------------- Someone has created a ticket. you should review and approve it, so they can finish their work ## END ############################################################################# - if one of the user logs in in the interface, he sees the ticket to be approved in the approval section, no problem. Let's says he approves it. The requestor (only) receives this email : ## BEGIN ############################################################################# Greetings, Your ticket has been approved by USER1. Other approvals may be pending. Approver's notes: Ok for USER1 ## END ############################################################################# - the other user logs in and approves the ticket and the requestor receives this email : ## BEGIN ############################################################################# Greetings, Your ticket has been approved by USER2. Its Owner may now start to act on it. Approver's notes: OK for USER2 ## END ############################################################################# Remarks at the end of this scenario: - I think the other approvers should receive a notification that the ticket has been approved by one of them : do I have to add the MYPROJECT_APPROVERS as admincc of the queue ? If I do this, standard scrip will be applied, should I remove some of them ? - The two emails are not exactly the same : one saying other approvals may be pending, the other saying all of them are approved: how can I send an email when the request is partially approved, and another email once all the approvals are done ? For example, emails "Approved by USER1", "Approved by USER2", "Approved by all the approvers" - There is a comment in the email content saying "a summary of which appears below." which is false. How can make it true ? ################## ## SCENARIO 2 ################## - If the first user rejects the email, the requestor receives this : ## BEGIN ############################################################################# Greetings, Your ticket has been rejected by USER1. Approver's notes: ## END ############################################################################# - The ticket is switched from open to rejected. - The second user, who sees it has been rejected but still see it in his approval section, can approve it. The requestor receives this email : ## BEGIN ############################################################################# Greetings, Your ticket has been approved by USER2. Its Owner may now start to act on it. Approver's notes: yes ## END ############################################################################# - And the ticket switches back from rejected to open. Remarks at the end of this scenario : - Why is the comment of the USER1 rejecting the ticket is missing ? USER1 did a comment in the web interface but it doesn't appear neither in the email nor in the web ticket log. - IMO, it shouldn't be possible to approve a ticket once it has been rejected by one of the approvers. Moreover, there is in the email "Its Owner may now start to act on it." which is not true. Maybe these problems are related to my configuration, so is my configuration correct ? Do I use the approval system how it's designed to be used ? Thanks! -- LB From Thomas.Knaupp at schwarz.de Fri Feb 20 05:30:33 2009 From: Thomas.Knaupp at schwarz.de (Knaupp, Thomas) Date: Fri, 20 Feb 2009 11:30:33 +0100 Subject: [rt-users] Display tiff-attachments Message-ID: Hello List, we're using RT 3.8.2. Is there any chance to display (a preview of) tiff-attachments? It works fine with .png, .jpg, etc... so it would be nice to see support for .tiff, too. Kind regards, Tom -- Schwarz Computer Systeme GmbH Altenhofweg 2a 92318 Neumarkt http://www.schwarz.de ___________________________________________ Geschaeftsfuehrer: Manfred Schwarz Sitz der Gesellschaft: Neumarkt i.d.Opf. Registergericht: AG Nuernberg, HRB 11908 ___________________________________________ Diese eMail enthaelt moeglicherweise vertrauliche und/oder rechtlich geschuetzte Informationen. Wenn Sie nicht der richtige Adressat sind oder diese eMail irrtuemlich erhalten haben, informieren Sie bitte sofort den Absender und vernichten Sie diese eMail. Das unerlaubte Kopieren sowie die unbefugte Weitergabe dieser Mail ist nicht gestattet. This email may contain confidential and/or privileged information. If you are not the intended recipient (or have received this email in error) please notify the sender immediately and destroy this email. Any unauthorized copying, disclosure or distribution of the material in this email is strictly forbidden. -------------- next part -------------- A non-text attachment was scrubbed... Name: smime.p7s Type: application/x-pkcs7-signature Size: 34128 bytes Desc: not available URL: From racke at linuxia.de Fri Feb 20 06:12:48 2009 From: racke at linuxia.de (Stefan Hornburg (Racke)) Date: Fri, 20 Feb 2009 12:12:48 +0100 Subject: [rt-users] 500 - Internal error In-Reply-To: References: <698107403-1235071804-cardhu_decombobulator_blackberry.rim.net-1170900759-@bxe1146.bisx.prod.on.blackberry> Message-ID: <499E9030.6000402@linuxia.de> Alberto Villanueva wrote: > The rt log ("/var/log/rt.log") is empty :S :S :S > > The log of apache (/var/log/httpd/error_log): > > [Thu Feb 19 19:38:45 2009] [warning]: DBD::mysql::st execute failed: INSERT > command denied to user 'vtd_rt_dbuser'@'localhost' for table 'sessions' at > /usr/lib/perl5/site_perl/5.10.0/Apache/Session/Store/DBI.pm line 44. > (/usr/lib/perl5/site_perl/5.10.0/Apache/Session/Store/DBI.pm:44) > Looks like vtd_rt_dbuser lacks the proper MySQL permissions write to the sessions table. Regards Racke -- LinuXia Systems => http://www.linuxia.de/ Expert Interchange Consulting and System Administration ICDEVGROUP => http://www.icdevgroup.org/ Interchange Development Team From wikus.smit at gmail.com Fri Feb 20 07:04:06 2009 From: wikus.smit at gmail.com (Wikus Smit) Date: Fri, 20 Feb 2009 12:04:06 +0000 Subject: [rt-users] Automatically add user as new watcher when ticket is taken (RT 3.8.2) Message-ID: Hi, Is there a way to automatically add a user as a new watcher (for that ticket) when a ticket is taken or do I have to add myself every time manually as Cc? Regards, Wikus From mike.peachey at jennic.com Fri Feb 20 07:05:39 2009 From: mike.peachey at jennic.com (Mike Peachey) Date: Fri, 20 Feb 2009 12:05:39 +0000 Subject: [rt-users] Automatically add user as new watcher when ticket is taken (RT 3.8.2) In-Reply-To: References: Message-ID: <499E9C93.7090605@jennic.com> Wikus Smit wrote: > Hi, > > Is there a way to automatically add a user as a new watcher (for that > ticket) when a ticket is taken or do I have to add myself every time > manually as Cc? Watch the queue, not the individual tickets. -- Kind Regards, __________________________________________________ Mike Peachey, IT Tel: +44 114 281 2655 Fax: +44 114 281 2951 Jennic Ltd, Furnival Street, Sheffield, S1 4QT, UK Comp Reg No: 3191371 - Registered In England http://www.jennic.com __________________________________________________ From ruslan.zakirov at gmail.com Fri Feb 20 08:05:14 2009 From: ruslan.zakirov at gmail.com (Ruslan Zakirov) Date: Fri, 20 Feb 2009 16:05:14 +0300 Subject: [rt-users] Automatically add user as new watcher when ticket is taken (RT 3.8.2) In-Reply-To: References: Message-ID: <589c94400902200505n361bee6akcf84fc1096754595@mail.gmail.com> Scrips On Fri, Feb 20, 2009 at 3:04 PM, Wikus Smit wrote: > Hi, > > Is there a way to automatically add a user as a new watcher (for that > ticket) when a ticket is taken or do I have to add myself every time > manually as Cc? > > Regards, > > Wikus > _______________________________________________ > 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 > -- Best regards, Ruslan. From barnesaw at ucrwcu.rwc.uc.edu Fri Feb 20 08:49:49 2009 From: barnesaw at ucrwcu.rwc.uc.edu (Drew Barnes) Date: Fri, 20 Feb 2009 08:49:49 -0500 Subject: [rt-users] Autocreated on ticket submission - Quert Builder In-Reply-To: <03D0CD3BAC1F2949B639858D2686296E020E6605@musca.ctn.nha.co.za> References: <03D0CD3BAC1F2949B639858D2686296E020E6464@musca.ctn.nha.co.za> <20090219141824.GF14957@it.is.rice.edu> <03D0CD3BAC1F2949B639858D2686296E020E6471@musca.ctn.nha.co.za> <499D6D10.1060004@jennic.com> <03D0CD3BAC1F2949B639858D2686296E020E6482@musca.ctn.nha.co.za> <499D6E8E.7000802@jennic.com> <499D9D77.8090107@lbl.gov> <03D0CD3BAC1F2949B639858D2686296E020E6605@musca.ctn.nha.co.za> Message-ID: <499EB4FD.7080604@ucrwcu.rwc.uc.edu> My understanding is that if you do this, that user will not be able to email issues into your RT instance. Is that what you want? If users are showing up in the owner box on the query page, they are getting "OwnTicket" from somewhere. RTx::RightsMatrix would be very helpful for tracking this down. Bashir Jahed wrote: > Point 2) That is the way it is defined. The "everyone" group is only > allowed the "Comment, Create and Reply" as we auto create tickets. No > user is given any direct Rights. All rights are queue specific and is > assigned to groups. > > Point 1) there is now way I can go though 100 000 non privileged > accounts and uncheck hte "Allow user to Access RT" Box. > > Please help, is there any way to add it to the RT_SiteConfig" file and > rerun it to disable the "allow user to access RT" flag? > > Bash > -----Original Message----- > From: Kenneth Crocker [mailto:KFCrocker at lbl.gov] > Sent: 19 February 2009 07:57 PM > To: Bashir Jahed > Cc: rt-users at lists.bestpractical.com > Subject: Re: [rt-users] Autocreated on ticket submission - Quert Builder > > Bashir, > > > What Mike was telling you is that if the "BOTTOM" box is checked > for a > user, they can have privileges. This means that if you grant the > "OwnTicket" right globally to Privileged users, then all these > requestors that send in tickets via email will have the right to OWN a > ticket, hence they appear on the drop-down. So, you can do a couple > different things to resolve this. > 1) Uncheck the bottom box on these Users. This could turn out to > be a > long, ongoing process unless you can set your RT_SiteConfig.pm file to > allow them to become unprivileged users only (Top box checked ONLY). I'm > > not sure what that setting is, perhaps Mike knows. > 2) Remove the Global settings for "OwnTicket" and perhaps others > like > "TakeTicket", "StealTIcket", "DeleteTicket", etc. from Privileged Users > > or "Everyone" and grant those rights to groups of users. That way > privileges are more defined in who can do what and your queries will run > > MUCH faster as well. > Hopes this helps. > > > Kenn > LBNL > > On 2/19/2009 6:37 AM, Mike Peachey wrote: > >> Bashir Jahed wrote: >> >>> I have done the following: >>> >>> Checked for a specific user in the search box as owner to confirm it >>> shows up. Then went into the specific user and unchecked >>> > "/users/Access > >>> Control/Let this user access RT" checkbox and confirmed that the user >>> > no > >>> longer shows up in the search box in the "Owner Field" >>> >> Because that user is now disabled and is unable to raise tickets from >> that e-mail address.. >> >> > > _______________________________________________ > 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 > -- Drew Barnes Applications Analyst Network Resources Department Raymond Walters College University of Cincinnati From bashir.jahed at nha.co.za Fri Feb 20 08:53:23 2009 From: bashir.jahed at nha.co.za (Bashir Jahed) Date: Fri, 20 Feb 2009 15:53:23 +0200 Subject: [rt-users] Autocreated on ticket submission - Quert Builder In-Reply-To: <499EB4FD.7080604@ucrwcu.rwc.uc.edu> References: <03D0CD3BAC1F2949B639858D2686296E020E6464@musca.ctn.nha.co.za> <20090219141824.GF14957@it.is.rice.edu> <03D0CD3BAC1F2949B639858D2686296E020E6471@musca.ctn.nha.co.za> <499D6D10.1060004@jennic.com> <03D0CD3BAC1F2949B639858D2686296E020E6482@musca.ctn.nha.co.za> <499D6E8E.7000802@jennic.com> <499D9D77.8090107@lbl.gov> <03D0CD3BAC1F2949B639858D2686296E020E6605@musca.ctn.nha.co.za> <499EB4FD.7080604@ucrwcu.rwc.uc.edu> Message-ID: <03D0CD3BAC1F2949B639858D2686296E020E6800@musca.ctn.nha.co.za> Managed to fix it... Service desk created a new Queue and assigned all rights to the "Everyone" group for that queue... Rights flowed down and hence they were given the incorrect rights... -----Original Message----- From: Drew Barnes [mailto:barnesaw at ucrwcu.rwc.uc.edu] Sent: 20 February 2009 03:50 PM To: Bashir Jahed Cc: Kenneth Crocker; rt-users at lists.bestpractical.com Subject: Re: [rt-users] Autocreated on ticket submission - Quert Builder My understanding is that if you do this, that user will not be able to email issues into your RT instance. Is that what you want? If users are showing up in the owner box on the query page, they are getting "OwnTicket" from somewhere. RTx::RightsMatrix would be very helpful for tracking this down. Bashir Jahed wrote: > Point 2) That is the way it is defined. The "everyone" group is only > allowed the "Comment, Create and Reply" as we auto create tickets. No > user is given any direct Rights. All rights are queue specific and is > assigned to groups. > > Point 1) there is now way I can go though 100 000 non privileged > accounts and uncheck hte "Allow user to Access RT" Box. > > Please help, is there any way to add it to the RT_SiteConfig" file and > rerun it to disable the "allow user to access RT" flag? > > Bash > -----Original Message----- > From: Kenneth Crocker [mailto:KFCrocker at lbl.gov] > Sent: 19 February 2009 07:57 PM > To: Bashir Jahed > Cc: rt-users at lists.bestpractical.com > Subject: Re: [rt-users] Autocreated on ticket submission - Quert Builder > > Bashir, > > > What Mike was telling you is that if the "BOTTOM" box is checked > for a > user, they can have privileges. This means that if you grant the > "OwnTicket" right globally to Privileged users, then all these > requestors that send in tickets via email will have the right to OWN a > ticket, hence they appear on the drop-down. So, you can do a couple > different things to resolve this. > 1) Uncheck the bottom box on these Users. This could turn out to > be a > long, ongoing process unless you can set your RT_SiteConfig.pm file to > allow them to become unprivileged users only (Top box checked ONLY). I'm > > not sure what that setting is, perhaps Mike knows. > 2) Remove the Global settings for "OwnTicket" and perhaps others > like > "TakeTicket", "StealTIcket", "DeleteTicket", etc. from Privileged Users > > or "Everyone" and grant those rights to groups of users. That way > privileges are more defined in who can do what and your queries will run > > MUCH faster as well. > Hopes this helps. > > > Kenn > LBNL > > On 2/19/2009 6:37 AM, Mike Peachey wrote: > >> Bashir Jahed wrote: >> >>> I have done the following: >>> >>> Checked for a specific user in the search box as owner to confirm it >>> shows up. Then went into the specific user and unchecked >>> > "/users/Access > >>> Control/Let this user access RT" checkbox and confirmed that the user >>> > no > >>> longer shows up in the search box in the "Owner Field" >>> >> Because that user is now disabled and is unable to raise tickets from >> that e-mail address.. >> >> > > _______________________________________________ > 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 > -- Drew Barnes Applications Analyst Network Resources Department Raymond Walters College University of Cincinnati From Simon.Dray at antplc.com Fri Feb 20 09:35:21 2009 From: Simon.Dray at antplc.com (Simon Dray) Date: Fri, 20 Feb 2009 14:35:21 +0000 Subject: [rt-users] How to inhibit Ticket search facility on user by user basis Message-ID: <71c2cb8f51468f223c4f635d08f365a7792df17f@localhost> Hello, RT 3.8.2 How can I restrict who can see the search facility "Tickets", I do not want some users to be able to see this facility as it lists usernames as one of the options. Regards Simon -------------- next part -------------- An HTML attachment was scrubbed... URL: From rob.munsch at gmail.com Fri Feb 20 10:50:13 2009 From: rob.munsch at gmail.com (Rob Munsch) Date: Fri, 20 Feb 2009 10:50:13 -0500 Subject: [rt-users] Still tryin' to merge tix with matching CFs In-Reply-To: <8fae230c0902181343r10690754g845cc37ae3aa597b@mail.gmail.com> References: <8fae230c0902180841i257443c7q45be636810b8d338@mail.gmail.com> <8fae230c0902181343r10690754g845cc37ae3aa597b@mail.gmail.com> Message-ID: <8fae230c0902200750r54d289ddvc824e95f0deb99a4@mail.gmail.com> > I have this working in my RT 3.8.2 installation. It isn't a very busy system and I have yet to notice any performance issues. We only get about 50 tickets per day and it has less than 5000 tickets in the system. This has been working. Incoming tickets are scanned for CFs, then merged when the CF i'm looking for matches. Now here's a funny story... I can't create any child, or refers-to, or any other sort of new ticket linked to this one. It has the same CF value, and is being Created, so.... it gets instantly merged into the original ticket... The only workaround i can think of is to restrict the search and merge to a queue, and create linked tickets outside that queue, but that isn't very satisfying and means explaining to everyone why they can never have two linked tickets in the same queue. Anyone have a better idea? -- /chown -R us:us /yourbase From rfh at vialtus.com Fri Feb 20 11:14:48 2009 From: rfh at vialtus.com (Raed El-Hames) Date: Fri, 20 Feb 2009 16:14:48 +0000 Subject: [rt-users] Still tryin' to merge tix with matching CFs In-Reply-To: <8fae230c0902200750r54d289ddvc824e95f0deb99a4@mail.gmail.com> References: <8fae230c0902180841i257443c7q45be636810b8d338@mail.gmail.com> <8fae230c0902181343r10690754g845cc37ae3aa597b@mail.gmail.com> <8fae230c0902200750r54d289ddvc824e95f0deb99a4@mail.gmail.com> Message-ID: <499ED6F8.1060502@vialtus.com> Hi Rob; What happens if you create the ticket first, then update /modify it adding the CF and link relationship after .. Its more clicks for the users but may work for you .. In a way I think there is some contradictions on what you doing, you want all tickets with the same CF to merge , but at the same time you want some not to Regards; Roy Rob Munsch wrote: >> I have this working in my RT 3.8.2 installation. It isn't a very busy system and I have yet to notice any performance issues. We only get about 50 tickets per day and it has less than 5000 tickets in the system. >> > > This has been working. Incoming tickets are scanned for CFs, then > merged when the CF i'm looking for matches. Now here's a funny > story... > > I can't create any child, or refers-to, or any other sort of new > ticket linked to this one. It has the same CF value, and is being > Created, so.... it gets instantly merged into the original ticket... > > The only workaround i can think of is to restrict the search and merge > to a queue, and create linked tickets outside that queue, but that > isn't very satisfying and means explaining to everyone why they can > never have two linked tickets in the same queue. Anyone have a better > idea? > > -- > /chown -R us:us /yourbase > _______________________________________________ > 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 > -- *Roy El-hames * ISP Systems *Vialtus Solutions* *(formerly Pipex Business)* Direct Dial: +44(0) 208 587 6181 E-mail: rfh at vialtus.com Visit us on: www.vialtus.com This email is subject to: http://www.vialtus.com/disclaimer.html From alberto.villanueva at altran.es Fri Feb 20 11:39:00 2009 From: alberto.villanueva at altran.es (Alberto Villanueva) Date: Fri, 20 Feb 2009 17:39:00 +0100 Subject: [rt-users] Users Message-ID: Hi all, I have two questions: 1.- The "users" table is related to.. what tables?? 2.- I created a user within rt tool (command line), but the user cannot authenticate via web interface. The question is: what is the attribute that it would permit to do that within rt tool (command line)?? thanks! Regards, ALBERTO VILLANUEVA VAL Consultor ____________________________________________ Altran ParqueEmpresarial Las Mercedes, Edificio 1 C/ Campezo, 1. 28022 Madrid Tel : + 34 91 744 46 00 Fax: + 34 91 415 24 57 www.altran.es -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: image001.jpg Type: image/jpeg Size: 3874 bytes Desc: not available URL: From alberto.villanueva at altran.es Fri Feb 20 11:53:23 2009 From: alberto.villanueva at altran.es (Alberto Villanueva) Date: Fri, 20 Feb 2009 17:53:23 +0100 Subject: [rt-users] Users In-Reply-To: References: Message-ID: The users table is related to Principals :-) The second question is not necessary because I have had via SQL. Thanks a lot! Regards, ALBERTO VILLANUEVA VAL Consultor ____________________________________________ Altran ParqueEmpresarial Las Mercedes, Edificio 1 C/ Campezo, 1. 28022 Madrid Tel : + 34 91 744 46 00 Fax: + 34 91 415 24 57 www.altran.es _____ size=2 width="100%" align=center> De: rt-users-bounces at lists.bestpractical.com [mailto:rt-users-bounces at lists.bestpractical.com] En nombre de Alberto Villanueva Enviado el: viernes, 20 de febrero de 2009 17:39 Para: rt-users at lists.bestpractical.com Asunto: [rt-users] Users Hi all, I have two questions: 1.- The "users" table is related to.. what tables?? 2.- I created a user within rt tool (command line), but the user cannot authenticate via web interface. The question is: what is the attribute that it would permit to do that within rt tool (command line)?? thanks! Regards, ALBERTO VILLANUEVA VAL Consultor ____________________________________________ Altran ParqueEmpresarial Las Mercedes, Edificio 1 C/ Campezo, 1. 28022 Madrid Tel : + 34 91 744 46 00 Fax: + 34 91 415 24 57 www.altran.es -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: image001.jpg Type: image/jpeg Size: 3874 bytes Desc: not available URL: From toml at bitstatement.net Fri Feb 20 12:17:02 2009 From: toml at bitstatement.net (Tom Lahti) Date: Fri, 20 Feb 2009 09:17:02 -0800 Subject: [rt-users] Display tiff-attachments In-Reply-To: References: Message-ID: <499EE58E.1040600@bitstatement.net> Knaupp, Thomas wrote: > Hello List, > > we're using RT 3.8.2. > Is there any chance to display (a preview of) tiff-attachments? > It works fine with .png, .jpg, etc... so it would be nice to see support for .tiff, too. I don't know of any web browsers that display TIFF images; certainly not IE or Firefox. I suppose it should be possible to internally convert the TIFF to a browser-supported image type in a temp file and send that to the browser as a "preview", but image conversion is very CPU expensive. You're better off just storing it as an image type that web browsers can display in the first place. -- ============================ Tom Lahti BIT Statement LLC http://www.bitstatement.net/ -- ============================ From cassandra at bestpractical.com Fri Feb 20 12:56:50 2009 From: cassandra at bestpractical.com (Cassandra Phillips-Sears) Date: Fri, 20 Feb 2009 12:56:50 -0500 Subject: [rt-users] Display tiff-attachments In-Reply-To: <499EE58E.1040600@bitstatement.net> References: <499EE58E.1040600@bitstatement.net> Message-ID: Hello. You can get plugins that display TIFFs (http://www.alternatiff.com/ looks like it works in IE as well as Firefox, Opera, and Chrome) but I agree with Thomas' approach. -- Cassandra Phillips-Sears Office Manager Best Practical Solutions, LLC http://www.bestpractical.com On Feb 20, 2009, at 12:17 PM 2/20/09, Tom Lahti wrote: > Knaupp, Thomas wrote: >> Hello List, >> >> we're using RT 3.8.2. >> Is there any chance to display (a preview of) tiff-attachments? >> It works fine with .png, .jpg, etc... so it would be nice to see >> support for .tiff, too. > > I don't know of any web browsers that display TIFF images; certainly > not IE or > Firefox. I suppose it should be possible to internally convert the > TIFF to a > browser-supported image type in a temp file and send that to the > browser as a > "preview", but image conversion is very CPU expensive. You're > better off just > storing it as an image type that web browsers can display in the > first place. > > -- ============================ > Tom Lahti > BIT Statement LLC > > http://www.bitstatement.net/ > -- ============================ > > > _______________________________________________ > 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 From hall at fas.sfu.ca Fri Feb 20 12:47:16 2009 From: hall at fas.sfu.ca (Gary Hall) Date: Fri, 20 Feb 2009 09:47:16 -0800 Subject: [rt-users] rt-3.8 PAM/NIS authentication on CentOS Linux Message-ID: <499EECA4.2050002@fas.sfu.ca> Greetings, I am trying to upgrade my SuSE 10 rt-3.6 installation to rt-3.8 on CentOS 5.2. The SuSE installation authenticates users against our NIS maps via PAM using Authen::Simple::PAM within Apache. This arrangement does not work on CentOS because authentication via Authen::Simple::PAM fails unless the effective user is root (Apache runs as nobody). Can anyone tell me how to make PAM/NIS authentication for RT work securely on CentOS 5.2? -- Gary Hall From jrhett at netconsonance.com Fri Feb 20 13:03:43 2009 From: jrhett at netconsonance.com (Jo Rhett) Date: Fri, 20 Feb 2009 10:03:43 -0800 Subject: [rt-users] Automatically add user as new watcher when ticket is taken (RT 3.8.2) In-Reply-To: <589c94400902200505n361bee6akcf84fc1096754595@mail.gmail.com> References: <589c94400902200505n361bee6akcf84fc1096754595@mail.gmail.com> Message-ID: I think Wikus knows that, I think he was hoping for a direct link or suggestion. I've handled this by adding a script that sends updates to the ticket owner as well, but they get duplicates if they are a queue watcher so I'm curious about this. I planned to dig around for functions today to see if someone is a watcher, etc. On Feb 20, 2009, at 5:05 AM, Ruslan Zakirov wrote: > Scrips > > On Fri, Feb 20, 2009 at 3:04 PM, Wikus Smit > wrote: >> Hi, >> >> Is there a way to automatically add a user as a new watcher (for >> that >> ticket) when a ticket is taken or do I have to add myself every time >> manually as Cc? >> >> Regards, >> >> Wikus >> _______________________________________________ >> 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 >> > > > > -- > 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 -- Jo Rhett Net Consonance : consonant endings by net philanthropy, open source and other randomness -------------- next part -------------- An HTML attachment was scrubbed... URL: From jesse at bestpractical.com Fri Feb 20 13:04:38 2009 From: jesse at bestpractical.com (Jesse Vincent) Date: Fri, 20 Feb 2009 13:04:38 -0500 Subject: [rt-users] RT 3.8 mangles html attachment In-Reply-To: <519782dc0902191048w34a07af1j6e4334d4c8600fe7@mail.gmail.com> References: <519782dc0902190811v14e6c752u94274f26bafdafce@mail.gmail.com> <519782dc0902190833l190563d7td1a133c50b7a7f21@mail.gmail.com> <20090219163550.GR53289@17h.local> <519782dc0902190842i486f1723wa51fd776ca6fe9a4@mail.gmail.com> <20090219164532.GV53289@17h.local> <519782dc0902190855l18a2e166xfd297d61efd3baf8@mail.gmail.com> <20090219172940.GD53289@17h.local> <519782dc0902190956m654d2a83hea8e2582f198521e@mail.gmail.com> <20090219182245.GM53289@17h.local> <519782dc0902191048w34a07af1j6e4334d4c8600fe7@mail.gmail.com> Message-ID: <20090220180438.GF97163@17h.local> On Thu 19.Feb'09 at 13:48:48 -0500, Todd Chapman wrote: > Well, what does the database say for content-type? Is the content in the > database 'right'? > > Sorry. And thanks again for all the help! > > mysql> select Subject, Filename, ContentType, ContentEncoding, Headers > from Attachments where id=10792\G > X-Mailer: MIME-tools 5.426 (Entity 5.426) > Content-Type: text/html; > charset="utf-8"; > Content-Transfer-Encoding: binary > X-RT-Original-Encoding: utf-8 > Content-Length: 73017 This really does look like our content-type sniffing for HTML probably wants to look inside the content for an encoding. But there's a chicken and egg problem there. I think you probably want to see if Encode::Guess does the right thing with your utf-16 html. If so, then it might be a problem in how RT uses it. I look forward to further triage. -j -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 194 bytes Desc: not available URL: From todd at chaka.net Fri Feb 20 13:34:52 2009 From: todd at chaka.net (Todd Chapman) Date: Fri, 20 Feb 2009 13:34:52 -0500 Subject: [rt-users] RT 3.8 mangles html attachment In-Reply-To: <20090220180438.GF97163@17h.local> References: <519782dc0902190811v14e6c752u94274f26bafdafce@mail.gmail.com> <20090219163550.GR53289@17h.local> <519782dc0902190842i486f1723wa51fd776ca6fe9a4@mail.gmail.com> <20090219164532.GV53289@17h.local> <519782dc0902190855l18a2e166xfd297d61efd3baf8@mail.gmail.com> <20090219172940.GD53289@17h.local> <519782dc0902190956m654d2a83hea8e2582f198521e@mail.gmail.com> <20090219182245.GM53289@17h.local> <519782dc0902191048w34a07af1j6e4334d4c8600fe7@mail.gmail.com> <20090220180438.GF97163@17h.local> Message-ID: <519782dc0902201034l31137ca3lca819b8dd62a8176@mail.gmail.com> On Fri, Feb 20, 2009 at 1:04 PM, Jesse Vincent wrote: > > > > On Thu 19.Feb'09 at 13:48:48 -0500, Todd Chapman wrote: >> Well, what does the database say for content-type? Is the content in the >> database 'right'? >> >> Sorry. And thanks again for all the help! >> >> mysql> select Subject, Filename, ContentType, ContentEncoding, Headers >> from Attachments where id=10792\G >> X-Mailer: MIME-tools 5.426 (Entity 5.426) >> Content-Type: text/html; >> charset="utf-8"; >> Content-Transfer-Encoding: binary >> X-RT-Original-Encoding: utf-8 >> Content-Length: 73017 > > This really does look like our content-type sniffing for HTML probably > wants to look inside the content for an encoding. But there's a chicken > and egg problem there. > > I think you probably want to see if Encode::Guess does the right thing > with your utf-16 html. If so, then it might be a problem in how RT uses > it. > > I look forward to further triage. > Hmmm. Just noticed this error: [Fri Feb 20 18:32:55 2009] [debug]: Converting 'UTF-16' to 'utf-8' for text/html - Re Eprize RPC interface failing on DC registration.htm (/opt/rt3-devel/bin/../lib/RT/I18N.pm:234) [Fri Feb 20 18:32:55 2009] [error]: Encoding error: UTF-16:Unrecognised BOM 78 at /usr/lib64/perl5/5.8.8/x86_64-linux-thread-multi/Encode.pm line 190. And just found this in production: Feb 19 10:39:28 c0sup-rt02 RT: Encoding error: UTF-16:Unrecognised BOM 78 at /usr/lib64/perl5/5.8.8/x86_64-linux-thread-multi/Encode.pm line 190. Stack: [/usr/lib64/perl5/5.8.8/x86_64-linux-thread-multi/Encode.pm:190] [/opt/rt3/bin/../lib/RT/I18N.pm:235] [/opt/rt3/bin/../lib/RT/I18N.pm:153] [/opt/rt3/bin/../lib/RT/Interface/Web.pm:853] [/opt/rt3/share/html/Ticket/Update.html:308] [/opt/rt3/share/html/autohandler:311] defaulting to ISO-8859-1 -> UTF-8 (/opt/rt3/bin/../lib/RT/I18N.pm:239) Word putting in an invalid BOM? I upgraded Encode from 2.26 to 2.31 but it had no effect. From anthony at strand1.com Fri Feb 20 13:38:10 2009 From: anthony at strand1.com (anthony at strand1.com) Date: Fri, 20 Feb 2009 13:38:10 -0500 Subject: [rt-users] Display tiff-attachments In-Reply-To: <499EE58E.1040600@bitstatement.net> Message-ID: // I don't know of any web browsers that display TIFF images... Safari and Konqueror do, and a bunch of less significant ones. Still, it's almost certainly a better use of your time to convert the images into something with broader browser support. From jesse at bestpractical.com Fri Feb 20 13:43:36 2009 From: jesse at bestpractical.com (Jesse Vincent) Date: Fri, 20 Feb 2009 13:43:36 -0500 Subject: [rt-users] RT 3.8 mangles html attachment In-Reply-To: <519782dc0902201034l31137ca3lca819b8dd62a8176@mail.gmail.com> References: <20090219163550.GR53289@17h.local> <519782dc0902190842i486f1723wa51fd776ca6fe9a4@mail.gmail.com> <20090219164532.GV53289@17h.local> <519782dc0902190855l18a2e166xfd297d61efd3baf8@mail.gmail.com> <20090219172940.GD53289@17h.local> <519782dc0902190956m654d2a83hea8e2582f198521e@mail.gmail.com> <20090219182245.GM53289@17h.local> <519782dc0902191048w34a07af1j6e4334d4c8600fe7@mail.gmail.com> <20090220180438.GF97163@17h.local> <519782dc0902201034l31137ca3lca819b8dd62a8176@mail.gmail.com> Message-ID: <20090220184336.GO97163@17h.local> > Hmmm. Just noticed this error: > > [Fri Feb 20 18:32:55 2009] [debug]: Converting 'UTF-16' to 'utf-8' for > text/html - Re Eprize RPC interface failing on DC registration.htm > (/opt/rt3-devel/bin/../lib/RT/I18N.pm:234) > [Fri Feb 20 18:32:55 2009] [error]: Encoding error: > UTF-16:Unrecognised BOM 78 at > /usr/lib64/perl5/5.8.8/x86_64-linux-thread-multi/Encode.pm line 190. How small a test case can you get to fail like that? From schenkin at gmail.com Fri Feb 20 14:37:38 2009 From: schenkin at gmail.com (Sam Chenkin) Date: Fri, 20 Feb 2009 14:37:38 -0500 Subject: [rt-users] Recurring mason_data Permissions Issue Message-ID: <2f7527a00902201137g175372abuf7211b9fa0f09fbc@mail.gmail.com> I just started getting a really strange error with my RT (3.8.2) installation. At least once a week the permissions in the mason_data directory get screwed up, resulting in errors like this when I try to access the web interface: Couldn't create object file /opt/rt3/var/mason_data/obj/3452752852/standard/index.html.obj: Permission denied If I remember correctly one of the directories ends up being set with root as the user and group. I'm afraid I forgot to check last time it happened so I can't be sure. I see NOTHING in my RT error log. My apache2 error log gives me: (9)Bad file descriptor: apr_socket_accept: (client socket). To fix it I just chown/chgrp/chmod and everything works again, but it happens frequently and the root issue needs to be addressed. I found this thread: http://www.gossamer-threads.com/lists/rt/users/43558 but it doesn't really contain much useful information. The issue doesn't seem to be precipitated by anything, though sometimes it happens right after one of my users comments on a ticket. Anyone have any ideas? From KFCrocker at lbl.gov Fri Feb 20 14:41:43 2009 From: KFCrocker at lbl.gov (Kenneth Crocker) Date: Fri, 20 Feb 2009 11:41:43 -0800 Subject: [rt-users] Users In-Reply-To: References: Message-ID: <499F0777.5060806@lbl.gov> Alberto, Users are everywhere. Not only are they related to Principals, they are also related to ACL (if they have any rights), To GROUPS, GROUPMEMBERS, CACHEDGROUPMEMBERS, TRANSACTIONS, and TICKETS. For example. Let's say your RT installation allows Users to be added when they create a ticket via Email. Let's also say that you have set privileges to allow ALL Requestors some rights. Now an EMail is sent to RT. The result will be as follows: 1) USER record for this person. 2) PRINCIPAL record for this person. 3) GROUP record for the "User-Equiv" record for this User. 4) GROUPMEMBER for this User (as a Requestor) and this will repeat for all ticket this person has requested. There will also be records for everygroup this User is in, like "Everyone" and " Privileged". 5) CACHEDGROUPMEMBER record for each ticket and group. 6) TICKET record will have the User if they end up as an owner. 7) TRANSACTION record will exist for the initial Email that was sent listing the User as the "CREATOR". 8) ATTACHMENTS record will exist for the User as the "CREATOR" for any attachments that came with the Email. 9) ATTRIBUTES record will also exist if this User has the rights to create Queries and does and saves them. OR if this User uses the WebUI and sets up one of the default queries in their home page. An ATTRIBUTE record will exist for each query. So, as you can see, the User can exist all over the place. As to your second question, I would go in as the "SuperUSer" and navigate thus Configuration->Users and find this user and make sure the two boxes at the bottom are checked. This will give the User the ability to acces the system AND have privileges granted. From that point, I would put the User in a group with other User that need the same privileges so you won't have to maintain rights on an individual basis, which is a LOT of work. Hope this helps. Kenn LBNL On 2/20/2009 8:39 AM, Alberto Villanueva wrote: > Hi all, > > > > I have two questions: > > > > 1.- The ?users? table is related to?? what tables?? > > > > 2.- I created a user within rt tool (command line), but the user cannot > authenticate via web interface. The question is: what is the attribute > that it would permit to do that within rt tool (command line)?? > > > > thanks! > > > > Regards, > > > ALBERTO VILLANUEVA VAL > > Consultor > > ____________________________________________ > > *Altran* > > > > ParqueEmpresarial Las Mercedes, Edificio 1 > C/ Campezo, 1. 28022 Madrid > Tel : + 34 91 744 46 00 > Fax: + 34 91 415 24 57 > > www.altran.es > > > > > > > > > ------------------------------------------------------------------------ > > _______________________________________________ > 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 From todd at chaka.net Fri Feb 20 14:46:49 2009 From: todd at chaka.net (Todd Chapman) Date: Fri, 20 Feb 2009 14:46:49 -0500 Subject: [rt-users] RT 3.8 mangles html attachment In-Reply-To: <20090220184336.GO97163@17h.local> References: <20090219163550.GR53289@17h.local> <20090219164532.GV53289@17h.local> <519782dc0902190855l18a2e166xfd297d61efd3baf8@mail.gmail.com> <20090219172940.GD53289@17h.local> <519782dc0902190956m654d2a83hea8e2582f198521e@mail.gmail.com> <20090219182245.GM53289@17h.local> <519782dc0902191048w34a07af1j6e4334d4c8600fe7@mail.gmail.com> <20090220180438.GF97163@17h.local> <519782dc0902201034l31137ca3lca819b8dd62a8176@mail.gmail.com> <20090220184336.GO97163@17h.local> Message-ID: <519782dc0902201146q7a921748xe3500748cee477bd@mail.gmail.com> The attached script and input file trigger the error. I think the problem is the loop on @lines. The BOM is only in the first line so the rest is cornfused. On Fri, Feb 20, 2009 at 1:43 PM, Jesse Vincent wrote: >> Hmmm. Just noticed this error: >> >> [Fri Feb 20 18:32:55 2009] [debug]: Converting 'UTF-16' to 'utf-8' for >> text/html - Re Eprize RPC interface failing on DC registration.htm >> (/opt/rt3-devel/bin/../lib/RT/I18N.pm:234) >> [Fri Feb 20 18:32:55 2009] [error]: Encoding error: >> UTF-16:Unrecognised BOM 78 at >> /usr/lib64/perl5/5.8.8/x86_64-linux-thread-multi/Encode.pm line 190. > > How small a test case can you get to fail like that? > -------------- next part -------------- use strict; use warnings; use RT; RT::LoadConfig(); RT::Init(); use MIME::Entity; use RT::I18N; my $Message = MIME::Entity->build( Type => 'multipart/mixed', Subject => "foo", ); open(my $filehandle, "<", "file") or die; my (@content,$buffer); while ( my $bytesread = read( $filehandle, $buffer, 4096 ) ) { push @content, $buffer; } $Message->attach( Type => "text/html", Filename => 'myfile', Data => \@content, ); $Message->make_singlepart; RT::I18N::SetMIMEEntityToUTF8($Message); # convert text parts into utf-8 -------------- next part -------------- A non-text attachment was scrubbed... Name: file Type: application/octet-stream Size: 40 bytes Desc: not available URL: From jesse at bestpractical.com Fri Feb 20 16:35:11 2009 From: jesse at bestpractical.com (Jesse Vincent) Date: Fri, 20 Feb 2009 16:35:11 -0500 Subject: [rt-users] RT 3.8 mangles html attachment In-Reply-To: <519782dc0902201146q7a921748xe3500748cee477bd@mail.gmail.com> References: <20090219164532.GV53289@17h.local> <519782dc0902190855l18a2e166xfd297d61efd3baf8@mail.gmail.com> <20090219172940.GD53289@17h.local> <519782dc0902190956m654d2a83hea8e2582f198521e@mail.gmail.com> <20090219182245.GM53289@17h.local> <519782dc0902191048w34a07af1j6e4334d4c8600fe7@mail.gmail.com> <20090220180438.GF97163@17h.local> <519782dc0902201034l31137ca3lca819b8dd62a8176@mail.gmail.com> <20090220184336.GO97163@17h.local> <519782dc0902201146q7a921748xe3500748cee477bd@mail.gmail.com> Message-ID: <20090220213511.GX97163@17h.local> On Fri 20.Feb'09 at 14:46:49 -0500, Todd Chapman wrote: > The attached script and input file trigger the error. I think the > problem is the loop on @lines. The BOM is only in the first line so > the rest is cornfused. If you're up for actually rewriting that as a test file that loads the data and checks what it creates, I'm game for trying to debug it. > > > > On Fri, Feb 20, 2009 at 1:43 PM, Jesse Vincent wrote: > >> Hmmm. Just noticed this error: > >> > >> [Fri Feb 20 18:32:55 2009] [debug]: Converting 'UTF-16' to 'utf-8' for > >> text/html - Re Eprize RPC interface failing on DC registration.htm > >> (/opt/rt3-devel/bin/../lib/RT/I18N.pm:234) > >> [Fri Feb 20 18:32:55 2009] [error]: Encoding error: > >> UTF-16:Unrecognised BOM 78 at > >> /usr/lib64/perl5/5.8.8/x86_64-linux-thread-multi/Encode.pm line 190. > > > > How small a test case can you get to fail like that? > > > use strict; > use warnings; > > use RT; > RT::LoadConfig(); > RT::Init(); > > use MIME::Entity; > use RT::I18N; > > my $Message = MIME::Entity->build( > Type => 'multipart/mixed', > Subject => "foo", > ); > > > open(my $filehandle, "<", "file") or die; > > my (@content,$buffer); > while ( my $bytesread = read( $filehandle, $buffer, 4096 ) ) { > push @content, $buffer; > } > > $Message->attach( > Type => "text/html", > Filename => 'myfile', > Data => \@content, > ); > > $Message->make_singlepart; > RT::I18N::SetMIMEEntityToUTF8($Message); # convert text parts into utf-8 -- -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 194 bytes Desc: not available URL: From KFCrocker at lbl.gov Fri Feb 20 18:08:04 2009 From: KFCrocker at lbl.gov (Kenneth Crocker) Date: Fri, 20 Feb 2009 15:08:04 -0800 Subject: [rt-users] RT Default query My Tickets Message-ID: <499F37D4.80509@lbl.gov> To all, I need to make some changes to the default Query "My Tickets". Where would I find that code to change some of the default sorts? Thanks. Kenn LBNL From rob.munsch at gmail.com Fri Feb 20 18:38:00 2009 From: rob.munsch at gmail.com (Rob Munsch) Date: Fri, 20 Feb 2009 18:38:00 -0500 Subject: [rt-users] Still tryin' to merge tix with matching CFs In-Reply-To: <499ED6F8.1060502@vialtus.com> References: <8fae230c0902180841i257443c7q45be636810b8d338@mail.gmail.com> <8fae230c0902181343r10690754g845cc37ae3aa597b@mail.gmail.com> <8fae230c0902200750r54d289ddvc824e95f0deb99a4@mail.gmail.com> <499ED6F8.1060502@vialtus.com> Message-ID: <8fae230c0902201538i73e37108j5f035187e861b6e6@mail.gmail.com> On Fri, Feb 20, 2009 at 11:14 AM, Raed El-Hames wrote: > What happens if you create the ticket first, then update /modify it adding > the CF and link relationship after .. I'm not sure what you mean; this is the chain of events already. The ticket comes in, and ExtractCustomFieldValues scans the body for info that goes into custom fields as it's created. Some tickets will need to spawn other tickets. Since they're related to the same task / info / event, they need to have the same CF data. But since they have the same CF data, the ticket Create event merges it into the parent or referrer or whatever. I guess what i want is tickets that are created via email submission should be merged without user intervention, but manually created tickets should not. > Its more clicks for the users but may work for you .. I do not envision success telling the users that, heh. > In a way I think there is some contradictions on what you doing, you want > all tickets with the same CF to merge , but at the same time you want some > not to Yeah, i guess more precisely it's how they're created that's important. Automated systems may spew 2-10 notifications about the same event, and they arrive via email, and they should all be one ticket. A user creating a ticket by hand should be trusted to be creating a new ticket for a reason and not get it automerged. If i can't solve this, i either can't automerge all the automated duplicates, or i can't use links. Neither option is attractive. Clunky last resort at this point seems to be to clear the CF on the form when following the Create link from Links... box, then add them back afterwards. Bleh. -- /chown -R us:us /yourbase From ruslan.zakirov at gmail.com Fri Feb 20 22:24:49 2009 From: ruslan.zakirov at gmail.com (Ruslan Zakirov) Date: Sat, 21 Feb 2009 06:24:49 +0300 Subject: [rt-users] Automatically add user as new watcher when ticket is taken (RT 3.8.2) In-Reply-To: References: <589c94400902200505n361bee6akcf84fc1096754595@mail.gmail.com> Message-ID: <589c94400902201924i58944e99kc76e64dc6f9297d6@mail.gmail.com> Search for AddWatcher on the wiki which gives you several examples of dealing with watchers from scrips. For example: http://wiki.bestpractical.com/view/AutoCcLastOwner Duplicates are described on the wiki too: http://wiki.bestpractical.com/view/ScripAction On Fri, Feb 20, 2009 at 9:03 PM, Jo Rhett wrote: > I think Wikus knows that, I think he was hoping for a direct link or > suggestion. > I've handled this by adding a script that sends updates to the ticket owner > as well, but they get duplicates if they are a queue watcher so I'm curious > about this. I planned to dig around for functions today to see if someone > is a watcher, etc. > On Feb 20, 2009, at 5:05 AM, Ruslan Zakirov wrote: > > Scrips > > On Fri, Feb 20, 2009 at 3:04 PM, Wikus Smit wrote: > > Hi, > > Is there a way to automatically add a user as a new watcher (for that > > ticket) when a ticket is taken or do I have to add myself every time > > manually as Cc? > > Regards, > > Wikus > > _______________________________________________ > > 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 > > > > > -- > 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 > > -- > > Jo Rhett > > Net Consonance : consonant endings by net philanthropy, open source and > other randomness > > -- Best regards, Ruslan. From clkao at bestpractical.com Sat Feb 21 01:09:51 2009 From: clkao at bestpractical.com (Chia-liang Kao) Date: Sat, 21 Feb 2009 06:09:51 +0000 (UTC) Subject: [rt-users] Strange things with RT 3.8.2 Approval system References: Message-ID: Hi, L B gmail.com> writes: > ################## > ## SCENARIO 1 > ################## > Remarks at the end of this scenario: > - I think the other approvers should receive a notification that the > ticket has been approved by one of them : do I have to add the > MYPROJECT_APPROVERS as admincc of the queue ? If I do this, standard > scrip will be applied, should I remove some of them ? see if it works if you add user2 to the cc of the approval scrip template for user1, and vice versa for user1 in template for user2. > - The two emails are not exactly the same : one saying other approvals > may be pending, the other saying all of them are approved: how can I > send an email when the request is partially approved, and another > email once all the approvals are done ? For example, emails "Approved > by USER1", "Approved by USER2", "Approved by all the approvers" In RT::Approval::Rule::Passed, the partially approved and all approved cases are simply using different templates ('Approval Passed' and 'All Approvals Passed', respectively). I don't think the workflow currently supporting sending both types of mails in the last approval that triggers complete approval. > - There is a comment in the email content saying "a summary of which > appears below." which is false. How can make it true ? The section is the "Content" part in your template. you can use strings such as {$Tickets{"TOP"}->Subject} to refer to the subject of the ticket to be approved in the template. > ################## > ## SCENARIO 2 > ################## > - Why is the comment of the USER1 rejecting the ticket is missing ? > USER1 did a comment in the web interface but it doesn't appear neither > in the email nor in the web ticket log. > - IMO, it shouldn't be possible to approve a ticket once it has been > rejected by one of the approvers. Moreover, there is in the email "Its > Owner may now start to act on it." which is not true. > > Maybe these problems are related to my configuration, so is my > configuration correct ? Do I use the approval system how it's designed > to be used ? I believe these are bugs. I can take a look later. Cheers, CLK From clkao at bestpractical.com Sat Feb 21 02:09:48 2009 From: clkao at bestpractical.com (Chia-liang Kao) Date: Sat, 21 Feb 2009 07:09:48 +0000 (UTC) Subject: [rt-users] RT Default query My Tickets References: <499F37D4.80509@lbl.gov> Message-ID: Hi Kenneth, Kenneth Crocker lbl.gov> writes: > I need to make some changes to the default Query "My Tickets". Where > would I find that code to change some of the default sorts? Thanks. You can click "edit" on "My Tickets", adjust the predefined search, and save it. Alternatively you can create a system-wide saved search, then go to Config -> Global -> RT at a glance to replace the default "My Tickets" with the search you just saved. Cheers, CLK From mstreet at alliancemed.org Sat Feb 21 14:46:00 2009 From: mstreet at alliancemed.org (Mark Street) Date: Sat, 21 Feb 2009 11:46:00 -0800 (PST) Subject: [rt-users] 3.8.2 authentication loss in navigation In-Reply-To: <532829732.381235245461769.JavaMail.root@penguin> Message-ID: <739435563.401235245560653.JavaMail.root@penguin> Hi, I recently upgraded from a 3.6.5 rpm based install to source code 3.8.2 install. Everything seemed to go well and working well but from time to time the session authentication is lost when I click on a link to a ticket from my quick search or RTFM. I supply my login and password and rt gladly continues to the destination I chose. This is not consistent. Sometimes a blank page will present when clicking on a link Any ideas on why this may be happening -- Mark Street, D.C., RHCE Chief Technology Officer Alliance Medical Center (707) 433-5494 -------------- next part -------------- An HTML attachment was scrubbed... URL: From ktm at rice.edu Sat Feb 21 16:50:57 2009 From: ktm at rice.edu (Kenneth Marshall) Date: Sat, 21 Feb 2009 15:50:57 -0600 Subject: [rt-users] 3.8.2 authentication loss in navigation In-Reply-To: <739435563.401235245560653.JavaMail.root@penguin> References: <532829732.381235245461769.JavaMail.root@penguin> <739435563.401235245560653.JavaMail.root@penguin> Message-ID: <20090221215057.GA3324@it.is.rice.edu> On Sat, Feb 21, 2009 at 11:46:00AM -0800, Mark Street wrote: > Hi, > > I recently upgraded from a 3.6.5 rpm based install to source code 3.8.2 install. Everything seemed to go well and working well but from time to time the session authentication is lost when I click on a link to a ticket from my quick search or RTFM. I supply my login and password and rt gladly continues to the destination I chose. This is not consistent. Sometimes a blank page will present when clicking on a link > > Any ideas on why this may be happening > > -- > Mark Street, D.C., RHCE > Chief Technology Officer > Alliance Medical Center > (707) 433-5494 Mark, Without any configuration information, my guess is that your session table entry with MySQL is larger than the maximum query size defined in your configuration file. Please feel free to correct any and all of my possibly incorrect assumptions and it may be possible to give some more related feedback. :) Cheers, Ken From tjrc at sanger.ac.uk Sun Feb 22 03:07:26 2009 From: tjrc at sanger.ac.uk (Tim Cutts) Date: Sun, 22 Feb 2009 08:07:26 +0000 Subject: [rt-users] a question about rigths In-Reply-To: References: <20090219165948.GZ53289@17h.local> <499D9F79.5030104@lbl.gov> Message-ID: <395210A1-9383-4021-AAA7-81397D75752B@sanger.ac.uk> On 20 Feb 2009, at 6:57 am, Alberto Villanueva wrote: > Good morning ;) > > Yes, I have checked all permissions, and nobody has that. > > Anyway, I will check them again. If you install the RightsMatrix plugin, it makes it much easier to discover how someone has a particular right to a particular queue. Tim -- The Wellcome Trust Sanger Institute is operated by Genome Research Limited, a charity registered in England with number 1021457 and a company registered in England with number 2742969, whose registered office is 215 Euston Road, London, NW1 2BE. From tjrc at sanger.ac.uk Sun Feb 22 03:12:18 2009 From: tjrc at sanger.ac.uk (Tim Cutts) Date: Sun, 22 Feb 2009 08:12:18 +0000 Subject: [rt-users] RT 3.8 mangles html attachment In-Reply-To: <20090219163550.GR53289@17h.local> References: <519782dc0902190744hd06431at262b206e5911dabf@mail.gmail.com> <20090219154707.GE4538@bestpractical.com> <519782dc0902190749k8097450q19c955cec9027d42@mail.gmail.com> <20090219160514.GN53289@17h.local> <519782dc0902190811v14e6c752u94274f26bafdafce@mail.gmail.com> <519782dc0902190833l190563d7td1a133c50b7a7f21@mail.gmail.com> <20090219163550.GR53289@17h.local> Message-ID: <5061E415-10DF-4B5E-B364-D7CAE897DDF3@sanger.ac.uk> On 19 Feb 2009, at 4:35 pm, Jesse Vincent wrote: > > > > On Thu 19.Feb'09 at 11:33:25 -0500, Todd Chapman wrote: >> Correction, the weird question mark characters are between every >> character >> in the original document. Like so: >> >> ? ? ? > Fascinating. Does it do this with all html attachments? That looks suspiciously like full 16-bit Unicode to me. Tim -- The Wellcome Trust Sanger Institute is operated by Genome Research Limited, a charity registered in England with number 1021457 and a company registered in England with number 2742969, whose registered office is 215 Euston Road, London, NW1 2BE. From alberto.villanueva at altran.es Mon Feb 23 02:33:26 2009 From: alberto.villanueva at altran.es (Alberto Villanueva) Date: Mon, 23 Feb 2009 08:33:26 +0100 Subject: [rt-users] a question about rigths In-Reply-To: <395210A1-9383-4021-AAA7-81397D75752B@sanger.ac.uk> References: <20090219165948.GZ53289@17h.local> <499D9F79.5030104@lbl.gov> <395210A1-9383-4021-AAA7-81397D75752B@sanger.ac.uk> Message-ID: I haven't a solution yet because I'rm restoring a database, but the extension has been installed in my testing environment, and I consider that it's very useful. Thanks a lot! Regards, ALBERTO VILLANUEVA VAL Consultor ____________________________________________ Altran ParqueEmpresarial Las Mercedes, Edificio 1 C/ Campezo, 1. 28022 Madrid Tel : + 34 91 744 46 00 Fax: + 34 91 415 24 57 www.altran.es -----Mensaje original----- De: Tim Cutts [mailto:tjrc at sanger.ac.uk] Enviado el: domingo, 22 de febrero de 2009 9:07 Para: Alberto Villanueva CC: 'Kenneth Crocker'; rt-users at lists.bestpractical.com Asunto: Re: [rt-users] a question about rigths On 20 Feb 2009, at 6:57 am, Alberto Villanueva wrote: > Good morning ;) > > Yes, I have checked all permissions, and nobody has that. > > Anyway, I will check them again. If you install the RightsMatrix plugin, it makes it much easier to discover how someone has a particular right to a particular queue. Tim -- The Wellcome Trust Sanger Institute is operated by Genome Research Limited, a charity registered in England with number 1021457 and a company registered in England with number 2742969, whose registered office is 215 Euston Road, London, NW1 2BE. From Richard.Foley at rfi.net Mon Feb 23 03:10:34 2009 From: Richard.Foley at rfi.net (Richard Foley) Date: Mon, 23 Feb 2009 09:10:34 +0100 Subject: [rt-users] Approvals in 3.8.2 - availability? In-Reply-To: References: <3CE7D8D453B27148BBCA0B2063B11E64D5F9F0@s-wor-e-001.SCOUTSOFFICE.local> <1234526521.10967.50.camel@kayden.jajxn.net> Message-ID: <200902230910.35110.Richard.Foley@rfi.net> On Friday 13 February 2009 15:10:38 Chia-liang Kao wrote: > We are in the process of releasing a RT extension called WorkflowBuilder > Any sign of this anywhere any of the great unwashed can get it, it doesn't seem to be on the CPAN...? -- Richard Foley Ciao - shorter than aufwiedersehen http://www.rfi.net/ From Richard.Foley at rfi.net Mon Feb 23 03:10:34 2009 From: Richard.Foley at rfi.net (Richard Foley) Date: Mon, 23 Feb 2009 09:10:34 +0100 Subject: [rt-users] Approvals in 3.8.2 - availability? In-Reply-To: References: <3CE7D8D453B27148BBCA0B2063B11E64D5F9F0@s-wor-e-001.SCOUTSOFFICE.local> <1234526521.10967.50.camel@kayden.jajxn.net> Message-ID: <200902230910.35110.Richard.Foley@rfi.net> On Friday 13 February 2009 15:10:38 Chia-liang Kao wrote: > We are in the process of releasing a RT extension called WorkflowBuilder > Any sign of this anywhere any of the great unwashed can get it, it doesn't seem to be on the CPAN...? -- Richard Foley Ciao - shorter than aufwiedersehen http://www.rfi.net/ From Richard.Foley at rfi.net Mon Feb 23 04:31:25 2009 From: Richard.Foley at rfi.net (Richard Foley) Date: Mon, 23 Feb 2009 10:31:25 +0100 Subject: [rt-users] Approvals status open->resolved RTx-WorkflowBuilder? In-Reply-To: References: <200902131603.51640.Richard.Foley@rfi.net> <200902131820.45603.Richard.Foley@rfi.net> Message-ID: <200902231031.25442.Richard.Foley@rfi.net> Hi Chia-liang, Ok, thanks for the reply and the patch to prove your point, even though this doesn't work for me. I believe that the internal approval system is assuming certain things about the tickets its handling, such as that the approval will be created along with the initial ticket, instead of possibly on an arbitrary status change, thus the initial state of the original ticket will not be "new" at all, but possibly "pending", or "resolved", or whatever. As soon as the expected sequence of statuses is disturbed, the approval flow appears to fail to work as expected. I think this is going to catch a lot of people out. Perhaps RTx-WorkflowBuilder will be a more generic solution? -- Richard Foley Ciao - shorter than aufwiedersehen http://www.rfi.net/ On Saturday 14 February 2009 02:22:46 Chia-liang Kao wrote: > Richard, > > > Richard Foley rfi.net> writes: > > > > > Hi Chia-liang, > > > > Ok, so now I've got this: > > > > if ($passed) { > > $top->SetStatus( Status => 'resolved', Force => 1 ); > > $self->RunScripAction('Notify Owner', 'Approval Ready for Owner', > > TicketObj => $top); > > } > > the change seems to work for me. Here's the change to the test in > t/approval/basic.t that demostrates the original ticket got set to resolved > upon all approval passed: > > http://fsck.com/~clkao/rt-approval-autoresolve.patch > > > > _______________________________________________ > 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 > -- Richard Foley Ciao - shorter than aufwiedersehen http://www.rfi.net/ From Richard.Foley at rfi.net Mon Feb 23 04:31:25 2009 From: Richard.Foley at rfi.net (Richard Foley) Date: Mon, 23 Feb 2009 10:31:25 +0100 Subject: [rt-users] Approvals status open->resolved RTx-WorkflowBuilder? In-Reply-To: References: <200902131603.51640.Richard.Foley@rfi.net> <200902131820.45603.Richard.Foley@rfi.net> Message-ID: <200902231031.25442.Richard.Foley@rfi.net> Hi Chia-liang, Ok, thanks for the reply and the patch to prove your point, even though this doesn't work for me. I believe that the internal approval system is assuming certain things about the tickets its handling, such as that the approval will be created along with the initial ticket, instead of possibly on an arbitrary status change, thus the initial state of the original ticket will not be "new" at all, but possibly "pending", or "resolved", or whatever. As soon as the expected sequence of statuses is disturbed, the approval flow appears to fail to work as expected. I think this is going to catch a lot of people out. Perhaps RTx-WorkflowBuilder will be a more generic solution? -- Richard Foley Ciao - shorter than aufwiedersehen http://www.rfi.net/ On Saturday 14 February 2009 02:22:46 Chia-liang Kao wrote: > Richard, > > > Richard Foley rfi.net> writes: > > > > > Hi Chia-liang, > > > > Ok, so now I've got this: > > > > if ($passed) { > > $top->SetStatus( Status => 'resolved', Force => 1 ); > > $self->RunScripAction('Notify Owner', 'Approval Ready for Owner', > > TicketObj => $top); > > } > > the change seems to work for me. Here's the change to the test in > t/approval/basic.t that demostrates the original ticket got set to resolved > upon all approval passed: > > http://fsck.com/~clkao/rt-approval-autoresolve.patch > > > > _______________________________________________ > 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 > -- Richard Foley Ciao - shorter than aufwiedersehen http://www.rfi.net/ From george.beitis at googlemail.com Mon Feb 23 05:36:41 2009 From: george.beitis at googlemail.com (George Beitis) Date: Mon, 23 Feb 2009 12:36:41 +0200 Subject: [rt-users] Help with permissions? Message-ID: <9be19c1c0902230236s461d290ag33ec0d09fbef7857@mail.gmail.com> Hey everyone, my problem has to do with setting permissions. I have created a queue called IT support, and a group called Company Employees. The Employee group has the following rights on the group: create ticket and show ticket. These don't seem to be enough for a user in the group employees to create a ticket as the queue name doesn't come up in the create queue section of the screen or the quick create widget. Am I doing something wrong there? George -------------- next part -------------- An HTML attachment was scrubbed... URL: From hema_1100 at yahoo.com Mon Feb 23 05:43:18 2009 From: hema_1100 at yahoo.com (hema1100) Date: Mon, 23 Feb 2009 02:43:18 -0800 (PST) Subject: [rt-users] Ticket numbering issue Message-ID: <22157440.post@talk.nabble.com> Hi all I'm using RT 3.8.2, It was working fine but these days it creates ticket in odd numbers only (355, 357, 359) when I try to search for tickets in even number message appear "Could not load ticket 356". can you help me to solve this issue, as it's wasting all even numbers. thanks regards Ibrahim -- View this message in context: http://www.nabble.com/Ticket-numbering-issue-tp22157440p22157440.html Sent from the Request Tracker - User mailing list archive at Nabble.com. From aperotti at cutaway.it Mon Feb 23 05:56:38 2009 From: aperotti at cutaway.it (Andrea Perotti) Date: Mon, 23 Feb 2009 11:56:38 +0100 Subject: [rt-users] Plugins to Include in Main RT release Message-ID: <49A280E6.9020201@cutaway.it> Hi all, I'd like to open a poll to list all the Plugins mostly used by RT users. This, I suppose, should be useful to both rt users and rt creators to deliver the best RT ever, by including features born outside upstream but included and used by a lot of people. Is it better maybe to have a wiki page for that? Excluding handmade plugins, could be interesting to post the output of : fgrep Plugins RT_SiteConfig.pm this is mine : #Set(@Plugins,(qw(Extension::QuickDelete))); Set(@Plugins,(qw(RT::Extension::ResetPassword))); Set(@Plugins,(qw(RT::Extension::MandatorySubject))); feedback are welcome :D cheers -- Andrea Perotti Cutaway S.r.l. www.cutaway.it c/o Seat PagineGialle -------------- next part -------------- A non-text attachment was scrubbed... Name: smime.p7s Type: application/x-pkcs7-signature Size: 3480 bytes Desc: S/MIME Cryptographic Signature URL: From aperotti at cutaway.it Mon Feb 23 05:56:47 2009 From: aperotti at cutaway.it (Andrea Perotti) Date: Mon, 23 Feb 2009 11:56:47 +0100 Subject: [rt-users] RT Book : does it worth? In-Reply-To: <20090205165029.GA7130@17h.local> References: <498AAD3F.4030707@cutaway.it> <16426EA38D57E74CB1DE5A6AE1DB039401D0EF0C@w3hamboex11.ger.win.int.kn> <498B171F.2070503@ultra-secure.de> <20090205165029.GA7130@17h.local> Message-ID: <49A280EF.4070905@cutaway.it> Jesse Vincent ha scritto: > It's just not very high on the priority list...and I'd rather see a new > book covering RT4 than RT 3.8. (http://wiki.bestpractical.com/view/RT4) Yes definitely I'd love to see a "RT 4.0 - the definitive guide" published. Could be fun too being a proofreader for that manual :) @all Thank you for you answers, it's glad to receive so many feedback from the RT community cheers -- Andrea Perotti Cutaway S.r.l. www.cutaway.it c/o Seat PagineGialle -------------- next part -------------- A non-text attachment was scrubbed... Name: smime.p7s Type: application/x-pkcs7-signature Size: 3480 bytes Desc: S/MIME Cryptographic Signature URL: From mike.peachey at jennic.com Mon Feb 23 06:14:00 2009 From: mike.peachey at jennic.com (Mike Peachey) Date: Mon, 23 Feb 2009 11:14:00 +0000 Subject: [rt-users] Plugins to Include in Main RT release In-Reply-To: <49A280E6.9020201@cutaway.it> References: <49A280E6.9020201@cutaway.it> Message-ID: <49A284F8.7040901@jennic.com> Andrea Perotti wrote: > Hi all, > I'd like to open a poll to list all the Plugins mostly used by RT > users. This, I suppose, should be useful to both rt users and rt > creators to deliver the best RT ever, by including features born outside > upstream but included and used by a lot of people. I personally think this is a task being handled well by the BestPractical team already. When a plugin comes to maturity and has a proven wide user base it gets included into a release. > Is it better maybe to have a wiki page for that? There is already a triplet of wiki pages relating to modifications/extensions/plugins. > Excluding handmade plugins, could be interesting to post the output of : > > fgrep Plugins RT_SiteConfig.pm > > this is mine : > > #Set(@Plugins,(qw(Extension::QuickDelete))); > Set(@Plugins,(qw(RT::Extension::ResetPassword))); > Set(@Plugins,(qw(RT::Extension::MandatorySubject))); This is an invalid way to define extensions as each declaration will override the previous. You should use, for example: Set(@Plugins, qw(RT::Extension::ResetPassword RT::Extension::MandatorySubject)); Then, adding QuickDelete would give: Set(@Plugins, qw(RT::Extension::ResetPassword RT::Extension::MandatorySubject RT::Extension::QuickDelete)); -- Kind Regards, __________________________________________________ Mike Peachey, IT Tel: +44 114 281 2655 Fax: +44 114 281 2951 Jennic Ltd, Furnival Street, Sheffield, S1 4QT, UK Comp Reg No: 3191371 - Registered In England http://www.jennic.com __________________________________________________ From Gabriele.Franzini at nervianoms.com Mon Feb 23 06:06:25 2009 From: Gabriele.Franzini at nervianoms.com (Franzini, Gabriele [Nervianoms]) Date: Mon, 23 Feb 2009 12:06:25 +0100 Subject: [rt-users] Help with permissions? References: Message-ID: <20090223111627.99D1A4DCEF6@diesel.bestpractical.com> Hello George, Try granting at the Global Group level, "SeeQueue" right to Company Employees, or maybe straight to Privileged group - it may save work for next queues... HTH, Gabriele Franzini ICT Applications Manager Nerviano Medical Sciences SRL PO Box 11 - Viale Pasteur 10 20014 Nerviano Italy ------------------------------ Message: 6 Date: Mon, 23 Feb 2009 12:36:41 +0200 From: George Beitis Subject: [rt-users] Help with permissions? To: rt-users Message-ID: <9be19c1c0902230236s461d290ag33ec0d09fbef7857 at mail.gmail.com> Content-Type: text/plain; charset="iso-8859-1" Hey everyone, my problem has to do with setting permissions. I have created a queue called IT support, and a group called Company Employees. The Employee group has the following rights on the group: create ticket and show ticket. These don't seem to be enough for a user in the group employees to create a ticket as the queue name doesn't come up in the create queue section of the screen or the quick create widget. Am I doing something wrong there? George -------------- next part -------------- From Richard.Foley at rfi.net Mon Feb 23 06:45:44 2009 From: Richard.Foley at rfi.net (Richard Foley) Date: Mon, 23 Feb 2009 12:45:44 +0100 Subject: [rt-users] Approvals in 3.8.2 ??? ->availability<- ??? Message-ID: <200902231245.44561.Richard.Foley@rfi.net> On Friday 13 February 2009 15:10:38 Chia-liang Kao wrote: > We are in the process of releasing a RT extension called WorkflowBuilder > Any sign of this anywhere? I'm trying to avoid re-inventing the wheel here... -- Richard Foley Ciao - shorter than aufwiedersehen http://www.rfi.net/ From Richard.Foley at rfi.net Mon Feb 23 06:45:44 2009 From: Richard.Foley at rfi.net (Richard Foley) Date: Mon, 23 Feb 2009 12:45:44 +0100 Subject: [rt-users] Approvals in 3.8.2 ??? ->availability<- ??? Message-ID: <200902231245.44561.Richard.Foley@rfi.net> On Friday 13 February 2009 15:10:38 Chia-liang Kao wrote: > We are in the process of releasing a RT extension called WorkflowBuilder > Any sign of this anywhere? I'm trying to avoid re-inventing the wheel here... -- Richard Foley Ciao - shorter than aufwiedersehen http://www.rfi.net/ From taylor.andrew.j at gmail.com Mon Feb 23 06:54:41 2009 From: taylor.andrew.j at gmail.com (Drew Taylor) Date: Mon, 23 Feb 2009 11:54:41 +0000 Subject: [rt-users] WebService for RT? In-Reply-To: <20090219164557.GW53289@17h.local> References: <499D7FAB.1020907@linuxia.de> <20090219164557.GW53289@17h.local> Message-ID: On Thu, Feb 19, 2009 at 4:45 PM, Jesse Vincent wrote: > > > > On Thu 19.Feb'09 at 16:50:03 +0100, Stefan Hornburg wrote: >> There is a REST interface and a corresponding Perl module (though that >> might be a bit outdated with 3.8). > > I'm using RT::Client::REST against 3.8.2 just fine. Including access to Custom Fields? IIRC the current RT::Client::REST release doesn't handle the new 3.8 style naming convention yet. Patches are in RT though... Drew -- ---------------------------------------------------------------- Drew Taylor * Web development & consulting Email: drew at drewtaylor.com * Site implementation & hosting Web : www.drewtaylor.com * perl/mod_perl/DBI/mysql/postgres ---------------------------------------------------------------- From calvin at utilyx.com Mon Feb 23 07:06:46 2009 From: calvin at utilyx.com (Calvin Chiang) Date: Mon, 23 Feb 2009 12:06:46 +0000 Subject: [rt-users] trend data on time spent/estimated Message-ID: <49A29156.1030504@utilyx.com> Hi All, I've been trying to find a good tool to get trends from my RT data on time spent etc. I've had a good look and cant find much, but let me know if i've missed something really obvious. I came across the RTx::Statistics package but couldnt see any movement on it in the last two years or so. Then i found this awesome-looking RT Analyzer program (http://accelconf.web.cern.ch/accelconf/ica05/proceedings/pdf/O3_010.pdf) that was coded by some guys at a research institiution called cosyslabs. Have any of you seen this before or got it working before? I've emailed some of the guys listed in the paper but havent heard back from them yet. Cheers, -- Calvin Chiang Network Admin Utilyx 1st Floor, 55 North Wharf Road Paddington London, W2 1LA Tel: 020 7087 8673 www.utilyx.com ______________________________________________________________________ "Utilyx" is the trading name of "Utilyx Limited" and "Utilyx Risk Management Limited" (URML). URML is authorised and regulated by the Financial Services Authority (FSA). This message contains information that may be privileged or confidential and is the property of Utilyx. It is intended only for the person to whom it is addressed. No confidentiality or privilege is waived or lost by any mistransmission. Any views or opinions expressed in this message are solely those of the author and do not necessarily represent those of Utilyx. Unless otherwise stated, any pricing information given in this message is indicative only and does not constitute an offer to deal at any price quoted. If you are not the intended recipient, you are not authorized to read, print, retain, copy, disseminate, distribute or use this message or any part thereof. If you receive this message in error, please notify the sender immediately and delete all copies of this message. ______________________________________________________________________ This email has been scanned by the MessageLabs Email Security System. For more information please visit http://www.messagelabs.com/email ______________________________________________________________________ From george.beitis at googlemail.com Mon Feb 23 07:56:16 2009 From: george.beitis at googlemail.com (George Beitis) Date: Mon, 23 Feb 2009 14:56:16 +0200 Subject: [rt-users] Approvals in 3.8.2 ??? ->availability<- ??? In-Reply-To: <200902231245.44561.Richard.Foley@rfi.net> References: <200902231245.44561.Richard.Foley@rfi.net> Message-ID: <9be19c1c0902230456w4de26004hf8d92203bda9a10f@mail.gmail.com> hmm that would be a great feature On Mon, Feb 23, 2009 at 1:45 PM, Richard Foley wrote: > On Friday 13 February 2009 15:10:38 Chia-liang Kao wrote: > > We are in the process of releasing a RT extension called WorkflowBuilder > > > Any sign of this anywhere? > > I'm trying to avoid re-inventing the wheel here... > > -- > Richard Foley > Ciao - shorter than aufwiedersehen > > http://www.rfi.net/ > _______________________________________________ > 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 > -------------- next part -------------- An HTML attachment was scrubbed... URL: From clkao at bestpractical.com Mon Feb 23 08:07:37 2009 From: clkao at bestpractical.com (Chia-liang Kao) Date: Mon, 23 Feb 2009 21:07:37 +0800 Subject: [rt-users] Approvals in 3.8.2 ??? ->availability<- ??? In-Reply-To: <200902231245.44561.Richard.Foley@rfi.net> References: <200902231245.44561.Richard.Foley@rfi.net> Message-ID: <083E47F1-B492-4E21-8E3B-26DB6D0FA019@bestpractical.com> It's currently at http://code.bestpractical.com/bps-public/RTx-WorkflowBuilder/ , documentation and release is on the way. > > On Friday 13 February 2009 15:10:38 Chia-liang Kao wrote: >> We are in the process of releasing a RT extension called >> WorkflowBuilder >> > Any sign of this anywhere? > > I'm trying to avoid re-inventing the wheel here... > > -- > Richard Foley > Ciao - shorter than aufwiedersehen > > http://www.rfi.net/ -------------- next part -------------- An HTML attachment was scrubbed... URL: From clkao at bestpractical.com Mon Feb 23 08:07:37 2009 From: clkao at bestpractical.com (Chia-liang Kao) Date: Mon, 23 Feb 2009 21:07:37 +0800 Subject: [rt-users] Approvals in 3.8.2 ??? ->availability<- ??? In-Reply-To: <200902231245.44561.Richard.Foley@rfi.net> References: <200902231245.44561.Richard.Foley@rfi.net> Message-ID: <083E47F1-B492-4E21-8E3B-26DB6D0FA019@bestpractical.com> It's currently at http://code.bestpractical.com/bps-public/RTx-WorkflowBuilder/ , documentation and release is on the way. > > On Friday 13 February 2009 15:10:38 Chia-liang Kao wrote: >> We are in the process of releasing a RT extension called >> WorkflowBuilder >> > Any sign of this anywhere? > > I'm trying to avoid re-inventing the wheel here... > > -- > Richard Foley > Ciao - shorter than aufwiedersehen > > http://www.rfi.net/ -------------- next part -------------- An HTML attachment was scrubbed... URL: From Richard.Foley at rfi.net Mon Feb 23 08:13:00 2009 From: Richard.Foley at rfi.net (Richard Foley) Date: Mon, 23 Feb 2009 14:13:00 +0100 Subject: [rt-users] Approvals in 3.8.2 ??? ->availability<- ??? In-Reply-To: <083E47F1-B492-4E21-8E3B-26DB6D0FA019@bestpractical.com> References: <200902231245.44561.Richard.Foley@rfi.net> <083E47F1-B492-4E21-8E3B-26DB6D0FA019@bestpractical.com> Message-ID: <200902231413.00316.Richard.Foley@rfi.net> On Monday 23 February 2009 14:07:37 Chia-liang Kao wrote: > http://code.bestpractical.com/bps-public/RTx-WorkflowBuilder/, > I approve when the test suite is larger than the code ;-) Cheers Chia-liang! I'll take a look and see if this helps us. Any idea how long before a formal release is expected? -- Richard Foley Ciao - shorter than aufwiedersehen http://www.rfi.net/ From Richard.Foley at rfi.net Mon Feb 23 08:13:00 2009 From: Richard.Foley at rfi.net (Richard Foley) Date: Mon, 23 Feb 2009 14:13:00 +0100 Subject: [rt-users] Approvals in 3.8.2 ??? ->availability<- ??? In-Reply-To: <083E47F1-B492-4E21-8E3B-26DB6D0FA019@bestpractical.com> References: <200902231245.44561.Richard.Foley@rfi.net> <083E47F1-B492-4E21-8E3B-26DB6D0FA019@bestpractical.com> Message-ID: <200902231413.00316.Richard.Foley@rfi.net> On Monday 23 February 2009 14:07:37 Chia-liang Kao wrote: > http://code.bestpractical.com/bps-public/RTx-WorkflowBuilder/, > I approve when the test suite is larger than the code ;-) Cheers Chia-liang! I'll take a look and see if this helps us. Any idea how long before a formal release is expected? -- Richard Foley Ciao - shorter than aufwiedersehen http://www.rfi.net/ From george.beitis at googlemail.com Mon Feb 23 07:56:16 2009 From: george.beitis at googlemail.com (George Beitis) Date: Mon, 23 Feb 2009 14:56:16 +0200 Subject: [rt-users] Approvals in 3.8.2 ??? ->availability<- ??? In-Reply-To: <200902231245.44561.Richard.Foley@rfi.net> References: <200902231245.44561.Richard.Foley@rfi.net> Message-ID: <9be19c1c0902230456w4de26004hf8d92203bda9a10f@mail.gmail.com> hmm that would be a great feature On Mon, Feb 23, 2009 at 1:45 PM, Richard Foley wrote: > On Friday 13 February 2009 15:10:38 Chia-liang Kao wrote: > > We are in the process of releasing a RT extension called WorkflowBuilder > > > Any sign of this anywhere? > > I'm trying to avoid re-inventing the wheel here... > > -- > Richard Foley > Ciao - shorter than aufwiedersehen > > http://www.rfi.net/ > _______________________________________________ > 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 > -------------- next part -------------- An HTML attachment was scrubbed... URL: From mike.peachey at jennic.com Mon Feb 23 08:53:00 2009 From: mike.peachey at jennic.com (Mike Peachey) Date: Mon, 23 Feb 2009 13:53:00 +0000 Subject: [rt-users] Logging -> Completely separating RT from Apache default Message-ID: <49A2AA3C.7090204@jennic.com> I've missed something somewhere and I'm not sure where.. some logging is still slipping through to my default Apache error_log. RT_SiteConfig.pm: Set($LogToSyslog, ''); Set($LogToFile, 'info'); Set($LogDir, '/opt/rt3/var/log'); Set($LogToFileNamed , 'rt.log'); Apache VHost Config File for RT: ServerName rt.example.com ServerAlias rt DocumentRoot /opt/rt3/share/html CustomLog /opt/rt3/var/log/apache-vhost-customlog common ErrorLog /opt/rt3/var/log/apache-vhost-errorlog ...... Yet, the runtime [error] and [info] messages are going into /var/log/httpd/error_log (default for apache). e.g.: [Mon Feb 23 12:54:09 2009] [error]: WebRT: No ticket specified (/opt/rt3/share/html/Elements/Error:82) and [Mon Feb 23 13:08:12 2009] [info]: #111/26875 - Scrip 7 On Correspond Notify Other Recipients (/opt/rt3/bin/../local/lib/RT/Action/SendEmail.pm:301) What have I missed? -- Kind Regards, __________________________________________________ Mike Peachey, IT Tel: +44 114 281 2655 Fax: +44 114 281 2951 Jennic Ltd, Furnival Street, Sheffield, S1 4QT, UK Comp Reg No: 3191371 - Registered In England http://www.jennic.com __________________________________________________ From miguel.tabanez at gmail.com Mon Feb 23 09:27:23 2009 From: miguel.tabanez at gmail.com (Mtabanez) Date: Mon, 23 Feb 2009 06:27:23 -0800 (PST) Subject: [rt-users] Re quest Tracker 3.8.2 - Integration with Active Directory (Windows 2003) Message-ID: <22159677.post@talk.nabble.com> I have installed, RT 3.8.2, on a RHEL5, and i have had problems to integrate RT with Active Directory. I hope that someone had a solution to my problem, there is my configuration. Set( @Plugins, qw(RT::Authen::ExternalAuth) ); Set($rtname, 'somemachine.domain.pt'); Set($Organization, 'My organization'); Set($CorrespondAddress , 'someemail at domain.pt'); Set($CommentAddress , 'rt-comment at localdomain.com'); Set($Timezone , 'US/Pacific'); # obviously choose what suits you # THE DATABASE: Set($DatabaseType, 'mysql'); # e.g. Pg or mysql # These are the settings we used above when creating the RT database, # you MUST set these to what you chose in the section above. Set($DatabaseUser , 'rt_user'); Set($DatabasePassword , 'password'); Set($DatabaseName , 'rtdb'); # THE WEBSERVER: Set($WebPath , ""); Set($WebBaseURL , "http://somemachine:80"); 1; My RT-Authen-ExternalAuth, RT_SiteConfig.pm Set($ExternalAuthPriority, ['My_LDAP']); Set($ExternalInfoPriority, ['My_LDAP']); Set($ExternalServiceUsesSSLorTLS, 0); Set($AutoCreateNonExternalUsers, 1); Set(ExternalAuthPriority,['My_LDAP','My_MySQL','My_Oracle','SecondaryLDAP','Other-DB']); Set($ExternalSettings, { 'My_LDAP' => { ## GENERIC SECTION 'type' => 'ldap', 'auth' => 1, 'info' => 1, 'server' => 'server.domain.pt', 'user' => 'CN=Exchange User,OU=INSTITUCIONAIS,OU=User_APP,OU=xpto,DC=domain,DC=pt', 'pass' => 'xxxxxx', 'base' => 'dc=domain,dc=pt', 'filter' => '(objectClass=Person)', 'd_filter' => '(userAccountControl:1.2.840.113556.1.4.803:=2)', 'tls' => 0, 'ssl_version' => 3, 'net_ldap_args' => [ version => 3 ], #'group' => 'IEP-DSI', # What is the attribute for the group object that determines membership? #'group_attr' => 'GROUP_ATTR', 'attr_match_list' => [ 'Name', 'EmailAddress', 'RealName' #'WorkPhone', #'Address2' ], # The mapping of RT attributes on to LDAP attributes 'attr_map' => { 'Name' => 'sAMAccountName', 'EmailAddress' => 'mail', 'RealName' => 'cn' } } } ); 1; when I try to logon, i have these error on the logs. server "/opt/rt3/bin/mason_handler.fcgi" stderr: [Mon Feb 23 10:39:07 2009] [debug]: Autohandler called ExternalAuth. Response: (0, ExternalAuthPriority not defined, please check your configuration file.) (/opt/rt3/local/plugins/RT-Authen-ExternalAuth/html/Callbacks/ExternalAuth/autohandler/Auth:26), referer: http://somemachine/ [Mon Feb 23 10:39:07 2009] [error] [client 10.2.200.155] FastCGI: server "/opt/rt3/bin/mason_handler.fcgi" stderr: [Mon Feb 23 10:39:07 2009] [error]: FAILED LOGIN for login at domain.pt from 10.2.200.155 (/opt/rt3/share/html/autohandler:268), referer: http://somemachine/ -- View this message in context: http://www.nabble.com/Request-Tracker-3.8.2---Integration-with-Active-Directory-%28Windows-2003%29-tp22159677p22159677.html Sent from the Request Tracker - User mailing list archive at Nabble.com. From alexyoung at scoutsolutions.co.uk Mon Feb 23 09:32:42 2009 From: alexyoung at scoutsolutions.co.uk (Alex Young) Date: Mon, 23 Feb 2009 14:32:42 -0000 Subject: [rt-users] Bug with reply and /txt files in 3.8.2? Message-ID: <3CE7D8D453B27148BBCA0B2063B11E64D5FEEF@s-wor-e-001.SCOUTSOFFICE.local> I think we have possibly found a bug in 3.8.2 on the ticket display. If you do a reply and add a text file attachment it submits correctly and shows the .txt file in-line with the ticket. If I click Reply on that correspondence it doesn't include the message body, it includes the .txt file contents with > at the start. The response to the ticket requestor also doesn't include the .txt attachment. Instead it includes a .htm attachment with the message body in it. I have also attached other attachments as well as a .txt file, and all attachments work fine, with the exception of the .txt file. Again, it transforms into a .htm attachment of the message body. Does anyone else have this behaviour in 3.8.2? -------------- next part -------------- An HTML attachment was scrubbed... URL: From george.beitis at googlemail.com Mon Feb 23 09:33:57 2009 From: george.beitis at googlemail.com (George Beitis) Date: Mon, 23 Feb 2009 16:33:57 +0200 Subject: [rt-users] Help with permissions? In-Reply-To: <20090223111627.99D1A4DCEF6@diesel.bestpractical.com> References: <20090223111627.99D1A4DCEF6@diesel.bestpractical.com> Message-ID: <9be19c1c0902230633l44e18cacw5ec9c97fdc198fe@mail.gmail.com> Hey there, Thanks for the reply! Unfortunately that doesn't help as at the end of the day i want users in the specific group to only have access to their own tickets and see no other ticket. And if possible to be able to see all their requested tickets. Does anyone else know how to achieve this? Thanks George On Mon, Feb 23, 2009 at 1:06 PM, Franzini, Gabriele [Nervianoms] < Gabriele.Franzini at nervianoms.com> wrote: > Hello George, > Try granting at the Global Group level, "SeeQueue" right to Company > Employees, or maybe straight to Privileged group - it may save work for > next queues... > HTH, > Gabriele Franzini > ICT Applications Manager > Nerviano Medical Sciences SRL > PO Box 11 - Viale Pasteur 10 > 20014 Nerviano Italy > > > ------------------------------ > > Message: 6 > Date: Mon, 23 Feb 2009 12:36:41 +0200 > From: George Beitis > Subject: [rt-users] Help with permissions? > To: rt-users > Message-ID: > <9be19c1c0902230236s461d290ag33ec0d09fbef7857 at mail.gmail.com> > Content-Type: text/plain; charset="iso-8859-1" > > Hey everyone, > my problem has to do with setting permissions. > > I have created a queue called IT support, and a group called Company > Employees. The Employee group has the following rights on the group: > create > ticket and show ticket. These don't seem to be enough for a user in the > group employees to create a ticket as the queue name doesn't come up in > the > create queue section of the screen or the quick create widget. Am I > doing > something wrong there? > > George > -------------- next part -------------- > _______________________________________________ > 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 > -------------- next part -------------- An HTML attachment was scrubbed... URL: From marouane.himdi at kereval.com Mon Feb 23 09:30:45 2009 From: marouane.himdi at kereval.com (Marouane HIMDI) Date: Mon, 23 Feb 2009 15:30:45 +0100 Subject: [rt-users] trend data on time spent/estimated In-Reply-To: <49A29156.1030504@utilyx.com> References: <49A29156.1030504@utilyx.com> Message-ID: <0410719007B144FB9C5C112FCE351BB3@pcmhi> Have a look at Yarts http://www.bastian-friedrich.de/comp/yarts/ . it's developed in PHP, so easy to customise to meet your needs. Best regards Dr Marouane HIMDI Ing?nieur R&D/R&D Engineer KEREVAL 4, rue H?l?ne Boucher Z.A. Bellevue 35235 Thorign? Fouillard Tel : +33 (0)2 23 20 36 64 http://www.kereval.com P Pensez ? l'environnement : n'imprimez ce message et ses pi?ces jointes que si n?cessaire ! -----Message d'origine----- De?: rt-users-bounces at lists.bestpractical.com [mailto:rt-users-bounces at lists.bestpractical.com] De la part de Calvin Chiang Envoy??: lundi 23 f?vrier 2009 13:07 ??: rt-users at lists.bestpractical.com Objet?: [rt-users] trend data on time spent/estimated Hi All, I've been trying to find a good tool to get trends from my RT data on time spent etc. I've had a good look and cant find much, but let me know if i've missed something really obvious. I came across the RTx::Statistics package but couldnt see any movement on it in the last two years or so. Then i found this awesome-looking RT Analyzer program (http://accelconf.web.cern.ch/accelconf/ica05/proceedings/pdf/O3_010.pdf) that was coded by some guys at a research institiution called cosyslabs. Have any of you seen this before or got it working before? I've emailed some of the guys listed in the paper but havent heard back from them yet. Cheers, -- Calvin Chiang Network Admin Utilyx 1st Floor, 55 North Wharf Road Paddington London, W2 1LA Tel: 020 7087 8673 www.utilyx.com ______________________________________________________________________ "Utilyx" is the trading name of "Utilyx Limited" and "Utilyx Risk Management Limited" (URML). URML is authorised and regulated by the Financial Services Authority (FSA). This message contains information that may be privileged or confidential and is the property of Utilyx. It is intended only for the person to whom it is addressed. No confidentiality or privilege is waived or lost by any mistransmission. Any views or opinions expressed in this message are solely those of the author and do not necessarily represent those of Utilyx. Unless otherwise stated, any pricing information given in this message is indicative only and does not constitute an offer to deal at any price quoted. If you are not the intended recipient, you are not authorized to read, print, retain, copy, disseminate, distribute or use this message or any part thereof. If you receive this message in error, please notify the sender immediately and delete all copies of this message. ______________________________________________________________________ This email has been scanned by the MessageLabs Email Security System. For more information please visit http://www.messagelabs.com/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 From calvin at utilyx.com Mon Feb 23 09:41:31 2009 From: calvin at utilyx.com (Calvin Chiang) Date: Mon, 23 Feb 2009 14:41:31 +0000 Subject: [rt-users] trend data on time spent/estimated In-Reply-To: <0410719007B144FB9C5C112FCE351BB3@pcmhi> References: <49A29156.1030504@utilyx.com> <0410719007B144FB9C5C112FCE351BB3@pcmhi> Message-ID: <49A2B59B.7070301@utilyx.com> thanks for that! i'll be trying the installation this week. on the page it refers to "rt's regular statistics package" - is this RTx::Statistics? do you know if people are regularly using this with the later versions of RT? Marouane HIMDI wrote: > Have a look at Yarts http://www.bastian-friedrich.de/comp/yarts/ . it's > developed in PHP, so easy to customise to meet your needs. > > Best regards > > > > Dr Marouane HIMDI > Ing?nieur R&D/R&D Engineer > > > KEREVAL > 4, rue H?l?ne Boucher > Z.A. Bellevue > 35235 Thorign? Fouillard > Tel : +33 (0)2 23 20 36 64 > http://www.kereval.com > > P Pensez ? l'environnement : n'imprimez ce message et ses pi?ces jointes que > si n?cessaire ! > -----Message d'origine----- > De : rt-users-bounces at lists.bestpractical.com > [mailto:rt-users-bounces at lists.bestpractical.com] De la part de Calvin > Chiang > Envoy? : lundi 23 f?vrier 2009 13:07 > ? : rt-users at lists.bestpractical.com > Objet : [rt-users] trend data on time spent/estimated > > Hi All, > > I've been trying to find a good tool to get trends from my RT data on > time spent etc. I've had a good look and cant find much, but let me > know if i've missed something really obvious. > > I came across the RTx::Statistics package but couldnt see any movement > on it in the last two years or so. > > Then i found this awesome-looking RT Analyzer program > (http://accelconf.web.cern.ch/accelconf/ica05/proceedings/pdf/O3_010.pdf) > that was coded by some guys at a research institiution called cosyslabs. > Have any of you seen this before or got it working before? I've emailed > some of the guys listed in the paper but havent heard back from them yet. > > Cheers, > > > -- Calvin Chiang Network Admin Utilyx 1st Floor, 55 North Wharf Road Paddington London, W2 1LA Tel: 020 7087 8673 www.utilyx.com ______________________________________________________________________ "Utilyx" is the trading name of "Utilyx Limited" and "Utilyx Risk Management Limited" (URML). URML is authorised and regulated by the Financial Services Authority (FSA). This message contains information that may be privileged or confidential and is the property of Utilyx. It is intended only for the person to whom it is addressed. No confidentiality or privilege is waived or lost by any mistransmission. Any views or opinions expressed in this message are solely those of the author and do not necessarily represent those of Utilyx. Unless otherwise stated, any pricing information given in this message is indicative only and does not constitute an offer to deal at any price quoted. If you are not the intended recipient, you are not authorized to read, print, retain, copy, disseminate, distribute or use this message or any part thereof. If you receive this message in error, please notify the sender immediately and delete all copies of this message. ______________________________________________________________________ This email has been scanned by the MessageLabs Email Security System. For more information please visit http://www.messagelabs.com/email ______________________________________________________________________ From jesse at bestpractical.com Mon Feb 23 09:46:10 2009 From: jesse at bestpractical.com (Jesse Vincent) Date: Mon, 23 Feb 2009 09:46:10 -0500 Subject: [rt-users] WebService for RT? In-Reply-To: References: <499D7FAB.1020907@linuxia.de> <20090219164557.GW53289@17h.local> Message-ID: <20090223144610.GK96422@17h.local> > > > > I'm using RT::Client::REST against 3.8.2 just fine. > > Including access to Custom Fields? IIRC the current RT::Client::REST > release doesn't handle the new 3.8 style naming convention yet. Yep. I could believe that there might be issues with escaping and very oddly named CFs, which, IIRC, was what we've fixed in recent RT but none that I've hit. From calvin at utilyx.com Mon Feb 23 09:48:41 2009 From: calvin at utilyx.com (Calvin Chiang) Date: Mon, 23 Feb 2009 14:48:41 +0000 Subject: [rt-users] Help with permissions? In-Reply-To: <9be19c1c0902230633l44e18cacw5ec9c97fdc198fe@mail.gmail.com> References: <20090223111627.99D1A4DCEF6@diesel.bestpractical.com> <9be19c1c0902230633l44e18cacw5ec9c97fdc198fe@mail.gmail.com> Message-ID: <49A2B749.4090308@utilyx.com> Hi George, I defaulted to granting a global right to the Everyone group to CreateTicket and ReplyToTicket on the relevant queue (in your case IT_Support). that should take care of your Company_Employees users needing to create tickets. As for the Company_Employees group users being able to only see their own tickets. i saw a good suggestion on a post which was to do the following: * don't grant the ShowTicket right to Company_Employees group on the IT_Support queue, instead; * grant the ShowTicket right to the Requestors group on the IT_support queue that way, they'll only see their own tickets, even when they do a search. George Beitis wrote: > Hey there, > Thanks for the reply! Unfortunately that doesn't help as at the end > of the day i want users in the specific group to only have access to > their own tickets and see no other ticket. And if possible to be able > to see all their requested tickets. Does anyone else know how to > achieve this? > > Thanks > George > > On Mon, Feb 23, 2009 at 1:06 PM, Franzini, Gabriele [Nervianoms] > > wrote: > > Hello George, > Try granting at the Global Group level, "SeeQueue" right to Company > Employees, or maybe straight to Privileged group - it may save > work for > next queues... > HTH, > Gabriele Franzini > ICT Applications Manager > Nerviano Medical Sciences SRL > PO Box 11 - Viale Pasteur 10 > 20014 Nerviano Italy > > > ------------------------------ > > Message: 6 > Date: Mon, 23 Feb 2009 12:36:41 +0200 > From: George Beitis > > Subject: [rt-users] Help with permissions? > To: rt-users > > Message-ID: > > <9be19c1c0902230236s461d290ag33ec0d09fbef7857 at mail.gmail.com > > > Content-Type: text/plain; charset="iso-8859-1" > > Hey everyone, > my problem has to do with setting permissions. > > I have created a queue called IT support, and a group called Company > Employees. The Employee group has the following rights on the group: > create > ticket and show ticket. These don't seem to be enough for a user > in the > group employees to create a ticket as the queue name doesn't come > up in > the > create queue section of the screen or the quick create widget. Am I > doing > something wrong there? > > George > -------------- next part -------------- > _______________________________________________ > 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 > > > > ______________________________________________________________________ > This email has been scanned by the MessageLabs Email Security System. > For more information please visit http://www.messagelabs.com/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 -- Calvin Chiang Network Admin Utilyx 1st Floor, 55 North Wharf Road Paddington London, W2 1LA Tel: 020 7087 8673 www.utilyx.com ______________________________________________________________________ "Utilyx" is the trading name of "Utilyx Limited" and "Utilyx Risk Management Limited" (URML). URML is authorised and regulated by the Financial Services Authority (FSA). This message contains information that may be privileged or confidential and is the property of Utilyx. It is intended only for the person to whom it is addressed. No confidentiality or privilege is waived or lost by any mistransmission. Any views or opinions expressed in this message are solely those of the author and do not necessarily represent those of Utilyx. Unless otherwise stated, any pricing information given in this message is indicative only and does not constitute an offer to deal at any price quoted. If you are not the intended recipient, you are not authorized to read, print, retain, copy, disseminate, distribute or use this message or any part thereof. If you receive this message in error, please notify the sender immediately and delete all copies of this message. ______________________________________________________________________ This email has been scanned by the MessageLabs Email Security System. For more information please visit http://www.messagelabs.com/email ______________________________________________________________________ -------------- next part -------------- An HTML attachment was scrubbed... URL: From marouane.himdi at kereval.com Mon Feb 23 09:56:47 2009 From: marouane.himdi at kereval.com (Marouane HIMDI) Date: Mon, 23 Feb 2009 15:56:47 +0100 Subject: [rt-users] trend data on time spent/estimated In-Reply-To: <49A2B59B.7070301@utilyx.com> References: <49A29156.1030504@utilyx.com> <0410719007B144FB9C5C112FCE351BB3@pcmhi> <49A2B59B.7070301@utilyx.com> Message-ID: There is no relation between this tool and RTx::Statistics. I already installed it with RT 3.8.1 without any problem Dr Marouane HIMDI Ing?nieur R&D/R&D Engineer KEREVAL 4, rue H?l?ne Boucher Z.A. Bellevue 35235 Thorign? Fouillard Tel : +33 (0)2 23 20 36 64 http://www.kereval.com P Pensez ? l'environnement : n'imprimez ce message et ses pi?ces jointes que si n?cessaire ! -----Message d'origine----- De?: Calvin Chiang [mailto:calvin at utilyx.com] Envoy??: lundi 23 f?vrier 2009 15:42 ??: marouane.himdi at kereval.com Cc?: rt-users at lists.bestpractical.com Objet?: Re: [rt-users] trend data on time spent/estimated thanks for that! i'll be trying the installation this week. on the page it refers to "rt's regular statistics package" - is this RTx::Statistics? do you know if people are regularly using this with the later versions of RT? Marouane HIMDI wrote: > Have a look at Yarts http://www.bastian-friedrich.de/comp/yarts/ . it's > developed in PHP, so easy to customise to meet your needs. > > Best regards > > > > Dr Marouane HIMDI > Ing?nieur R&D/R&D Engineer > > > KEREVAL > 4, rue H?l?ne Boucher > Z.A. Bellevue > 35235 Thorign? Fouillard > Tel : +33 (0)2 23 20 36 64 > http://www.kereval.com > > P Pensez ? l'environnement : n'imprimez ce message et ses pi?ces jointes que > si n?cessaire ! > -----Message d'origine----- > De : rt-users-bounces at lists.bestpractical.com > [mailto:rt-users-bounces at lists.bestpractical.com] De la part de Calvin > Chiang > Envoy? : lundi 23 f?vrier 2009 13:07 > ? : rt-users at lists.bestpractical.com > Objet : [rt-users] trend data on time spent/estimated > > Hi All, > > I've been trying to find a good tool to get trends from my RT data on > time spent etc. I've had a good look and cant find much, but let me > know if i've missed something really obvious. > > I came across the RTx::Statistics package but couldnt see any movement > on it in the last two years or so. > > Then i found this awesome-looking RT Analyzer program > (http://accelconf.web.cern.ch/accelconf/ica05/proceedings/pdf/O3_010.pdf) > that was coded by some guys at a research institiution called cosyslabs. > Have any of you seen this before or got it working before? I've emailed > some of the guys listed in the paper but havent heard back from them yet. > > Cheers, > > > -- Calvin Chiang Network Admin Utilyx 1st Floor, 55 North Wharf Road Paddington London, W2 1LA Tel: 020 7087 8673 www.utilyx.com ______________________________________________________________________ "Utilyx" is the trading name of "Utilyx Limited" and "Utilyx Risk Management Limited" (URML). URML is authorised and regulated by the Financial Services Authority (FSA). This message contains information that may be privileged or confidential and is the property of Utilyx. It is intended only for the person to whom it is addressed. No confidentiality or privilege is waived or lost by any mistransmission. Any views or opinions expressed in this message are solely those of the author and do not necessarily represent those of Utilyx. Unless otherwise stated, any pricing information given in this message is indicative only and does not constitute an offer to deal at any price quoted. If you are not the intended recipient, you are not authorized to read, print, retain, copy, disseminate, distribute or use this message or any part thereof. If you receive this message in error, please notify the sender immediately and delete all copies of this message. ______________________________________________________________________ This email has been scanned by the MessageLabs Email Security System. For more information please visit http://www.messagelabs.com/email ______________________________________________________________________ From mike.peachey at jennic.com Mon Feb 23 09:58:10 2009 From: mike.peachey at jennic.com (Mike Peachey) Date: Mon, 23 Feb 2009 14:58:10 +0000 Subject: [rt-users] Re quest Tracker 3.8.2 - Integration with Active Directory (Windows 2003) In-Reply-To: <22159677.post@talk.nabble.com> References: <22159677.post@talk.nabble.com> Message-ID: <49A2B982.5050302@jennic.com> Mtabanez wrote: > I have installed, RT 3.8.2, on a RHEL5, and i have had problems to integrate > RT with Active Directory. I hope that someone had a solution to my problem, > there is my configuration. The example RT_SiteConfig.pm provided with ExternalAuth is not where you define the settings, it is just an example of the settings. You need to put them in your normal RT_SiteConfig.pm file. Copy & Paste will do. Read the README. -- Kind Regards, __________________________________________________ Mike Peachey, IT Tel: +44 114 281 2655 Fax: +44 114 281 2951 Jennic Ltd, Furnival Street, Sheffield, S1 4QT, UK Comp Reg No: 3191371 - Registered In England http://www.jennic.com __________________________________________________ From sturner at MIT.EDU Mon Feb 23 10:16:12 2009 From: sturner at MIT.EDU (Stephen Turner) Date: Mon, 23 Feb 2009 10:16:12 -0500 Subject: [rt-users] Help with permissions? In-Reply-To: <9be19c1c0902230236s461d290ag33ec0d09fbef7857@mail.gmail.com> References: <9be19c1c0902230236s461d290ag33ec0d09fbef7857@mail.gmail.com> Message-ID: On Mon, 23 Feb 2009 05:36:41 -0500, George Beitis wrote: > Hey everyone, > my problem has to do with setting permissions. > > I have created a queue called IT support, and a group called Company > Employees. The Employee group has the following rights on the group: > create > ticket and show ticket. These don't seem to be enough for a user in the > group employees to create a ticket as the queue name doesn't come up in > the > create queue section of the screen or the quick create widget. Am I > doing > something wrong there? > > George I think you may also need to grant SeeQueue on the queue to the group. Steve -- Stephen Turner Senior Programmer/Analyst - SAIS MIT IS&T From alexyoung at scoutsolutions.co.uk Mon Feb 23 10:47:11 2009 From: alexyoung at scoutsolutions.co.uk (Alex Young) Date: Mon, 23 Feb 2009 15:47:11 -0000 Subject: [rt-users] Bug with reply and /txt files in 3.8.2? In-Reply-To: <3CE7D8D453B27148BBCA0B2063B11E64D5FEEF@s-wor-e-001.SCOUTSOFFICE.local> References: <3CE7D8D453B27148BBCA0B2063B11E64D5FEEF@s-wor-e-001.SCOUTSOFFICE.local> Message-ID: <3CE7D8D453B27148BBCA0B2063B11E64D5FF19@s-wor-e-001.SCOUTSOFFICE.local> Some further info: This only happens when the WYSIWYG editor is enabled. If its disabled it send the .txt attachment correctly. From: rt-users-bounces at lists.bestpractical.com [mailto:rt-users-bounces at lists.bestpractical.com] On Behalf Of Alex Young Sent: 23 February 2009 14:33 To: rt-users at lists.bestpractical.com Subject: [rt-users] Bug with reply and /txt files in 3.8.2? I think we have possibly found a bug in 3.8.2 on the ticket display. If you do a reply and add a text file attachment it submits correctly and shows the .txt file in-line with the ticket. If I click Reply on that correspondence it doesn't include the message body, it includes the .txt file contents with > at the start. The response to the ticket requestor also doesn't include the .txt attachment. Instead it includes a .htm attachment with the message body in it. I have also attached other attachments as well as a .txt file, and all attachments work fine, with the exception of the .txt file. Again, it transforms into a .htm attachment of the message body. Does anyone else have this behaviour in 3.8.2? -------------- next part -------------- An HTML attachment was scrubbed... URL: From rob.munsch at gmail.com Mon Feb 23 10:53:06 2009 From: rob.munsch at gmail.com (Rob Munsch) Date: Mon, 23 Feb 2009 10:53:06 -0500 Subject: [rt-users] Plugins to Include in Main RT release In-Reply-To: <49A284F8.7040901@jennic.com> References: <49A280E6.9020201@cutaway.it> <49A284F8.7040901@jennic.com> Message-ID: <8fae230c0902230753gf06c967sdb7f069d4505aa99@mail.gmail.com> On Mon, Feb 23, 2009 at 6:14 AM, Mike Peachey wrote: > This is an invalid way to define extensions as each declaration will > override the previous. You should use, for example: This is one of the things that tripped me up when i first tried to get ExternalAuth working. I looking around the wiki and didn't see a better place for it, so i've updated http://wiki.bestpractical.com/view/SiteConfig with nearly exactly Mike's words and example, if that's OK with him. -- /chown -R us:us /yourbase From Joel.Schuweiler at schmoozecom.com Mon Feb 23 11:38:59 2009 From: Joel.Schuweiler at schmoozecom.com (Joel Schuweiler) Date: Mon, 23 Feb 2009 10:38:59 -0600 Subject: [rt-users] Configuring RT for customer logins Message-ID: <04F770AE4B9BEC4FBDF9C306CFF44F27754D574C62@schmoozecom1.schmooze.schmoozecom.com> I'm running into road blocks here, wondering if anyone can provide what they did. I want uses to be able to log into RT and view their tickets, create tickets, and reply to their tickets from the web. In order to view a ticket a user has created it seems like I must grant "ShowTicket" but the second I do this the user can now see all unowned tickets? I'm using rt 3.8.0. Is there a way to adjust the main landing page to hide all the boxes by default except certain ones? For example I would like to hide Reminders, 10 newest unowned tickets, Quick search, and Dashboards. Thanks for your time, Joel -------------- next part -------------- An HTML attachment was scrubbed... URL: From admin at dougware.net Mon Feb 23 11:52:14 2009 From: admin at dougware.net (Doug Eubanks) Date: Mon, 23 Feb 2009 11:52:14 -0500 Subject: [rt-users] Second Instance Of RT (for branding purposes) Message-ID: <8c87cb5a0902230852o6682daaev784bd39e4e728fad@mail.gmail.com> I'm trying to setup a second instance of RT that has a different branding, but uses the same SQL server, etc. I copied my existing (and working) RT installation over to a new directory. Then I created the new instance in Apache in the httpd.conf, changing the file locations to the new directories. Then I edited the RT_SiteConfig.pm file to reflect the new file locations. For some reason, the errors are showing up in the original directory's logs and the error returned is: [Mon Feb 23 15:47:56 2009] [warning]: [Mason] Cannot resolve file to component: /opt/rt3-[NEWBRAND]/share/html/index.html (is file outside component root?) at /usr/lib/perl5/vendor_perl/5.8.8/HTML/Mason/ApacheHandler.pm line 853. (/usr/lib/perl5/vendor_perl/5.8.8/HTML/Mason/ApacheHandler.pm:853) The browser returns a 404 error. What am I missing? Is it not possible to run two RT instances on the same server? Sincerely, Doug Eubanks admin at dougware.net -------------- next part -------------- An HTML attachment was scrubbed... URL: From KFCrocker at lbl.gov Mon Feb 23 12:05:57 2009 From: KFCrocker at lbl.gov (Kenneth Crocker) Date: Mon, 23 Feb 2009 09:05:57 -0800 Subject: [rt-users] RT Default query My Tickets In-Reply-To: References: <499F37D4.80509@lbl.gov> Message-ID: <49A2D775.2060103@lbl.gov> Chia-Liang, Thanks. I'll check it out. Kenn LBNL On 2/20/2009 11:09 PM, Chia-liang Kao wrote: > Hi Kenneth, > > Kenneth Crocker lbl.gov> writes: >> I need to make some changes to the default Query "My Tickets". Where >> would I find that code to change some of the default sorts? Thanks. > > You can click "edit" on "My Tickets", adjust the predefined search, and save it. > Alternatively you can create a system-wide saved search, then go to > Config -> Global -> RT at a glance to replace the default "My Tickets" with the > search you just saved. > > Cheers, > CLK > > > _______________________________________________ > 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 > From KFCrocker at lbl.gov Mon Feb 23 12:25:03 2009 From: KFCrocker at lbl.gov (Kenneth Crocker) Date: Mon, 23 Feb 2009 09:25:03 -0800 Subject: [rt-users] Configuring RT for customer logins In-Reply-To: <04F770AE4B9BEC4FBDF9C306CFF44F27754D574C62@schmoozecom1.schmooze.schmoozecom.com> References: <04F770AE4B9BEC4FBDF9C306CFF44F27754D574C62@schmoozecom1.schmooze.schmoozecom.com> Message-ID: <49A2DBEF.40807@lbl.gov> Joel, Try this: grant All the privileges for "Searches" Globally to "Privileged". Then grant "SeeQueue" and "CreateTicket" at the Queue level to "Privileged". Then grant "ShowTicket", "ShowOutgoingEmail", and "ReplyToTicket" at the Queue level to "Requestrors". That should give you a good start. Permissions are difficult to grasp at first (at least they were for me). I've found that a good rule to follow is to not grant too much at a high level. I never grant rights to Users and only to groups. I only grant the "Search" stuff and "ModifySelf" at the GLOBAL level. The rest is always for certain groups for certain queues. This works for me, but I have about 115 queues for technicaL support of different software applications and infrastructure support. Your installation may not need to be so protective or granular. Hope this helps. Kenn LBNL On 2/23/2009 8:38 AM, Joel Schuweiler wrote: > I?m running into road blocks here, wondering if anyone can provide what > they did. I want uses to be able to log into RT and view their tickets, > create tickets, and reply to their tickets from the web. > > > > In order to view a ticket a user has created it seems like I must grant > ?ShowTicket? but the second I do this the user can now see all unowned > tickets? > > > > I?m using rt 3.8.0. Is there a way to adjust the main landing page to > hide all the boxes by default except certain ones? For example I would > like to hide Reminders, 10 newest unowned tickets, Quick search, and > Dashboards. > > > > Thanks for your time, > > Joel > > > ------------------------------------------------------------------------ > > _______________________________________________ > 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 From rfh at vialtus.com Mon Feb 23 12:35:53 2009 From: rfh at vialtus.com (Raed El-Hames) Date: Mon, 23 Feb 2009 17:35:53 +0000 Subject: [rt-users] Second Instance Of RT (for branding purposes) In-Reply-To: <8c87cb5a0902230852o6682daaev784bd39e4e728fad@mail.gmail.com> References: <8c87cb5a0902230852o6682daaev784bd39e4e728fad@mail.gmail.com> Message-ID: <49A2DE79.1050300@vialtus.com> Doug; Are you using fast cgi , or mod_perl ??, with fastcgi you can run as many instances you want --sorry I don't use so I do n't have working apache config, with mod_perl you suppose to only run one instance due to how the mod_perl/mason work, however I did find a work around and this is how I got my instances working: for each instance (brand), I have RT_SiteConfig_brandx.pm (all in /opt/rt3/local/etc/ ) webmux-brandx.pl (which is a copy of webmux.pl adding the line $ENV{'SERVER'} = 'my_brandx_instance.com'; #at the top where the rest of $ENV is being defined Modify local/lib/RT.pm adding : if ($ENV{'SERVER'} eq 'my_brandx_instance.com' ) { $SITE_CONFIG_FILE = '/opt/rt3/local/etc/RT_SiteConfig_brandx.pm' ; }elsif ($ENV{'SERVER'} eq 'my_brandy_instance.com' ) { $SITE_CONFIG_FILE = '/opt/rt3/local/etc/RT_SiteConfig_brandy.pm' ; } You add these lines @ the top/start of sub LoadConfig In you httpd.conf you call the correct webmux for your instance: PerlRequire /opt/rt3/bin/webmux-brandx.pl Thats it, the above setup allow you to share the same RT directory , so customisation is easier, Hope that helps, Regards; Roy Doug Eubanks wrote: > I'm trying to setup a second instance of RT that has a different > branding, but uses the same SQL server, etc. > > I copied my existing (and working) RT installation over to a new > directory. Then I created the new instance in Apache in the > httpd.conf, changing the file locations to the new directories. Then > I edited the RT_SiteConfig.pm file to reflect the new file locations. > > For some reason, the errors are showing up in the original directory's > logs and the error returned is: > [Mon Feb 23 15:47:56 2009] [warning]: [Mason] Cannot resolve file to > component: /opt/rt3-[NEWBRAND]/share/html/index.html (is file outside > component root?) at > /usr/lib/perl5/vendor_perl/5.8.8/HTML/Mason/ApacheHandler.pm line 853. > (/usr/lib/perl5/vendor_perl/5.8.8/HTML/Mason/ApacheHandler.pm:853) > > The browser returns a 404 error. > > What am I missing? Is it not possible to run two RT instances on the > same server? > > Sincerely, > Doug Eubanks > admin at dougware.net From steve.obrien at hdesd.org Mon Feb 23 12:52:52 2009 From: steve.obrien at hdesd.org (Steve O'Brien) Date: Mon, 23 Feb 2009 09:52:52 -0800 Subject: [rt-users] Diplaying Custom fields globally Message-ID: Hi All, I am using the RT::Extension::SLA module, which is working great. I am trying to figure out how to do something seemingly simple. I would like the Custom SLA field to display globally on RT At A Glance and pretty much everywhere so that people can use that information to prioritize. I found some docs for RT 3.6.2 but it was different; I know how to edit my own view and see them I just don't know how to make that the default view. TIA, Steve -------------- next part -------------- An HTML attachment was scrubbed... URL: From KFCrocker at lbl.gov Mon Feb 23 13:46:16 2009 From: KFCrocker at lbl.gov (Kenneth Crocker) Date: Mon, 23 Feb 2009 10:46:16 -0800 Subject: [rt-users] Diplaying Custom fields globally In-Reply-To: References: Message-ID: <49A2EEF8.5070900@lbl.gov> Steve, I have done this for a couple of queries. You can modify the default fields to be automatically listed as display fields in the Query Builder tool by going to /RTHome/etc and chaning the RT_SiteConfig.pm file and making your changes. When I did this, I wanted the minimum fields that 99% of my users used to be automatic. It takes "FOREVER" to add and subtract a field one entry at a time so this saved my users a great deal of time. I included a Custom Field in that list. You can also modify certain default Queries. I modified "Quicksearch" and "MySupportQueues" by copying the /share/html/whatever to a local version and then making my changes. Find out where the query you want to change exists and copy it to "local" and then change it. Hope this helps. OH. Be smart and keep a copy of your changes for the next upgrade. Kenn LBNL On 2/23/2009 9:52 AM, Steve O'Brien wrote: > Hi All, > > I am using the RT::Extension::SLA module, which is working great. I am > trying to figure out how to do something seemingly simple. I would like > the Custom SLA field to display globally on RT At A Glance and pretty > much everywhere so that people can use that information to prioritize. > I found some docs for RT 3.6.2 but it was different; I know how to edit > my own view and see them I just don?t know how to make that the default > view. > > > > TIA, > > 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 From toml at bitstatement.net Mon Feb 23 14:14:00 2009 From: toml at bitstatement.net (Tom Lahti) Date: Mon, 23 Feb 2009 11:14:00 -0800 Subject: [rt-users] RT 3.8 mangles html attachment In-Reply-To: <5061E415-10DF-4B5E-B364-D7CAE897DDF3@sanger.ac.uk> References: <519782dc0902190744hd06431at262b206e5911dabf@mail.gmail.com> <20090219154707.GE4538@bestpractical.com> <519782dc0902190749k8097450q19c955cec9027d42@mail.gmail.com> <20090219160514.GN53289@17h.local> <519782dc0902190811v14e6c752u94274f26bafdafce@mail.gmail.com> <519782dc0902190833l190563d7td1a133c50b7a7f21@mail.gmail.com> <20090219163550.GR53289@17h.local> <5061E415-10DF-4B5E-B364-D7CAE897DDF3@sanger.ac.uk> Message-ID: <49A2F578.9010209@bitstatement.net> >> On Thu 19.Feb'09 at 11:33:25 -0500, Todd Chapman wrote: >>> Correction, the weird question mark characters are between every >>> character >>> in the original document. Like so: >>> >>> ? ? ?> Fascinating. Does it do this with all html attachments? > > That looks suspiciously like full 16-bit Unicode to me. It was pointed out earlier in the thread that the encoding was UTF-16LE. I was surprised when no one said "the conversion library we use doesn't support automatic detection of/conversion from 16-bit encodings", but I don't know what is being used in RT. With the iconv library, if you want to convert from UTF-16, you have to specify it as the "from" code. As far as I know. But it does work if you do. -- -- ============================ Tom Lahti BIT Statement LLC (425)251-0833 x 117 http://www.bitstatement.net/ -- ============================ From jesse at bestpractical.com Mon Feb 23 14:14:12 2009 From: jesse at bestpractical.com (Jesse Vincent) Date: Mon, 23 Feb 2009 14:14:12 -0500 Subject: [rt-users] RT 3.8 mangles html attachment In-Reply-To: <49A2F578.9010209@bitstatement.net> References: <519782dc0902190744hd06431at262b206e5911dabf@mail.gmail.com> <20090219154707.GE4538@bestpractical.com> <519782dc0902190749k8097450q19c955cec9027d42@mail.gmail.com> <20090219160514.GN53289@17h.local> <519782dc0902190811v14e6c752u94274f26bafdafce@mail.gmail.com> <519782dc0902190833l190563d7td1a133c50b7a7f21@mail.gmail.com> <20090219163550.GR53289@17h.local> <5061E415-10DF-4B5E-B364-D7CAE897DDF3@sanger.ac.uk> <49A2F578.9010209@bitstatement.net> Message-ID: <20090223191412.GT25990@bestpractical.com> On Mon, Feb 23, 2009 at 11:14:00AM -0800, Tom Lahti wrote: > >> On Thu 19.Feb'09 at 11:33:25 -0500, Todd Chapman wrote: > >>> Correction, the weird question mark characters are between every > >>> character > >>> in the original document. Like so: > >>> > >>> ? ? ? >> Fascinating. Does it do this with all html attachments? > > > > That looks suspiciously like full 16-bit Unicode to me. > > It was pointed out earlier in the thread that the encoding was UTF-16LE. I > was surprised when no one said "the conversion library we use doesn't > support automatic detection of/conversion from 16-bit encodings", but I > don't know what is being used in RT. > > With the iconv library, if you want to convert from UTF-16, you have to > specify it as the "from" code. As far as I know. But it does work if you do. > Todd and I got further into it. We're using Encode::Guess, which should handle this. Todd had some promising places to dig for a bug. > -- > -- ============================ > Tom Lahti > BIT Statement LLC > > (425)251-0833 x 117 > http://www.bitstatement.net/ > -- ============================ > -- From steve.obrien at hdesd.org Mon Feb 23 13:09:02 2009 From: steve.obrien at hdesd.org (Steve OBrien) Date: Mon, 23 Feb 2009 10:09:02 -0800 Subject: [rt-users] RT::Extension::SLA Question In-Reply-To: <499B1343.7050301@thebunker.net> References: <499AFDF5.1040404@thebunker.net> <589c94400902171033q20cea736h4d595ce7dd91b472@mail.gmail.com> <499B1343.7050301@thebunker.net> Message-ID: <1235412542.21358.3.camel@localhost.localdomain> [snip] > Ruslan Zakirov wrote: > RT::Extension::SLA shipped with pretty good scrips that can be > disabled and re-enabled to turn off or turn back on some > functionality. For example it has scrip that sets default value of the > SLA according to the config. Starts/Due dates are set by another scrip > which doesn't care when and by whom SLA CF has be changed. Such setup > allows you to disable assigning of default service level for tickets > and set them manually for every ticket (some companies may like it). [snip] Ruslan, Are these scrips or how to use them documented anywhere? Thanks, Steve From todd at chaka.net Mon Feb 23 15:04:32 2009 From: todd at chaka.net (Todd Chapman) Date: Mon, 23 Feb 2009 15:04:32 -0500 Subject: [rt-users] RT 3.8 mangles html attachment In-Reply-To: <20090223191412.GT25990@bestpractical.com> References: <519782dc0902190744hd06431at262b206e5911dabf@mail.gmail.com> <20090219154707.GE4538@bestpractical.com> <519782dc0902190749k8097450q19c955cec9027d42@mail.gmail.com> <20090219160514.GN53289@17h.local> <519782dc0902190811v14e6c752u94274f26bafdafce@mail.gmail.com> <519782dc0902190833l190563d7td1a133c50b7a7f21@mail.gmail.com> <20090219163550.GR53289@17h.local> <5061E415-10DF-4B5E-B364-D7CAE897DDF3@sanger.ac.uk> <49A2F578.9010209@bitstatement.net> <20090223191412.GT25990@bestpractical.com> Message-ID: <519782dc0902231204v70941737v97ee021b2b117fce@mail.gmail.com> On Mon, Feb 23, 2009 at 2:14 PM, Jesse Vincent wrote: > > > > On Mon, Feb 23, 2009 at 11:14:00AM -0800, Tom Lahti wrote: >> >> On Thu 19.Feb'09 at 11:33:25 -0500, Todd Chapman wrote: >> >>> Correction, the weird question mark characters are between every >> >>> character >> >>> in the original document. Like so: >> >>> >> >>> ? ? ?> >> Fascinating. Does it do this with all html attachments? >> > >> > That looks suspiciously like full 16-bit Unicode to me. >> >> It was pointed out earlier in the thread that the encoding was UTF-16LE. I >> was surprised when no one said "the conversion library we use doesn't >> support automatic detection of/conversion from 16-bit encodings", but I >> don't know what is being used in RT. >> >> With the iconv library, if you want to convert from UTF-16, you have to >> specify it as the "from" code. As far as I know. But it does work if you do. >> > Todd and I got further into it. We're using Encode::Guess, which should > handle this. Todd had some promising places to dig for a bug. > > I'll be sending a test as soon as I finish converting this bugzilla instance to a new RT instance. ;) >> -- >> -- ============================ >> Tom Lahti >> BIT Statement LLC >> >> (425)251-0833 x 117 >> http://www.bitstatement.net/ >> -- ============================ >> > > -- > _______________________________________________ > 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 From steve.obrien at hdesd.org Mon Feb 23 15:35:37 2009 From: steve.obrien at hdesd.org (Steve OBrien) Date: Mon, 23 Feb 2009 12:35:37 -0800 Subject: [rt-users] Color ColumnMap with SLA Column Message-ID: <1235421337.21358.21.camel@localhost.localdomain> Hi All, I am using the ShowStatusInColor extension and the SLA Extensions and would like my tickets' SLA fields to show up in color as well but I cannot seem to get the query syntax correct in the ColorMap script. I basically edited the Priority ColorMap but it cannot compile because I can't get the correct column name for my custom field. here is what I have: [snip] 89 # Set the SLA numbers to a colour. 90 sub SLAInColor { 91 my $Ticket = shift; 92 93 my $sla = $Ticket->CF.{SLA}; 94 my $colors = undef; 95 96 # Change priority numbers to reflect your priority system. 97 if ($sla == 'System Inoperable') { 98 $colors = "#FF0000"; 99 } elsif ($sla == 'Service Impaired') { 100 $colors = "#FF2000"; 101 } elsif ($sla == 'General Inquiry') { 102 $colors = "#FF4000"; 103 } 104 105 if ($colors) { 106 $sla = "
$sla
" 107 } 108 109 return \"$sla"; 110 } [snip] the offending line is: 93 my $sla = $Ticket->CF.{SLA}; It doesn't like the CF.{SLA} I have tried CustomField.{SLA}, CustomField \.\{SLA\}, CF\.\{SLA\}, and SLA. It does not seem to like my \ which I thought was a perfectly perlish way to escape a character.... The Field description name is SLA Priority, I have tried that as well. TIA, Steve From agentc0re at gmail.com Mon Feb 23 16:49:04 2009 From: agentc0re at gmail.com (agentc0re) Date: Mon, 23 Feb 2009 13:49:04 -0800 (PST) Subject: [rt-users] RTFM Wikitext area, wiki syntax isn't working correctly Message-ID: <22170897.post@talk.nabble.com> I am running rt 3.8.2 with RTFM 2.4.1. I've setup a custom field with "Fill in one wikitext area". I've read in the online wiki some guidelines as what syntax's are allowed, but they don't seem to be working correctly for me. IE: if i add a link like this, [My Link http://example.com] It displays "My Link" and "http://example.com" as clickable areas. However "My Link" is treated like an internal wiki page while "http://example.com" works. And to my understanding from reading the online doc's it should only show "My Link" correct? -- View this message in context: http://www.nabble.com/RTFM-Wikitext-area%2C-wiki-syntax-isn%27t-working-correctly-tp22170897p22170897.html Sent from the Request Tracker - User mailing list archive at Nabble.com. From toml at bitstatement.net Mon Feb 23 18:04:54 2009 From: toml at bitstatement.net (Tom Lahti) Date: Mon, 23 Feb 2009 15:04:54 -0800 Subject: [rt-users] RT 3.8 mangles html attachment In-Reply-To: <20090223191412.GT25990@bestpractical.com> References: <519782dc0902190744hd06431at262b206e5911dabf@mail.gmail.com> <20090219154707.GE4538@bestpractical.com> <519782dc0902190749k8097450q19c955cec9027d42@mail.gmail.com> <20090219160514.GN53289@17h.local> <519782dc0902190811v14e6c752u94274f26bafdafce@mail.gmail.com> <519782dc0902190833l190563d7td1a133c50b7a7f21@mail.gmail.com> <20090219163550.GR53289@17h.local> <5061E415-10DF-4B5E-B364-D7CAE897DDF3@sanger.ac.uk> <49A2F578.9010209@bitstatement.net> <20090223191412.GT25990@bestpractical.com> Message-ID: <49A32B96.7020603@bitstatement.net> > Todd and I got further into it. We're using Encode::Guess, which should > handle this. Todd had some promising places to dig for a bug. Curious: does Encode::Guess handle UTF-16(LE|BE) without a byte order mark? That would be ... fascinating. -- -- ============================ Tom Lahti BIT Statement LLC (425)251-0833 x 117 http://www.bitstatement.net/ -- ============================ From todd at chaka.net Mon Feb 23 18:06:09 2009 From: todd at chaka.net (Todd Chapman) Date: Mon, 23 Feb 2009 18:06:09 -0500 Subject: [rt-users] RT 3.8 mangles html attachment In-Reply-To: <49A32B96.7020603@bitstatement.net> References: <519782dc0902190744hd06431at262b206e5911dabf@mail.gmail.com> <519782dc0902190749k8097450q19c955cec9027d42@mail.gmail.com> <20090219160514.GN53289@17h.local> <519782dc0902190811v14e6c752u94274f26bafdafce@mail.gmail.com> <519782dc0902190833l190563d7td1a133c50b7a7f21@mail.gmail.com> <20090219163550.GR53289@17h.local> <5061E415-10DF-4B5E-B364-D7CAE897DDF3@sanger.ac.uk> <49A2F578.9010209@bitstatement.net> <20090223191412.GT25990@bestpractical.com> <49A32B96.7020603@bitstatement.net> Message-ID: <519782dc0902231506x5a51a4cfv278d3bd4b79e6ed7@mail.gmail.com> On Mon, Feb 23, 2009 at 6:04 PM, Tom Lahti wrote: >> Todd and I got further into it. We're using Encode::Guess, which should >> handle this. Todd had some promising places to dig for a bug. > > Curious: does Encode::Guess handle UTF-16(LE|BE) without a byte order mark? > That would be ... fascinating. > No it doesn't. I think the problem is the RT code splits the message into lines and processes each line separately. Only the first line has the BOM (Byte Order Mark) so the conversion fails on the rest of the lines. > > -- > -- ============================ > Tom Lahti > BIT Statement LLC > > (425)251-0833 x 117 > http://www.bitstatement.net/ > -- ============================ > _______________________________________________ > 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 > From jrhett at netconsonance.com Mon Feb 23 20:01:00 2009 From: jrhett at netconsonance.com (Jo Rhett) Date: Mon, 23 Feb 2009 17:01:00 -0800 Subject: [rt-users] bug/patch - no linefeeds in "Show" output for an outgoing message Message-ID: <2397BD2D-F141-4AB8-80EE-BDD8D4E0F64B@netconsonance.com> If you click "Show" next to an outgoing mail message in RT 3.8.2, regardless of your preference settings text paragraphs are a single long line. The following patch fixes that. You might want to also check preferences and apply a font setting to the style="" attribute based on the user preference. --- html/Ticket/ShowEmailRecord.html_orig 2009-02-23 16:55:17.000000000 -0800 +++ html/Ticket/ShowEmailRecord.html 2009-02-23 16:56:22.000000000 -0800 @@ -65,7 +65,7 @@ my $show; $show = sub { my $attach = shift; - $m->out( '
' );
+    $m->out( '
' ); $m->out( $m->interp->apply_escapes( $attach->Headers, 'h' ) ); $m->out( "\n\n" ); if ( $attach->ContentType =~ m{^multipart/}i ) { @@ -76,7 +76,7 @@ } else { $show_content->( $attach ); } - $m->out( '
' ); + $m->out( '
' ); }; my $AttachmentObj = new RT::Attachment($session{'CurrentUser'}); -- Jo Rhett Net Consonance : consonant endings by net philanthropy, open source and other randomness From jrhett at netconsonance.com Mon Feb 23 21:21:02 2009 From: jrhett at netconsonance.com (Jo Rhett) Date: Mon, 23 Feb 2009 18:21:02 -0800 Subject: [rt-users] IsInBound matches tickets from self for self? Message-ID: <515377D9-71BE-4E62-A5D0-82B29090378F@netconsonance.com> So I used the method Jesse described for matching inbound requests and am having the following problem: Mon Feb 23 18:10:00 2009 RT_System - Priority changed from '45' to '95' Mon Feb 23 18:10:00 2009 RT_System - Priority changed from '95' to '45' I have one scrip to lower the priority on Correspondence, and this one to raise it: if( $self->TransactionObj->IsInbound ) { if( $self->TicketObj->Priority < 50 ) { $self->TicketObj->SetPriority( $self->TicketObj->Priority + 50 ) } } return 1; How do I make sure this doesn't match tickets which I opened for myself and am updating periodically? -- Jo Rhett Net Consonance : consonant endings by net philanthropy, open source and other randomness From jrhett at netconsonance.com Mon Feb 23 23:51:20 2009 From: jrhett at netconsonance.com (Jo Rhett) Date: Mon, 23 Feb 2009 20:51:20 -0800 Subject: [rt-users] dashboards Message-ID: Dashboards are neat, but they suffer from some pretty severe limitations in the scheduling department. 1. Repeated schedule times -- how about at 8am, noon, and 4pm? To do this, I have to create three duplicate dashboards under three different names. 2. Useful schedule times. In particular why not Mon-Fri as an option? Can I not have this on Tuesday and Thursday? -- Jo Rhett Net Consonance : consonant endings by net philanthropy, open source and other randomness From sartak at bestpractical.com Mon Feb 23 23:57:26 2009 From: sartak at bestpractical.com (Shawn M Moore) Date: Mon, 23 Feb 2009 23:57:26 -0500 Subject: [rt-users] dashboards In-Reply-To: References: Message-ID: <20090224045725.GH13470@bestpractical.com> On Mon, Feb 23, 2009 at 08:51:20PM -0800, Jo Rhett wrote: > Dashboards are neat, but they suffer from some pretty severe > limitations in the scheduling department. > > 1. Repeated schedule times -- how about at 8am, noon, and 4pm? To do > this, I have to create three duplicate dashboards under three > different names. > > 2. Useful schedule times. In particular why not Mon-Fri as an > option? Can I not have this on Tuesday and Thursday? These are certainly valid things to want. I didn't get around to adding complex subscription rules because it wasn't something we needed; the simple rules that RT gives you today were already more than we needed. I'd love to see these implemented, so if you can implement them well I'd happily accept patches. Shawn From torsten.brumm at googlemail.com Tue Feb 24 01:32:36 2009 From: torsten.brumm at googlemail.com (Torsten Brumm) Date: Tue, 24 Feb 2009 07:32:36 +0100 Subject: [rt-users] Plugins to Include in Main RT release In-Reply-To: <8fae230c0902230753gf06c967sdb7f069d4505aa99@mail.gmail.com> References: <49A280E6.9020201@cutaway.it> <49A284F8.7040901@jennic.com> <8fae230c0902230753gf06c967sdb7f069d4505aa99@mail.gmail.com> Message-ID: Hi Guys, you are all correct and i think Andrea has done a tiny mistake, but i also think Andrea's idea was to ask for the most usefull Plugins not already portet to the RT 3.8 Layout... Correct? Torsten 2009/2/23 Rob Munsch > On Mon, Feb 23, 2009 at 6:14 AM, Mike Peachey > wrote: > > > This is an invalid way to define extensions as each declaration will > > override the previous. You should use, for example: > > This is one of the things that tripped me up when i first tried to get > ExternalAuth working. I looking around the wiki and didn't see a > better place for it, so i've updated > > http://wiki.bestpractical.com/view/SiteConfig > > with nearly exactly Mike's words and example, if that's OK with him. > > -- > /chown -R us:us /yourbase > _______________________________________________ > 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 > -- MFG Torsten Brumm http://www.torsten-brumm.de -------------- next part -------------- An HTML attachment was scrubbed... URL: From ruslan.zakirov at gmail.com Tue Feb 24 01:33:59 2009 From: ruslan.zakirov at gmail.com (Ruslan Zakirov) Date: Tue, 24 Feb 2009 09:33:59 +0300 Subject: [rt-users] Color ColumnMap with SLA Column In-Reply-To: <1235421337.21358.21.camel@localhost.localdomain> References: <1235421337.21358.21.camel@localhost.localdomain> Message-ID: <589c94400902232233s3f9ba1abyaff3a82b1b6958f0@mail.gmail.com> For strings use 'eq' instead of '==', for example: if ( $x eq 'some string' ) { .... To get value of a custom field of single type use $ticket->FirstCustomFieldValue('SLA');, CFs with multiple values need more work. CF.{SLA} is end user syntax and is not perl, so you can not use it in the code. On Mon, Feb 23, 2009 at 11:35 PM, Steve OBrien wrote: > Hi All, > I am using the ShowStatusInColor extension and the SLA Extensions and > would like my tickets' SLA fields to show up in color as well but I > cannot seem to get the query syntax correct in the ColorMap script. ?I > basically edited the Priority ColorMap but it cannot compile because I > can't get the correct column name for my custom field. ?here is what I > have: > [snip] > 89 # Set the SLA numbers to a colour. > ?90 sub SLAInColor { > ?91 ? ? ? ? my $Ticket = shift; > ?92 > ?93 ? ? ? ? my $sla = $Ticket->CF.{SLA}; > ?94 ? ? ? ? my $colors = undef; > ?95 > ?96 # Change priority numbers to reflect your priority system. > ?97 ? ? ? ? if ($sla == 'System Inoperable') { > ?98 ? ? ? ? ? ? ? ? $colors = "#FF0000"; > ?99 ? ? ? ?} elsif ($sla == 'Service Impaired') { > 100 ? ? ? ? ? ? ? ?$colors = "#FF2000"; > 101 ? ? ? ?} elsif ($sla == 'General Inquiry') { > 102 ? ? ? ? ? ? ? ? $colors = "#FF4000"; > 103 ? ? ? ? } > 104 > 105 ? ? ? ? if ($colors) { > 106 ? ? ? ? ? ? ? ? $sla = "
$sla
" > 107 ? ? ? ? } > 108 > 109 ? ? ? ? ? ? ? ? return \"$sla"; > 110 } > [snip] > > the offending line is: > 93 ? ? ? ? my $sla = $Ticket->CF.{SLA}; > > It doesn't like the CF.{SLA} I have tried CustomField.{SLA}, CustomField > \.\{SLA\}, CF\.\{SLA\}, and SLA. ?It does not seem to like my \ which I > thought was a perfectly perlish way to escape a character.... > The Field description name is SLA Priority, I have tried that as well. > > TIA, > 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 > -- Best regards, Ruslan. From george.beitis at googlemail.com Tue Feb 24 01:54:38 2009 From: george.beitis at googlemail.com (George Beitis) Date: Tue, 24 Feb 2009 08:54:38 +0200 Subject: [rt-users] Help with permissions? In-Reply-To: References: <9be19c1c0902230236s461d290ag33ec0d09fbef7857@mail.gmail.com> Message-ID: <9be19c1c0902232254o50b25a09g151c775c0f7d088b@mail.gmail.com> If i did that, wouldn't that allow the user to view all the tickets in a queue? On Mon, Feb 23, 2009 at 5:16 PM, Stephen Turner wrote: > On Mon, 23 Feb 2009 05:36:41 -0500, George Beitis < > george.beitis at googlemail.com> wrote: > > Hey everyone, >> my problem has to do with setting permissions. >> >> I have created a queue called IT support, and a group called Company >> Employees. The Employee group has the following rights on the group: >> create >> ticket and show ticket. These don't seem to be enough for a user in the >> group employees to create a ticket as the queue name doesn't come up in >> the >> create queue section of the screen or the quick create widget. Am I doing >> something wrong there? >> >> George >> > > I think you may also need to grant SeeQueue on the queue to the group. > > Steve > > -- > Stephen Turner > Senior Programmer/Analyst - SAIS > MIT IS&T > -------------- next part -------------- An HTML attachment was scrubbed... URL: From bernhard.hansbauer at greentube.com Tue Feb 24 03:40:07 2009 From: bernhard.hansbauer at greentube.com (Bernhard Hansbauer) Date: Tue, 24 Feb 2009 09:40:07 +0100 Subject: [rt-users] occasional broken attachments, will be okay when forwarded Message-ID: <49A3B267.6040800@greentube.com> Hi, we run into broken attachments from time to time, broken in a sense that they can't be viewed, RT will return a 401 error. When we forward them, the attachments are okay for both Thunderbird and Outlook users. What's so strange about this is that it only happens from time to time. Did anyone encounter this? Any suggestions? Thank you all, Bernhard From javier.garcia at SnowValley.com Tue Feb 24 04:27:33 2009 From: javier.garcia at SnowValley.com (Javier Garcia) Date: Tue, 24 Feb 2009 09:27:33 -0000 Subject: [rt-users] Images not centered Message-ID: <8B08529E88A3624A9158BBADB6325C3505F02EF9@sv-mail.snowvalley.com> Hello, I've just installed RT 3.8.2 on a Linux Debian Etch with apache2, mod_perl2 and MySQL. Everything is working, but some images are not centered, like the footnote with the RT info. I've tried using Firefox, IExplorer and Safari, but it's the same. I've attached one image with the screen. Can anyone help me? Thanks, Javier Javier Garcia Systems Engineer javier.garcia at snowvalley.com 10 Emerald Street, London, WC1N 3QA Website: http://www.snowvalley.com -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: img1.jpg Type: image/jpeg Size: 45989 bytes Desc: img1.jpg URL: From elacour at easter-eggs.com Tue Feb 24 04:44:52 2009 From: elacour at easter-eggs.com (Emmanuel Lacour) Date: Tue, 24 Feb 2009 10:44:52 +0100 Subject: [rt-users] Images not centered In-Reply-To: <8B08529E88A3624A9158BBADB6325C3505F02EF9@sv-mail.snowvalley.com> References: <8B08529E88A3624A9158BBADB6325C3505F02EF9@sv-mail.snowvalley.com> Message-ID: <20090224094450.GA8322@easter-eggs.com> On Tue, Feb 24, 2009 at 09:27:33AM -0000, Javier Garcia wrote: > Hello, > > > > I've just installed RT 3.8.2 on a Linux Debian Etch with apache2, > mod_perl2 and MySQL. Everything is working, but some images are not > centered, like the footnote with the RT info. I've tried using Firefox, > IExplorer and Safari, but it's the same. > > You may not like this, but it's a feature, not a bug ;) To change this, you have to edit the css in /whatever_dir_rt_is_installed/share/html/NoAuth/css/web2/ for footer: layout.css -> div#footer for login box: login.css -> #login-box From javier.garcia at SnowValley.com Tue Feb 24 04:47:18 2009 From: javier.garcia at SnowValley.com (Javier Garcia) Date: Tue, 24 Feb 2009 09:47:18 -0000 Subject: [rt-users] Images not centered In-Reply-To: <20090224094450.GA8322@easter-eggs.com> References: <8B08529E88A3624A9158BBADB6325C3505F02EF9@sv-mail.snowvalley.com> <20090224094450.GA8322@easter-eggs.com> Message-ID: <8B08529E88A3624A9158BBADB6325C3505F02F12@sv-mail.snowvalley.com> I see. Thanks -----Original Message----- From: rt-users-bounces at lists.bestpractical.com [mailto:rt-users-bounces at lists.bestpractical.com] On Behalf Of Emmanuel Lacour Sent: 24 February 2009 09:45 To: rt-users at lists.bestpractical.com Subject: Re: [rt-users] Images not centered On Tue, Feb 24, 2009 at 09:27:33AM -0000, Javier Garcia wrote: > Hello, > > > > I've just installed RT 3.8.2 on a Linux Debian Etch with apache2, > mod_perl2 and MySQL. Everything is working, but some images are not > centered, like the footnote with the RT info. I've tried using Firefox, > IExplorer and Safari, but it's the same. > > You may not like this, but it's a feature, not a bug ;) To change this, you have to edit the css in /whatever_dir_rt_is_installed/share/html/NoAuth/css/web2/ for footer: layout.css -> div#footer for login box: login.css -> #login-box _______________________________________________ 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 From c_apotla at qualcomm.com Tue Feb 24 05:29:28 2009 From: c_apotla at qualcomm.com (Potla, Ashish Bassaliel) Date: Tue, 24 Feb 2009 02:29:28 -0800 Subject: [rt-users] Long queue name coming out of frame on homepage Message-ID: Hi, I am using RT 3.8.2, and I have a problem on the homepage. The length of the name of many of my queues are quite long(they follow a naming convention which tends to add a '.help' to the queue name) that it juts out of the the left frame, where we see tabs like homepage,configuration etc.. Earlier in 3.6, I didnt have this problem because the layout was different. I tried a lot to wrap the text, but in firefox which is the browser many ppl here use, I am unable to do so. Can anyone help me out here? -Ashish From c_apotla at qualcomm.com Tue Feb 24 05:29:28 2009 From: c_apotla at qualcomm.com (Potla, Ashish Bassaliel) Date: Tue, 24 Feb 2009 02:29:28 -0800 Subject: [rt-users] Long queue name coming out of frame on homepage Message-ID: Hi, I am using RT 3.8.2, and I have a problem on the homepage. The length of the name of many of my queues are quite long(they follow a naming convention which tends to add a '.help' to the queue name) that it juts out of the the left frame, where we see tabs like homepage,configuration etc.. Earlier in 3.6, I didnt have this problem because the layout was different. I tried a lot to wrap the text, but in firefox which is the browser many ppl here use, I am unable to do so. Can anyone help me out here? -Ashish From clkao at bestpractical.com Tue Feb 24 06:42:15 2009 From: clkao at bestpractical.com (Chia-liang Kao) Date: Tue, 24 Feb 2009 19:42:15 +0800 Subject: [rt-users] RTx::WorkflowBuilder is now available on CPAN Message-ID: <34E94CF4-B2B1-4749-9FC9-F2607495DAB4@bestpractical.com> Hi, RTx::WorkflowBuilder is a tool that helps you configure multi-stage approval workflow in rt. It is now available at http://search.cpan.org/dist/RTx-WorkflowBuilder/. examples can be found in the doc at http://search.cpan.org/dist/RTx-WorkflowBuilder/bin/rt-workflow Cheers, CLK From calvin at utilyx.com Tue Feb 24 07:00:10 2009 From: calvin at utilyx.com (Calvin Chiang) Date: Tue, 24 Feb 2009 12:00:10 +0000 Subject: [rt-users] anybody using RTx::Statistics Message-ID: <49A3E14A.1090103@utilyx.com> anybody using RTx::Statistics package? I'm on 3.8.2. seems like the last dev on this package was done in 2006. Just wondering if anybody's got it up and running nicely? -- Calvin Chiang Network Admin Utilyx 1st Floor, 55 North Wharf Road Paddington London, W2 1LA Tel: 020 7087 8673 www.utilyx.com ______________________________________________________________________ "Utilyx" is the trading name of "Utilyx Limited" and "Utilyx Risk Management Limited" (URML). URML is authorised and regulated by the Financial Services Authority (FSA). This message contains information that may be privileged or confidential and is the property of Utilyx. It is intended only for the person to whom it is addressed. No confidentiality or privilege is waived or lost by any mistransmission. Any views or opinions expressed in this message are solely those of the author and do not necessarily represent those of Utilyx. Unless otherwise stated, any pricing information given in this message is indicative only and does not constitute an offer to deal at any price quoted. If you are not the intended recipient, you are not authorized to read, print, retain, copy, disseminate, distribute or use this message or any part thereof. If you receive this message in error, please notify the sender immediately and delete all copies of this message. ______________________________________________________________________ This email has been scanned by the MessageLabs Email Security System. For more information please visit http://www.messagelabs.com/email ______________________________________________________________________ From Steven.Platt at HPA.org.uk Tue Feb 24 07:17:43 2009 From: Steven.Platt at HPA.org.uk (Steven Platt) Date: Tue, 24 Feb 2009 12:17:43 -0000 Subject: [rt-users] anybody using RTx::Statistics In-Reply-To: <49A3E14A.1090103@utilyx.com> References: <49A3E14A.1090103@utilyx.com> Message-ID: <47D6BEACC5D46F4385285F16DC649B6A963723@colhpaexc003.HPA.org.uk> Calvin, We're using a version of RTx::Statistics on RT v3.6.2. It's partly working. Histograms are OK, but the line graphs (Tkts per day, Multiple Qs, Time to resolve) display constant values across the entire graph. I think the query is gathering data just from the latest date rather than as an array across the date range, but we don't make great use of the package and so haven't seen this as a priority fix. The default RT reports get more use than RTx::Statistics charts. Steve Bioinformatics Health Protection Agency -----Original Message----- From: rt-users-bounces at lists.bestpractical.com [mailto:rt-users-bounces at lists.bestpractical.com] On Behalf Of Calvin Chiang Sent: 24 February 2009 12:00 To: rt-users at lists.bestpractical.com Subject: [rt-users] anybody using RTx::Statistics anybody using RTx::Statistics package? I'm on 3.8.2. seems like the last dev on this package was done in 2006. Just wondering if anybody's got it up and running nicely? -- Calvin Chiang Network Admin Utilyx 1st Floor, 55 North Wharf Road Paddington London, W2 1LA Tel: 020 7087 8673 www.utilyx.com ______________________________________________________________________ "Utilyx" is the trading name of "Utilyx Limited" and "Utilyx Risk Management Limited" (URML). URML is authorised and regulated by the Financial Services Authority (FSA). This message contains information that may be privileged or confidential and is the property of Utilyx. It is intended only for the person to whom it is addressed. No confidentiality or privilege is waived or lost by any mistransmission. Any views or opinions expressed in this message are solely those of the author and do not necessarily represent those of Utilyx. Unless otherwise stated, any pricing information given in this message is indicative only and does not constitute an offer to deal at any price quoted. If you are not the intended recipient, you are not authorized to read, print, retain, copy, disseminate, distribute or use this message or any part thereof. If you receive this message in error, please notify the sender immediately and delete all copies of this message. ______________________________________________________________________ This email has been scanned by the MessageLabs Email Security System. For more information please visit http://www.messagelabs.com/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 ----------------------------------------- ************************************************************************** The information contained in the EMail and any attachments is confidential and intended solely and for the attention and use of the named addressee(s). It may not be disclosed to any other person without the express authority of the HPA, or the intended recipient, or both. If you are not the intended recipient, you must not disclose, copy, distribute or retain this message or any part of it. This footnote also confirms that this EMail has been swept for computer viruses, but please re-sweep any attachments before opening or saving. HTTP://www.HPA.org.uk ************************************************************************** From sturner at MIT.EDU Tue Feb 24 08:46:36 2009 From: sturner at MIT.EDU (Stephen Turner) Date: Tue, 24 Feb 2009 08:46:36 -0500 Subject: [rt-users] Help with permissions? In-Reply-To: <9be19c1c0902232254o50b25a09g151c775c0f7d088b@mail.gmail.com> References: <9be19c1c0902230236s461d290ag33ec0d09fbef7857@mail.gmail.com> <9be19c1c0902232254o50b25a09g151c775c0f7d088b@mail.gmail.com> Message-ID: On Tue, 24 Feb 2009 01:54:38 -0500, George Beitis wrote: > If i did that, wouldn't that allow the user to view all the tickets in a > queue? > > On Mon, Feb 23, 2009 at 5:16 PM, Stephen Turner wrote: >> I think you may also need to grant SeeQueue on the queue to the group. >> >> Steve >> No, it just allows them to see the queue. ShowTicket would allow them to see all tickets. Steve -- Stephen Turner Senior Programmer/Analyst - SAIS MIT IS&T From taylor.andrew.j at gmail.com Tue Feb 24 08:44:23 2009 From: taylor.andrew.j at gmail.com (Drew Taylor) Date: Tue, 24 Feb 2009 13:44:23 +0000 Subject: [rt-users] Approvals in 3.8.2 In-Reply-To: References: <3CE7D8D453B27148BBCA0B2063B11E64D5F9F0@s-wor-e-001.SCOUTSOFFICE.local> <1234526521.10967.50.camel@kayden.jajxn.net> <1234543722.2966.16.camel@sweetrose.janet.local> Message-ID: On Fri, Feb 20, 2009 at 8:43 AM, L B wrote: > Hello, > > This extension looks very interesting. Do you have an idea of the > release date ? Even a devel version for testing ? I saw that it was released now: http://search.cpan.org/~clkao/RTx-WorkflowBuilder-1.02/ Drew -- ---------------------------------------------------------------- Drew Taylor * Web development & consulting Email: drew at drewtaylor.com * Site implementation & hosting Web : www.drewtaylor.com * perl/mod_perl/DBI/mysql/postgres ---------------------------------------------------------------- From george.beitis at googlemail.com Tue Feb 24 09:06:45 2009 From: george.beitis at googlemail.com (George Beitis) Date: Tue, 24 Feb 2009 16:06:45 +0200 Subject: [rt-users] Help with permissions? In-Reply-To: References: <9be19c1c0902230236s461d290ag33ec0d09fbef7857@mail.gmail.com> <9be19c1c0902232254o50b25a09g151c775c0f7d088b@mail.gmail.com> Message-ID: <9be19c1c0902240606m4bfb2d26ia99234da7baa2cde@mail.gmail.com> That means that if a ticket they requested is not owned by them they wouldn't be able to see it right? On Tue, Feb 24, 2009 at 3:46 PM, Stephen Turner wrote: > On Tue, 24 Feb 2009 01:54:38 -0500, George Beitis < > george.beitis at googlemail.com> wrote: > > If i did that, wouldn't that allow the user to view all the tickets in a >> queue? >> >> On Mon, Feb 23, 2009 at 5:16 PM, Stephen Turner wrote: >> >>> I think you may also need to grant SeeQueue on the queue to the group. >>> >>> Steve >>> >>> > > No, it just allows them to see the queue. ShowTicket would allow them to > see all tickets. > > > Steve > > -- > Stephen Turner > Senior Programmer/Analyst - SAIS > MIT IS&T > -------------- next part -------------- An HTML attachment was scrubbed... URL: From sturner at MIT.EDU Tue Feb 24 09:08:44 2009 From: sturner at MIT.EDU (Stephen Turner) Date: Tue, 24 Feb 2009 09:08:44 -0500 Subject: [rt-users] Help with permissions? In-Reply-To: <9be19c1c0902240606m4bfb2d26ia99234da7baa2cde@mail.gmail.com> References: <9be19c1c0902230236s461d290ag33ec0d09fbef7857@mail.gmail.com> <9be19c1c0902232254o50b25a09g151c775c0f7d088b@mail.gmail.com> <9be19c1c0902240606m4bfb2d26ia99234da7baa2cde@mail.gmail.com> Message-ID: On Tue, 24 Feb 2009 09:06:45 -0500, George Beitis wrote: > That means that if a ticket they requested is not owned by them they > wouldn't be able to see it right? > That would depend on your other permissions - why not give it a try and see what happens? Good luck, Steve -- Stephen Turner Senior Programmer/Analyst - SAIS MIT IS&T From stephen.a.cochran.lists at cahir.net Tue Feb 24 09:27:34 2009 From: stephen.a.cochran.lists at cahir.net (Stephen Cochran) Date: Tue, 24 Feb 2009 09:27:34 -0500 Subject: [rt-users] Searching for To: field in Content Message-ID: <35ccbd010902240627t4df4d17egda87e9f8573d06a1@mail.gmail.com> Hopefully this is really simple, but I haven't got it working yet. I'm trying to search for text that would be in the "To:" field of the headers of a ticket that was created via email. I've found (finally) where this lives, it's in the attachment table in the DB. When building a query, "content" does seem to search the headers field in the Attachment table. Is there no way to do this through the web interface? I don't see Headers anywhere in the Query builder. -------------- next part -------------- An HTML attachment was scrubbed... URL: From sladkofo at yahoo-inc.com Tue Feb 24 09:34:07 2009 From: sladkofo at yahoo-inc.com (Oleg Sladkoff) Date: Tue, 24 Feb 2009 15:34:07 +0100 Subject: [rt-users] anybody using RTx::Statistics In-Reply-To: <47D6BEACC5D46F4385285F16DC649B6A963723@colhpaexc003.HPA.org.uk> References: <49A3E14A.1090103@utilyx.com> <47D6BEACC5D46F4385285F16DC649B6A963723@colhpaexc003.HPA.org.uk> Message-ID: <1235486047.3385.11.camel@prettyenter.grenoble.corp.yahoo.com> +1 PS : I had to make my own reports / graphs with direct Mysql queries and gnuplot to have exactly what I wanted. On Tue, 2009-02-24 at 12:17 +0000, Steven Platt wrote: > Calvin, > > We're using a version of RTx::Statistics on RT v3.6.2. > It's partly working. Histograms are OK, but the line graphs (Tkts per > day, Multiple Qs, Time to resolve) display constant values across the > entire graph. I think the query is gathering data just from the latest > date rather than as an array across the date range, but we don't make > great use of the package and so haven't seen this as a priority fix. > > The default RT reports get more use than RTx::Statistics charts. > > Steve > Bioinformatics > Health Protection Agency > > > -----Original Message----- > From: rt-users-bounces at lists.bestpractical.com > [mailto:rt-users-bounces at lists.bestpractical.com] On Behalf Of Calvin > Chiang > Sent: 24 February 2009 12:00 > To: rt-users at lists.bestpractical.com > Subject: [rt-users] anybody using RTx::Statistics > > anybody using RTx::Statistics package? > I'm on 3.8.2. seems like the last dev on this package was done in 2006. > Just wondering if anybody's got it up and running nicely? > -- Oleg Sladkoff KELKOO - Service Architect oleg.sladkoff at yahoo-inc.com Yahoo messenger : Kelkoooleg tel : +33 (0)476848147 gsm : +33(0)675768532 From ktm at rice.edu Tue Feb 24 09:45:16 2009 From: ktm at rice.edu (Kenneth Marshall) Date: Tue, 24 Feb 2009 08:45:16 -0600 Subject: [rt-users] Searching for To: field in Content In-Reply-To: <35ccbd010902240627t4df4d17egda87e9f8573d06a1@mail.gmail.com> References: <35ccbd010902240627t4df4d17egda87e9f8573d06a1@mail.gmail.com> Message-ID: <20090224144516.GD1335@it.is.rice.edu> On Tue, Feb 24, 2009 at 09:27:34AM -0500, Stephen Cochran wrote: > Hopefully this is really simple, but I haven't got it working yet. > > I'm trying to search for text that would be in the "To:" field of the > headers of a ticket that was created via email. I've found (finally) where > this lives, it's in the attachment table in the DB. > > When building a query, "content" does seem to search the headers field in > the Attachment table. > > Is there no way to do this through the web interface? I don't see Headers > anywhere in the Query builder. Currently, you will need to select "content" to search for something anywhere in the content including the headers. There is not a header specific item. This should not be too onerous if you have full-text indexing available. The Wiki has instructions currently for Oracle and PostgreSQL backends. Cheers, Ken From calvin at utilyx.com Tue Feb 24 10:04:41 2009 From: calvin at utilyx.com (Calvin Chiang) Date: Tue, 24 Feb 2009 15:04:41 +0000 Subject: [rt-users] anybody using RTx::Statistics In-Reply-To: <1235486047.3385.11.camel@prettyenter.grenoble.corp.yahoo.com> References: <49A3E14A.1090103@utilyx.com> <47D6BEACC5D46F4385285F16DC649B6A963723@colhpaexc003.HPA.org.uk> <1235486047.3385.11.camel@prettyenter.grenoble.corp.yahoo.com> Message-ID: <49A40C89.3090906@utilyx.com> thanks for the info guys! @Oleg is the gnuplot/mysql stuff fairly straightforward? (i dont code at all) Oleg Sladkoff wrote: > +1 > > PS : I had to make my own reports / graphs with direct Mysql queries and > gnuplot to have exactly what I wanted. > > On Tue, 2009-02-24 at 12:17 +0000, Steven Platt wrote: > >> Calvin, >> >> We're using a version of RTx::Statistics on RT v3.6.2. >> It's partly working. Histograms are OK, but the line graphs (Tkts per >> day, Multiple Qs, Time to resolve) display constant values across the >> entire graph. I think the query is gathering data just from the latest >> date rather than as an array across the date range, but we don't make >> great use of the package and so haven't seen this as a priority fix. >> >> The default RT reports get more use than RTx::Statistics charts. >> >> Steve >> Bioinformatics >> Health Protection Agency >> >> >> -----Original Message----- >> From: rt-users-bounces at lists.bestpractical.com >> [mailto:rt-users-bounces at lists.bestpractical.com] On Behalf Of Calvin >> Chiang >> Sent: 24 February 2009 12:00 >> To: rt-users at lists.bestpractical.com >> Subject: [rt-users] anybody using RTx::Statistics >> >> anybody using RTx::Statistics package? >> I'm on 3.8.2. seems like the last dev on this package was done in 2006. >> Just wondering if anybody's got it up and running nicely? >> >> -- Calvin Chiang Network Admin Utilyx 1st Floor, 55 North Wharf Road Paddington London, W2 1LA Tel: 020 7087 8673 www.utilyx.com ______________________________________________________________________ "Utilyx" is the trading name of "Utilyx Limited" and "Utilyx Risk Management Limited" (URML). URML is authorised and regulated by the Financial Services Authority (FSA). This message contains information that may be privileged or confidential and is the property of Utilyx. It is intended only for the person to whom it is addressed. No confidentiality or privilege is waived or lost by any mistransmission. Any views or opinions expressed in this message are solely those of the author and do not necessarily represent those of Utilyx. Unless otherwise stated, any pricing information given in this message is indicative only and does not constitute an offer to deal at any price quoted. If you are not the intended recipient, you are not authorized to read, print, retain, copy, disseminate, distribute or use this message or any part thereof. If you receive this message in error, please notify the sender immediately and delete all copies of this message. ______________________________________________________________________ This email has been scanned by the MessageLabs Email Security System. For more information please visit http://www.messagelabs.com/email ______________________________________________________________________ From rob.munsch at gmail.com Tue Feb 24 10:47:18 2009 From: rob.munsch at gmail.com (Rob Munsch) Date: Tue, 24 Feb 2009 10:47:18 -0500 Subject: [rt-users] Help with permissions? In-Reply-To: References: <9be19c1c0902230236s461d290ag33ec0d09fbef7857@mail.gmail.com> <9be19c1c0902232254o50b25a09g151c775c0f7d088b@mail.gmail.com> <9be19c1c0902240606m4bfb2d26ia99234da7baa2cde@mail.gmail.com> Message-ID: <8fae230c0902240747l58a18fddg58a1d6499f171473@mail.gmail.com> On Tue, Feb 24, 2009 at 9:08 AM, Stephen Turner wrote: > On Tue, 24 Feb 2009 09:06:45 -0500, George Beitis > wrote: > >> That means that if a ticket they requested is not owned by them they >> wouldn't be able to see it right? >> > > That would depend on your other permissions - why not give it a try and > see what happens? You may also be interested in this thread http://www.mail-archive.com/rt-users at lists.bestpractical.com/msg18209.html which allows perms to be applied before default views are constructed. -- /chown -R us:us /yourbase From kamber.dalal at verizonbusiness.com Tue Feb 24 10:38:45 2009 From: kamber.dalal at verizonbusiness.com (Dalal, Kamber Z) Date: Tue, 24 Feb 2009 15:38:45 +0000 Subject: [rt-users] Command by email Message-ID: All, I am using RT 3.6.3, and I added the command by email. How do I verify that the plugins are in place. My test email did not update/change the field, but did get added in the ticket history as correspondence I do not see any indications in 'Configuration ->Tools -> System Configuration'. What is the syntax of the line to add in RT_SiteConfig.pm? Or what am I missing? Kamber Dalal -------------- next part -------------- An HTML attachment was scrubbed... URL: From admin at dougware.net Tue Feb 24 11:05:28 2009 From: admin at dougware.net (Doug Eubanks) Date: Tue, 24 Feb 2009 11:05:28 -0500 Subject: [rt-users] Second Instance Of RT (for branding purposes) In-Reply-To: <49A409DB.7040500@vialtus.com> References: <8c87cb5a0902230852o6682daaev784bd39e4e728fad@mail.gmail.com> <49A2DE79.1050300@vialtus.com> <8c87cb5a0902231242x23864decucd9debdaba92a29d@mail.gmail.com> <49A3CFAF.2030208@vialtus.com> <8c87cb5a0902240638n1133ab6aha7abbc644c1a5f46@mail.gmail.com> <49A409DB.7040500@vialtus.com> Message-ID: <8c87cb5a0902240805y199dd183j3943fe31be159058@mail.gmail.com> I'm so close now....but it's always selecting brandy (the new brand). I'm sure it's something small and simply that I'm missing now. I really appreciate your help so far. I know the whole brandx, brandy thing is a little confusing. I've double checked all of the refences below, and brandx and brandy are used the correct spots in each code snippet below. Here is the output of the foo file that shows that the ENV variables are being set: tickets.brandy.com tickets.brandx.com tickets.brandy.com tickets.brandx.com tickets.brandy.com tickets.brandx.com tickets.brandy.com tickets.brandx.com tickets.brandy.com tickets.brandx.com I've double checked the httpd.conf file, inside of the brandy site, we have PerlRequire /opt/rt3/bin/webmux-brandy.pl Inside of the brandx site, we have PerlRequire /opt/rt3/bin/webmux.pl Here's my webmux.pl changes for the old brand: #This drags in RT's config.pm BEGIN { $ENV{'SERVER'} = 'tickets.brandx.com '; RT::LoadConfig(); if ($RT::DevelMode) { require Module::Refresh; } } Here's my webmux-brandy.pl changes for the old brand: #This drags in RT's config.pm BEGIN { $ENV{'SERVER'} = 'tickets.brandy.com '; RT::LoadConfig(); if ($RT::DevelMode) { require Module::Refresh; } } This is my RT.pm LoadConfig sub, right before it stats and loads the site config file: my $ser = $ENV{'SERVER'} ; open F, ">> /tmp/foo" ; print F "$ser \n"; close F; if ($ENV{'SERVER'} eq "tickets.brandy.com ") { $SITE_CONFIG_FILE = '/opt/rt3/etc/RT_SiteConfig-Refense.pm' ; } if ($ENV{'SERVER'} eq "tickets.brandx.com ") { $SITE_CONFIG_FILE = '/opt/rt3/etc/RT_SiteConfig.pm' ; } Sincerely, Doug Eubanks admin at dougware.net On Tue, Feb 24, 2009 at 9:53 AM, Raed El-Hames wrote: > Sorry Doug my mistake its been a long time since I did this: > we set : > $ENV{'SERVER'} = 'my_brandx_instance.com > in the relavent webmux-brandx.pl , it would n't have existed before .. > The best bet to see if its loaded into ENV is by adding a print statement > in RT.pm LoadConfig, looking at my dev code I think I managed to do > something like > sub LoadConfig { > > my $ser = $ENV{'SERVER'} ; > open F, ">> /opt/rt3/bin/foo" ; > print F "$ser \n"; > close F; > > if ($ENV{'SERVER'} eq 'my_brandx_instance.com < > http://my_brandx_instance.com>' ) { > $SITE_CONFIG_FILE = '/opt/rt3/local/etc/RT_SiteConfig_brandx.pm' ; > } > > I think at the time of restarting apache something will be written to the > foo file > > Roy > > Doug Eubanks wrote: > >> Here is my relevant httpd.conf sections....I've sanitized the >> hostnames...... >> >> >> CacheEnable disk / >> ServerAdmin support at brandy.com >> DocumentRoot /opt/rt3/share/html >> ServerName tickets.brandy.com >> ServerAlias tickets.brandy.com >> tickets2.brandy.com ticket.brandy.com < >> http://ticket.brandy.com> ticket2.brandy.com >> AddDefaultCharset UTF-8 >> >> PerlModule Apache::DBI >> PerlRequire /opt/rt3/bin/webmux.pl >> >> PerlSetVar MasonStaticSource true >> PerlSetVar MasonBufferPreallocateSize 1073741824 >> PerlSetVar MasonDataCacheDefaults "cache_class=> SharedMemoryCache, >> cache_de $ >> PerlSetVar MasonPreloads '/Elements/*' >> PerlSetVar MasonCompRoot /opt/rt3 >> >> SetHandler perl-script >> PerlHandler RT::Mason >> >> Alias /titan /opt/rt3/share/html >> >> # ScriptAlias /titan/ /opt/rt3/share/html >> >> >> >> >> CacheEnable disk / >> ServerAdmin support at brandx.com >> DocumentRoot /opt/rt3/share/html >> ServerName tickets.brandx.com >> ServerAlias tickets.brandx.com >> tickets2.brandx.com ticket.brandx.com < >> http://ticket.brandx.com> ticket2.brandx.com >> AddDefaultCharset UTF-8 >> >> PerlModule Apache::DBI >> PerlRequire /opt/rt3/bin/webmux.pl >> >> PerlSetVar MasonStaticSource true >> PerlSetVar MasonBufferPreallocateSize 1073741824 >> PerlSetVar MasonDataCacheDefaults "cache_class=> SharedMemoryCache, >> cache_de $ >> PerlSetVar MasonPreloads '/Elements/*' >> PerlSetVar MasonCompRoot /opt/rt3 >> >> SetHandler perl-script >> PerlHandler RT::Mason >> >> Alias /refense /opt/rt3/share/html >> >> # ScriptAlias /refense/ /opt/rt3/share/html >> >> ErrorLog logs/error_log-tickets >> >> >> >> Sincerely, >> Doug Eubanks >> admin at dougware.net >> >> >> On Tue, Feb 24, 2009 at 5:45 AM, Raed El-Hames > rfh at vialtus.com>> wrote: >> >> Hi Doug; >> >> Make sure you have >> ServerName my_brandx_instance.com >> >> in your virtual host conf file; >> >> > >> ServerName my_brandx.com >> DocumentRoot /opt/rt3/share/html >> etc etc >> >> ... >> >> >> And remember to restart httpd .. >> >> Good luck; >> Roy >> >> Doug Eubanks wrote: >> >> I believe I see where you are going with this.... >> >> My problem is that $ENV{'SERVER}, $ENV{'SERVER_NAME}, etc are >> not being set to anything. When I had it print all the ENV >> variables to a temp file, it only printed 4 or 5 variables and >> they were stuff like "MOD_PERL" version, etc. >> >> For some reason, those environment variables are not set.... >> >> Sincerely, >> Doug Eubanks >> admin at dougware.net >> > >> >> >> >> On Mon, Feb 23, 2009 at 12:35 PM, Raed El-Hames >> >> >> wrote: >> >> Doug; >> >> Are you using fast cgi , or mod_perl ??, with fastcgi you >> can run >> as many instances you want --sorry I don't use so I do n't >> have >> working apache config, >> with mod_perl you suppose to only run one instance due to >> how the >> mod_perl/mason work, however I did find a work around and >> this is >> how I got my instances working: >> >> for each instance (brand), I have >> RT_SiteConfig_brandx.pm (all in /opt/rt3/local/etc/ ) >> webmux-brandx.pl (which is a copy of webmux.pl adding the line >> $ENV{'SERVER'} = 'my_brandx_instance.com >> >> '; #at the top where the >> rest of >> >> $ENV is being defined >> >> Modify local/lib/RT.pm adding : >> >> if ($ENV{'SERVER'} eq 'my_brandx_instance.com >> >> ' ) { >> >> $SITE_CONFIG_FILE = >> '/opt/rt3/local/etc/RT_SiteConfig_brandx.pm' ; >> }elsif ($ENV{'SERVER'} eq 'my_brandy_instance.com >> >> ' ) { >> >> $SITE_CONFIG_FILE = >> '/opt/rt3/local/etc/RT_SiteConfig_brandy.pm' ; >> } >> >> You add these lines @ the top/start of sub LoadConfig >> >> In you httpd.conf you call the correct webmux for your >> instance: >> PerlRequire /opt/rt3/bin/webmux-brandx.pl >> >> Thats it, the above setup allow you to share the same RT >> directory >> , so customisation is easier, >> >> Hope that helps, >> >> Regards; >> Roy >> >> >> Doug Eubanks wrote: >> >> I'm trying to setup a second instance of RT that has a >> different branding, but uses the same SQL server, etc. >> >> I copied my existing (and working) RT installation over >> to a >> new directory. Then I created the new instance in >> Apache in >> the httpd.conf, changing the file locations to the new >> directories. Then I edited the RT_SiteConfig.pm file to >> reflect the new file locations. >> >> For some reason, the errors are showing up in the original >> directory's logs and the error returned is: >> [Mon Feb 23 15:47:56 2009] [warning]: [Mason] Cannot >> resolve >> file to component: >> /opt/rt3-[NEWBRAND]/share/html/index.html >> (is file outside component root?) at >> >> /usr/lib/perl5/vendor_perl/5.8.8/HTML/Mason/ApacheHandler.pm >> line 853. >> >> (/usr/lib/perl5/vendor_perl/5.8.8/HTML/Mason/ApacheHandler.pm:853) >> >> The browser returns a 404 error. >> >> What am I missing? Is it not possible to run two RT >> instances >> on the same server? >> >> Sincerely, >> Doug Eubanks >> admin at dougware.net >> > >> >> >> >> >> >> >> >> >> >> >> >> >> >> >> >> >> >> -- >> *Roy El-hames * >> >> ISP Systems >> >> >> >> *Vialtus Solutions* >> >> *(formerly Pipex Business)* >> >> >> >> Direct Dial: +44(0) 208 587 6181 >> >> E-mail: rfh at vialtus.com >> > >> >> >> >> Visit us on: >> >> www.vialtus.com >> >> >> >> This email is subject to: >> >> >> http://www.vialtus.com/disclaimer.html >> >> >> >> >> >> >> > > -- > > *Roy El-hames * > > ISP Systems > > > > *Vialtus Solutions* > > *(formerly Pipex Business)* > > > > Direct Dial: +44(0) 208 587 6181 > > E-mail: rfh at vialtus.com > > > > Visit us on: > > www.vialtus.com > > > > This email is subject to: > > http://www.vialtus.com/disclaimer.html > > > > > > -------------- next part -------------- An HTML attachment was scrubbed... URL: From jpierce at cambridgeenergyalliance.org Tue Feb 24 11:05:22 2009 From: jpierce at cambridgeenergyalliance.org (Jerrad Pierce) Date: Tue, 24 Feb 2009 11:05:22 -0500 Subject: [rt-users] Long queue name coming out of frame on homepage In-Reply-To: References: Message-ID: On Tue, Feb 24, 2009 at 05:29, Potla, Ashish Bassaliel wrote: > Hi, > I am using RT 3.8.2, and I have a problem on the homepage. > > The length of the name of many of my queues are quite long(they follow a naming convention which tends to add a '.help' to the queue name) that it juts out of the the left frame, where we see tabs like homepage,configuration etc.. > > Earlier in 3.6, I didnt have this problem because the layout was different. I tried a lot to wrap the text, but in firefox which is the browser many ppl here use, I am unable to do so. Such are the joys of CSS. You could try using one of using one of the older themes, reordering widgets so that it doesn't overlap anything else, or shortening the name. Else, have fun with Mason... -- Cambridge Energy Alliance: Save money. Save the planet. From calvin at utilyx.com Tue Feb 24 11:08:56 2009 From: calvin at utilyx.com (Calvin Chiang) Date: Tue, 24 Feb 2009 16:08:56 +0000 Subject: [rt-users] anybody using RTx::Statistics In-Reply-To: <1235491121.14998.15.camel@prettyenter.grenoble.corp.yahoo.com> References: <49A3E14A.1090103@utilyx.com> <47D6BEACC5D46F4385285F16DC649B6A963723@colhpaexc003.HPA.org.uk> <1235486047.3385.11.camel@prettyenter.grenoble.corp.yahoo.com> <49A40C89.3090906@utilyx.com> <1235491121.14998.15.camel@prettyenter.grenoble.corp.yahoo.com> Message-ID: <49A41B98.6060002@utilyx.com> HI Oleg, that's brilliant thanks! i'll jump in and get my hands dirty Cheers Oleg Sladkoff wrote: > Hello > > If you want to adapt it , then you need to know bash/awk/sql/gnuplot > but this is not complicated (only a few lines of code) > however you can probably use it as is if you update the "for q in" > line only... > > the reports created show tickets historic information per week > - tickets created per week per queue > - tickets resolved per week per queue > - currently open tickets per week > > *_bash script :_* > > #!/bin/bash > > newTickets() > { > mysql -urt3 -pxxxxxxxx -h myhost rt3 -N -e "select count(*) from > Tickets,Queues where Tickets.queue=Queues.id and Queues.name in > ($QUEUE) and date(Tickets.Created) between '$BEFORE' and '$DAY'" > } > > resolvedTickets() > { > mysql -urt3 -pxxxxxxxx -h myhost rt3 -N -e "select count(*) from > Tickets,Queues where Tickets.queue=Queues.id and Queues.name in > ($QUEUE) and date(Tickets.Resolved) between '$BEFORE' and '$DAY'" > } > > openTickets() > { > mysql -urt3 -pxxxxxxxx -h myhost rt3 -N -e "select count(*) from > Tickets,Queues where Tickets.queue=Queues.id and Queues.name in > ($QUEUE) and date(Tickets.Created)<='$DAY' and ( > date(Tickets.Resolved)>'$DAY' or status='new' or status='open' or > status='stalled')" > } > > HISTORY=9 > FULLHISTORY=100 > let H=$HISTORY+1 > DAY=$(date "+%Y-%m-%d" -d "$H weeks ago ") > HTMLPATH=/var/www/html/statistics > > echo "

RT statistics

" > $HTMLPATH/index.html > > for q in "'ops.support'":operations > "'team1.support','team2.support','team3.support'":backend > "'team4.support','team5.support','team6..support'":frontend > do > QUEUE=$(printf $q | cut -d: -f1) > QUEUENAME=$(printf $q | cut -d: -f2) > echo "

Tickets activity for queues $QUEUE

">>$HTMLPATH/index.html > echo "">> $HTMLPATH/index.html > echo > $HTMLPATH/tickets_$QUEUENAME.csv > echo > $HTMLPATH/tickets_full_$QUEUENAME.csv > for d in `seq $FULLHISTORY -1 0` > do > BEFORE=$DAY > DAY=$(date "+%Y-%m-%d" -d "$d weeks ago ") > [ $d -lt $HISTORY ] && printf "%s;%i;%i;%i\n" $DAY $(newTickets) > $(openTickets) $(resolvedTickets) >> $HTMLPATH/tickets_$QUEUENAME.csv > printf "%s;%i;%i;%i\n" $DAY $(newTickets) $(openTickets) > $(resolvedTickets) >> $HTMLPATH/tickets_full_$QUEUENAME.csv > done > sed -e "s/QUEUE/$QUEUENAME/g" /root/RTstats/graphic.plt | gnuplot > awk -F\; ' BEGIN { > printf("
src=tickets_$QUEUENAME.png>
%16s%16s%16s%16s\n","WeekEndingDay","NewTickets","OpenTickets","ResolvedTickets") 
> }
>                    { printf("%16s%16s%16s%16s\n",$1,$2,$3,$4) }
>              END   { print "

" } ' > $HTMLPATH/tickets_$QUEUENAME.csv >> $HTMLPATH/index.html > done > > > *_gnuplot script :_* > set datafile separator ";" > set terminal png small > set autoscale x > set mxtics 1 > set yrange [0:140] > set xdata time > set timefmt "%Y-%m-%d" > set format x "w%W" > set style fill solid 9 border 0 > set boxwidth 0.6 relative > set style line 1 lt 1 linewidth 3 pt 1 ps 0.5 > set style line 2 lt 2 linewidth 3 pt 2 ps 0.5 > set style line 3 lt 9 linewidth 3 pt 3 ps 0.5 > set title "tickets activity for QUEUE" > set output "/var/www/html/statistics/tickets_QUEUE.png" > plot '/var/www/html/statistics/tickets_QUEUE.csv' using 1:3 title > "Total remaining tickets" with boxes ls 3 , \ > '/var/www/html/statistics/tickets_QUEUE.csv' using 1:2 title > "tickets created per week" with lp ls 1 , \ > '/var/www/html/statistics/tickets_QUEUE.csv' using 1:4 title > "tickets resolved per week" with lp ls 2 > set terminal png small transparent > set boxwidth 1 relative > set autoscale y > set title "tickets full activity for QUEUE" > set format x "%m/%y" > set output "/var/www/html/statistics/tickets_full_QUEUE.png" > plot '/var/www/html/statistics/tickets_full_QUEUE.csv' using 1:3 title > "Total remaining tickets" with boxes ls 3 , \ > '/var/www/html/statistics/tickets_full_QUEUE.csv' using 1:2 title > "tickets created per week" with lp ls 1 , \ > '/var/www/html/statistics/tickets_full_QUEUE.csv' using 1:4 title > "tickets resolved per week" with lp ls 2 > > > > On Tue, 2009-02-24 at 15:04 +0000, Calvin Chiang wrote: >> @Oleg >> is the gnuplot/mysql stuff fairly straightforward? >> (i dont code at all) > -- > Oleg Sladkoff > KELKOO - Service Architect > oleg.sladkoff at yahoo-inc.com > Yahoo messenger : Kelkoooleg > tel : +33 (0)476848147 > gsm : +33(0)675768532 > > > > ______________________________________________________________________ > This email has been scanned by the MessageLabs Email Security System. > For more information please visit http://www.messagelabs.com/email > ______________________________________________________________________ -- Calvin Chiang Network Admin Utilyx 1st Floor, 55 North Wharf Road Paddington London, W2 1LA Tel: 020 7087 8673 www.utilyx.com ______________________________________________________________________ "Utilyx" is the trading name of "Utilyx Limited" and "Utilyx Risk Management Limited" (URML). URML is authorised and regulated by the Financial Services Authority (FSA). This message contains information that may be privileged or confidential and is the property of Utilyx. It is intended only for the person to whom it is addressed. No confidentiality or privilege is waived or lost by any mistransmission. Any views or opinions expressed in this message are solely those of the author and do not necessarily represent those of Utilyx. Unless otherwise stated, any pricing information given in this message is indicative only and does not constitute an offer to deal at any price quoted. If you are not the intended recipient, you are not authorized to read, print, retain, copy, disseminate, distribute or use this message or any part thereof. If you receive this message in error, please notify the sender immediately and delete all copies of this message. ______________________________________________________________________ This email has been scanned by the MessageLabs Email Security System. For more information please visit http://www.messagelabs.com/email ______________________________________________________________________ -------------- next part -------------- An HTML attachment was scrubbed... URL: From sladkofo at yahoo-inc.com Tue Feb 24 10:58:41 2009 From: sladkofo at yahoo-inc.com (Oleg Sladkoff) Date: Tue, 24 Feb 2009 16:58:41 +0100 Subject: [rt-users] anybody using RTx::Statistics In-Reply-To: <49A40C89.3090906@utilyx.com> References: <49A3E14A.1090103@utilyx.com> <47D6BEACC5D46F4385285F16DC649B6A963723@colhpaexc003.HPA.org.uk> <1235486047.3385.11.camel@prettyenter.grenoble.corp.yahoo.com> <49A40C89.3090906@utilyx.com> Message-ID: <1235491121.14998.15.camel@prettyenter.grenoble.corp.yahoo.com> Hello If you want to adapt it , then you need to know bash/awk/sql/gnuplot but this is not complicated (only a few lines of code) however you can probably use it as is if you update the "for q in" line only... the reports created show tickets historic information per week - tickets created per week per queue - tickets resolved per week per queue - currently open tickets per week bash script : #!/bin/bash newTickets() { mysql -urt3 -pxxxxxxxx -h myhost rt3 -N -e "select count(*) from Tickets,Queues where Tickets.queue=Queues.id and Queues.name in ($QUEUE) and date(Tickets.Created) between '$BEFORE' and '$DAY'" } resolvedTickets() { mysql -urt3 -pxxxxxxxx -h myhost rt3 -N -e "select count(*) from Tickets,Queues where Tickets.queue=Queues.id and Queues.name in ($QUEUE) and date(Tickets.Resolved) between '$BEFORE' and '$DAY'" } openTickets() { mysql -urt3 -pxxxxxxxx -h myhost rt3 -N -e "select count(*) from Tickets,Queues where Tickets.queue=Queues.id and Queues.name in ($QUEUE) and date(Tickets.Created)<='$DAY' and ( date(Tickets.Resolved)>'$DAY' or status='new' or status='open' or status='stalled')" } HISTORY=9 FULLHISTORY=100 let H=$HISTORY+1 DAY=$(date "+%Y-%m-%d" -d "$H weeks ago ") HTMLPATH=/var/www/html/statistics echo "

RT statistics

" > $HTMLPATH/index.html for q in "'ops.support'":operations "'team1.support','team2.support','team3.support'":backend "'team4.support','team5.support','team6..support'":frontend do QUEUE=$(printf $q | cut -d: -f1) QUEUENAME=$(printf $q | cut -d: -f2) echo "

Tickets activity for queues $QUEUE

">>$HTMLPATH/index.html echo "">> $HTMLPATH/index.html echo > $HTMLPATH/tickets_$QUEUENAME.csv echo > $HTMLPATH/tickets_full_$QUEUENAME.csv for d in `seq $FULLHISTORY -1 0` do BEFORE=$DAY DAY=$(date "+%Y-%m-%d" -d "$d weeks ago ") [ $d -lt $HISTORY ] && printf "%s;%i;%i;%i\n" $DAY $(newTickets) $(openTickets) $(resolvedTickets) >> $HTMLPATH/tickets_$QUEUENAME.csv printf "%s;%i;%i;%i\n" $DAY $(newTickets) $(openTickets) $(resolvedTickets) >> $HTMLPATH/tickets_full_$QUEUENAME.csv done sed -e "s/QUEUE/$QUEUENAME/g" /root/RTstats/graphic.plt | gnuplot awk -F\; ' BEGIN { printf("
%16s%16s%16s%16s
\n","WeekEndingDay","NewTickets","OpenTickets","ResolvedTickets") } 
                   { printf("%16s%16s%16s%16s\n",$1,$2,$3,$4) } 
             END   { print "

" } ' $HTMLPATH/tickets_$QUEUENAME.csv >> $HTMLPATH/index.html done gnuplot script : set datafile separator ";" set terminal png small set autoscale x set mxtics 1 set yrange [0:140] set xdata time set timefmt "%Y-%m-%d" set format x "w%W" set style fill solid 9 border 0 set boxwidth 0.6 relative set style line 1 lt 1 linewidth 3 pt 1 ps 0.5 set style line 2 lt 2 linewidth 3 pt 2 ps 0.5 set style line 3 lt 9 linewidth 3 pt 3 ps 0.5 set title "tickets activity for QUEUE" set output "/var/www/html/statistics/tickets_QUEUE.png" plot '/var/www/html/statistics/tickets_QUEUE.csv' using 1:3 title "Total remaining tickets" with boxes ls 3 , \ '/var/www/html/statistics/tickets_QUEUE.csv' using 1:2 title "tickets created per week" with lp ls 1 , \ '/var/www/html/statistics/tickets_QUEUE.csv' using 1:4 title "tickets resolved per week" with lp ls 2 set terminal png small transparent set boxwidth 1 relative set autoscale y set title "tickets full activity for QUEUE" set format x "%m/%y" set output "/var/www/html/statistics/tickets_full_QUEUE.png" plot '/var/www/html/statistics/tickets_full_QUEUE.csv' using 1:3 title "Total remaining tickets" with boxes ls 3 , \ '/var/www/html/statistics/tickets_full_QUEUE.csv' using 1:2 title "tickets created per week" with lp ls 1 , \ '/var/www/html/statistics/tickets_full_QUEUE.csv' using 1:4 title "tickets resolved per week" with lp ls 2 On Tue, 2009-02-24 at 15:04 +0000, Calvin Chiang wrote: > @Oleg > is the gnuplot/mysql stuff fairly straightforward? > (i dont code at all) -- Oleg Sladkoff KELKOO - Service Architect oleg.sladkoff at yahoo-inc.com Yahoo messenger : Kelkoooleg tel : +33 (0)476848147 gsm : +33(0)675768532 -------------- next part -------------- An HTML attachment was scrubbed... URL: From ryans at ssww.com Tue Feb 24 10:14:49 2009 From: ryans at ssww.com (Ryan Stepalavich) Date: Tue, 24 Feb 2009 10:14:49 -0500 Subject: [rt-users] User given Administrator Privelages - Still can't make changes In-Reply-To: References: Message-ID: <49A40EE9.1080100@ssww.com> Good Morning, We have a user that was just given administrator privelages to make some queue changes, but he cannot make any changes (given error "Access Denied"). Is there any tweak in the MySQL database so that I can forcefully grant him access to RT? We're running RT 3.6.6. -- Ryan Stepalavich Linux & Windows Administrator S&S Worldwide, Inc. (800) 537-3451 Ext. 2195 http://www.ssww.com From elacour at easter-eggs.com Tue Feb 24 11:26:11 2009 From: elacour at easter-eggs.com (Emmanuel Lacour) Date: Tue, 24 Feb 2009 17:26:11 +0100 Subject: [rt-users] User given Administrator Privelages - Still can't make changes In-Reply-To: <49A40EE9.1080100@ssww.com> References: <49A40EE9.1080100@ssww.com> Message-ID: <20090224162610.GL8322@easter-eggs.com> On Tue, Feb 24, 2009 at 10:14:49AM -0500, Ryan Stepalavich wrote: > Good Morning, > > We have a user that was just given administrator privelages to make some > queue changes, but he cannot make any changes (given error "Access > Denied"). Is there any tweak in the MySQL database so that I can > forcefully grant him access to RT? > What right exactly did you grant to him? What things you want to allow him to do? From admin at dougware.net Tue Feb 24 12:06:11 2009 From: admin at dougware.net (Doug Eubanks) Date: Tue, 24 Feb 2009 12:06:11 -0500 Subject: [rt-users] Second Instance Of RT (for branding purposes) In-Reply-To: <49A4262B.80305@vialtus.com> References: <8c87cb5a0902230852o6682daaev784bd39e4e728fad@mail.gmail.com> <49A2DE79.1050300@vialtus.com> <8c87cb5a0902231242x23864decucd9debdaba92a29d@mail.gmail.com> <49A3CFAF.2030208@vialtus.com> <8c87cb5a0902240638n1133ab6aha7abbc644c1a5f46@mail.gmail.com> <49A409DB.7040500@vialtus.com> <8c87cb5a0902240805y199dd183j3943fe31be159058@mail.gmail.com> <49A4262B.80305@vialtus.com> Message-ID: <8c87cb5a0902240906i50d446a0t4d79760dafbeca72@mail.gmail.com> That's what I have, two different webmux.pl files... They are in the same /opt/rt3/bin folder... The old brand is called webmux.pl, the new brand is called webmux-brandy.pl They are called in httpd.conf with these two separate lines in their respective host entries... PerlRequire /opt/rt3/bin/webmux-brandy.pl PerlRequire /opt/rt3/bin/webmux.pl Sincerely, Doug Eubanks admin at dougware.net On Tue, Feb 24, 2009 at 11:54 AM, Raed El-Hames wrote: > Doug; > > Looking at the http conf file you sent below, you seem to call the same > webmux.pl > > PerlRequire /opt/rt3/bin/webmux.pl > > You 'll need to have multiple versions of webmux.pl in each version you > add the line > $ENV{'SERVER'} = 'my_brand(?)_instance.com < > http://my_brandx_instance.com> > > For example you have tickets.brandy.com and > tickets.brandx.com > > httpd.conf : > > :80> > ServerName tickets.brandy.com > DocumentRoot /opt/rt3/share/html > etc etc etc > PerlRequire /opt/rt3/bin/webmux-brandy .pl > > etc etc etc > > > :80> > ServerName tickets.brandx.com > DocumentRoot /opt/rt3/share/html > etc etc etc > PerlRequire /opt/rt3/bin/webmux-brandx .pl > > etc etc etc > > > > Now webmux: > You should have atleast 2 copies in /opt/rt3/bin one called webmux-brandy < > http://tickets.brandy.com>.pl and the other webmux-brandx < > http://tickets.brandy.com>.pl > > Edit webmux-brandy .pl adding the line: > $ENV{'SERVER'} = 'tickets.brandy.com '; > where ENV is being set > so basically you'll end up with something similar to: > > BEGIN { > $ENV{'PATH'} = '/bin:/usr/bin'; # or whatever you > need > $ENV{'CDPATH'} = '' if defined $ENV{'CDPATH'}; > $ENV{'SHELL'} = '/bin/sh' if defined $ENV{'SHELL'}; > $ENV{'ENV'} = '' if defined $ENV{'ENV'}; > $ENV{'IFS'} = '' if defined $ENV{'IFS'}; > $ENV{'SERVER'} = 'tickets.brandy.com '; > > Now edit webmux-brandx .pl adding the line > $ENV{'SERVER'} = 'tickets.brandx.com '; > where ENV is being set > so basically you'll end up with something similar to: > > BEGIN { > $ENV{'PATH'} = '/bin:/usr/bin'; # or whatever you > need > $ENV{'CDPATH'} = '' if defined $ENV{'CDPATH'}; > $ENV{'SHELL'} = '/bin/sh' if defined $ENV{'SHELL'}; > $ENV{'ENV'} = '' if defined $ENV{'ENV'}; > $ENV{'IFS'} = '' if defined $ENV{'IFS'}; > $ENV{'SERVER'} = 'tickets.brandy.com '; > > > Now RT.pm > at the start of sub LoadConfig add the lines: > > if ($ENV{'SERVER'} eq 'tickets.brandx.com ' ) > { > $SITE_CONFIG_FILE = '/opt/rt3/local/etc/RT_SiteConfig_brandx.pm' ; > } elsif ($ENV{'SERVER'} eq 'tickets.brandy.com ' > ) { > $SITE_CONFIG_FILE = '/opt/rt3/local/etc/RT_SiteConfig_brandy.pm' ; > } > > > Now RT_SiteConfig: > > You should have atleast 2 copies RT_SiteConfig_brandx.pm, and > RT_SiteConfig_brandy.pm each have the instance customisation , > > And thats it.. > > Roy > > > > > > Doug Eubanks wrote: > >> I'm so close now....but it's always selecting brandy (the new brand). I'm >> sure it's something small and simply that I'm missing now. I really >> appreciate your help so far. >> >> I know the whole brandx, brandy thing is a little confusing. I've double >> checked all of the refences below, and brandx and brandy are used the >> correct spots in each code snippet below. >> >> Here is the output of the foo file that shows that the ENV variables are >> being set: >> >> tickets.brandy.com > > >> tickets.brandx.com > > >> tickets.brandy.com > > >> tickets.brandx.com > > >> tickets.brandy.com > > >> tickets.brandx.com > > >> tickets.brandy.com > > >> tickets.brandx.com > > >> tickets.brandy.com > > >> tickets.brandx.com > > >> >> I've double checked the httpd.conf file, inside of the brandy site, we >> have >> PerlRequire /opt/rt3/bin/webmux-brandy.pl >> >> Inside of the brandx site, we have >> PerlRequire /opt/rt3/bin/webmux.pl >> >> Here's my webmux.pl changes for the old brand: >> #This drags in RT's config.pm >> BEGIN { >> $ENV{'SERVER'} = 'tickets.brandx.com < >> http://tickets.brandx.com>'; >> RT::LoadConfig(); >> if ($RT::DevelMode) { require Module::Refresh; } >> } >> >> Here's my webmux-brandy.pl changes for the old brand: >> #This drags in RT's config.pm >> BEGIN { >> $ENV{'SERVER'} = 'tickets.brandy.com < >> http://tickets.brandy.com>'; >> RT::LoadConfig(); >> if ($RT::DevelMode) { require Module::Refresh; } >> } >> >> This is my RT.pm LoadConfig sub, right before it stats and loads the site >> config file: >> my $ser = $ENV{'SERVER'} ; >> open F, ">> /tmp/foo" ; >> print F "$ser \n"; >> close F; >> >> if ($ENV{'SERVER'} eq "tickets.brandy.com < >> http://tickets.brandy.com>") { >> $SITE_CONFIG_FILE = '/opt/rt3/etc/RT_SiteConfig-Refense.pm' ; >> } >> if ($ENV{'SERVER'} eq "tickets.brandx.com < >> http://tickets.brandx.com>") { >> $SITE_CONFIG_FILE = '/opt/rt3/etc/RT_SiteConfig.pm' ; >> } >> >> >> Sincerely, >> Doug Eubanks >> admin at dougware.net >> >> >> On Tue, Feb 24, 2009 at 9:53 AM, Raed El-Hames > rfh at vialtus.com>> wrote: >> >> Sorry Doug my mistake its been a long time since I did this: >> we set : >> $ENV{'SERVER'} = 'my_brandx_instance.com >> in >> the relavent webmux-brandx.pl , it would n't have existed before .. >> The best bet to see if its loaded into ENV is by adding a print >> statement in RT.pm LoadConfig, looking at my dev code I think I >> managed to do something like >> sub LoadConfig { >> >> my $ser = $ENV{'SERVER'} ; >> open F, ">> /opt/rt3/bin/foo" ; >> print F "$ser \n"; >> close F; >> >> >> if ($ENV{'SERVER'} eq 'my_brandx_instance.com >> ' ) { >> $SITE_CONFIG_FILE = >> '/opt/rt3/local/etc/RT_SiteConfig_brandx.pm' ; >> } >> >> I think at the time of restarting apache something will be written >> to the foo file >> >> Roy >> >> Doug Eubanks wrote: >> >> Here is my relevant httpd.conf sections....I've sanitized the >> hostnames...... >> >> >> CacheEnable disk / >> ServerAdmin support at brandy.com >> > >> >> DocumentRoot /opt/rt3/share/html >> ServerName tickets.brandy.com >> >> ServerAlias tickets.brandy.com >> tickets2.brandy.com >> >> ticket.brandy.com >> ticket2.brandy.com >> >> >> AddDefaultCharset UTF-8 >> >> PerlModule Apache::DBI >> PerlRequire /opt/rt3/bin/webmux.pl >> >> PerlSetVar MasonStaticSource true >> PerlSetVar MasonBufferPreallocateSize 1073741824 >> PerlSetVar MasonDataCacheDefaults "cache_class=> >> SharedMemoryCache, cache_de $ >> PerlSetVar MasonPreloads '/Elements/*' >> PerlSetVar MasonCompRoot /opt/rt3 >> >> SetHandler perl-script >> PerlHandler RT::Mason >> >> Alias /titan /opt/rt3/share/html >> >> # ScriptAlias /titan/ /opt/rt3/share/html >> >> >> >> >> CacheEnable disk / >> ServerAdmin support at brandx.com >> > >> >> DocumentRoot /opt/rt3/share/html >> ServerName tickets.brandx.com >> >> ServerAlias tickets.brandx.com >> tickets2.brandx.com >> >> ticket.brandx.com >> ticket2.brandx.com >> >> >> AddDefaultCharset UTF-8 >> >> PerlModule Apache::DBI >> PerlRequire /opt/rt3/bin/webmux.pl >> >> PerlSetVar MasonStaticSource true >> PerlSetVar MasonBufferPreallocateSize 1073741824 >> PerlSetVar MasonDataCacheDefaults "cache_class=> >> SharedMemoryCache, cache_de $ >> PerlSetVar MasonPreloads '/Elements/*' >> PerlSetVar MasonCompRoot /opt/rt3 >> >> SetHandler perl-script >> PerlHandler RT::Mason >> >> Alias /refense /opt/rt3/share/html >> >> # ScriptAlias /refense/ /opt/rt3/share/html >> >> ErrorLog logs/error_log-tickets >> >> >> >> Sincerely, >> Doug Eubanks >> admin at dougware.net >> > >> >> >> On Tue, Feb 24, 2009 at 5:45 AM, Raed El-Hames >> >> >> wrote: >> >> Hi Doug; >> >> Make sure you have >> ServerName my_brandx_instance.com >> >> >> >> >> in your virtual host conf file; >> >> >> > >> ServerName my_brandx.com >> >> >> DocumentRoot /opt/rt3/share/html >> etc etc >> >> ... >> >> >> And remember to restart httpd .. >> >> Good luck; >> Roy >> >> Doug Eubanks wrote: >> >> I believe I see where you are going with this.... >> >> My problem is that $ENV{'SERVER}, $ENV{'SERVER_NAME}, >> etc are >> not being set to anything. When I had it print all the ENV >> variables to a temp file, it only printed 4 or 5 >> variables and >> they were stuff like "MOD_PERL" version, etc. >> >> For some reason, those environment variables are not >> set.... >> >> Sincerely, >> Doug Eubanks >> admin at dougware.net >> > >> >> >> >> >> >> >> On Mon, Feb 23, 2009 at 12:35 PM, Raed El-Hames >> >> > >> >> >>> wrote: >> >> Doug; >> >> Are you using fast cgi , or mod_perl ??, with >> fastcgi you >> can run >> as many instances you want --sorry I don't use so I >> do n't >> have >> working apache config, >> with mod_perl you suppose to only run one instance >> due to >> how the >> mod_perl/mason work, however I did find a work >> around and >> this is >> how I got my instances working: >> >> for each instance (brand), I have >> RT_SiteConfig_brandx.pm (all in /opt/rt3/local/etc/ ) >> webmux-brandx.pl (which is a copy of webmux.pl >> adding the line >> $ENV{'SERVER'} = 'my_brandx_instance.com >> >> >> '; #at the top where the >> rest of >> >> $ENV is being defined >> >> Modify local/lib/RT.pm adding : >> >> if ($ENV{'SERVER'} eq 'my_brandx_instance.com >> >> >> ' ) { >> >> $SITE_CONFIG_FILE = >> '/opt/rt3/local/etc/RT_SiteConfig_brandx.pm' ; >> }elsif ($ENV{'SERVER'} eq 'my_brandy_instance.com >> >> >> ' ) { >> >> $SITE_CONFIG_FILE = >> '/opt/rt3/local/etc/RT_SiteConfig_brandy.pm' ; >> } >> >> You add these lines @ the top/start of sub LoadConfig >> >> In you httpd.conf you call the correct webmux for your >> instance: >> PerlRequire /opt/rt3/bin/webmux-brandx.pl >> >> Thats it, the above setup allow you to share the same RT >> directory >> , so customisation is easier, >> >> Hope that helps, >> >> Regards; >> Roy >> >> >> Doug Eubanks wrote: >> >> I'm trying to setup a second instance of RT that >> has a >> different branding, but uses the same SQL >> server, etc. >> >> I copied my existing (and working) RT >> installation over >> to a >> new directory. Then I created the new instance in >> Apache in >> the httpd.conf, changing the file locations to >> the new >> directories. Then I edited the RT_SiteConfig.pm >> file to >> reflect the new file locations. >> >> For some reason, the errors are showing up in >> the original >> directory's logs and the error returned is: >> [Mon Feb 23 15:47:56 2009] [warning]: [Mason] Cannot >> resolve >> file to component: >> /opt/rt3-[NEWBRAND]/share/html/index.html >> (is file outside component root?) at >> >> /usr/lib/perl5/vendor_perl/5.8.8/HTML/Mason/ApacheHandler.pm >> line 853. >> >> (/usr/lib/perl5/vendor_perl/5.8.8/HTML/Mason/ApacheHandler.pm:853) >> >> The browser returns a 404 error. >> >> What am I missing? Is it not possible to run two RT >> instances >> on the same server? >> >> Sincerely, >> Doug Eubanks >> admin at dougware.net >> > >> >> >> >> > > > >> >> >>> >> >> >> >> >> >> >> >> >> >> >> > -------------- next part -------------- An HTML attachment was scrubbed... URL: From rfh at vialtus.com Tue Feb 24 12:10:31 2009 From: rfh at vialtus.com (Raed El-Hames) Date: Tue, 24 Feb 2009 17:10:31 +0000 Subject: [rt-users] Second Instance Of RT (for branding purposes) In-Reply-To: <8c87cb5a0902240906i50d446a0t4d79760dafbeca72@mail.gmail.com> References: <8c87cb5a0902230852o6682daaev784bd39e4e728fad@mail.gmail.com> <49A2DE79.1050300@vialtus.com> <8c87cb5a0902231242x23864decucd9debdaba92a29d@mail.gmail.com> <49A3CFAF.2030208@vialtus.com> <8c87cb5a0902240638n1133ab6aha7abbc644c1a5f46@mail.gmail.com> <49A409DB.7040500@vialtus.com> <8c87cb5a0902240805y199dd183j3943fe31be159058@mail.gmail.com> <49A4262B.80305@vialtus.com> <8c87cb5a0902240906i50d446a0t4d79760dafbeca72@mail.gmail.com> Message-ID: <49A42A07.9020100@vialtus.com> And is RT calling the right RT_SiteConfig ?? I am guessing you have modified each RT_SiteConfig per brand?? what do you get when you restart apache and when you browse to each instance?? Roy Doug Eubanks wrote: > That's what I have, two different webmux.pl files... > > They are in the same /opt/rt3/bin folder... > > The old brand is called webmux.pl, the new brand is called > webmux-brandy.pl > > They are called in httpd.conf with these two separate lines in their > respective host entries... > PerlRequire /opt/rt3/bin/webmux-brandy.pl > PerlRequire /opt/rt3/bin/webmux.pl > > Sincerely, > Doug Eubanks > admin at dougware.net > > From ryans at ssww.com Tue Feb 24 12:53:48 2009 From: ryans at ssww.com (Ryan Stepalavich) Date: Tue, 24 Feb 2009 12:53:48 -0500 Subject: [rt-users] User given Administrator Privelages - Still can't make changes In-Reply-To: References: Message-ID: <49A4342C.1090507@ssww.com> We need the user to be able to add Ticket Custom Fields for queues. (Configuration/Queues/*Queue*/Ticket Custom Fields). -- Ryan Stepalavich Linux & Windows Administrator S&S Worldwide, Inc. (800) 537-3451 Ext. 2195 http://www.ssww.com From Joel.Schuweiler at schmoozecom.com Tue Feb 24 14:30:15 2009 From: Joel.Schuweiler at schmoozecom.com (Joel Schuweiler) Date: Tue, 24 Feb 2009 13:30:15 -0600 Subject: [rt-users] Pulling custom field values from an external source Message-ID: <04F770AE4B9BEC4FBDF9C306CFF44F27754D574C8D@schmoozecom1.schmooze.schmoozecom.com> When extending RT::CustomFieldValues::External is it possible to find out which ticket this instance of the custom field applies to? For example, the values I want to show depend on who is added as requestors on the ticket. I looked at $self, but I can't seem to find anything that would reference me back to the ticket. -Joel -------------- next part -------------- An HTML attachment was scrubbed... URL: From change+lists.rt at nightwind.net Tue Feb 24 16:14:33 2009 From: change+lists.rt at nightwind.net (Nick Kartsioukas) Date: Tue, 24 Feb 2009 13:14:33 -0800 Subject: [rt-users] RT 3.8 and FastCGI out of memory via http but not https Message-ID: <1235510073.30109.1302190257@webmail.messagingengine.com> I had RT 3.6.7 installed on a Debian Etch machine, and all was well. I decided to upgrade to RT 3.8.2, and I upgraded the machine from Etch to Lenny (making sure to clear out old custom-built Perl module packages). I rebuilt all the Perl dependencies missing from the Debian repositories, and upgraded my RT install. Now I have a strange issue...hitting RT 3.8 via HTTP results in an "Out of memory!" error in Apache's error.log, but visiting via HTTPS works fine. Another RT 3.6.7 instance on this box works fine with both. Apache vhost config (slightly edited for privacy on things like cert and site names): ServerAdmin netadmin ServerName rt DocumentRoot /var/www/ Options FollowSymLinks ExecCGI AllowOverride None ScriptAlias /3.8 /home/rt/3.8_rt/bin/mason_handler.fcgi RewriteEngine On RedirectMatch Permanent /3.8$ $1/3.8/ Options FollowSymLinks ExecCGI AllowOverride None ScriptAlias /3.6 /home/rt/3.6_rt/bin/mason_handler.fcgi RewriteEngine On RedirectMatch Permanent /3.6$ $1/3.6/ ServerAdmin netadmin ServerName rt DocumentRoot /var/www/ Options FollowSymLinks ExecCGI AllowOverride None ScriptAlias /3.8 /home/rt/3.8_rt/bin/mason_handler.fcgi RewriteEngine On RedirectMatch Permanent /3.8$ $1/3.8/ Options FollowSymLinks ExecCGI AllowOverride None ScriptAlias /3.6 /home/rt/3.6_rt/bin/mason_handler.fcgi RewriteEngine On RedirectMatch Permanent /3.6$ $1/3.6/ SSLEngine On SSLCertificateKeyFile /etc/ssl/private/rt.key SSLCertificateFile /etc/ssl/certs/rt.crt SSLCACertificateFile /etc/ssl/certs/intermediate.crt SetEnvIf User-Agent ".*MSIE.*" nokeepalive ssl-unclean-shutdown downgrade-1.0 force-response-1.0 Apache2 error.log excerpt: [Tue Feb 24 10:29:15 2009] [warn] FastCGI: (dynamic) server "/home/rt/3.8_rt/bin/mason_handler.fcgi" started (pid 5872) [Tue Feb 24 10:29:18 2009] [warn] FastCGI: (dynamic) server "/home/rt/3.8_rt/bin/mason_handler.fcgi" started (pid 5875) Out of memory! [Tue Feb 24 10:29:19 2009] [error] [client 10.202.35.3] FastCGI: incomplete headers (0 bytes) received from server "/home/rt/3.8_rt/bin/mason_handler.fcgi" [Tue Feb 24 10:29:20 2009] [warn] FastCGI: (dynamic) server "/home/rt/3.8_rt/bin/mason_handler.fcgi" (pid 5872) terminated by calling exit with status '1' Out of memory! [Tue Feb 24 10:31:26 2009] [error] [client 10.202.35.3] FastCGI: incomplete headers (0 bytes) received from server "/home/rt/3.8_rt/bin/mason_handler.fcgi" [Tue Feb 24 10:31:26 2009] [warn] FastCGI: (dynamic) server "/home/rt/3.8_rt/bin/mason_handler.fcgi" (pid 5875) terminated by calling exit with status '1' [Tue Feb 24 10:31:26 2009] [warn] FastCGI: (dynamic) server "/home/rt/3.8_rt/bin/mason_handler.fcgi" restarted (pid 5898) Out of memory! [Tue Feb 24 10:31:30 2009] [error] [client 10.202.35.3] FastCGI: incomplete headers (0 bytes) received from server "/home/rt/3.8_rt/bin/mason_handler.fcgi" [Tue Feb 24 10:31:30 2009] [warn] FastCGI: (dynamic) server "/home/rt/3.8_rt/bin/mason_handler.fcgi" (pid 5898) terminated by calling exit with status '1' [Tue Feb 24 10:31:31 2009] [warn] FastCGI: (dynamic) server "/home/rt/3.8_rt/bin/mason_handler.fcgi" restarted (pid 5902) Out of memory! [Tue Feb 24 10:31:38 2009] [error] [client 10.202.35.3] FastCGI: incomplete headers (0 bytes) received from server "/home/rt/3.8_rt/bin/mason_handler.fcgi" [Tue Feb 24 10:31:38 2009] [warn] FastCGI: (dynamic) server "/home/rt/3.8_rt/bin/mason_handler.fcgi" (pid 5902) terminated by calling exit with status '1' [Tue Feb 24 10:31:38 2009] [warn] FastCGI: (dynamic) server "/home/rt/3.8_rt/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 fastcgi.conf: AddHandler fastcgi-script .fcgi FastCgiIpcDir /tmp Oh, and here's what the system memory looks like: total used free shared buffers cached Mem: 386252 279420 106832 0 45484 103824 -/+ buffers/cache: 130112 256140 Swap: 1044184 88 1044096 Any thoughts? Any other logs or config info that could be useful in troubleshooting this? From christ66 at uwm.edu Tue Feb 24 17:16:51 2009 From: christ66 at uwm.edu (Steven Christou) Date: Tue, 24 Feb 2009 16:16:51 -0600 Subject: [rt-users] RT 3.8 and FastCGI out of memory via http but not https Message-ID: <49A471D3.4080409@uwm.edu> -- Steve Christou UWM Information Security Phone: 414-229-1100 Email: Osa-list at uwm.edu -------------- next part -------------- An embedded message was scrubbed... From: Steven Christou Subject: Re: [rt-users] RT 3.8 and FastCGI out of memory via http but not https Date: Tue, 24 Feb 2009 16:05:00 -0600 Size: 6845 URL: From change+lists.rt at nightwind.net Tue Feb 24 17:33:38 2009 From: change+lists.rt at nightwind.net (Nick Kartsioukas) Date: Tue, 24 Feb 2009 14:33:38 -0800 Subject: [rt-users] RT 3.8 and FastCGI out of memory via http but not https *SOLVED* In-Reply-To: <49A471D3.4080409@uwm.edu> References: <49A471D3.4080409@uwm.edu> Message-ID: <1235514818.16261.1302206883@webmail.messagingengine.com> Changing the a_sessions table from longtext to longblob fixed it. Thanks, Steven! Now that I know the answer I've found the other threads relating to this, but I was apparently using poor search terms before :) From toml at bitstatement.net Tue Feb 24 18:09:44 2009 From: toml at bitstatement.net (Tom Lahti) Date: Tue, 24 Feb 2009 15:09:44 -0800 Subject: [rt-users] RT 3.8 and FastCGI out of memory via http but not https *SOLVED* In-Reply-To: <1235514818.16261.1302206883@webmail.messagingengine.com> References: <49A471D3.4080409@uwm.edu> <1235514818.16261.1302206883@webmail.messagingengine.com> Message-ID: <49A47E38.3060306@bitstatement.net> > Changing the a_sessions table from longtext to longblob fixed it. Shouldn't the upgrade scripts for "rt-setup-database --action upgrade" take care of this? Seems weird that it doesn't. -- -- ============================ Tom Lahti BIT Statement LLC (425)251-0833 x 117 http://www.bitstatement.net/ -- ============================ From jesse at bestpractical.com Tue Feb 24 18:11:59 2009 From: jesse at bestpractical.com (Jesse Vincent) Date: Tue, 24 Feb 2009 18:11:59 -0500 Subject: [rt-users] RT 3.8 and FastCGI out of memory via http but not https *SOLVED* In-Reply-To: <49A47E38.3060306@bitstatement.net> References: <49A471D3.4080409@uwm.edu> <1235514818.16261.1302206883@webmail.messagingengine.com> <49A47E38.3060306@bitstatement.net> Message-ID: <20090224231159.GM25990@bestpractical.com> On Tue, Feb 24, 2009 at 03:09:44PM -0800, Tom Lahti wrote: > > Changing the a_sessions table from longtext to longblob fixed it. > > Shouldn't the upgrade scripts for "rt-setup-database --action upgrade" take > care of this? Seems weird that it doesn't. The schema changes necessary for this "major" upgrade were deemed too invasive (and slow) to automate. UPGRADING.somethingorother talks you through the update. From todd at chaka.net Tue Feb 24 18:18:28 2009 From: todd at chaka.net (Todd Chapman) Date: Tue, 24 Feb 2009 18:18:28 -0500 Subject: [rt-users] Custom logo broken. Does share/html/NoAuth/images/autohandler do the right thing? Message-ID: <519782dc0902241518y27467c12m82411852a709d991@mail.gmail.com> I have production (mod_perl) and development (standalone_httpd) RT instances. The mod_perl instance is configured according to RT's README but Mason still tries to interpret the image. Same thing happens in my standalone_httpd RT, even with the autohandler. I think the default BP logo doesn't have any bits that can be mistaken as Mason markup. This is with the inplace layout, though I'm not sure that matters. Ideas? From toml at bitstatement.net Tue Feb 24 21:58:36 2009 From: toml at bitstatement.net (Tom Lahti) Date: Tue, 24 Feb 2009 18:58:36 -0800 Subject: [rt-users] REST interface attachment weirdness Message-ID: <49A4B3DC.6070800@bitstatement.net> In the REST interface, if you make a request like: Request: /REST/1.0/ticket//attachments/ You get a response like: RT/3.8.2 200 Ok id: 866 Subject: Creator: 66 Created: 2008-08-05 00:27:27 Transaction: 2467 Parent: 864 MessageId: Filename: word.doc ContentType: application/msword ContentEncoding: none o Headers: Content-Type: application/msword; name="word.doc" Content-Disposition: inline; filename="word.doc" Content-Transfer-Encoding: base64 Content-Length: 27648 Content: ..... ..... ..... Now, the content-length says 27648, but the length of everything after "Content: " is 38884. Noting that it has spaces in it after each newline, I can search & replace "\n\s{9}" with "\n" and get to 38470 -- I'm still way above 27648. Now, supposedly this is base64 encoded, according to the Content-Transfer-Encoding, but if I base64 decode this string of 38470 I get a string that is 2314 bytes. Worse, the actual file size is 31332, which is what I get when I download it through the web interface interactively. This is greater than the Content-Length header, and less than the "content" returned. This is obviously a bit puzzling. If I use the REST request /REST/1.0/ticket//attachments//content I get the correct content, plus 3 extra carriage returns. But I don't get the filename, the size, or the content type. I could do both, but then I'm downloading the content from the REST interface twice per attachment, which is silly, especially if its necessary to scale. Is there a way I can reconstruct the content correctly from the former REST call, or get the filename/content type/encoding with the latter? I'd hate to have to rely on patching the REST interface and then maintaining the patch for when we upgrade. -- -- ============================ Tom Lahti BIT Statement LLC (425)251-0833 x 117 http://www.bitstatement.net/ -- ============================ From toml at bitstatement.net Tue Feb 24 22:15:54 2009 From: toml at bitstatement.net (Tom Lahti) Date: Tue, 24 Feb 2009 19:15:54 -0800 Subject: [rt-users] REST interface attachment weirdness In-Reply-To: <49A4B3DC.6070800@bitstatement.net> References: <49A4B3DC.6070800@bitstatement.net> Message-ID: <49A4B7EA.4030908@bitstatement.net> Tom Lahti wrote: > In the REST interface, if you make a request like: I may have stumbled into a different problem here. I recently (well, 2 weeks ago) upgraded from 3.8.0 to 3.8.2 and now all non-text attachments do not open properly. I created a new test ticket with a new attachment, and it doesn't open properly either, so its not a corruption issue with the upgrade. I took a PDF that is 401,353 bytes and attached it to a ticket. Then I downloaded it to another folder, and the file size on the one I downloaded is 387,675. I don't even know where to begin diagnosing this, any thoughts on what to check? -- -- ============================ Tom Lahti BIT Statement LLC (425)251-0833 x 117 http://www.bitstatement.net/ -- ============================ From toml at bitstatement.net Tue Feb 24 22:32:57 2009 From: toml at bitstatement.net (Tom Lahti) Date: Tue, 24 Feb 2009 19:32:57 -0800 Subject: [rt-users] REST interface attachment weirdness In-Reply-To: <49A4B7EA.4030908@bitstatement.net> References: <49A4B3DC.6070800@bitstatement.net> <49A4B7EA.4030908@bitstatement.net> Message-ID: <49A4BBE9.9010207@bitstatement.net> > I may have stumbled into a different problem here. I recently (well, 2 > weeks ago) upgraded from 3.8.0 to 3.8.2 and now all non-text attachments do > not open properly. I created a new test ticket with a new attachment, and Nevermind, I seem to have fixed it, and am whacking myself with the Duh Bat[tm] now. Now the question is, did that fix my REST interface weirdness as well.. probably. It's late so I'll work on that tomorrow. -- -- ============================ Tom Lahti BIT Statement LLC (425)251-0833 x 117 http://www.bitstatement.net/ -- ============================ From jrhett at netconsonance.com Wed Feb 25 02:13:08 2009 From: jrhett at netconsonance.com (Jo Rhett) Date: Tue, 24 Feb 2009 23:13:08 -0800 Subject: [rt-users] force a dashboard report right now? Message-ID: <1BD72A96-B044-4740-AB2C-67E2B7EC8CD9@netconsonance.com> I'm trying to debug why dashboard mail isn't going out. I had some errors in rt.log related to graphviz until I found the undocumented disableGraphViz set command and used it. But now there is no error ... just nothing. No attempt to send mail. Funny enough -- if I delete a dashboard I do get e-mail saying that the dashboard is no longer there. But never the dashboard mail. Is there any way to get a dashboard e-mail done *NOW* instead of on a given hour? Every attempt forces me to back off and wait another hour to see what's going wrong. I'd love to say "run my dashboard RIGHT NOW" so I could use ktrace on it to determine what is failing. Please clue me in. -- Jo Rhett Net Consonance : consonant endings by net philanthropy, open source and other randomness From sartak at bestpractical.com Wed Feb 25 02:33:41 2009 From: sartak at bestpractical.com (Shawn M Moore) Date: Wed, 25 Feb 2009 02:33:41 -0500 Subject: [rt-users] force a dashboard report right now? In-Reply-To: <1BD72A96-B044-4740-AB2C-67E2B7EC8CD9@netconsonance.com> References: <1BD72A96-B044-4740-AB2C-67E2B7EC8CD9@netconsonance.com> Message-ID: <20090225073341.GC28041@bestpractical.com> On Tue, Feb 24, 2009 at 11:13:08PM -0800, Jo Rhett wrote: > I'm trying to debug why dashboard mail isn't going out. > > I had some errors in rt.log related to graphviz until I found the > undocumented disableGraphViz set command and used it. But now there > is no error ... just nothing. No attempt to send mail. Funny enough > -- if I delete a dashboard I do get e-mail saying that the dashboard > is no longer there. But never the dashboard mail. > > Is there any way to get a dashboard e-mail done *NOW* instead of on a > given hour? Every attempt forces me to back off and wait another > hour to see what's going wrong. I'd love to say "run my dashboard > RIGHT NOW" so I could use ktrace on it to determine what is failing. > Please clue me in. rt-email-dashboards has an --all option to ignore subscription date/time constraints. Invoke it with --help to get more information. The --debug and --verbose options will be helpful for you. This isn't the first time I've heard of this failure mode so I'd be happy to work with you to track it down. I wasn't able to reproduce it myself. Shawn From jrhett at netconsonance.com Wed Feb 25 02:41:36 2009 From: jrhett at netconsonance.com (Jo Rhett) Date: Tue, 24 Feb 2009 23:41:36 -0800 Subject: [rt-users] force a dashboard report right now? In-Reply-To: <20090225073341.GC28041@bestpractical.com> References: <1BD72A96-B044-4740-AB2C-67E2B7EC8CD9@netconsonance.com> <20090225073341.GC28041@bestpractical.com> Message-ID: > On Tue, Feb 24, 2009 at 11:13:08PM -0800, Jo Rhett wrote: >> I'm trying to debug why dashboard mail isn't going out. >> >> I had some errors in rt.log related to graphviz until I found the >> undocumented disableGraphViz set command and used it. But now there >> is no error ... just nothing. No attempt to send mail. Funny enough >> -- if I delete a dashboard I do get e-mail saying that the >> dashboard >> is no longer there. But never the dashboard mail. On Feb 24, 2009, at 11:33 PM, Shawn M Moore wrote: > rt-email-dashboards has an --all option to ignore subscription date/ > time > constraints. Invoke it with --help to get more information. The -- > debug > and --verbose options will be helpful for you. > > This isn't the first time I've heard of this failure mode so I'd be > happy to work with you to track it down. I wasn't able to reproduce it > myself. doh! Sorry, I misread the --all syntax in help to mean something different. Anyway, I did figure it out: [Wed Feb 25 06:00:03 2009] [error]: Caught exception: mkdir /var/run/ rt38/mason_data/obj/3583890391: Permission denied at /usr/local/lib/ perl5/site_perl/5.8.8/HTML/Mason/Compiler/ToObject.pm line 107 (/usr/ local/sbin/rt-email-dashboards:119) The problem was that the user I was running the dashboard under has no ability to write to this directory. The directory is created as www:www 640. I know you guys just LOVE to run things as root, but I really prefer to run with the most limited rights. And I hate running these scripts as the web server too, but that's all that seems to work given the rights structure. When I have time I'll be proposing some alternatives to limit the necessary rights for RT ;-) -- Jo Rhett Net Consonance : consonant endings by net philanthropy, open source and other randomness From ruslan.zakirov at gmail.com Wed Feb 25 04:20:43 2009 From: ruslan.zakirov at gmail.com (Ruslan Zakirov) Date: Wed, 25 Feb 2009 12:20:43 +0300 Subject: [rt-users] force a dashboard report right now? In-Reply-To: References: <1BD72A96-B044-4740-AB2C-67E2B7EC8CD9@netconsonance.com> <20090225073341.GC28041@bestpractical.com> Message-ID: <589c94400902250120o2559d7acv4feececc415b348d@mail.gmail.com> On Wed, Feb 25, 2009 at 10:41 AM, Jo Rhett wrote: >> On Tue, Feb 24, 2009 at 11:13:08PM -0800, Jo Rhett wrote: >>> I'm trying to debug why dashboard mail isn't going out. >>> >>> I had some errors in rt.log related to graphviz until I found the >>> undocumented disableGraphViz set command and used it. ?But now there >>> is no error ... just nothing. ?No attempt to send mail. ?Funny enough >>> -- if I delete a dashboard I do get e-mail saying that the >>> dashboard >>> is no longer there. ?But never the dashboard mail. > > On Feb 24, 2009, at 11:33 PM, Shawn M Moore wrote: >> rt-email-dashboards has an --all option to ignore subscription date/ >> time >> constraints. Invoke it with --help to get more information. The -- >> debug >> and --verbose options will be helpful for you. >> >> This isn't the first time I've heard of this failure mode so I'd be >> happy to work with you to track it down. I wasn't able to reproduce it >> myself. > > > doh! ?Sorry, I misread the --all syntax in help to mean something > different. ?Anyway, I did figure it out: > > [Wed Feb 25 06:00:03 2009] [error]: Caught exception: mkdir /var/run/ > rt38/mason_data/obj/3583890391: Permission denied at /usr/local/lib/ > perl5/site_perl/5.8.8/HTML/Mason/Compiler/ToObject.pm line 107 (/usr/ > local/sbin/rt-email-dashboards:119) > > The problem was that the user I was running the dashboard under has no > ability to write to this directory. ? The directory is created as > www:www 640. > > I know you guys just LOVE to run things as root, but I really prefer > to run with the most limited rights. ? And I hate running these > scripts as the web server too, but that's all that seems to work given > the rights structure. ?When I have time I'll be proposing some > alternatives to limit the necessary rights for RT ;-) dashboards mailer shouldn't use object files at all, it can be fixed. http://rt3.fsck.com/Ticket/Display.html?id=13233 > > -- > Jo Rhett > Net Consonance : consonant endings by net philanthropy, open source > and other randomness > > > _______________________________________________ > 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 > -- Best regards, Ruslan. From ruslan.zakirov at gmail.com Wed Feb 25 04:27:15 2009 From: ruslan.zakirov at gmail.com (Ruslan Zakirov) Date: Wed, 25 Feb 2009 12:27:15 +0300 Subject: [rt-users] Custom logo broken. Does share/html/NoAuth/images/autohandler do the right thing? In-Reply-To: <519782dc0902241518y27467c12m82411852a709d991@mail.gmail.com> References: <519782dc0902241518y27467c12m82411852a709d991@mail.gmail.com> Message-ID: <589c94400902250127y681b2394qe5cf5e8ecd309b0a@mail.gmail.com> Yeah, that's true that mason tries to parse things even when there is autohandler in the same or above dir. This happens as a comp may define autohandler or drop all of them. However, I do recall we did something about that in custom handler. On Wed, Feb 25, 2009 at 2:18 AM, Todd Chapman wrote: > I have production (mod_perl) and development (standalone_httpd) RT instances. > > The mod_perl instance is configured according to RT's README but Mason > still tries to interpret the image. > > Same thing happens in my standalone_httpd RT, even with the > autohandler. I think the default BP logo doesn't have any bits that > can be mistaken as Mason markup. > > This is with the inplace layout, though I'm not sure that matters. > > 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 > -- Best regards, Ruslan. From sartak at bestpractical.com Wed Feb 25 04:28:57 2009 From: sartak at bestpractical.com (Shawn M Moore) Date: Wed, 25 Feb 2009 04:28:57 -0500 Subject: [rt-users] force a dashboard report right now? In-Reply-To: References: <1BD72A96-B044-4740-AB2C-67E2B7EC8CD9@netconsonance.com> <20090225073341.GC28041@bestpractical.com> Message-ID: <20090225092857.GD28041@bestpractical.com> On Tue, Feb 24, 2009 at 11:41:36PM -0800, Jo Rhett wrote: > >On Tue, Feb 24, 2009 at 11:13:08PM -0800, Jo Rhett wrote: > >>I'm trying to debug why dashboard mail isn't going out. > >> > >>I had some errors in rt.log related to graphviz until I found the > >>undocumented disableGraphViz set command and used it. But now there > >>is no error ... just nothing. No attempt to send mail. Funny enough > >>-- if I delete a dashboard I do get e-mail saying that the > >>dashboard > >>is no longer there. But never the dashboard mail. > > On Feb 24, 2009, at 11:33 PM, Shawn M Moore wrote: > >rt-email-dashboards has an --all option to ignore subscription date/ > >time > >constraints. Invoke it with --help to get more information. The -- > >debug > >and --verbose options will be helpful for you. > > > >This isn't the first time I've heard of this failure mode so I'd be > >happy to work with you to track it down. I wasn't able to reproduce it > >myself. > > > doh! Sorry, I misread the --all syntax in help to mean something > different. Anyway, I did figure it out: > > [Wed Feb 25 06:00:03 2009] [error]: Caught exception: mkdir /var/run/ > rt38/mason_data/obj/3583890391: Permission denied at /usr/local/lib/ > perl5/site_perl/5.8.8/HTML/Mason/Compiler/ToObject.pm line 107 (/usr/ > local/sbin/rt-email-dashboards:119) > > The problem was that the user I was running the dashboard under has no > ability to write to this directory. The directory is created as > www:www 640. > > I know you guys just LOVE to run things as root, but I really prefer > to run with the most limited rights. And I hate running these > scripts as the web server too, but that's all that seems to work given > the rights structure. When I have time I'll be proposing some > alternatives to limit the necessary rights for RT ;-) Just for your information, the email-dashboard script needs access to run Mason components to be able to generate the dashboards. The script renders the "show dashboard" page and emails that to users. The "show dashboard" page, originally "preview dashboard", was actually created only to render a dashboard for email, but then we realized that it was pretty handy on its own. Shawn From jrhett at netconsonance.com Wed Feb 25 04:45:00 2009 From: jrhett at netconsonance.com (Jo Rhett) Date: Wed, 25 Feb 2009 01:45:00 -0800 Subject: [rt-users] force a dashboard report right now? In-Reply-To: <20090225092857.GD28041@bestpractical.com> References: <1BD72A96-B044-4740-AB2C-67E2B7EC8CD9@netconsonance.com> <20090225073341.GC28041@bestpractical.com> <20090225092857.GD28041@bestpractical.com> Message-ID: <44CB9185-41A7-4745-AF53-CC94C5CC7F0A@netconsonance.com> > Just for your information, the email-dashboard script needs access to > run Mason components to be able to generate the dashboards. The script > renders the "show dashboard" page and emails that to users. > > The "show dashboard" page, originally "preview dashboard", was > actually > created only to render a dashboard for email, but then we realized > that > it was pretty handy on its own. FWIW, it's still not working and now there's no log entry again :-( -- Jo Rhett Net Consonance : consonant endings by net philanthropy, open source and other randomness From aperotti at cutaway.it Wed Feb 25 04:51:20 2009 From: aperotti at cutaway.it (Andrea Perotti) Date: Wed, 25 Feb 2009 10:51:20 +0100 Subject: [rt-users] Plugins to Include in Main RT release In-Reply-To: References: <49A280E6.9020201@cutaway.it> <49A284F8.7040901@jennic.com> <8fae230c0902230753gf06c967sdb7f069d4505aa99@mail.gmail.com> Message-ID: <49A51498.5030907@cutaway.it> Torsten Brumm ha scritto: > you are all correct and i think Andrea has done a tiny mistake, Well, I've learned something new, and I guess I'm not the only one :D Well done Rob Munsch, now the example is clear: could be nice to have it reported in RT_SiteConfig too. > also think Andrea's idea was to ask for the most usefull Plugins not > already portet to the RT 3.8 Layout... Exactly, my idea was to track down which are the most used external plugins so they can be reviewed and later integrated. Could also be useful since sometimes you discover something nice you've never thought about. cheers -- Andrea Perotti Cutaway S.r.l. www.cutaway.it c/o Seat PagineGialle -------------- next part -------------- A non-text attachment was scrubbed... Name: smime.p7s Type: application/x-pkcs7-signature Size: 3480 bytes Desc: S/MIME Cryptographic Signature URL: From jrhett at netconsonance.com Wed Feb 25 04:56:20 2009 From: jrhett at netconsonance.com (Jo Rhett) Date: Wed, 25 Feb 2009 01:56:20 -0800 Subject: [rt-users] force a dashboard report right now? In-Reply-To: <44CB9185-41A7-4745-AF53-CC94C5CC7F0A@netconsonance.com> References: <1BD72A96-B044-4740-AB2C-67E2B7EC8CD9@netconsonance.com> <20090225073341.GC28041@bestpractical.com> <20090225092857.GD28041@bestpractical.com> <44CB9185-41A7-4745-AF53-CC94C5CC7F0A@netconsonance.com> Message-ID: <17E4588B-255A-447C-8DDD-832CB844F48C@netconsonance.com> On Feb 25, 2009, at 1:45 AM, Jo Rhett wrote: > FWIW, it's still not working and now there's no log entry again :-( Gah. It's running as root, but I hate that. -- Jo Rhett Net Consonance : consonant endings by net philanthropy, open source and other randomness From g.samuele at araknos.it Wed Feb 25 04:58:36 2009 From: g.samuele at araknos.it (Gianfranco Samuele - Araknos Srl) Date: Wed, 25 Feb 2009 10:58:36 +0100 Subject: [rt-users] Can t locate object method "new" via package "RTx::AssetTracker::Assets" In-Reply-To: <20081008154415.GI19026@bestpractical.com> References: <48ECB4FC.8060408@idowa.de> <519782dc0810080842i3d86d404q7e405019f93396d8@mail.gmail.com> <20081008154415.GI19026@bestpractical.com> Message-ID: <49A5164C.9030106@araknos.it> Jesse Vincent wrote: > > > On Wed, Oct 08, 2008 at 11:42:45AM -0400, Todd Chapman wrote: >> Stefan, >> >> I have never seen that error. Are you running mod_perl or fastcgi? > > That looks like the old problem we had with serialized records in the > session and fresh server processes that had never had the classes > loaded/initialized. a more recent SB makes it better, generally > >> -Todd >> >> On Wed, Oct 8, 2008 at 9:26 AM, Stefan Maier wrote: >> >>> Hi, >>> >>> we're having some sporadic system errors on RT/AssetTracker. Every once >>> in a while when browsing assets we get (typed from a screenshot so it >>> might contain spelling errors, source is unmodified though): >>> >>> error: Can't locate object method "new" via package >>> "RTx::AssetTracker::Assets" at >>> /opt/rt3/local/html/AssetTracker/Search/Results.html line 91 >>> context: ... >>> 87:
>>> 88: <%INIT> >>> 89: my($title, $assetcount); >>> 90: $session{'i'}++; >>> 91: $session{'assets'} = >>> RTx::AssetTracker::Assets->new($session{'CurrentUser'}); >>> 92: $session{'assets'}->FromSQL($Query) if ($Query); >>> 93: $session{'assets'}->OrderBy(FIELD => $OrderBy, ORDER => >>> $Order); >>> 94: >>> 95: >>> ... >>> code stack: /opt/rt3/local/html/AssetTracker/Search/Results.html:91 >>> /opt/rt3/share/html/autohandler:291 >>> >>> >>> This only happens on one machine, running Windows XP and Firefox3. >>> >>> Thanks in advance, >>> >>> -- >>> Mit freundlichen Gr??en >>> >>> Stefan Maier >>> >>> ========================================================== >>> Straubinger Tagblatt >>> EDV-Abteilung Straubing FON: +49 9421 940 256 >>> Ludwigsplatz 30 FAX: +49 9421 940 6236 >>> D-94315 Straubing >>> http://www.idowa.de Email: maier at idowa.de >>> ========================================================== >>> Zeitungsgruppe Straubinger Tagblatt / Landshuter Zeitung >>> Cl. Attenkofer'sche Buch- und Kunstdruckerei >>> Verlagsbuchhandlung Straubing KG >>> Registergericht: Amtsgericht Straubing, HRA 1118 >>> ========================================================== >>> >>> _______________________________________________ >>> 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 >>> > >> _______________________________________________ >> 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 > Hi, we're having some sporadic system errors on RT/AssetTracker. Every once in a while when browsing assets we get: error: Can't locate object method "new" via package "RTx::AssetTracker::Assets" at /opt/rt3/local/html/AssetTracker/Search/Results.html line 91. > > context: ... > 87:
> 88: <%INIT> > 89: my ($title, $assetcount); > 90: $session{'i'}++; > 91: $session{'assets'} = RTx::AssetTracker::Assets->new($session{'CurrentUser'}) ; > 92: $session{'assets'}->FromSQL($Query) if ($Query); > 93: $session{'assets'}->OrderBy(FIELD => $OrderBy, ORDER => $Order); > 94: > 95: > ... > code stack: /opt/rt3/local/html/AssetTracker/Search/Results.html:91 > /opt/rt3/local/html/autohandler:173 > We are using RT 3.6.0 At 1.2.3 mod perl 2 and db postgresql vers 8.1 and here there are the modules that we use: Perl v5.8.8 under linux Apache2::Const v2.000002; Apache2::Log v2.000002; Apache2::Module v2.000002; Apache2::RequestIO v2.000002; Apache2::RequestRec v2.000002; Apache2::RequestUtil v2.000002; Apache2::Response v2.000002; Apache2::ServerUtil v2.000002; Apache2::Status v4.00; Apache::DBI v1.07; Apache::Session v1.81; Apache::Session::Generate::MD5 v2.1; Apache::Session::Lock::Null v1.01; Apache::Session::Postgres v1.01; Apache::Session::Serialize::Base64 v1.00; Apache::Session::Store::DBI v1.02; Apache::Session::Store::Postgres v1.03; APR v0.009000; APR::Pool v0.009000; APR::Table v0.009000; Authen::Smb v0.91; AutoLoader v5.60; base v2.07; Benchmark v1.07; bytes v1.02; Cache::Simple::TimedExpiry v0.26; Carp v1.04; CGI v3.15; CGI::Cookie v1.26; CGI::Util v1.5; Class::Container v0.12; Class::Data::Inheritable v0.04; Class::ReturnValue v0.53; Clone v0.18; constant v1.05; Convert::ASN1 v0.20; Cwd v3.12; Data::Dumper v2.121_08; Date::Format v2.22; Date::Parse v2.27; DBD::Pg v1.49; DBD::Sponge v11.10; DBI v1.53; DBIx::SearchBuilder v1.54; DBIx::SearchBuilder::Union v0; DBIx::SearchBuilder::Unique v0.01; Devel::StackTrace v1.11; Devel::StackTraceFrame v0.6; Digest::base v1.00; Digest::MD5 v2.36; DynaLoader v1.04; Encode v2.12; Encode::Alias v2.04; Encode::Config v2.01; Encode::Encoding v2.02; Encode::Guess v2.00; Encode::Unicode v2.02; Errno v1.0901; Exception::Class v1.21; Exception::Class::Base v1.2; Exporter v5.58; Exporter::Heavy v5.58; Fcntl v1.05; fields v2.03; File::Basename v2.74; File::Glob v1.05; File::Path v1.08; File::Spec v3.12; File::Spec::Functions v1.3; File::Spec::Unix v1.5; File::Temp v0.16; FileHandle v2.01; HTML::Element v3.16; HTML::Entities v1.35; HTML::Formatter v2.04; HTML::FormatText v2.04; HTML::Mason v1.35; HTML::Mason::ApacheHandler v1.69; HTML::Mason::Exception v1.1; HTML::Mason::Exception::Abort v1.1; HTML::Mason::Exception::Compilation v1.1; HTML::Mason::Exception::Compilation::IncompatibleCompiler v1.1; HTML::Mason::Exception::Compiler v1.1; HTML::Mason::Exception::Decline v1.1; HTML::Mason::Exception::Params v1.1; HTML::Mason::Exception::Syntax v1.1; HTML::Mason::Exception::System v1.1; HTML::Mason::Exception::TopLevelNotFound v1.1; HTML::Mason::Exception::VirtualMethod v1.1; HTML::Mason::Exceptions v1.43; HTML::Parser v3.55; HTML::Scrubber v0.08; HTML::Tagset v3.10; HTML::TreeBuilder v3.13; I18N::LangTags v0.35; I18N::LangTags::Detect v1.03; integer v1.00; IO v1.22; IO::File v1.13; IO::Handle v1.25; IO::InnerFile v2.110; IO::Lines v2.110; IO::Scalar v2.110; IO::ScalarArray v2.110; IO::Seekable v1.1; IO::Select v1.17; IO::Socket v1.29; IO::Socket::INET v1.29; IO::Socket::UNIX v1.22; IO::Wrap v2.110; IO::WrapTie v2.110; IPC::Open2 v1.02; IPC::Open3 v1.02; lib v0.5565; List::Util v1.18; Locale::Maketext v1.09; Locale::Maketext::Fuzzy v0.02; Locale::Maketext::Lexicon v0.62; Locale::Maketext::Lexicon::Gettext v0.15; Log::Dispatch v2.11; Log::Dispatch::Base v1.09; Log::Dispatch::File v1.22; Log::Dispatch::Output v1.26; Log::Dispatch::Screen v1.17; Log::Dispatch::Syslog v1.18; Mail::Address v1.74; Mail::Field v1.74; Mail::Field::AddrList v1.74; Mail::Field::Date v1.74; Mail::Header v1.74; Mail::Internet v1.74; MIME::Base64 v3.07; MIME::Body v5.420; MIME::Decoder v5.420; MIME::Decoder::NBit v5.420; MIME::Entity v5.420; MIME::Field::ContDisp v5.420; MIME::Field::ConTraEnc v5.420; MIME::Field::ContType v5.420; MIME::Field::ParamVal v5.420; MIME::Head v5.420; MIME::Parser v5.420; MIME::QuotedPrint v3.07; MIME::Tools v5.420; MIME::Words v5.420; mod_perl v2.000002; mod_perl2 v2.000002; ModPerl::Const v2.000002; Module::Versions::Report v1.05; Net::LDAP v0.33; Net::LDAP::ASN v0.03; Net::LDAP::Bind v1.02; Net::LDAP::Constant v0.04; Net::LDAP::Entry v0.22; Net::LDAP::Filter v0.14; Net::LDAP::Message v1.08; Net::LDAP::Search v0.10; Net::LDAP::Util v0.10; overload v1.04; Params::Validate v0.77; POSIX v1.09; re v0.05; Regexp::Common v2.120; Regexp::Common::delimited v2.104; RT::Araknos::TicketTemplates v0.11; RT::FM v2.2.0RC3; RT::Interface::Email v1.02; RTx::AssetTracker v0.0.0; Scalar::Util v1.18; SelectSaver v1.01; Socket v1.78; Storable v2.15; strict v1.03; Symbol v1.06; Sys::Syslog v0.13; Text::Autoformat v1.13; Text::Quoted v2.05; Text::Reform v1.11; Text::Tabs v2005.0824; Text::Template v1.44; Text::Wrapper v1.000; Tie::Hash v1.02; Time::HiRes v1.86; Time::JulianDay v2003.1125; Time::Local v1.11; Time::ParseDate v2003.1126; Time::Timezone v2003.0211; Time::Zone v2.22; UNIVERSAL v1.01; URI v1.35; URI::Escape v3.28; URI::URL v5.03; URI::WithBase v2.19; utf8 v1.06; vars v1.01; Want v0.09; warnings v1.05; warnings::register v1.01; XSLoader v0.06; Thaks in advance for any help, Regards Gianfranco Samuele System g.samuele at araknos.it ******************** Araknos Srl - http://www.araknos.it/ Bologna (Italy) - V. P.Miliani 7a 40132 tel. +39-051-403001 fax +39-051-4144154 _____________________________________________________________________ Questo messaggio di posta elettronica contiene informazioni di carattere confidenziale rivolte esclusivamente al destinatario sopra indicato. E' vietato l'uso, la diffusione, distribuzione o riproduzione da parte di ogni altra persona. Nel caso aveste ricevuto questo messaggio di posta elettronica per errore, siete pregati di segnalarlo immediatamente al mittente e distruggere quanto ricevuto (compresi i file allegati) senza farne copia. Grazie. This e-mail transmission may contain legally privileged and/or confidential information. Please do not read it if you are not the intended recipient(S). Any use, distribution, reproduction or disclosure by any other person is strictly prohibited. If you have received this e-mail in error, please notify the sender and destroy the original transmission and its attachments without reading or saving it in any manner. Thank you. ______________________________________________________________________ -------------- next part -------------- A non-text attachment was scrubbed... Name: smime.p7s Type: application/x-pkcs7-signature Size: 3665 bytes Desc: S/MIME Cryptographic Signature URL: From ruslan.zakirov at gmail.com Wed Feb 25 08:26:49 2009 From: ruslan.zakirov at gmail.com (Ruslan Zakirov) Date: Wed, 25 Feb 2009 16:26:49 +0300 Subject: [rt-users] RT 3.8 and FastCGI out of memory via http but not https *SOLVED* In-Reply-To: <1235514818.16261.1302206883@webmail.messagingengine.com> References: <49A471D3.4080409@uwm.edu> <1235514818.16261.1302206883@webmail.messagingengine.com> Message-ID: <589c94400902250526g1ca16ae3u5f7080c060b64fa2@mail.gmail.com> You MUST read UPGRADING.mysql On Wed, Feb 25, 2009 at 1:33 AM, Nick Kartsioukas wrote: > Changing the a_sessions table from longtext to longblob fixed it. > Thanks, Steven! ?Now that I know the answer I've found the other threads > relating to this, but I was apparently using poor search terms before :) > _______________________________________________ > 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 > -- Best regards, Ruslan. From Ton.Hoogstraten at ingram.nl Wed Feb 25 08:18:27 2009 From: Ton.Hoogstraten at ingram.nl (Hoogstraten, Ton) Date: Wed, 25 Feb 2009 14:18:27 +0100 Subject: [rt-users] Approval RT 3.8.2 system approver not specified Message-ID: <891469DFBBD7364EB24DEEB101767D861A9818@nlutxch101.corporate.ingrammicro.com> I'm currently testing the approval system in RT 3.8.2 In the Gerneral queue I've created a template that creates a ticket of type approval in the ___approval queue. This is working properly and I can see the ticket in the approval list and can approve/reject it. When I approve the approval ticket it is resolved and the other ticket is updated with the information that the ticket is approved. However the owner in the approval ticket remains nobody and the template inserting the correspondence is also saying that Nobody has approved the ticket (what looks silly in my opinion). The template that is being used for inserting the correspondence should be: ------- Subject: Ticket Approved: {$Ticket->Subject} Greetings, Your ticket has been approved by { eval { $Approval->OwnerObj->Name } }. Its Owner may now start to act on it. Approver's notes: { $Notes } ------- I have a global scrip that set the owner when a ticket is resolved that currently unowned. This scrip however is running after inserting the above template correspondence (I also disabled it to test the current default approval behaviour). Is this a forgotten step in the approval system, not setting the owner for the approval ticket? Is it also not better to grab the actor's name doing the approval instead of depending on the actual owner of the approval ticket? Can someone verify this behaviour? I could be missing a step or doing something wrong. Thank you, Ton -------------- next part -------------- An HTML attachment was scrubbed... URL: From admin at dougware.net Wed Feb 25 09:41:23 2009 From: admin at dougware.net (Doug Eubanks) Date: Wed, 25 Feb 2009 09:41:23 -0500 Subject: [rt-users] Second Instance Of RT (for branding purposes) In-Reply-To: <49A5129F.6080004@vialtus.com> References: <8c87cb5a0902230852o6682daaev784bd39e4e728fad@mail.gmail.com> <49A3CFAF.2030208@vialtus.com> <8c87cb5a0902240638n1133ab6aha7abbc644c1a5f46@mail.gmail.com> <49A409DB.7040500@vialtus.com> <8c87cb5a0902240805y199dd183j3943fe31be159058@mail.gmail.com> <49A4262B.80305@vialtus.com> <8c87cb5a0902240906i50d446a0t4d79760dafbeca72@mail.gmail.com> <49A42A07.9020100@vialtus.com> <8c87cb5a0902240946h2d8ffbccsacc7e54aae8d00ff@mail.gmail.com> <49A5129F.6080004@vialtus.com> Message-ID: <8c87cb5a0902250641i5510ff38i10bb2543a4955d5b@mail.gmail.com> I disabled the new brand, using just the old brand (but with the script changes we made) and it's still using the settings for the new brand. Something about environment variable we are setting is constantly getting set to the new brand, no matter which brand you try to use. I've had our local perl guru double check my changes and I've set them according to your notes. I believe that either there is one crucial step that we've overlooked, or that there is something particular about my httpd.conf that's not working right (PerlSetVar statements, etc). Just as a test yesterday, I separated the log files for each name based virtual server to make sure that we were being served from the right server instance, and depending on which URL I used, the correct log file was showing activity. Sincerely, Doug Eubanks admin at dougware.net On Wed, Feb 25, 2009 at 4:42 AM, Raed El-Hames wrote: > Morning Doug; > > If you can test it, can you comment out the entry for the brand y in > httpd.conf , ie start up with just brand x and see what you get, just to > make sure your settings are correct for brand x .. > Always remember to restart httpd. > > Regards; > Roy > > Doug Eubanks wrote: > >> Yes, they have different webmuxes (webmux.pl and webmux-brandy.pl). >> >> It appears the ENV['SERVER'] is always matching webmux-brandy.pl, even >> though the /tmp/foo file shows different entries. >> >> Could a MasonDataCacheDefaults setting, or a mod_perl setting cause the >> RT.pm to use the "first" loaded $ENV['SERVER'] string? I'm so confused? >> >> Sincerely, >> Doug Eubanks >> admin at dougware.net >> >> >> On Tue, Feb 24, 2009 at 12:10 PM, Raed El-Hames > rfh at vialtus.com>> wrote: >> >> And is RT calling the right RT_SiteConfig ?? >> I am guessing you have modified each RT_SiteConfig per brand?? >> what do you get when you restart apache and when you browse to >> each instance?? >> >> Roy >> >> Doug Eubanks wrote: >> >> That's what I have, two different webmux.pl files... >> >> They are in the same /opt/rt3/bin folder... >> >> The old brand is called webmux.pl, the new brand is called >> webmux-brandy.pl >> >> They are called in httpd.conf with these two separate lines in >> their respective host entries... >> PerlRequire /opt/rt3/bin/webmux-brandy.pl >> PerlRequire /opt/rt3/bin/webmux.pl >> >> Sincerely, >> Doug Eubanks >> admin at dougware.net >> > >> >> >> >> >> > > -- > > *Roy El-hames * > > ISP Systems > > > > *Vialtus Solutions* > > *(formerly Pipex Business)* > > > > Direct Dial: +44(0) 208 587 6181 > > E-mail: rfh at vialtus.com > > > > Visit us on: > > www.vialtus.com > > > > This email is subject to: > > http://www.vialtus.com/disclaimer.html > > > > > > -------------- next part -------------- An HTML attachment was scrubbed... URL: From admin at dougware.net Wed Feb 25 09:47:16 2009 From: admin at dougware.net (Doug Eubanks) Date: Wed, 25 Feb 2009 09:47:16 -0500 Subject: [rt-users] Second Instance Of RT (for branding purposes) In-Reply-To: <8c87cb5a0902250641i5510ff38i10bb2543a4955d5b@mail.gmail.com> References: <8c87cb5a0902230852o6682daaev784bd39e4e728fad@mail.gmail.com> <8c87cb5a0902240638n1133ab6aha7abbc644c1a5f46@mail.gmail.com> <49A409DB.7040500@vialtus.com> <8c87cb5a0902240805y199dd183j3943fe31be159058@mail.gmail.com> <49A4262B.80305@vialtus.com> <8c87cb5a0902240906i50d446a0t4d79760dafbeca72@mail.gmail.com> <49A42A07.9020100@vialtus.com> <8c87cb5a0902240946h2d8ffbccsacc7e54aae8d00ff@mail.gmail.com> <49A5129F.6080004@vialtus.com> <8c87cb5a0902250641i5510ff38i10bb2543a4955d5b@mail.gmail.com> Message-ID: <8c87cb5a0902250647n41dc4001ucd63c363d6ffd7d9@mail.gmail.com> I made a mistake.... If I comment out the new instance...restart http and try to access the old instance by url, the old instance is shown. So to answer your question, if I comment out brandy, brandx is displayed properly. Sincerely, Doug Eubanks admin at dougware.net On Wed, Feb 25, 2009 at 9:41 AM, Doug Eubanks wrote: > I disabled the new brand, using just the old brand (but with the script > changes we made) and it's still using the settings for the new brand. > > Something about environment variable we are setting is constantly getting > set to the new brand, no matter which brand you try to use. > > I've had our local perl guru double check my changes and I've set them > according to your notes. I believe that either there is one crucial step > that we've overlooked, or that there is something particular about my > httpd.conf that's not working right (PerlSetVar statements, etc). > > Just as a test yesterday, I separated the log files for each name based > virtual server to make sure that we were being served from the right server > instance, and depending on which URL I used, the correct log file was > showing activity. > > Sincerely, > Doug Eubanks > admin at dougware.net > > > On Wed, Feb 25, 2009 at 4:42 AM, Raed El-Hames wrote: > >> Morning Doug; >> >> If you can test it, can you comment out the entry for the brand y in >> httpd.conf , ie start up with just brand x and see what you get, just to >> make sure your settings are correct for brand x .. >> Always remember to restart httpd. >> >> Regards; >> Roy >> >> Doug Eubanks wrote: >> >>> Yes, they have different webmuxes (webmux.pl and webmux-brandy.pl). >>> >>> It appears the ENV['SERVER'] is always matching webmux-brandy.pl, even >>> though the /tmp/foo file shows different entries. >>> >>> Could a MasonDataCacheDefaults setting, or a mod_perl setting cause the >>> RT.pm to use the "first" loaded $ENV['SERVER'] string? I'm so confused? >>> >>> Sincerely, >>> Doug Eubanks >>> admin at dougware.net >>> >>> >>> On Tue, Feb 24, 2009 at 12:10 PM, Raed El-Hames >> rfh at vialtus.com>> wrote: >>> >>> And is RT calling the right RT_SiteConfig ?? >>> I am guessing you have modified each RT_SiteConfig per brand?? >>> what do you get when you restart apache and when you browse to >>> each instance?? >>> >>> Roy >>> >>> Doug Eubanks wrote: >>> >>> That's what I have, two different webmux.pl files... >>> >>> They are in the same /opt/rt3/bin folder... >>> >>> The old brand is called webmux.pl, the new brand is called >>> webmux-brandy.pl >>> >>> They are called in httpd.conf with these two separate lines in >>> their respective host entries... >>> PerlRequire /opt/rt3/bin/webmux-brandy.pl >>> PerlRequire /opt/rt3/bin/webmux.pl >>> >>> Sincerely, >>> Doug Eubanks >>> admin at dougware.net >>> > >>> >>> >>> >>> >>> >> >> -- >> >> *Roy El-hames * >> >> ISP Systems >> >> >> >> *Vialtus Solutions* >> >> *(formerly Pipex Business)* >> >> >> >> Direct Dial: +44(0) 208 587 6181 >> >> E-mail: rfh at vialtus.com >> >> >> >> Visit us on: >> >> www.vialtus.com >> >> >> >> This email is subject to: >> >> http://www.vialtus.com/disclaimer.html >> >> >> >> >> >> > -------------- next part -------------- An HTML attachment was scrubbed... URL: From admin at dougware.net Wed Feb 25 10:04:38 2009 From: admin at dougware.net (Doug Eubanks) Date: Wed, 25 Feb 2009 10:04:38 -0500 Subject: [rt-users] Second Instance Of RT (for branding purposes) In-Reply-To: <8c87cb5a0902250647n41dc4001ucd63c363d6ffd7d9@mail.gmail.com> References: <8c87cb5a0902230852o6682daaev784bd39e4e728fad@mail.gmail.com> <49A409DB.7040500@vialtus.com> <8c87cb5a0902240805y199dd183j3943fe31be159058@mail.gmail.com> <49A4262B.80305@vialtus.com> <8c87cb5a0902240906i50d446a0t4d79760dafbeca72@mail.gmail.com> <49A42A07.9020100@vialtus.com> <8c87cb5a0902240946h2d8ffbccsacc7e54aae8d00ff@mail.gmail.com> <49A5129F.6080004@vialtus.com> <8c87cb5a0902250641i5510ff38i10bb2543a4955d5b@mail.gmail.com> <8c87cb5a0902250647n41dc4001ucd63c363d6ffd7d9@mail.gmail.com> Message-ID: <8c87cb5a0902250704k2e7395a0u5a89c438d1aa372d@mail.gmail.com> Should the /temp/foo file add a line each time I request a page from the ticket system? I seems that it only gets new lines added when I restart apache. Sincerely, Doug Eubanks admin at dougware.net On Wed, Feb 25, 2009 at 9:47 AM, Doug Eubanks wrote: > I made a mistake.... > > If I comment out the new instance...restart http and try to access the old > instance by url, the old instance is shown. > > So to answer your question, if I comment out brandy, brandx is displayed > properly. > > Sincerely, > Doug Eubanks > admin at dougware.net > > > On Wed, Feb 25, 2009 at 9:41 AM, Doug Eubanks wrote: > >> I disabled the new brand, using just the old brand (but with the script >> changes we made) and it's still using the settings for the new brand. >> >> Something about environment variable we are setting is constantly getting >> set to the new brand, no matter which brand you try to use. >> >> I've had our local perl guru double check my changes and I've set them >> according to your notes. I believe that either there is one crucial step >> that we've overlooked, or that there is something particular about my >> httpd.conf that's not working right (PerlSetVar statements, etc). >> >> Just as a test yesterday, I separated the log files for each name based >> virtual server to make sure that we were being served from the right server >> instance, and depending on which URL I used, the correct log file was >> showing activity. >> >> Sincerely, >> Doug Eubanks >> admin at dougware.net >> >> >> On Wed, Feb 25, 2009 at 4:42 AM, Raed El-Hames wrote: >> >>> Morning Doug; >>> >>> If you can test it, can you comment out the entry for the brand y in >>> httpd.conf , ie start up with just brand x and see what you get, just to >>> make sure your settings are correct for brand x .. >>> Always remember to restart httpd. >>> >>> Regards; >>> Roy >>> >>> Doug Eubanks wrote: >>> >>>> Yes, they have different webmuxes (webmux.pl and webmux-brandy.pl). >>>> >>>> It appears the ENV['SERVER'] is always matching webmux-brandy.pl, even >>>> though the /tmp/foo file shows different entries. >>>> >>>> Could a MasonDataCacheDefaults setting, or a mod_perl setting cause the >>>> RT.pm to use the "first" loaded $ENV['SERVER'] string? I'm so confused? >>>> >>>> Sincerely, >>>> Doug Eubanks >>>> admin at dougware.net >>>> >>>> >>>> On Tue, Feb 24, 2009 at 12:10 PM, Raed El-Hames >>> rfh at vialtus.com>> wrote: >>>> >>>> And is RT calling the right RT_SiteConfig ?? >>>> I am guessing you have modified each RT_SiteConfig per brand?? >>>> what do you get when you restart apache and when you browse to >>>> each instance?? >>>> >>>> Roy >>>> >>>> Doug Eubanks wrote: >>>> >>>> That's what I have, two different webmux.pl files... >>>> >>>> They are in the same /opt/rt3/bin folder... >>>> >>>> The old brand is called webmux.pl, the new brand is called >>>> webmux-brandy.pl >>>> >>>> They are called in httpd.conf with these two separate lines in >>>> their respective host entries... >>>> PerlRequire /opt/rt3/bin/webmux-brandy.pl >>>> PerlRequire /opt/rt3/bin/webmux.pl >>>> >>>> Sincerely, >>>> Doug Eubanks >>>> admin at dougware.net >>>> > >>>> >>>> >>>> >>>> >>>> >>> >>> -- >>> >>> *Roy El-hames * >>> >>> ISP Systems >>> >>> >>> >>> *Vialtus Solutions* >>> >>> *(formerly Pipex Business)* >>> >>> >>> >>> Direct Dial: +44(0) 208 587 6181 >>> >>> E-mail: rfh at vialtus.com >>> >>> >>> >>> Visit us on: >>> >>> www.vialtus.com >>> >>> >>> >>> This email is subject to: >>> >>> http://www.vialtus.com/disclaimer.html >>> >>> >>> >>> >>> >>> >> > -------------- next part -------------- An HTML attachment was scrubbed... URL: From todd at chaka.net Wed Feb 25 10:06:36 2009 From: todd at chaka.net (Todd Chapman) Date: Wed, 25 Feb 2009 10:06:36 -0500 Subject: [rt-users] Custom logo broken. Does share/html/NoAuth/images/autohandler do the right thing? In-Reply-To: <589c94400902250127y681b2394qe5cf5e8ecd309b0a@mail.gmail.com> References: <519782dc0902241518y27467c12m82411852a709d991@mail.gmail.com> <589c94400902250127y681b2394qe5cf5e8ecd309b0a@mail.gmail.com> Message-ID: <519782dc0902250706l69dc37bcq3ee349f131bf4a25@mail.gmail.com> I found one of the problems. The RT README says to configure mod_perl with this: SetHandler default SetHandler perl-script PerlResponseHandler RT::Mason which didn't work for me. When I changed the order to this it started working: SetHandler perl-script PerlResponseHandler RT::Mason SetHandler default On Wed, Feb 25, 2009 at 4:27 AM, Ruslan Zakirov wrote: > Yeah, that's true that mason tries to parse things even when there is > autohandler in the same or above dir. This happens as a comp may > define autohandler or drop all of them. > > However, I do recall we did something about that in custom handler. > > On Wed, Feb 25, 2009 at 2:18 AM, Todd Chapman wrote: >> I have production (mod_perl) and development (standalone_httpd) RT instances. >> >> The mod_perl instance is configured according to RT's README but Mason >> still tries to interpret the image. >> >> Same thing happens in my standalone_httpd RT, even with the >> autohandler. I think the default BP logo doesn't have any bits that >> can be mistaken as Mason markup. >> >> This is with the inplace layout, though I'm not sure that matters. >> >> 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 >> > > > > -- > Best regards, Ruslan. > From kamber.dalal at verizonbusiness.com Wed Feb 25 10:17:48 2009 From: kamber.dalal at verizonbusiness.com (Dalal, Kamber Z) Date: Wed, 25 Feb 2009 15:17:48 +0000 Subject: [rt-users] Help getting CommandByEmail working Message-ID: I installed, the RT-Extension-CommandByMail-0.06. on RT version 3.6.3. I have the following in the RT_SiteConfig.pm: " Set($LogDir, '/opt/rt3/var/log'); Set($LogToFileNamed , "rt.log"); #log to rt.log @MailPlugins = qw(Auth::MailFrom Filter::TakeAction); 1; " The email sent to RT is as follows: FROM: john.doe at anycompany.com (has rights to reply and comment to tickets) TO: testqueue at rttest.vzbi.com SUBJECT: [vzbi.com #51252] Test Ticket CF.{Status of the Issue}: Research RESULTS: The email gets added in ticket #51252 as correspondence, but the Custom Field by the name of 'Status of the Issue' does not get the value of 'Research' any help will be appreciated. Kamber -------------- next part -------------- An HTML attachment was scrubbed... URL: From james.faulkner at yale.edu Wed Feb 25 11:02:16 2009 From: james.faulkner at yale.edu (Jim Faulkner) Date: Wed, 25 Feb 2009 11:02:16 -0500 (EST) Subject: [rt-users] 3.8.2 Query Builder firefox/linux cosmetic issue Message-ID: The query builder in version 3.8.2 is somewhat awkward under Linux. Under KDE4 on Suse 11.1, there is a seperator in the "less than," "matches," "is," etc fields that overlaps the text, making the S in "is" and "matches" look like a dollar sign. Here's a screenshot: http://zoo.cs.yale.edu/jim/querybuilder.png I also tried it out on firefox under icewm on gentoo. The seperator is not overlapping the text in that case, but it is still uncomfortably close to the text: http://zoo.cs.yale.edu/jim/querybuilder2.jpg How do I widen the drop down box so that the seperator doesn't overlap the text? Jim Faulkner From Richard.Foley at rfi.net Wed Feb 25 11:07:02 2009 From: Richard.Foley at rfi.net (Richard Foley) Date: Wed, 25 Feb 2009 17:07:02 +0100 Subject: [rt-users] colorize status In-Reply-To: <3CE7D8D453B27148BBCA0B2063B11E64D5F935@s-wor-e-001.SCOUTSOFFICE.local> References: <4992C4110200003E00004F34@mail.finleysd.org> <3CE7D8D453B27148BBCA0B2063B11E64D5F935@s-wor-e-001.SCOUTSOFFICE.local> Message-ID: <200902251707.02433.Richard.Foley@rfi.net> Hi, The code at http://wiki.bestpractical.com/view/ShowStatusInColor doesn't work for me. Possibly because the directories are confusingly discussed. I've got 3 files: # /opt/rt3/local/html/Callbacks/MyCallbacks/Elements/RT__Ticket/Columnmap/Columnmap <%INIT> sub statusInColor { my $Ticket = shift; my $status = $Ticket->Status; my $css = "status" . lc $status; my $LastUpdater = $Ticket->LastUpdatedByObj->EmailAddress; my $TicketRequestors = $Ticket->Requestors->MemberEmailAddressesAsString; my $TicketCC = $Ticket->Cc->MemberEmailAddressesAsString; if (($TicketRequestors =~ $LastUpdater) || ($TicketCC =~ $LastUpdater)) { $css = "status" . lc "reply"; $status = "
$status REP
"; } else { $status = "
$status
"; } return \"$status"; } $COLUMN_MAP->{Status}->{value} = \&statusInColor; <%ARGS> $COLUMN_MAP => undef # /opt/rt3/local/html/NoAuth/css/web2/End @import "statuscolor.css"; # /opt/rt3/local/html/NoAuth/css/web2/statuscolor.css /* Status Colours */ .statusnew { color: #bb0000; text-align: left; font-weight: bold; } .statusopen { color: #0000bb; text-align: left; font-weight: bold; } .statusreply { color: #00bb00; text-align: left; font-weight: bold; } .statusresolved { color: #888888; text-align: left; font-weight: bold; } .statusrejected { color: #884444; text-align: left; font-weight: bold; } If I clean out my mason cache and restart my server, I still don't see the css status values being picked up. Any hints as to where I might be going astray here, anyone? -- Richard Foley Ciao - shorter than aufwiedersehen http://www.rfi.net/ From Richard.Foley at rfi.net Wed Feb 25 11:14:30 2009 From: Richard.Foley at rfi.net (Richard Foley) Date: Wed, 25 Feb 2009 17:14:30 +0100 Subject: [rt-users] colorize status In-Reply-To: <200902251707.02433.Richard.Foley@rfi.net> References: <4992C4110200003E00004F34@mail.finleysd.org> <3CE7D8D453B27148BBCA0B2063B11E64D5F935@s-wor-e-001.SCOUTSOFFICE.local> <200902251707.02433.Richard.Foley@rfi.net> Message-ID: <200902251714.30373.Richard.Foley@rfi.net> Strangely, it doesn't help when I do this either: ls -l /opt/rt3/local/html/Callbacks/MyCallbacks/NoAuth/css/web2/main.css insgesamt 8 -rw-r--r-- 1 qa_admin rt 28 25. Feb 17:03 End -rw-rw-r-- 1 qa_admin rt 390 25. Feb 16:09 statuscolor.css -- Richard Foley Ciao - shorter than aufwiedersehen http://www.rfi.net/ From change+lists.rt at nightwind.net Wed Feb 25 11:21:29 2009 From: change+lists.rt at nightwind.net (change+lists.rt at nightwind.net) Date: Wed, 25 Feb 2009 08:21:29 -0800 Subject: [rt-users] RT 3.8 and FastCGI out of memory via http but not https *SOLVED* In-Reply-To: <589c94400902250526g1ca16ae3u5f7080c060b64fa2@mail.gmail.com> References: <49A471D3.4080409@uwm.edu> <1235514818.16261.1302206883@webmail.messagingengine.com> <589c94400902250526g1ca16ae3u5f7080c060b64fa2@mail.gmail.com> Message-ID: <1235578889.15984.1302346893@webmail.messagingengine.com> On Wed, 25 Feb 2009 16:26:49 +0300, "Ruslan Zakirov" said: > You MUST read UPGRADING.mysql This was not obvious from the wiki documentation or output from "make upgrade" or the rt-upgrade-database script. From pboguszewski at library.wisc.edu Wed Feb 25 11:26:10 2009 From: pboguszewski at library.wisc.edu (Peter Boguszewski) Date: Wed, 25 Feb 2009 10:26:10 -0600 Subject: [rt-users] Problems with creating ticket linked from an asset in version 3.8.2 Message-ID: <49A57122.8050806@library.wisc.edu> Hi all, Every time one of our users add a ticket that is linked to an asset, from the asset view, a ticket gets created but the content is only the first word of the body that is broken up to the first letter, then a blank space, then the rest of the word with nothing else. It is nice that the ticket gets created with the correct subject but the content is not so hot. Can anyone point me in a direction to troubleshoot this? Thanks, Pete From alexyoung at scoutsolutions.co.uk Wed Feb 25 11:29:10 2009 From: alexyoung at scoutsolutions.co.uk (Alex Young) Date: Wed, 25 Feb 2009 16:29:10 -0000 Subject: [rt-users] colorize status In-Reply-To: <200902251707.02433.Richard.Foley@rfi.net> References: <4992C4110200003E00004F34@mail.finleysd.org> <3CE7D8D453B27148BBCA0B2063B11E64D5F935@s-wor-e-001.SCOUTSOFFICE.local> <200902251707.02433.Richard.Foley@rfi.net> Message-ID: <3CE7D8D453B27148BBCA0B2063B11E64D600C7@s-wor-e-001.SCOUTSOFFICE.local> You say your file is: /opt/rt3/local/html/Callbacks/MyCallbacks/Elements/RT__Ticket/Columnmap/ Columnmap That's wrong. Columnmap should me ColumnMap in both instances. -----Original Message----- From: Richard Foley [mailto:Richard.Foley at rfi.net] Sent: 25 February 2009 16:07 To: rt-users at lists.bestpractical.com Cc: Alex Young; Daniel Cook Subject: Re: [rt-users] colorize status Hi, The code at http://wiki.bestpractical.com/view/ShowStatusInColor doesn't work for me. Possibly because the directories are confusingly discussed. I've got 3 files: # /opt/rt3/local/html/Callbacks/MyCallbacks/Elements/RT__Ticket/Columnmap/ Columnmap From alexyoung at scoutsolutions.co.uk Wed Feb 25 11:45:14 2009 From: alexyoung at scoutsolutions.co.uk (Alex Young) Date: Wed, 25 Feb 2009 16:45:14 -0000 Subject: [rt-users] Trying to track a bug with WYSIWYG editor, IE7 and RTx-EmailCompletion Message-ID: <3CE7D8D453B27148BBCA0B2063B11E64D600E2@s-wor-e-001.SCOUTSOFFICE.local> Hi, I'm trying to track down a bug I am experiencing with RT, its WYSIWYG editor, IE7 and RTx-EmailCompletion. On my install when RT inserts content automatically into the body of the WYSIWYG editor. I only get this error when using Internet Explorer 7 (Haven't tried other IE versions). Firefox doesn't suffer. If I insert and RTFM article, my user signature (set under users preferences), or hit reply/comment on a ticket transaction it posts the info correct into the WYSIWYG editor window. When submitting that page the transaction content randomly inserts spaces, line breaks, and chops off the end of the content. If I disable RTx-EmailCompletion it works fine. I also have a JavaScript error in IE7 when RTx-EmailCompletion is enabled; Line: 2 Char: 1 Error: Syntax error Code: 0 This error shows on every page. Looks like it's a problem with RTx-EmailCompletion. It doesn't give a JS error in Firefox. Has anyone else had this problem or been able to fix it? -------------- next part -------------- An HTML attachment was scrubbed... URL: From falcone at bestpractical.com Wed Feb 25 12:24:10 2009 From: falcone at bestpractical.com (Kevin Falcone) Date: Wed, 25 Feb 2009 12:24:10 -0500 Subject: [rt-users] RT 3.8 and FastCGI out of memory via http but not https *SOLVED* In-Reply-To: <1235578889.15984.1302346893@webmail.messagingengine.com> References: <49A471D3.4080409@uwm.edu> <1235514818.16261.1302206883@webmail.messagingengine.com> <589c94400902250526g1ca16ae3u5f7080c060b64fa2@mail.gmail.com> <1235578889.15984.1302346893@webmail.messagingengine.com> Message-ID: <0851AB8E-9D70-4961-ADBD-099C7C81FA6C@bestpractical.com> On Feb 25, 2009, at 11:21 AM, change+lists.rt at nightwind.net wrote: > On Wed, 25 Feb 2009 16:26:49 +0300, "Ruslan Zakirov" > said: >> You MUST read UPGRADING.mysql > > This was not obvious from the wiki documentation or output from "make > upgrade" or the rt-upgrade-database script. It is covered in the README file and the UPGRADING file -kevin From bertignac at gmail.com Wed Feb 25 12:54:47 2009 From: bertignac at gmail.com (L B) Date: Wed, 25 Feb 2009 18:54:47 +0100 Subject: [rt-users] Problem for new users in RT 3.8.2 " RT could not load a valid user" Message-ID: Hello, Since my migration from 3.6.6 to 3.8.2, I get this message for requests from new users : RT could not load a valid user, and RT's configuration does not allow for the creation of a new user for this email (xxxx.xxxx at xxx.com). You might need to grant 'Everyone' the right 'CreateTicket' for the queue incoming. And of course, I have this right on the "incoming" queue. How can I fix this ? Thanks! -- L.B. From jrhett at netconsonance.com Wed Feb 25 13:08:12 2009 From: jrhett at netconsonance.com (Jo Rhett) Date: Wed, 25 Feb 2009 10:08:12 -0800 Subject: [rt-users] how to ask if current replier is privileged? In-Reply-To: <515377D9-71BE-4E62-A5D0-82B29090378F@netconsonance.com> References: <515377D9-71BE-4E62-A5D0-82B29090378F@netconsonance.com> Message-ID: <9298C1BC-36F0-4933-BD4F-44FBB3ED77F6@netconsonance.com> On Feb 23, 2009, at 6:21 PM, Jo Rhett wrote: > So I used the method Jesse described for matching inbound requests and > ... > I have one scrip to lower the priority on Correspondence, and this one > to raise it: > ... > How do I make sure this doesn't match tickets which I opened for > myself and am updating periodically? Beuller? Let's make the question more specific. How can I ask if the replier is a privileged user, so that I can && ! (whatever) to prevent this? -- Jo Rhett Net Consonance : consonant endings by net philanthropy, open source and other randomness From alexyoung at scoutsolutions.co.uk Wed Feb 25 13:38:11 2009 From: alexyoung at scoutsolutions.co.uk (Alex Young) Date: Wed, 25 Feb 2009 18:38:11 -0000 Subject: [rt-users] Trying to track a bug with WYSIWYG editor, IE7 and RTx-EmailCompletion In-Reply-To: References: <3CE7D8D453B27148BBCA0B2063B11E64D600E2@s-wor-e-001.SCOUTSOFFICE.local> Message-ID: <3CE7D8D453B27148BBCA0B2063B11E64D600F3@s-wor-e-001.SCOUTSOFFICE.local> Hmmm... odd that I dont get the error when I remove RTx-EmailCompletion, but you're not using it. What other extensions are you using? Do you still get this problem if they are disabled? Mine is getting truncated at 319 characters on every one. I never noticed it before. Looks like my JavaScript error is unrelated. Its a RTx-EmailCompletion specific error that, so nothing to do with the truncation. ================================================ MIME-Version: 1.0 X-Mailer: MIME-tools 5.427 (Entity 5.427) Content-Disposition: inline Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: binary X-RT-Original-Encoding: utf-8 RT-Send-CC: Content-Length: 319

Does it do it when inserting content fro m the previous page?

On Wed Feb 25 14:58:45 2009, ayoung wrote:
> T his is a lon g winded reply to see if IE will br eak with the WYSIWYG
& gt; editor yet
> again.
>
> I cant understand why it breaks.
&g t ; ================================================ -----Original Message----- From: Michael Finn [mailto:mfinn at nbutexas.com] Sent: 25 February 2009 18:26 To: Alex Young; rt-users at lists.bestpractical.com Subject: RE: [rt-users] Trying to track a bug with WYSIWYG editor,IE7 and RTx-EmailCompletion Alex, I've observed the same kind of behavior when I use the "New ticket in" button at the top, but not when I enter a comment or reply. Additionally, my text is truncated at 55 characters. I'm having this issue in IE7, but not Firefox 3. I don't get JavaScript errors in either browser. I do not use RTx-EmailCompletion, however. Here's an example of what I'm seeing (with headers): ================= MIME-Version: 1.0 Content-Type: text/html; charset="UTF-8" X-Mailer: MIME-tools 5.427 (Entity 5.427) Content-Disposition: inline Content-Transfer-Encoding: binary X-RT-Original-Encoding: utf-8 Content-Length: 55

K . Tibbels PC& nbsp;won't boot.  " ;Strik ================= Mike ----------------- From: rt-users-bounces at lists.bestpractical.com [mailto:rt-users-bounces at lists.bestpractical.com] On Behalf Of Alex Young Sent: Wednesday, February 25, 2009 10:45 AM To: rt-users at lists.bestpractical.com Subject: [rt-users] Trying to track a bug with WYSIWYG editor,IE7 and RTx-EmailCompletion Hi, ????????? I'm trying to track down a bug I am experiencing with RT, its WYSIWYG editor, IE7 and RTx-EmailCompletion. On my install when RT inserts content automatically into the body of the WYSIWYG editor. I only get this error when using Internet Explorer 7 (Haven't tried other IE versions). Firefox doesn't suffer. If I insert and RTFM article, my user signature (set under users preferences), or hit reply/comment on a ticket transaction it posts the info correct into the WYSIWYG editor window. When submitting that page the transaction content randomly inserts spaces, line breaks, and chops off the end of the content. If I disable RTx-EmailCompletion it works fine. I also have a JavaScript error in IE7 when RTx-EmailCompletion is enabled; Line: 2 Char: 1 Error: Syntax error Code: 0 This error shows on every page. Looks like it's a problem with RTx-EmailCompletion. It doesn't give a JS error in Firefox. Has anyone else had this problem or been able to fix it? From mfinn at nbutexas.com Wed Feb 25 13:26:07 2009 From: mfinn at nbutexas.com (Michael Finn) Date: Wed, 25 Feb 2009 12:26:07 -0600 Subject: [rt-users] Trying to track a bug with WYSIWYG editor, IE7 and RTx-EmailCompletion In-Reply-To: <3CE7D8D453B27148BBCA0B2063B11E64D600E2@s-wor-e-001.SCOUTSOFFICE.local> References: <3CE7D8D453B27148BBCA0B2063B11E64D600E2@s-wor-e-001.SCOUTSOFFICE.local> Message-ID: Alex, I've observed the same kind of behavior when I use the "New ticket in" button at the top, but not when I enter a comment or reply. Additionally, my text is truncated at 55 characters. I'm having this issue in IE7, but not Firefox 3. I don't get JavaScript errors in either browser. I do not use RTx-EmailCompletion, however. Here's an example of what I'm seeing (with headers): ================= MIME-Version: 1.0 Content-Type: text/html; charset="UTF-8" X-Mailer: MIME-tools 5.427 (Entity 5.427) Content-Disposition: inline Content-Transfer-Encoding: binary X-RT-Original-Encoding: utf-8 Content-Length: 55

K . Tibbels PC& nbsp;won't boot.  " ;Strik ================= Mike ----------------- From: rt-users-bounces at lists.bestpractical.com [mailto:rt-users-bounces at lists.bestpractical.com] On Behalf Of Alex Young Sent: Wednesday, February 25, 2009 10:45 AM To: rt-users at lists.bestpractical.com Subject: [rt-users] Trying to track a bug with WYSIWYG editor,IE7 and RTx-EmailCompletion Hi, ????????? I'm trying to track down a bug I am experiencing with RT, its WYSIWYG editor, IE7 and RTx-EmailCompletion. On my install when RT inserts content automatically into the body of the WYSIWYG editor. I only get this error when using Internet Explorer 7 (Haven't tried other IE versions). Firefox doesn't suffer. If I insert and RTFM article, my user signature (set under users preferences), or hit reply/comment on a ticket transaction it posts the info correct into the WYSIWYG editor window. When submitting that page the transaction content randomly inserts spaces, line breaks, and chops off the end of the content. If I disable RTx-EmailCompletion it works fine. I also have a JavaScript error in IE7 when RTx-EmailCompletion is enabled; Line: 2 Char: 1 Error: Syntax error Code: 0 This error shows on every page. Looks like it's a problem with RTx-EmailCompletion. It doesn't give a JS error in Firefox. Has anyone else had this problem or been able to fix it? From jmoseley at corp.xanadoo.com Wed Feb 25 13:57:52 2009 From: jmoseley at corp.xanadoo.com (jmoseley at corp.xanadoo.com) Date: Wed, 25 Feb 2009 12:57:52 -0600 Subject: [rt-users] Trying to track a bug with WYSIWYG editor, IE7 and RTx-EmailCompletion In-Reply-To: Message-ID: For what it's worth, an end-user of mine noticed the same thing today... He's also using IE 7. James Moseley "Michael Finn" To Sent by: "Alex Young" rt-users-bounces@ , lists.bestpractic al.com cc Subject 02/25/2009 12:26 Re: [rt-users] Trying to track a PM bug with WYSIWYG editor, IE7 and RTx-EmailCompletion Alex, I've observed the same kind of behavior when I use the "New ticket in" button at the top, but not when I enter a comment or reply. Additionally, my text is truncated at 55 characters. I'm having this issue in IE7, but not Firefox 3. I don't get JavaScript errors in either browser. From jesse at bestpractical.com Wed Feb 25 13:59:57 2009 From: jesse at bestpractical.com (Jesse Vincent) Date: Wed, 25 Feb 2009 13:59:57 -0500 Subject: [rt-users] 3.8.2 Query Builder firefox/linux cosmetic issue In-Reply-To: References: Message-ID: <20090225185957.GG32297@17h.local> On Wed 25.Feb'09 at 11:02:16 -0500, Jim Faulkner wrote: > > The query builder in version 3.8.2 is somewhat awkward under Linux. Under > KDE4 on Suse 11.1, there is a seperator in the "less than," "matches," > "is," etc fields that overlaps the text, making the S in "is" and > "matches" look like a dollar sign. Here's a screenshot: > http://zoo.cs.yale.edu/jim/querybuilder.png > > I also tried it out on firefox under icewm on gentoo. The seperator is > not overlapping the text in that case, but it is still uncomfortably close > to the text: > http://zoo.cs.yale.edu/jim/querybuilder2.jpg > > How do I widen the drop down box so that the seperator doesn't overlap the > text? That's a CSS change in share/html/NoAuth/web2/ticket-search.html Do be aware that this stuff is VERY fiddly and Linux GTK themes appear to do a number on the buttons on top of everything else. > > Jim Faulkner > > _______________________________________________ > 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 > -- From keggers at mitre.org Wed Feb 25 13:47:24 2009 From: keggers at mitre.org (Eggers, Ken F.) Date: Wed, 25 Feb 2009 13:47:24 -0500 Subject: [rt-users] RT 3.6 Change look and feel of customized fields Message-ID: <0111C34BD897FD41841D60396F2AD3D3017D40A0CC@IMCMBX2.MITRE.ORG> I am a novice who has easily created customized fields (RT is Great for that) but now want to change the look and feel to allow the fields to display nicely in a browser. Can the fields look and feel as displayed in the browser be altered (see how much I am a novice!)?? Not looking to major radical changes, just some simple sizing to allow text in the field to display completely. Any pointers learning/understanding any other programming language I may need welcomed! Own RT Essentials. Running 3.6.7 on UNIX with Apache with limited admin support, so I must do! Thanks in advance Ken -------------- next part -------------- An HTML attachment was scrubbed... URL: From sturner at MIT.EDU Wed Feb 25 14:27:53 2009 From: sturner at MIT.EDU (Stephen Turner) Date: Wed, 25 Feb 2009 14:27:53 -0500 Subject: [rt-users] HEqads up Message-ID: Rich - A heads up. I'm doing an RT demo at OSP (E19) from 9-10am tomorrow (Thurs). Should be here about 10.30. Steve -- Stephen Turner Senior Programmer/Analyst - SAIS MIT IS&T From sturner at MIT.EDU Wed Feb 25 14:29:49 2009 From: sturner at MIT.EDU (Stephen Turner) Date: Wed, 25 Feb 2009 14:29:49 -0500 Subject: [rt-users] HEqads up In-Reply-To: References: Message-ID: Sorry all, misdirected - got to remember to check my To line before I fire. Please don't all come to my demo, there won't be room :) Steve On Wed, 25 Feb 2009 14:27:53 -0500, Stephen Turner wrote: > Rich - > > A heads up. I'm doing an RT demo at OSP (E19) from 9-10am tomorrow > (Thurs). Should be here about 10.30. > > Steve > -- Stephen Turner Senior Programmer/Analyst - SAIS MIT IS&T From jthuau at heavy-iron.com Wed Feb 25 15:25:39 2009 From: jthuau at heavy-iron.com (Joachim Thuau) Date: Wed, 25 Feb 2009 12:25:39 -0800 Subject: [rt-users] Ticket taken twice Message-ID: Hello, I have RT-3.6.1, postgres backend, apache with mod_perl. We just stumbled upon a funny situation. I'm hoping one of you is going to be able to help me sort it out. A few minutes ago, 2 helpdesk techs used the "take" button, at pretty much the same time. Upon closer inspection, here are the interesting bits: The history, under "display", of that ticket shows the following output in the history: [create ticket bits here] # Wed Feb 25 11:35:50 2009 Tom - Taken # Wed Feb 25 11:35:50 2009 Geoff - Taken I asked Geoff to give the ticket back to Tom. When Geoff tried to set the owner to Tom, RT threw an error: "Could not change owner. Group already has member". So it looks like "Owner" is a group that, for this ticket, has 2 principals (which, I believe, it shouldn't have). We tried to "steal" the ticket, give it to nobody, and everytime, we get an error "Could not change owner. Group already has member". So the question is: how do I go about making the ticket behave properly? I suppose I need to go into the DB and fix it there. And I suppose some code probably needs to be fixed so that race condition doesn't happen (or is it fixed in newer versions?). Thank you, Jok From jrhett at netconsonance.com Wed Feb 25 15:51:05 2009 From: jrhett at netconsonance.com (Jo Rhett) Date: Wed, 25 Feb 2009 12:51:05 -0800 Subject: [rt-users] email requestors on ticket open from web UI? Message-ID: So we want to e-mail a copy of the web interface input to the requestors when (and only when) the ticket was created via the web ui. I'm guessing I should have a Scrip with a test for ->IsInbound() to determine if we opened the ticket for them. Any gotchas with this? Anybody gone down this road before and had issues? -- Jo Rhett Net Consonance : consonant endings by net philanthropy, open source and other randomness From james.faulkner at yale.edu Wed Feb 25 15:55:37 2009 From: james.faulkner at yale.edu (Jim Faulkner) Date: Wed, 25 Feb 2009 15:55:37 -0500 (EST) Subject: [rt-users] ERROR 1062 during 3.4.5 -> 3.8.2 database update In-Reply-To: References: Message-ID: One more follow up -- turns out that the ERROR 1062 was due to a failed database dump and restore. I needed to add "--set-charset=binary" to my mysqldump command line when dumping the old RT database, and just in case I added "set names 'binary'" to the top of the resulting dump before importing it. After that the sql.queries generated by upgrade-mysql-schema.pl worked fine without modifying the queries. On Thu, 19 Feb 2009, Jim Faulkner wrote: > > Just wanted to follow up on this. I was able to work around the "Duplicate > entry" mysql error by modifying the "ALTER TABLE" command that caused the > problem to be "ALTER IGNORE TABLE." The IGNORE mysql extension is described > on this page: > http://dev.mysql.com/doc/refman/5.1/en/alter-table.html > > Basically it will delete any duplicate rows encountered. This is fine for my > purposes, because I am confident that any duplicate rows in the Users table > were caused by spam e-mails. I will be running rt-shredder and rt-validator > as well to delete any spam tickets associated with those users and make sure > that the RT database is OK. > > On Wed, 18 Feb 2009, Jim Faulkner wrote: > >> >> I'm getting the "ERROR 1062 (23000) at line 210: Duplicate entry '' for key >> 2" >> error when updating the database from 3.4.5 to 3.8.2. I see from this >> message: >> http://www.mail-archive.com/rt-users at lists.bestpractical.com/msg17534.html >> >> that I have a few different choices as to how to solve this. However, I'm >> not >> a mysql expert, so I'm afraid I'll need a little more help. >> >> I've tried changing the Users table's collation to utf8_unicode_ci, however >> I >> still get the same error when updating the database. What collation should >> I >> use to prevent this error? The original collation is latin1_swedish_ci. >> >> I've also tried to find the affected rows so that I can rename the users. >> However, I'm not getting anywhere. The error says that the duplicate >> entry is '', however "select * from Users where Name='';" returns zero >> rows. I've also tried dumping the Name column into a text file and using >> the uniq unix command, but it finds no duplicates. What is the best way >> to find duplicate entries? >> >> > > -- Jim Faulkner / james.faulkner at cs.yale.edu Systems Administrator, Linux Systems Design & Support (LSDS) Yale University Information Technology Services (ITS) =============================================================== NOTE: Yale ITS will NEVER request passwords or other personal information via email. Messages requesting such information are fraudulent and should be deleted. From mfinn at nbutexas.com Wed Feb 25 15:59:07 2009 From: mfinn at nbutexas.com (Michael Finn) Date: Wed, 25 Feb 2009 14:59:07 -0600 Subject: [rt-users] Tracking a bug with WYSIWYG editor and IE7 In-Reply-To: <3CE7D8D453B27148BBCA0B2063B11E64D600F3@s-wor-e-001.SCOUTSOFFICE.local> References: <3CE7D8D453B27148BBCA0B2063B11E64D600E2@s-wor-e-001.SCOUTSOFFICE.local> <3CE7D8D453B27148BBCA0B2063B11E64D600F3@s-wor-e-001.SCOUTSOFFICE.local> Message-ID: The only extension I have is RTFM. More specs: RT-3.8.2 RTFM-2.4.1 MySQL 5.0.67 (external server) IE 7.0.5730.11 on WinXP SP3 IE7 Add-ons don't apply, because I experienced the same issue in IE7 "safe mode" ('iexplore -extoff'). I'm baffled. > -----Original Message----- > From: Alex Young [mailto:alexyoung at scoutsolutions.co.uk] > Sent: Wednesday, February 25, 2009 12:38 PM > To: Michael Finn; rt-users at lists.bestpractical.com > Subject: RE: [rt-users] Trying to track a bug with WYSIWYG editor,IE7 > and RTx-EmailCompletion > > Hmmm... odd that I dont get the error when I remove RTx- > EmailCompletion, but you're not using it. What other extensions are you > using? Do you still get this problem if they are disabled? > > Mine is getting truncated at 319 characters on every one. I never > noticed it before. > > Looks like my JavaScript error is unrelated. Its a RTx-EmailCompletion > specific error that, so nothing to do with the truncation. > > > ================================================ > MIME-Version: 1.0 > X-Mailer: MIME-tools 5.427 (Entity 5.427) > Content-Disposition: inline > Content-Type: text/html; charset="UTF-8" > Content-Transfer-Encoding: binary > X-RT-Original-Encoding: utf-8 > RT-Send-CC: > Content-Length: 319 > >

Does it do it when inserting content fro > m the previous page?

>

On Wed Feb 25 14:58:45 2009, ayoung wrote: >
> > T > his is a > lon > g winded reply to see if IE will br > eak > with the WYSIWYG
> > & > gt; editor yet
> > again.
> >
> > > I > cant understand why it breaks.
> &g > t > ; > ================================================ > > > -----Original Message----- > From: Michael Finn [mailto:mfinn at nbutexas.com] > Sent: 25 February 2009 18:26 > To: Alex Young; rt-users at lists.bestpractical.com > Subject: RE: [rt-users] Trying to track a bug with WYSIWYG editor,IE7 > and RTx-EmailCompletion > > Alex, > > I've observed the same kind of behavior when I use the "New ticket in" > button at the top, but not when I enter a comment or reply. > Additionally, my text is truncated at 55 characters. I'm having this > issue in IE7, but not Firefox 3. I don't get JavaScript errors in > either browser. > > I do not use RTx-EmailCompletion, however. Here's an example of what > I'm seeing (with headers): > ================= > MIME-Version: 1.0 > Content-Type: text/html; charset="UTF-8" > X-Mailer: MIME-tools 5.427 (Entity 5.427) > Content-Disposition: inline > Content-Transfer-Encoding: binary > X-RT-Original-Encoding: utf-8 > Content-Length: 55 > >

K > . Tibbels PC& > nbsp;won't boot.  " > ;Strik > ================= > > Mike > ----------------- > From: rt-users-bounces at lists.bestpractical.com [mailto:rt-users- > bounces at lists.bestpractical.com] On Behalf Of Alex Young > Sent: Wednesday, February 25, 2009 10:45 AM > To: rt-users at lists.bestpractical.com > Subject: [rt-users] Trying to track a bug with WYSIWYG editor,IE7 and > RTx-EmailCompletion > > Hi, > ????????? I'm trying to track down a bug I am experiencing with RT, its > WYSIWYG editor, IE7 and RTx-EmailCompletion. > > On my install when RT inserts content automatically into the body of > the WYSIWYG editor. > > I only get this error when using Internet Explorer 7 (Haven't tried > other IE versions). Firefox doesn't suffer. > > If I insert and RTFM article, my user signature (set under users > preferences), or hit reply/comment on a ticket transaction it posts the > info correct into the WYSIWYG editor window. When submitting that page > the transaction content randomly inserts spaces, line breaks, and chops > off the end of the content. > > If I disable RTx-EmailCompletion it works fine. > > I also have a JavaScript error in IE7 when RTx-EmailCompletion is > enabled; > Line: 2 > Char: 1 > Error: Syntax error > Code: 0 > > This error shows on every page. Looks like it's a problem with RTx- > EmailCompletion. It doesn't give a JS error in Firefox. > > Has anyone else had this problem or been able to fix it? From jesse at bestpractical.com Wed Feb 25 16:11:13 2009 From: jesse at bestpractical.com (Jesse Vincent) Date: Wed, 25 Feb 2009 16:11:13 -0500 Subject: [rt-users] Ticket taken twice In-Reply-To: References: Message-ID: <20090225211113.GG32682@17h.local> On Wed 25.Feb'09 at 12:25:39 -0800, Joachim Thuau wrote: > > Hello, > > I have RT-3.6.1, postgres backend, apache with mod_perl. Todd Chapman patched this issue in RT quite a while back. I don't remember if it's in 3.6.7, but I believe it is. It's definitely fixed in 3.8. > We just stumbled upon a funny situation. I'm hoping one of you is going > to be able to help me sort it out. > > A few minutes ago, 2 helpdesk techs used the "take" button, at pretty > much the same time. Upon closer inspection, here are the interesting > bits: > > The history, under "display", of that ticket shows the following output > in the history: > [create ticket bits here] > # Wed Feb 25 11:35:50 2009 Tom - Taken > > # Wed Feb 25 11:35:50 2009 Geoff - Taken > > I asked Geoff to give the ticket back to Tom. When Geoff tried to set > the owner to Tom, RT threw an error: "Could not change owner. Group > already has member". So it looks like "Owner" is a group that, for this > ticket, has 2 principals (which, I believe, it shouldn't have). We tried > to "steal" the ticket, give it to nobody, and everytime, we get an error > "Could not change owner. Group already has member". > > So the question is: how do I go about making the ticket behave properly? > I suppose I need to go into the DB and fix it there. And I suppose some > code probably needs to be fixed so that race condition doesn't happen > (or is it fixed in newer versions?). > > Thank you, > Jok > > _______________________________________________ > 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 > -- -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 194 bytes Desc: not available URL: From sturner at MIT.EDU Wed Feb 25 16:44:45 2009 From: sturner at MIT.EDU (Stephen Turner) Date: Wed, 25 Feb 2009 16:44:45 -0500 Subject: [rt-users] email requestors on ticket open from web UI? In-Reply-To: References: Message-ID: On Wed, 25 Feb 2009 15:51:05 -0500, Jo Rhett wrote: > So we want to e-mail a copy of the web interface input to the > requestors when (and only when) the ticket was created via the web ui. > > I'm guessing I should have a Scrip with a test for ->IsInbound() to > determine if we opened the ticket for them. > > Any gotchas with this? Anybody gone down this road before and had > issues? > We query the message attachment for a 'Received' header, and if it's present we assume an email message; if not we assume a web transaction: my $trans = $self->TransactionObj; # Get the message attachment my $msgattr = $trans->Message->First; if ( $msgattr and $msgattr->GetHeader('Received') ) { # This is an email transaction } else { # This is a web transaction } You probably would add a piece that makes this happen only for a Create transaction... Steve -- Stephen Turner Senior Programmer/Analyst - SAIS MIT IS&T From toml at bitstatement.net Wed Feb 25 17:15:30 2009 From: toml at bitstatement.net (Tom Lahti) Date: Wed, 25 Feb 2009 14:15:30 -0800 Subject: [rt-users] REST interface attachment weirdness In-Reply-To: <49A4BBE9.9010207@bitstatement.net> References: <49A4B3DC.6070800@bitstatement.net> <49A4B7EA.4030908@bitstatement.net> <49A4BBE9.9010207@bitstatement.net> Message-ID: <49A5C302.80903@bitstatement.net> > Now the question is, did that fix my REST interface weirdness > as well.. probably. It's late so I'll work on that tomorrow. So, I've been able to figure out now how to reconstruct the binary from the "Content:" section in the REST response for /REST/1.0/ticket//attachments/ First, you take the "Content:" part of the response only perl: (content_string) = rest_response =~ /Content:\s+(.*)/m ruby: content_string = rest_response.match(/Content:\s+(.*)/m)[1] Ignore the content-transfer-encoding header; the content is _not_ base64 encoded, even if the header says it is. In the string, do a search & replace: perl: content_string =~ s/\n\s{9}/\n/ ruby: content_string.gsub!(/\n\s{9}/,"\n") Next, you have to chomp off the 3 carriage returns at the end of content_string. Lastly, do a character set conversion. This string is in UTF-8 (probably only since RT 3.8, older RT it will be something else); converting it to ISO-8859-1 gets the binary back intact. The converted string length should equal the content-length from the REST response as a sanity check. Note: I have only done this with one attachment so far, which came from a U.S. Windows system. Whether or not the target charset of ISO-8859-1 really ought to be Windows-1252, or whether it ought to be whatever the original charset was when it was uploaded (which doesn't appear to be coming back with the REST response... oh dear) are unknown to me as of yet. I don't have Macs to upload binaries with, or foreign localized Windows, or anything else for that matter so I'm not sure if "always to ISO-8859-1" will work everywhere. Would be nice to get some developer input on that...? I used the iconv library to do the character set conversion. ruby: binary = Iconv.conv("ISO-8859-1","UTF-8",content_string) -- -- ============================ Tom Lahti BIT Statement LLC (425)251-0833 x 117 http://www.bitstatement.net/ -- ============================ From cassandra at bestpractical.com Wed Feb 25 18:09:08 2009 From: cassandra at bestpractical.com (Cassandra Phillips-Sears) Date: Wed, 25 Feb 2009 18:09:08 -0500 Subject: [rt-users] RT Training Announcement - April 27 & 28 2009 - Boston MA Message-ID: Best Practical Solutions provides unparalleled instruction in how to get the most out of RT. We've been teaching users and administrators how to get the most out of RT since 2001. Since 2003, we've offered intensive one-day RT administrator training sessions to the general public. In response to your requests, we've extended our RT training program to cover additional material targeted at beginning to advanced RT users. We've split training across two days. The first day starts off with a tour of RT's web interface and continues with a detailed exploration and explanation of RT's functionality, workflows and configurability. We'll touch on basic administration, but concentrate largely on helping you and your team get the most out of your RT instance. The second day of training picks up with basic RT administration and covers everything from point-and-click configuration to installation of RT, development best practices and database tuning. It goes without saying that you'll get the most out of training if you attend both days of the course, but we've designed the material so that you can step out after the first day with a dramatically improved understanding of how to use RT or show up on the second day and get quickly up to speed on how to make RT do your bidding. A spot at either day costs $995 USD. You can save 25% if you attend both days of training. That's just $1495. If you reserve your seat before March 15th, you can save an additional 20% by mentioning the discount code ANNOUNCE09. Each class includes breakfast, coffee/tea, and an afternoon snack, as well as all training materials. Day 1 - RT User Training - April 27th 2008 This intensive day-long tutorial about RT starts with basic day-to-day use and continues with detailed training about advanced RT features including saved searches, dashboards, data analysis and options for automating your workflow. This session will cover: * The purpose and general use of RT * New features in RT 3.8 * Saved Searches and customizing searches * RT's Dashboards feature * Customizing RT's workflow to match your own, with examples of workflow optimization * Automating common procedures * How to make simple custom reports based on RT's data * A short intro to RTFM, the RT FAQ Manager * General Q&A Session Day 2 - RT Administration and Development ? April 28th 2008 This intensive day-long session aimed at RT administrators and developers covers everything from installation to backups, interface and backend customizations. You'll learn how to customize RT to meet your organization's unique needs and how to make sure that RT stays fast, reliable and flexible. This session will cover: * New features in RT 3.8 RT's system architecture * A guided tour of the RT source code * Extension mechanisms you can use to customize RT * RT Installation, including the basics of Tarballs, and Configuration * Examples of how to optimize RT for your organization * How to tie RT into your existing authentication infrastructure * Building your own tools that talk to the RT backend * Customizing RT's workflow to match your own * Automating common procedures * How to write custom reports based on RT's data * Custom coding, modifications, and callback creation * A brief preview of RT4 * General Q&A Session This spring, these sessions will be only be offered in Boston, MA. If you can't make it to Boston this April, please drop us a line to request a public training in your area. We haven't yet scheduled training for Summer/Fall 2009 yet ? your feedback will help us decide where to offer additional sessions. RT User Training ? Monday April 27th 2009 RT Administrator/Developer Training ? Tuesday April 28th 2009 When you register, please tell us whether you'd like to register for the whole training session or only for a single day. To reserve your seat, please email training at bestpractical.com. We like to keep class sizes relatively intimate. Please register soon or we may not be able to guarantee you a seat. Private Training Additionally, we offer private training sessions for organizations. If you would like to schedule a private training session, please drop us a line at training at bestpractical.com. Reservations To reserve your seat, please send mail to training at bestpractical.com with the names and email addresses of all attendees. In the case of credit card payments, a receipt from the credit card payment constitutes your reservation. A copy of our payment and cancellation policies will be emailed to you upon receipt of a reservation. Payment Policy The cost of training includes all necessary materials. We accept payments by check or wire transfer. Discounts may be available for organizations sending more than one participant and for academic institutions. If you wish to pay via check or wire transfer, we will email you an invoice upon receipt of your reservation. If your company requires a printed invoice, please provide us with your accounts-payable contact and address. If payment is not received two weeks prior to the class date, we may be forced to release your reserved seat. Unless you notify us that you will not be attending the session at least two weeks in advance, you will still be responsible for some or all of the cost of the session. For more information, please see the cancellation policy below. Cancellation Policy To cancel your reservation, please send mail to training at bestpractical.com with the names and email addresses of those who wish to cancel. If you notify us that you will not be attending training at least two weeks prior to the class date, the entire class fee will be refunded. If you notify us that you will not be attending training less than two weeks before the class date, Best Practical will charge a $250 USD cancellation fee. If you notify us that you will not be attending training less than 72 hours prior to the start time of the class, the entire fee is non- refundable. Hotel Information There will be a limited number of discounted hotel rooms available at the training venue for attendees. More information regarding transportation options and parking will be provided when you register for a class. -- Cassandra Phillips-Sears Office Manager Best Practical Solutions, LLC http://www.bestpractical.com -------------- next part -------------- An HTML attachment was scrubbed... URL: From christ66 at uwm.edu Wed Feb 25 18:08:08 2009 From: christ66 at uwm.edu (Steven Christou) Date: Wed, 25 Feb 2009 17:08:08 -0600 Subject: [rt-users] Procmail email filtering Message-ID: <49A5CF58.1060407@uwm.edu> Hello, I had a few questions about procmail. I am not very good with procmail and I am trying to use my gmail account to allow me to automate incoming email based on its subject line. I have found some very useful recipes, although I have not found a good tutorial on how to set up my gmail account. I would also like to use imap, so I don't lose my other important emails. If this is not the right program, any other suggestions would also be appreciated. I also tried fetchmail and was successful, although there was absolutely no email filtering which is my main concern. Any help on this would be greatly appreciated. -- Steve Christou UWM Information Security Phone: 414-229-1100 Email: Osa-list at uwm.edu From steve.obrien at hdesd.org Wed Feb 25 18:34:40 2009 From: steve.obrien at hdesd.org (Steve O'Brien) Date: Wed, 25 Feb 2009 15:34:40 -0800 Subject: [rt-users] Parsing email subject or body to create SLA priority Message-ID: I am looking for a way to parse an email message to set the SLA priority of the ticket (using RT::Extension::SLA) TIA, Steve -------------- next part -------------- An HTML attachment was scrubbed... URL: From elacour at easter-eggs.com Thu Feb 26 01:15:05 2009 From: elacour at easter-eggs.com (Emmanuel Lacour) Date: Thu, 26 Feb 2009 07:15:05 +0100 Subject: [rt-users] Parsing email subject or body to create SLA priority In-Reply-To: References: Message-ID: <20090226061504.GB23013@easter-eggs.com> On Wed, Feb 25, 2009 at 03:34:40PM -0800, Steve O'Brien wrote: > I am looking for a way to parse an email message to set the SLA > priority of the ticket (using RT::Extension::SLA) > In a scrip I suppose? You can get the message body with: my $message = $self->TransactinObj->Attachments->First->Content; You will find additionnal informations and examples at http://wiki.bestpractical.com/. From todd at chaka.net Thu Feb 26 02:29:55 2009 From: todd at chaka.net (Todd Chapman) Date: Thu, 26 Feb 2009 02:29:55 -0500 Subject: [rt-users] Ticket taken twice In-Reply-To: <20090225211113.GG32682@17h.local> References: <20090225211113.GG32682@17h.local> Message-ID: <519782dc0902252329p7612d9ffi25be76e06c969997@mail.gmail.com> On Wed, Feb 25, 2009 at 4:11 PM, Jesse Vincent wrote: > > > > On Wed 25.Feb'09 at 12:25:39 -0800, Joachim Thuau wrote: >> >> Hello, >> >> I have RT-3.6.1, postgres backend, apache with mod_perl. > > Todd Chapman patched this issue in RT quite a while back. I don't > remember if it's in 3.6.7, but I believe it is. It's definitely fixed in > 3.8. That was about 4 years ago! I think it was fixed in 3.6.2. It felt good to find and fix that race condition. :) > >> We just stumbled upon a funny situation. I'm hoping one of you is going >> to be able to help me sort it out. >> >> A few minutes ago, 2 helpdesk techs used the "take" button, at pretty >> much the same time. Upon closer inspection, here are the interesting >> bits: >> >> The history, under "display", of that ticket shows the following output >> in the history: >> [create ticket bits here] >> # ? ? Wed Feb 25 11:35:50 2009 ? ? ? ? Tom ? - Taken >> >> # ? ? Wed Feb 25 11:35:50 2009 ? ? ? ? Geoff - Taken >> >> I asked Geoff to give the ticket back to Tom. When Geoff tried to set >> the owner to Tom, RT threw an error: "Could not change owner. Group >> already has member". So it looks like "Owner" is a group that, for this >> ticket, has 2 principals (which, I believe, it shouldn't have). We tried >> to "steal" the ticket, give it to nobody, and everytime, we get an error >> "Could not change owner. Group already has member". >> >> So the question is: how do I go about making the ticket behave properly? >> I suppose I need to go into the DB and fix it there. And I suppose some >> code probably needs to be fixed so that race condition doesn't happen >> (or is it fixed in newer versions?). >> >> Thank you, >> Jok >> >> _______________________________________________ >> 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 >> > > -- > > _______________________________________________ > 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 > From bertignac at gmail.com Thu Feb 26 02:31:00 2009 From: bertignac at gmail.com (L B) Date: Thu, 26 Feb 2009 08:31:00 +0100 Subject: [rt-users] Problem for new users in RT 3.8.2 " RT could not load avalid user" In-Reply-To: <1812308275-1235584602-cardhu_decombobulator_blackberry.rim.net-113435011-@bxe1246.bisx.prod.on.blackberry> References: <1812308275-1235584602-cardhu_decombobulator_blackberry.rim.net-113435011-@bxe1246.bisx.prod.on.blackberry> Message-ID: Yes I still have this queue. Maybe is it related to LDAP authentication ? I enabled LDAP in 3.8.2 with RT-Authen-ExternalAuth-0.08_01 plugin. Regarding mailgate, it's a simple usage : I get emails from a mailbox with pop and pass them through mailgate. Then it creates a ticket in "incoming" queue. On Wed, Feb 25, 2009 at 6:57 PM, Jay R. Ashworth wrote: > Is that queue still called 'incoming' in 3.8.2? > > What's your mailgate aimed at? > > --- > via Blackberry > > -----Original Message----- > From: L B > > Date: Wed, 25 Feb 2009 18:54:47 > To: > Subject: [rt-users] Problem for new users in RT 3.8.2 " RT could not load a > ? ? ? ?valid user" > > > Hello, > > ?Since my migration from 3.6.6 to 3.8.2, I get this message for > requests from new users : > > RT could not load a valid user, and RT's configuration does not allow > for the creation of a new user for this email (xxxx.xxxx at xxx.com). > > You might need to grant 'Everyone' the right 'CreateTicket' for the > queue incoming. > > > And of course, I have this right on the "incoming" queue. How can I fix this ? > > Thanks! > -- > L.B. > _______________________________________________ > 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 > -- L.B. From calvin at utilyx.com Thu Feb 26 05:11:51 2009 From: calvin at utilyx.com (Calvin Chiang) Date: Thu, 26 Feb 2009 10:11:51 +0000 Subject: [rt-users] Problem for new users in RT 3.8.2 " RT could not load avalid user" In-Reply-To: References: <1812308275-1235584602-cardhu_decombobulator_blackberry.rim.net-113435011-@bxe1246.bisx.prod.on.blackberry> Message-ID: <49A66AE7.5010704@utilyx.com> Hi i did a new install onto 3.8.2 I'm pretty sure i had this problem when my LDAP access user had not been given the correct rights etc. Are the users getting the bouncebacks on an LDAP system? if not you'll need to set the value below to 1. (you'll find this in your RT_SiteConfig.pm) # If this is set to 1, then users should be autocreated by RT # as internal users if they fail to authenticate from an # external service. Set($AutoCreateNonExternalUsers, 0); Calvin L B wrote: > Yes I still have this queue. Maybe is it related to LDAP > authentication ? I enabled LDAP in 3.8.2 with > RT-Authen-ExternalAuth-0.08_01 plugin. > > Regarding mailgate, it's a simple usage : I get emails from a mailbox > with pop and pass them through mailgate. Then it creates a ticket in > "incoming" queue. > > > On Wed, Feb 25, 2009 at 6:57 PM, Jay R. Ashworth > wrote: > >> Is that queue still called 'incoming' in 3.8.2? >> >> What's your mailgate aimed at? >> >> --- >> via Blackberry >> >> -----Original Message----- >> From: L B >> >> Date: Wed, 25 Feb 2009 18:54:47 >> To: >> Subject: [rt-users] Problem for new users in RT 3.8.2 " RT could not load a >> valid user" >> >> >> Hello, >> >> Since my migration from 3.6.6 to 3.8.2, I get this message for >> requests from new users : >> >> RT could not load a valid user, and RT's configuration does not allow >> for the creation of a new user for this email (xxxx.xxxx at xxx.com). >> >> You might need to grant 'Everyone' the right 'CreateTicket' for the >> queue incoming. >> >> >> And of course, I have this right on the "incoming" queue. How can I fix this ? >> >> Thanks! >> -- >> L.B. >> _______________________________________________ >> 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 >> >> > > > > -- Calvin Chiang Network Admin Utilyx 1st Floor, 55 North Wharf Road Paddington London, W2 1LA Tel: 020 7087 8673 www.utilyx.com ______________________________________________________________________ "Utilyx" is the trading name of "Utilyx Limited" and "Utilyx Risk Management Limited" (URML). URML is authorised and regulated by the Financial Services Authority (FSA). This message contains information that may be privileged or confidential and is the property of Utilyx. It is intended only for the person to whom it is addressed. No confidentiality or privilege is waived or lost by any mistransmission. Any views or opinions expressed in this message are solely those of the author and do not necessarily represent those of Utilyx. Unless otherwise stated, any pricing information given in this message is indicative only and does not constitute an offer to deal at any price quoted. If you are not the intended recipient, you are not authorized to read, print, retain, copy, disseminate, distribute or use this message or any part thereof. If you receive this message in error, please notify the sender immediately and delete all copies of this message. ______________________________________________________________________ This email has been scanned by the MessageLabs Email Security System. For more information please visit http://www.messagelabs.com/email ______________________________________________________________________ -------------- next part -------------- An HTML attachment was scrubbed... URL: From aaron at guise.net.nz Thu Feb 26 05:32:48 2009 From: aaron at guise.net.nz (Aaron Guise) Date: Thu, 26 Feb 2009 23:32:48 +1300 Subject: [rt-users] A little Scrip help Message-ID: Hi, I have implemented a scrip to notify the owner in the event someone else merges data into one of their tickets. All works well but alas it actually sends the notification twice. There is probably a real simple answer but it is baffling me. Have just ignored it the last few months but now I am a little beyond that. The scrip used is noted below; my $txn = $self->TransactionObj; return undef unless $txn->Type =~ /^AddLink$/i; return undef unless $txn->Field =~ /^MergedInto$/i; return 1; Any assistance in stopping this will be greatly appreciated. -- Regards Aaron -------------- next part -------------- An HTML attachment was scrubbed... URL: From c_apotla at qualcomm.com Thu Feb 26 07:32:23 2009 From: c_apotla at qualcomm.com (Potla, Ashish Bassaliel) Date: Thu, 26 Feb 2009 04:32:23 -0800 Subject: [rt-users] A little Scrip help In-Reply-To: References: , Message-ID: ________________________________________ From: Potla, Ashish Bassaliel Sent: Thursday, February 26, 2009 5:59 PM To: Aaron Guise Subject: RE: [rt-users] A little Scrip help Is the scrip set to 'Transaction Batch' or 'Transaction Create'? Set it to Transaction Batch. -Ashish ________________________________________ From: rt-users-bounces at lists.bestpractical.com [rt-users-bounces at lists.bestpractical.com] On Behalf Of Aaron Guise [aaron at guise.net.nz] Sent: Thursday, February 26, 2009 4:02 PM To: rt-users at lists.bestpractical.com Subject: [rt-users] A little Scrip help Hi, I have implemented a scrip to notify the owner in the event someone else merges data into one of their tickets. All works well but alas it actually sends the notification twice. There is probably a real simple answer but it is baffling me. Have just ignored it the last few months but now I am a little beyond that. The scrip used is noted below; my $txn = $self->TransactionObj; return undef unless $txn->Type =~ /^AddLink$/i; return undef unless $txn->Field =~ /^MergedInto$/i; return 1; Any assistance in stopping this will be greatly appreciated. -- Regards Aaron From Richard.Foley at rfi.net Thu Feb 26 07:54:54 2009 From: Richard.Foley at rfi.net (Richard Foley) Date: Thu, 26 Feb 2009 13:54:54 +0100 Subject: [rt-users] colorize status In-Reply-To: <3CE7D8D453B27148BBCA0B2063B11E64D600C7@s-wor-e-001.SCOUTSOFFICE.local> References: <4992C4110200003E00004F34@mail.finleysd.org> <200902251707.02433.Richard.Foley@rfi.net> <3CE7D8D453B27148BBCA0B2063B11E64D600C7@s-wor-e-001.SCOUTSOFFICE.local> Message-ID: <200902261354.54573.Richard.Foley@rfi.net> On Wednesday 25 February 2009 17:29:10 Alex Young wrote: > You say your file is: > /opt/rt3/local/html/Callbacks/MyCallbacks/Elements/RT__Ticket/Columnmap/ > Columnmap > > That's wrong. Columnmap should me ColumnMap in both instances. > Hi Alex, Having fixed the beginners mistake, (whoops :-] and thanks), I still have no joy. I must be doing something really daft. Perhaps I should show the directory structure I have, and why (I find) the instructions are confusing. Because the instructions refer to the 'directory just created', I have placed the statuscolor.css file in both the web2/ and the main.css/ directories, both under the html/Callbacks/MyCallbacks tree and under the html/NoAuth tree, too (one of these is clearly wrong). Please re-read the instructions to see how this can be misinterpreted - I've appended these below for reference. No doubt I'm reading this badly, but the end result is that this leaves me with the following structure: /opt/rt3/local/html # tree Callbacks/ NoAuth/ Callbacks/ `-- MyCallbacks |-- Elements | `-- RT__Ticket | `-- ColumnMap | `-- ColumnMap `-- NoAuth `-- css `-- web2 |-- main.css | |-- End | `-- statuscolor.css `-- statuscolor.css NoAuth/ `-- css `-- web2 |-- main.css | |-- End | `-- statuscolor.css `-- statuscolor.css Yes, I'm using the web2 theme and I've cleaned out the mason templates and restarted apache2, too, to no effect. -- Richard Foley Ciao - shorter than aufwiedersehen http://www.rfi.net/ * Create the directory: /local/html/Callbacks//NoAuth/css/web2/main.css * Create the file: /local/html/Callbacks//NoAuth/css/web2/main.css/End And in that file, put: @import "statuscolor.css"; * In the directory just created '/local/html/NoAuth/css/web2' you will need to create a new file. * Name the file statuscolor.css and place the following content in it. ... From alexyoung at scoutsolutions.co.uk Thu Feb 26 08:22:56 2009 From: alexyoung at scoutsolutions.co.uk (Alex Young) Date: Thu, 26 Feb 2009 13:22:56 -0000 Subject: [rt-users] colorize status In-Reply-To: <200902261354.54573.Richard.Foley@rfi.net> References: <4992C4110200003E00004F34@mail.finleysd.org> <200902251707.02433.Richard.Foley@rfi.net> <3CE7D8D453B27148BBCA0B2063B11E64D600C7@s-wor-e-001.SCOUTSOFFICE.local> <200902261354.54573.Richard.Foley@rfi.net> Message-ID: <3CE7D8D453B27148BBCA0B2063B11E64D6018A@s-wor-e-001.SCOUTSOFFICE.local> This is what I have: /opt/rt3/local/html# tree Callbacks/ NoAuth/ Callbacks/ `-- MyCallbacks |-- Elements | `-- RT__Ticket | `-- ColumnMap | |-- ColumnMap `-- NoAuth `-- css `-- web2 `-- main.css `-- End NoAuth/ `-- css `-- web2 `-- statuscolor.css -----Original Message----- From: Richard Foley [mailto:Richard.Foley at rfi.net] Sent: 26 February 2009 12:55 To: Alex Young Cc: rt-users at lists.bestpractical.com; Daniel Cook Subject: Re: [rt-users] colorize status On Wednesday 25 February 2009 17:29:10 Alex Young wrote: > You say your file is: > /opt/rt3/local/html/Callbacks/MyCallbacks/Elements/RT__Ticket/Columnmap/ > Columnmap > > That's wrong. Columnmap should me ColumnMap in both instances. > Hi Alex, Having fixed the beginners mistake, (whoops :-] and thanks), I still have no joy. I must be doing something really daft. Perhaps I should show the directory structure I have, and why (I find) the instructions are confusing. Because the instructions refer to the 'directory just created', I have placed the statuscolor.css file in both the web2/ and the main.css/ directories, both under the html/Callbacks/MyCallbacks tree and under the html/NoAuth tree, too (one of these is clearly wrong). Please re-read the instructions to see how this can be misinterpreted - I've appended these below for reference. No doubt I'm reading this badly, but the end result is that this leaves me with the following structure: /opt/rt3/local/html # tree Callbacks/ NoAuth/ Callbacks/ `-- MyCallbacks |-- Elements | `-- RT__Ticket | `-- ColumnMap | `-- ColumnMap `-- NoAuth `-- css `-- web2 |-- main.css | |-- End | `-- statuscolor.css `-- statuscolor.css NoAuth/ `-- css `-- web2 |-- main.css | |-- End | `-- statuscolor.css `-- statuscolor.css Yes, I'm using the web2 theme and I've cleaned out the mason templates and restarted apache2, too, to no effect. -- Richard Foley Ciao - shorter than aufwiedersehen http://www.rfi.net/ * Create the directory: /local/html/Callbacks//NoAuth/css/web2 /main.css * Create the file: /local/html/Callbacks//NoAuth/css/web2 /main.css/End And in that file, put: @import "statuscolor.css"; * In the directory just created '/local/html/NoAuth/css/web2' you will need to create a new file. * Name the file statuscolor.css and place the following content in it. ... From Richard.Foley at rfi.net Thu Feb 26 08:56:07 2009 From: Richard.Foley at rfi.net (Richard Foley) Date: Thu, 26 Feb 2009 14:56:07 +0100 Subject: [rt-users] colorize status In-Reply-To: <3CE7D8D453B27148BBCA0B2063B11E64D6018A@s-wor-e-001.SCOUTSOFFICE.local> References: <4992C4110200003E00004F34@mail.finleysd.org> <200902261354.54573.Richard.Foley@rfi.net> <3CE7D8D453B27148BBCA0B2063B11E64D6018A@s-wor-e-001.SCOUTSOFFICE.local> Message-ID: <200902261456.07982.Richard.Foley@rfi.net> On Thursday 26 February 2009 14:22:56 Alex Young wrote: > Hi Alex, Thanks for that, that seems very close to what I had apart from the duplicates, it's identical now, so there must be something else dozy going on. The css file is not picked up, and all my statuses continue to remain black. I might give up for the moment and come back to this later, when someone _really_ wants it... Just FYI and for reference, here's my current dir structure. /opt/rt3/local/html # tree Callbacks NoAuth Callbacks `-- MyCallbacks |-- Elements | `-- RT__Ticket | `-- ColumnMap | `-- ColumnMap `-- NoAuth `-- css `-- web2 `-- main.css `-- End NoAuth `-- css `-- web2 `-- statuscolor.css -- Richard Foley Ciao - shorter than aufwiedersehen http://www.rfi.net/ > This is what I have: > > /opt/rt3/local/html# tree Callbacks/ NoAuth/ > Callbacks/ > `-- MyCallbacks > |-- Elements > | `-- RT__Ticket > | `-- ColumnMap > | |-- ColumnMap > `-- NoAuth > `-- css > `-- web2 > `-- main.css > `-- End > NoAuth/ > `-- css > `-- web2 > `-- statuscolor.css > > > -----Original Message----- > From: Richard Foley [mailto:Richard.Foley at rfi.net] > Sent: 26 February 2009 12:55 > To: Alex Young > Cc: rt-users at lists.bestpractical.com; Daniel Cook > Subject: Re: [rt-users] colorize status > > On Wednesday 25 February 2009 17:29:10 Alex Young wrote: > > You say your file is: > > > /opt/rt3/local/html/Callbacks/MyCallbacks/Elements/RT__Ticket/Columnmap/ > > Columnmap > > > > That's wrong. Columnmap should me ColumnMap in both instances. > > > Hi Alex, > > Having fixed the beginners mistake, (whoops :-] and thanks), I still > have no joy. I must be doing something really daft. Perhaps I should > show the directory structure I have, and why (I find) the instructions > are confusing. Because the instructions refer to the 'directory > just created', I have placed the statuscolor.css file in both the web2/ > and the main.css/ directories, both under the > html/Callbacks/MyCallbacks tree and under the html/NoAuth tree, too (one > of these is clearly wrong). Please re-read the instructions to see > how this can be misinterpreted - I've appended these below for > reference. No doubt I'm reading this badly, but the end result is that > this > leaves me with the following structure: > > /opt/rt3/local/html # tree Callbacks/ NoAuth/ > Callbacks/ > `-- MyCallbacks > |-- Elements > | `-- RT__Ticket > | `-- ColumnMap > | `-- ColumnMap > `-- NoAuth > `-- css > `-- web2 > |-- main.css > | |-- End > | `-- statuscolor.css > `-- statuscolor.css > NoAuth/ > `-- css > `-- web2 > |-- main.css > | |-- End > | `-- statuscolor.css > `-- statuscolor.css > > Yes, I'm using the web2 theme and I've cleaned out the mason templates > and restarted apache2, too, to no effect. > > -- > Richard Foley > Ciao - shorter than aufwiedersehen > > http://www.rfi.net/ > > > * Create the directory: > /local/html/Callbacks//NoAuth/css/web2 > /main.css > * Create the file: > /local/html/Callbacks//NoAuth/css/web2 > /main.css/End > > And in that file, put: > > @import "statuscolor.css"; > > * In the directory just created > '/local/html/NoAuth/css/web2' you will need to create > a new file. > * Name the file statuscolor.css and place the following content in > it. > ... > From alexyoung at scoutsolutions.co.uk Thu Feb 26 09:03:37 2009 From: alexyoung at scoutsolutions.co.uk (Alex Young) Date: Thu, 26 Feb 2009 14:03:37 -0000 Subject: [rt-users] colorize status In-Reply-To: <200902261456.07982.Richard.Foley@rfi.net> References: <4992C4110200003E00004F34@mail.finleysd.org> <200902261354.54573.Richard.Foley@rfi.net> <3CE7D8D453B27148BBCA0B2063B11E64D6018A@s-wor-e-001.SCOUTSOFFICE.local> <200902261456.07982.Richard.Foley@rfi.net> Message-ID: <3CE7D8D453B27148BBCA0B2063B11E64D6019A@s-wor-e-001.SCOUTSOFFICE.local> I have attached the exact files I am using for you to try. If you have cleared the mason cache and restarted Apache i dont know what else to suggest. I have noticed that RT doesnt reload .css files unless its had an apache restart, rather than reload. Also make sure you clear your browser cache. -----Original Message----- From: Richard Foley [mailto:Richard.Foley at rfi.net] Sent: 26 February 2009 13:56 To: Alex Young Cc: rt-users at lists.bestpractical.com; Daniel Cook Subject: Re: [rt-users] colorize status On Thursday 26 February 2009 14:22:56 Alex Young wrote: > Hi Alex, Thanks for that, that seems very close to what I had apart from the duplicates, it's identical now, so there must be something else dozy going on. The css file is not picked up, and all my statuses continue to remain black. I might give up for the moment and come back to this later, when someone _really_ wants it... Just FYI and for reference, here's my current dir structure. /opt/rt3/local/html # tree Callbacks NoAuth Callbacks `-- MyCallbacks |-- Elements | `-- RT__Ticket | `-- ColumnMap | `-- ColumnMap `-- NoAuth `-- css `-- web2 `-- main.css `-- End NoAuth `-- css `-- web2 `-- statuscolor.css -- Richard Foley Ciao - shorter than aufwiedersehen http://www.rfi.net/ > This is what I have: > > /opt/rt3/local/html# tree Callbacks/ NoAuth/ > Callbacks/ > `-- MyCallbacks > |-- Elements > | `-- RT__Ticket > | `-- ColumnMap > | |-- ColumnMap > `-- NoAuth > `-- css > `-- web2 > `-- main.css > `-- End > NoAuth/ > `-- css > `-- web2 > `-- statuscolor.css > > > -----Original Message----- > From: Richard Foley [mailto:Richard.Foley at rfi.net] > Sent: 26 February 2009 12:55 > To: Alex Young > Cc: rt-users at lists.bestpractical.com; Daniel Cook > Subject: Re: [rt-users] colorize status > > On Wednesday 25 February 2009 17:29:10 Alex Young wrote: > > You say your file is: > > > /opt/rt3/local/html/Callbacks/MyCallbacks/Elements/RT__Ticket/Columnmap/ > > Columnmap > > > > That's wrong. Columnmap should me ColumnMap in both instances. > > > Hi Alex, > > Having fixed the beginners mistake, (whoops :-] and thanks), I still > have no joy. I must be doing something really daft. Perhaps I should > show the directory structure I have, and why (I find) the instructions > are confusing. Because the instructions refer to the 'directory > just created', I have placed the statuscolor.css file in both the web2/ > and the main.css/ directories, both under the > html/Callbacks/MyCallbacks tree and under the html/NoAuth tree, too (one > of these is clearly wrong). Please re-read the instructions to see > how this can be misinterpreted - I've appended these below for > reference. No doubt I'm reading this badly, but the end result is that > this > leaves me with the following structure: > > /opt/rt3/local/html # tree Callbacks/ NoAuth/ > Callbacks/ > `-- MyCallbacks > |-- Elements > | `-- RT__Ticket > | `-- ColumnMap > | `-- ColumnMap > `-- NoAuth > `-- css > `-- web2 > |-- main.css > | |-- End > | `-- statuscolor.css > `-- statuscolor.css > NoAuth/ > `-- css > `-- web2 > |-- main.css > | |-- End > | `-- statuscolor.css > `-- statuscolor.css > > Yes, I'm using the web2 theme and I've cleaned out the mason templates > and restarted apache2, too, to no effect. > > -- > Richard Foley > Ciao - shorter than aufwiedersehen > > http://www.rfi.net/ > > > * Create the directory: > /local/html/Callbacks//NoAuth/css/web2 > /main.css > * Create the file: > /local/html/Callbacks//NoAuth/css/web2 > /main.css/End > > And in that file, put: > > @import "statuscolor.css"; > > * In the directory just created > '/local/html/NoAuth/css/web2' you will need to create > a new file. > * Name the file statuscolor.css and place the following content in > it. > ... > -------------- next part -------------- A non-text attachment was scrubbed... Name: ColumnMap Type: application/octet-stream Size: 3985 bytes Desc: ColumnMap URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: End Type: application/octet-stream Size: 28 bytes Desc: End URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: statuscolor.css Type: text/css Size: 513 bytes Desc: statuscolor.css URL: From pboguszewski at library.wisc.edu Thu Feb 26 09:38:30 2009 From: pboguszewski at library.wisc.edu (Peter Boguszewski) Date: Thu, 26 Feb 2009 08:38:30 -0600 Subject: [rt-users] Problems with creating ticket linked from an asset in version 3.8.2 Message-ID: <49A6A966.7090501@library.wisc.edu> Hi all, Every time one of our users add a ticket that is linked to an asset, from the asset view, a ticket gets created but the content is only the first word of the body that is broken up to the first letter, then a blank space, then the rest of the word with nothing else. It is nice that the ticket gets created with the correct subject but the content is not so hot. Can anyone point me in a direction to troubleshoot this? Thanks, Pete -- _____________________________________ Peter Boguszewski Library Systems Administrator UW Madison - Library Technology Group pboguszewski at library.wisc.edu 608.262.4768 From lhostis.m at gmail.com Thu Feb 26 09:10:54 2009 From: lhostis.m at gmail.com (Michel L'HOSTIS) Date: Thu, 26 Feb 2009 15:10:54 +0100 Subject: [rt-users] Don't close the ticket if a custom field is empty Message-ID: Hi everyone, I'm new on scrips writing. I'm looking for a way to send a notification to the owner of a ticket if he forgot to fill a specific custom field. I'd like to keep the ticket opened as long as there is no value to this custom field. I can detect if the custom field is empty or not. -------------------------------------- if ( ($self->TransactionObj->Type eq "Status" && $self->TransactionObj->NewValue eq "resolved") && !$self->TicketObj->FirstCustomFieldValue('My custom field') ) { return 1; } return 0; -------------------------------------- I can easily re-open a ticket if this condition is true. I can also send a mail to the owner with the Notify module. But I'm not able to find a simple way to do both of this actions. Do someone have an idea? Thank you. Michel -------------- next part -------------- An HTML attachment was scrubbed... URL: From Richard.Foley at rfi.net Thu Feb 26 09:53:00 2009 From: Richard.Foley at rfi.net (Richard Foley) Date: Thu, 26 Feb 2009 15:53:00 +0100 Subject: [rt-users] colorize status In-Reply-To: <3CE7D8D453B27148BBCA0B2063B11E64D6019A@s-wor-e-001.SCOUTSOFFICE.local> References: <4992C4110200003E00004F34@mail.finleysd.org> <200902261456.07982.Richard.Foley@rfi.net> <3CE7D8D453B27148BBCA0B2063B11E64D6019A@s-wor-e-001.SCOUTSOFFICE.local> Message-ID: <200902261553.00463.Richard.Foley@rfi.net> On Thursday 26 February 2009 15:03:37 Alex Young wrote: > I have attached the exact files I am using for you to try. > Hi Alex, Thanks very much for those - they were not so very different from what I started with (apart from the dupes ;) I may go in and clarify the instructions on the wiki with my misunderstandings in mind. > If you have cleared the mason cache and restarted Apache i dont know > what else to suggest. I have noticed that RT doesnt reload .css files > unless its had an apache restart, rather than reload. Also make sure you > clear your browser cache. > I did all that previously, nothing worked. Finally I was able to reinstall RT and start from scratch, which is clearly not an ideal solution, but your files then worked like a dream. Unfortunately I'm still unsure what the actual reason for this non-functionality was but am somewhat suspicious of having added a new status (pending) via RT_SiteConfig.pm. Perhaps this shouldn't have had any effect, but I'm not convinced as the approvals also appear to be behaving somewhat better now (see other thread...) Cheers. -- Richard Foley Ciao - shorter than aufwiedersehen http://www.rfi.net/ From jet at mycolo.biz Thu Feb 26 09:19:55 2009 From: jet at mycolo.biz (Jet Wilda) Date: Thu, 26 Feb 2009 09:19:55 -0500 Subject: [rt-users] How to display a logo in RT 3.8.2 Message-ID: <49A6A50B.2070404@mycolo.biz> Hi, I followed these http://wiki.bestpractical.com/view/ChangeLogo directions, but there still isn't any logo getting displayed. When I do a view source I see the code for the logo but nothing is displayed on the page. I also found this http://www.gossamer-threads.com/lists/rt/users/78249?do=post_view_threaded which looks like the same issue I'm having. Any and all help is greatly appreciated. Thanks, ~Jet From Richard.Foley at rfi.net Thu Feb 26 10:20:49 2009 From: Richard.Foley at rfi.net (Richard Foley) Date: Thu, 26 Feb 2009 16:20:49 +0100 Subject: [rt-users] RTx::WorkflowBuilder is now available on CPAN In-Reply-To: <34E94CF4-B2B1-4749-9FC9-F2607495DAB4@bestpractical.com> References: <34E94CF4-B2B1-4749-9FC9-F2607495DAB4@bestpractical.com> Message-ID: <200902261620.50061.Richard.Foley@rfi.net> On Tuesday 24 February 2009 12:42:15 Chia-liang Kao wrote: > Hi, > > RTx::WorkflowBuilder is a tool that helps you configure multi-stage > approval workflow in rt. > > It is now available at http://search.cpan.org/dist/RTx-WorkflowBuilder/. > Hi Chia-liang, This looks good, although it doesn't appear to work smoothly yet. 1. In your pod you have: % bin/rt?workflow PO PO?Approval ??create Which should probably read: % bin/rt?workflow --create PO PO?Approval 2. When I had set up the workflow within my RT_SiteConfig.pm, and run the bin/rt-workflow script to create the scrips and templates, I naturally created a ticket. Nothing happened, but I noticed in the logs there was the following entry: Found 0 scrips for TransactionBatch stage with applicable type(s) So, I changed went into: Configuration -> Queues -> crs -> Scrips and changed "Stage" from "Transaction Create" to "Transaction Batch". 3. The next time I created a ticket, the workflow/approval mechanism kicked in and the log files filled up, but no approvals were created - because of a stray character: ENDOFCONTENT (/opt/rt3/bin/../lib/RT/Action/CreateTickets.pm:669) [Thu Feb 26 14:50:29 2009] [error]: Ticket creation failed: Unrecognized character \xE2 in column 44 at template line 1. Stack: [template:1] [/opt/rt3/bin/../lib/RT/Action/CreateTickets.pm:667] [/opt/rt3/bin/../lib/RT/Action/CreateTickets.pm:366] [/opt/rt3/bin/../lib/RT/Action/CreateTickets.pm:303] [/opt/rt3/bin/../lib/RT/ScripAction_Overlay.pm:238] [/opt/rt3/bin/../lib/RT/Scrip_Overlay.pm:464] [/opt/rt3/bin/../lib/RT/Scrips_Overlay.pm:196] [/opt/rt3/bin/../lib/RT/Scrips_Overlay.pm:175] [/opt/rt3/bin/../lib/RT/Ticket_Overlay.pm:3165] [/opt/rt3/local/html/Ticket/Create.html:394] [/opt/rt3/share/html/autohandler:311] (/opt/rt3/bin/../lib/RT/Action/CreateTickets.pm:672) [Thu Feb 26 14:50:29 2009] [warning]: Exiting subroutine via next at /opt/rt3/bin/../lib/RT/Action/CreateTickets.pm line 678. (/opt/rt3/bin/../lib/RT/Action/CreateTickets.pm:678) I'm not sure which bit of which Template, or code, might be causing this error, but I think we're close to having a working Approvals system in the outside world though. What do you think? -- Richard Foley Ciao - shorter than aufwiedersehen http://www.rfi.net/ From Richard.Foley at rfi.net Thu Feb 26 10:20:49 2009 From: Richard.Foley at rfi.net (Richard Foley) Date: Thu, 26 Feb 2009 16:20:49 +0100 Subject: [rt-users] RTx::WorkflowBuilder is now available on CPAN In-Reply-To: <34E94CF4-B2B1-4749-9FC9-F2607495DAB4@bestpractical.com> References: <34E94CF4-B2B1-4749-9FC9-F2607495DAB4@bestpractical.com> Message-ID: <200902261620.50061.Richard.Foley@rfi.net> On Tuesday 24 February 2009 12:42:15 Chia-liang Kao wrote: > Hi, > > RTx::WorkflowBuilder is a tool that helps you configure multi-stage > approval workflow in rt. > > It is now available at http://search.cpan.org/dist/RTx-WorkflowBuilder/. > Hi Chia-liang, This looks good, although it doesn't appear to work smoothly yet. 1. In your pod you have: % bin/rt?workflow PO PO?Approval ??create Which should probably read: % bin/rt?workflow --create PO PO?Approval 2. When I had set up the workflow within my RT_SiteConfig.pm, and run the bin/rt-workflow script to create the scrips and templates, I naturally created a ticket. Nothing happened, but I noticed in the logs there was the following entry: Found 0 scrips for TransactionBatch stage with applicable type(s) So, I changed went into: Configuration -> Queues -> crs -> Scrips and changed "Stage" from "Transaction Create" to "Transaction Batch". 3. The next time I created a ticket, the workflow/approval mechanism kicked in and the log files filled up, but no approvals were created - because of a stray character: ENDOFCONTENT (/opt/rt3/bin/../lib/RT/Action/CreateTickets.pm:669) [Thu Feb 26 14:50:29 2009] [error]: Ticket creation failed: Unrecognized character \xE2 in column 44 at template line 1. Stack: [template:1] [/opt/rt3/bin/../lib/RT/Action/CreateTickets.pm:667] [/opt/rt3/bin/../lib/RT/Action/CreateTickets.pm:366] [/opt/rt3/bin/../lib/RT/Action/CreateTickets.pm:303] [/opt/rt3/bin/../lib/RT/ScripAction_Overlay.pm:238] [/opt/rt3/bin/../lib/RT/Scrip_Overlay.pm:464] [/opt/rt3/bin/../lib/RT/Scrips_Overlay.pm:196] [/opt/rt3/bin/../lib/RT/Scrips_Overlay.pm:175] [/opt/rt3/bin/../lib/RT/Ticket_Overlay.pm:3165] [/opt/rt3/local/html/Ticket/Create.html:394] [/opt/rt3/share/html/autohandler:311] (/opt/rt3/bin/../lib/RT/Action/CreateTickets.pm:672) [Thu Feb 26 14:50:29 2009] [warning]: Exiting subroutine via next at /opt/rt3/bin/../lib/RT/Action/CreateTickets.pm line 678. (/opt/rt3/bin/../lib/RT/Action/CreateTickets.pm:678) I'm not sure which bit of which Template, or code, might be causing this error, but I think we're close to having a working Approvals system in the outside world though. What do you think? -- Richard Foley Ciao - shorter than aufwiedersehen http://www.rfi.net/ From jet at mycolo.biz Thu Feb 26 10:45:15 2009 From: jet at mycolo.biz (Jet Wilda) Date: Thu, 26 Feb 2009 10:45:15 -0500 Subject: [rt-users] How to display a logo in RT 3.8.2 In-Reply-To: <49A6A50B.2070404@mycolo.biz> References: <49A6A50B.2070404@mycolo.biz> Message-ID: <49A6B90B.5040100@mycolo.biz> Also when I navigate directly to the image I get: The image ?http://servername/rt/NoAuth/images/logo.gif? cannot be displayed, because it contains errors. However if I open up Firefox on that machine and then open up that image file it opens fine. Any ideas? Jet Wilda wrote: > Hi, > > I followed these http://wiki.bestpractical.com/view/ChangeLogo > directions, but there still isn't any logo getting displayed. When I do > a view source I see the code for the logo but nothing is displayed on > the page. I also found this > http://www.gossamer-threads.com/lists/rt/users/78249?do=post_view_threaded > which looks like the same issue I'm having. Any and all help is greatly > appreciated. > > Thanks, > ~Jet > _______________________________________________ > 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 > > From sklutch at hostile.org Thu Feb 26 11:04:05 2009 From: sklutch at hostile.org (Simon Jester) Date: Thu, 26 Feb 2009 16:04:05 +0000 (UTC) Subject: [rt-users] RT 3.6 Change look and feel of customized fields References: <0111C34BD897FD41841D60396F2AD3D3017D40A0CC@IMCMBX2.MITRE.ORG> Message-ID: Eggers, Ken F. mitre.org> writes: > Can the fields look and feel as displayed in the browser be > altered (see how much I am a novice!)?? > > Not looking to major radical changes, just some simple > sizing to allow text in the field to display completely. > > Ken > I created local EditCustomFields in /opt/rt3/local/html/Elements/ which changed the $Rows & $Columns values to 5 and 75, respectively. Now the boxes are large enough that my users aren't complaining. :) sklutch From stephen.a.cochran.lists at cahir.net Thu Feb 26 11:17:47 2009 From: stephen.a.cochran.lists at cahir.net (Stephen Cochran) Date: Thu, 26 Feb 2009 11:17:47 -0500 Subject: [rt-users] Relative Dates in Search Message-ID: <35ccbd010902260817i488e697m5cfcba04667cecc8@mail.gmail.com> Is there a way to specific a relative date in a search so that when saved it will calculate off the current date? For example tickets from the past two weeks but without having to adjust the date in the search? -------------- next part -------------- An HTML attachment was scrubbed... URL: From cassandra at bestpractical.com Thu Feb 26 11:36:57 2009 From: cassandra at bestpractical.com (Cassandra Phillips-Sears) Date: Thu, 26 Feb 2009 11:36:57 -0500 Subject: [rt-users] Relative Dates in Search In-Reply-To: <35ccbd010902260817i488e697m5cfcba04667cecc8@mail.gmail.com> References: <35ccbd010902260817i488e697m5cfcba04667cecc8@mail.gmail.com> Message-ID: <08C78D2D-4103-4FF4-AAD4-8FD509DB0A9E@bestpractical.com> Hi Stephen. I use some dashboard searches that work like this. I usually calculate my searches from the ticket's due date, but you could use the "started" date or "created" or any other date you wanted. To see things that are due today and were due any time in the past, I use the following string in my search after setting other criteria: AND ( Due = 'today' OR Due < 'today') I also have another search that shows me things that aren't due yet: AND Due > 'today' If you are looking for more relative dates, I played around with this format for a few minutes and it seemed to work: AND ( Due < 'today' AND Due > 'last week' ) Let me know if it works for you. It looks like you can get it down to 1 week in either direction, but I don't know how it would be adapted to show something like "two weeks ago" or "the week before last week," though. I tried putting those phrases in the strings and the query didn't return what I wanted. -- Cassandra Phillips-Sears Office Manager Best Practical Solutions, LLC http://www.bestpractical.com On Feb 26, 2009, at 11:17 AM 2/26/09, Stephen Cochran wrote: > > Is there a way to specific a relative date in a search so that when > saved it will calculate off the current date? For example tickets > from the past two weeks but without having to adjust the date in the > search? > > > _______________________________________________ > 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 From hdp.rt.users at weftsoar.net Thu Feb 26 11:34:32 2009 From: hdp.rt.users at weftsoar.net (Hans Dieter Pearcey) Date: Thu, 26 Feb 2009 11:34:32 -0500 Subject: [rt-users] Relative Dates in Search In-Reply-To: <08C78D2D-4103-4FF4-AAD4-8FD509DB0A9E@bestpractical.com> References: <35ccbd010902260817i488e697m5cfcba04667cecc8@mail.gmail.com> <08C78D2D-4103-4FF4-AAD4-8FD509DB0A9E@bestpractical.com> Message-ID: <20090226163431.GI31656@glaive.weftsoar.net> On Thu, Feb 26, 2009 at 11:36:57AM -0500, Cassandra Phillips-Sears wrote: > It looks like you can get it down to 1 week in either direction, but I > don't know how it would be adapted to show something like "two weeks > ago" or "the week before last week," though. Use numerals instead of words for numbers. % perl -MTime::ParseDate -le 'print for scalar localtime, scalar localtime Time::ParseDate::parsedate("2 weeks ago")' Thu Feb 26 11:33:52 2009 Thu Feb 12 11:33:52 2009 hdp. From cassandra at bestpractical.com Thu Feb 26 11:45:56 2009 From: cassandra at bestpractical.com (Cassandra Phillips-Sears) Date: Thu, 26 Feb 2009 11:45:56 -0500 Subject: [rt-users] Relative Dates in Search In-Reply-To: <08C78D2D-4103-4FF4-AAD4-8FD509DB0A9E@bestpractical.com> References: <35ccbd010902260817i488e697m5cfcba04667cecc8@mail.gmail.com> <08C78D2D-4103-4FF4-AAD4-8FD509DB0A9E@bestpractical.com> Message-ID: <8136A24D-D75D-4E07-9ED6-57AC1CE4633C@bestpractical.com> Hi Stephen. I think I've got it. You can use + and - signs in front to increment the numbers of weeks, months, etc. So, if you want to see all tickets due in the past 2 weeks before today, you'd add this to your search: ( Due < 'today' AND Due > '-2 week' ) If you wanted to see all the tickets due today and coming up for the next 2 weeks, you could try: ( Due = 'today' AND Due > '+2 week' ) And so on and so forth. -- Cassandra Phillips-Sears cassandra at bestpractical.com Office Manager Best Practical Solutions, LLC http://www.bestpractical.com On Feb 26, 2009, at 11:36 AM 2/26/09, Cassandra Phillips-Sears wrote: > Hi Stephen. I use some dashboard searches that work like this. I > usually calculate my searches from the ticket's due date, but you > could use the "started" date or "created" or any other date you > wanted. > > To see things that are due today and were due any time in the past, > I use the following string in my search after setting other criteria: > > AND ( Due = 'today' OR Due < 'today') > > I also have another search that shows me things that aren't due yet: > > AND Due > 'today' > > If you are looking for more relative dates, I played around with > this format for a few minutes and it seemed to work: > > AND ( Due < 'today' AND Due > 'last week' ) > > Let me know if it works for you. > > It looks like you can get it down to 1 week in either direction, but > I don't know how it would be adapted to show something like "two > weeks ago" or "the week before last week," though. I tried putting > those phrases in the strings and the query didn't return what I > wanted. > -- > Cassandra Phillips-Sears > > Office Manager > Best Practical Solutions, LLC > http://www.bestpractical.com > > On Feb 26, 2009, at 11:17 AM 2/26/09, Stephen Cochran wrote: > >> >> Is there a way to specific a relative date in a search so that when >> saved it will calculate off the current date? For example tickets >> from the past two weeks but without having to adjust the date in >> the search? >> >> >> _______________________________________________ >> 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 > From Richard.Foley at rfi.net Thu Feb 26 11:52:52 2009 From: Richard.Foley at rfi.net (Richard Foley) Date: Thu, 26 Feb 2009 17:52:52 +0100 Subject: [rt-users] RTx::WorkflowBuilder - Unrecognized character \xE2 In-Reply-To: <200902261620.50061.Richard.Foley@rfi.net> References: <34E94CF4-B2B1-4749-9FC9-F2607495DAB4@bestpractical.com> <200902261620.50061.Richard.Foley@rfi.net> Message-ID: <200902261752.52587.Richard.Foley@rfi.net> Oh, wait a minute, there's more. 1. Going into: Configuration -> Queues -> crs -> Scrips I made sure each subject line was on single line and replaced a couple of stray dashes, (I think the \xE2 was a "?>" thing instead of a "?>" thing in the auto-generated template from bin/rt-workflow - which was installed via the CPAN), like this: Subject: Development Approval for: {$Tickets{TOP}->Id} ? $Tickets{TOP}->Subject} 2. Which brought me to this error: Use of uninitialized value $content in concatenation (.) or string at /opt/rt3/bin/../lib/RT/Action/CreateTickets.pm line 669. Which I fudged with this: $content = '' unless $content; 3. Which brought me to here: [Thu Feb 26 16:50:59 2009] [debug]: Workflow: processing create-workflow-Implemented Approval of RT::Ticket=HASH(0x7fe03efb52f0) (/opt/rt3/bin/../lib/RT/Action/CreateTickets.pm:360) [Thu Feb 26 16:50:59 2009] [debug]: Workflow: evaluating Subject: Implemented Approval for: {$Tickets{TOP}->Id} - $Tickets{TOP}->Subject} Refers-To: TOP Queue: ___Approvals Owner: Requestors: {$Tickets{TOP}->Requestors} Depended-On-By: TOP Type: approval Depends-On: workflow-Tested Approval Content-Type: text/plain Due: {time + 86400} Content: xxx ENDOFCONTENT (/opt/rt3/bin/../lib/RT/Action/CreateTickets.pm:653) [Thu Feb 26 16:50:59 2009] [debug]: Workflow: yielding (/opt/rt3/bin/../lib/RT/Action/CreateTickets.pm:671) [Thu Feb 26 16:50:59 2009] [debug]: not a recognised queue object. (/opt/rt3/bin/../lib/RT/Ticket_Overlay.pm:279) [Thu Feb 26 16:50:59 2009] [debug]: RT::Ticket=HASH(0x7fe03f1c0278) No queue given for ticket creation. (/opt/rt3/bin/../lib/RT/Ticket_Overlay.pm:284) [Thu Feb 26 16:50:59 2009] [error]: Couldn't create related ticket create-workflow-Implemented Approval for 16 Could not create ticket. Queue not set (/opt/rt3/bin/../lib/RT/Action/CreateTickets.pm:391) Which makes me think I must be yet closer to a working approvals system, but still no potato in sight...sigh! All (helpful) suggestions welcome, Chia-liang! -- Richard Foley Ciao - shorter than aufwiedersehen http://www.rfi.net/ On Thursday 26 February 2009 16:20:49 Richard Foley wrote: > On Tuesday 24 February 2009 12:42:15 Chia-liang Kao wrote: > > Hi, > > > > RTx::WorkflowBuilder is a tool that helps you configure multi-stage > > approval workflow in rt. > > > > It is now available at http://search.cpan.org/dist/RTx-WorkflowBuilder/. > > > Hi Chia-liang, > > This looks good, although it doesn't appear to work smoothly yet. > > 1. In your pod you have: > > % bin/rt?workflow PO PO?Approval ??create > > Which should probably read: > > % bin/rt?workflow --create PO PO?Approval > > 2. When I had set up the workflow within my RT_SiteConfig.pm, and run the > bin/rt-workflow script to create the scrips and templates, I naturally > created a ticket. Nothing happened, but I noticed in the logs there was the > following entry: > > Found 0 scrips for TransactionBatch stage with applicable type(s) > > So, I changed went into: > > Configuration -> Queues -> crs -> Scrips > > and changed "Stage" from "Transaction Create" to "Transaction Batch". > > 3. The next time I created a ticket, the workflow/approval mechanism kicked in > and the log files filled up, but no approvals were created - because of a > stray character: > > ENDOFCONTENT (/opt/rt3/bin/../lib/RT/Action/CreateTickets.pm:669) > [Thu Feb 26 14:50:29 2009] [error]: Ticket creation failed: Unrecognized > character \xE2 in column 44 at template line 1. > > Stack: > [template:1] > [/opt/rt3/bin/../lib/RT/Action/CreateTickets.pm:667] > [/opt/rt3/bin/../lib/RT/Action/CreateTickets.pm:366] > [/opt/rt3/bin/../lib/RT/Action/CreateTickets.pm:303] > [/opt/rt3/bin/../lib/RT/ScripAction_Overlay.pm:238] > [/opt/rt3/bin/../lib/RT/Scrip_Overlay.pm:464] > [/opt/rt3/bin/../lib/RT/Scrips_Overlay.pm:196] > [/opt/rt3/bin/../lib/RT/Scrips_Overlay.pm:175] > [/opt/rt3/bin/../lib/RT/Ticket_Overlay.pm:3165] > [/opt/rt3/local/html/Ticket/Create.html:394] > [/opt/rt3/share/html/autohandler:311] > (/opt/rt3/bin/../lib/RT/Action/CreateTickets.pm:672) > [Thu Feb 26 14:50:29 2009] [warning]: Exiting subroutine via next > at /opt/rt3/bin/../lib/RT/Action/CreateTickets.pm line 678. > (/opt/rt3/bin/../lib/RT/Action/CreateTickets.pm:678) > > I'm not sure which bit of which Template, or code, might be causing this > error, but I think we're close to having a working Approvals system in the > outside world though. What do you think? > > -- > Richard Foley > Ciao - shorter than aufwiedersehen > > http://www.rfi.net/ > _______________________________________________ > 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 From Richard.Foley at rfi.net Thu Feb 26 11:52:52 2009 From: Richard.Foley at rfi.net (Richard Foley) Date: Thu, 26 Feb 2009 17:52:52 +0100 Subject: [rt-users] RTx::WorkflowBuilder - Unrecognized character \xE2 In-Reply-To: <200902261620.50061.Richard.Foley@rfi.net> References: <34E94CF4-B2B1-4749-9FC9-F2607495DAB4@bestpractical.com> <200902261620.50061.Richard.Foley@rfi.net> Message-ID: <200902261752.52587.Richard.Foley@rfi.net> Oh, wait a minute, there's more. 1. Going into: Configuration -> Queues -> crs -> Scrips I made sure each subject line was on single line and replaced a couple of stray dashes, (I think the \xE2 was a "?>" thing instead of a "?>" thing in the auto-generated template from bin/rt-workflow - which was installed via the CPAN), like this: Subject: Development Approval for: {$Tickets{TOP}->Id} ? $Tickets{TOP}->Subject} 2. Which brought me to this error: Use of uninitialized value $content in concatenation (.) or string at /opt/rt3/bin/../lib/RT/Action/CreateTickets.pm line 669. Which I fudged with this: $content = '' unless $content; 3. Which brought me to here: [Thu Feb 26 16:50:59 2009] [debug]: Workflow: processing create-workflow-Implemented Approval of RT::Ticket=HASH(0x7fe03efb52f0) (/opt/rt3/bin/../lib/RT/Action/CreateTickets.pm:360) [Thu Feb 26 16:50:59 2009] [debug]: Workflow: evaluating Subject: Implemented Approval for: {$Tickets{TOP}->Id} - $Tickets{TOP}->Subject} Refers-To: TOP Queue: ___Approvals Owner: Requestors: {$Tickets{TOP}->Requestors} Depended-On-By: TOP Type: approval Depends-On: workflow-Tested Approval Content-Type: text/plain Due: {time + 86400} Content: xxx ENDOFCONTENT (/opt/rt3/bin/../lib/RT/Action/CreateTickets.pm:653) [Thu Feb 26 16:50:59 2009] [debug]: Workflow: yielding (/opt/rt3/bin/../lib/RT/Action/CreateTickets.pm:671) [Thu Feb 26 16:50:59 2009] [debug]: not a recognised queue object. (/opt/rt3/bin/../lib/RT/Ticket_Overlay.pm:279) [Thu Feb 26 16:50:59 2009] [debug]: RT::Ticket=HASH(0x7fe03f1c0278) No queue given for ticket creation. (/opt/rt3/bin/../lib/RT/Ticket_Overlay.pm:284) [Thu Feb 26 16:50:59 2009] [error]: Couldn't create related ticket create-workflow-Implemented Approval for 16 Could not create ticket. Queue not set (/opt/rt3/bin/../lib/RT/Action/CreateTickets.pm:391) Which makes me think I must be yet closer to a working approvals system, but still no potato in sight...sigh! All (helpful) suggestions welcome, Chia-liang! -- Richard Foley Ciao - shorter than aufwiedersehen http://www.rfi.net/ On Thursday 26 February 2009 16:20:49 Richard Foley wrote: > On Tuesday 24 February 2009 12:42:15 Chia-liang Kao wrote: > > Hi, > > > > RTx::WorkflowBuilder is a tool that helps you configure multi-stage > > approval workflow in rt. > > > > It is now available at http://search.cpan.org/dist/RTx-WorkflowBuilder/. > > > Hi Chia-liang, > > This looks good, although it doesn't appear to work smoothly yet. > > 1. In your pod you have: > > % bin/rt?workflow PO PO?Approval ??create > > Which should probably read: > > % bin/rt?workflow --create PO PO?Approval > > 2. When I had set up the workflow within my RT_SiteConfig.pm, and run the > bin/rt-workflow script to create the scrips and templates, I naturally > created a ticket. Nothing happened, but I noticed in the logs there was the > following entry: > > Found 0 scrips for TransactionBatch stage with applicable type(s) > > So, I changed went into: > > Configuration -> Queues -> crs -> Scrips > > and changed "Stage" from "Transaction Create" to "Transaction Batch". > > 3. The next time I created a ticket, the workflow/approval mechanism kicked in > and the log files filled up, but no approvals were created - because of a > stray character: > > ENDOFCONTENT (/opt/rt3/bin/../lib/RT/Action/CreateTickets.pm:669) > [Thu Feb 26 14:50:29 2009] [error]: Ticket creation failed: Unrecognized > character \xE2 in column 44 at template line 1. > > Stack: > [template:1] > [/opt/rt3/bin/../lib/RT/Action/CreateTickets.pm:667] > [/opt/rt3/bin/../lib/RT/Action/CreateTickets.pm:366] > [/opt/rt3/bin/../lib/RT/Action/CreateTickets.pm:303] > [/opt/rt3/bin/../lib/RT/ScripAction_Overlay.pm:238] > [/opt/rt3/bin/../lib/RT/Scrip_Overlay.pm:464] > [/opt/rt3/bin/../lib/RT/Scrips_Overlay.pm:196] > [/opt/rt3/bin/../lib/RT/Scrips_Overlay.pm:175] > [/opt/rt3/bin/../lib/RT/Ticket_Overlay.pm:3165] > [/opt/rt3/local/html/Ticket/Create.html:394] > [/opt/rt3/share/html/autohandler:311] > (/opt/rt3/bin/../lib/RT/Action/CreateTickets.pm:672) > [Thu Feb 26 14:50:29 2009] [warning]: Exiting subroutine via next > at /opt/rt3/bin/../lib/RT/Action/CreateTickets.pm line 678. > (/opt/rt3/bin/../lib/RT/Action/CreateTickets.pm:678) > > I'm not sure which bit of which Template, or code, might be causing this > error, but I think we're close to having a working Approvals system in the > outside world though. What do you think? > > -- > Richard Foley > Ciao - shorter than aufwiedersehen > > http://www.rfi.net/ > _______________________________________________ > 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 From cassandra at bestpractical.com Thu Feb 26 12:10:35 2009 From: cassandra at bestpractical.com (Cassandra Phillips-Sears) Date: Thu, 26 Feb 2009 12:10:35 -0500 Subject: [rt-users] Relative Dates in Search In-Reply-To: <20090226163431.GI31656@glaive.weftsoar.net> References: <35ccbd010902260817i488e697m5cfcba04667cecc8@mail.gmail.com> <08C78D2D-4103-4FF4-AAD4-8FD509DB0A9E@bestpractical.com> <20090226163431.GI31656@glaive.weftsoar.net> Message-ID: Thanks Hans! -- Cassandra Phillips-Sears cassandra at bestpractical.com Office Manager Best Practical Solutions, LLC http://www.bestpractical.com On Feb 26, 2009, at 11:34 AM 2/26/09, Hans Dieter Pearcey wrote: > On Thu, Feb 26, 2009 at 11:36:57AM -0500, Cassandra Phillips-Sears > wrote: >> It looks like you can get it down to 1 week in either direction, >> but I >> don't know how it would be adapted to show something like "two weeks >> ago" or "the week before last week," though. > > Use numerals instead of words for numbers. > > % perl -MTime::ParseDate -le 'print for scalar localtime, scalar > localtime Time::ParseDate::parsedate("2 weeks ago")' > Thu Feb 26 11:33:52 2009 > Thu Feb 12 11:33:52 2009 > > hdp. > _______________________________________________ > 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 From matthew.seaman at thebunker.net Thu Feb 26 12:57:39 2009 From: matthew.seaman at thebunker.net (Matthew Seaman) Date: Thu, 26 Feb 2009 17:57:39 +0000 Subject: [rt-users] How to display a logo in RT 3.8.2 In-Reply-To: <49A6A50B.2070404@mycolo.biz> References: <49A6A50B.2070404@mycolo.biz> Message-ID: <49A6D813.6020604@thebunker.net> Jet Wilda wrote: > Hi, > > I followed these http://wiki.bestpractical.com/view/ChangeLogo > directions, but there still isn't any logo getting displayed. When I do > a view source I see the code for the logo but nothing is displayed on > the page. I also found this > http://www.gossamer-threads.com/lists/rt/users/78249?do=post_view_threaded > which looks like the same issue I'm having. Any and all help is greatly > appreciated. The CSS for the web2 style prevents the logo image being displayed. As a quick way of telling that the modifications you made so far are correct, try setting your preferences to use one of the other styles. The logo should appear. To make the logo appear under the default web2 style, as well as changing the background to match the colour scheme of our company logo I created a local copy of layout.css with the following changes: % diff -u /usr/local/share/rt38/html/NoAuth/css/web2/layout.css /usr/local/www/rt38/NoAuth/css/web2/layout.css --- /usr/local/share/rt38/html/NoAuth/css/web2/layout.css 2009-02-25 22:19:11.000000000 +0000 +++ /usr/local/www/rt38/NoAuth/css/web2/layout.css 2009-02-17 11:37:42.000000000 +0000 @@ -53,7 +53,7 @@ padding:0; margin:0; - background: #547CCC url(<%RT->Config->Get('WebPath')%>/NoAuth/css/web2/images/background-gradient.png) top left repeat-x ; + background: #a2a2a2 url(<%RT->Config->Get('WebPath')%>/NoAuth/css/web2/images/background-gradient.png) top left repeat-x ; font-family: arial, helvetica, sans-serif; } @@ -163,10 +163,10 @@ div#logo a { - display: none; - position: absolute; - left: 0; - bottom: 0; + /* display: none; */ + position: fixed; + left: 1%; + bottom: 1%; } div#logo a img { border: 0; (Note the file names are from the FreeBSD layout for rt-3.8.x -- on most systems the original file would be in ${RTHOME}/html/NoAuth/css/web2/layout.css and the modified copy should go into ${RTHOME}/local/NoAuth/css/web2/layout.css) This displays the logo in the bottom left of the browser window -- it's fixed relative to the window rather than scrolling with the page content. I also cooked up a modified background-gradient.png in gimp -- just changing the colours -- which I installed into /usr/local/www/rt38/NoAuth/css/web2/images/source/background-gradient.png. In order to get it to display I had to copy /usr/local/share/rt38/html/NoAuth/css/web2/images/dhandler to /usr/local/www/rt38/NoAuth/css/web2/images/dhandler Et voil?. Cheers, Matthew -- Dr Matthew Seaman The Bunker, Ash Radar Station PGP: 0x60AE908C on servers Marshborough Rd Tel: +44 1304 814890 Sandwich Fax: +44 1304 814899 Kent, CT13 0PL, UK -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 259 bytes Desc: OpenPGP digital signature URL: From jesse at bestpractical.com Thu Feb 26 13:14:54 2009 From: jesse at bestpractical.com (Jesse Vincent) Date: Thu, 26 Feb 2009 13:14:54 -0500 Subject: [rt-users] RTx::WorkflowBuilder - Unrecognized character \xE2 In-Reply-To: <200902261752.52587.Richard.Foley@rfi.net> References: <34E94CF4-B2B1-4749-9FC9-F2607495DAB4@bestpractical.com> <200902261620.50061.Richard.Foley@rfi.net> <200902261752.52587.Richard.Foley@rfi.net> Message-ID: <20090226181454.GP32682@17h.local> > I made sure each subject line was on single line and replaced a couple of stray dashes, (I think the \xE2 was > a "?>" thing instead of a "?>" thing in the auto-generated template from bin/rt-workflow - which was installed via > the CPAN), like this: Did you copy and paste from perldoc? If so, you're running into nroff/man being "too smart". LC_ALL=C perldoc RTx::WorkflowBuilder will get you things you can copy and paste safely. From jesse at bestpractical.com Thu Feb 26 13:14:54 2009 From: jesse at bestpractical.com (Jesse Vincent) Date: Thu, 26 Feb 2009 13:14:54 -0500 Subject: [rt-users] RTx::WorkflowBuilder - Unrecognized character \xE2 In-Reply-To: <200902261752.52587.Richard.Foley@rfi.net> References: <34E94CF4-B2B1-4749-9FC9-F2607495DAB4@bestpractical.com> <200902261620.50061.Richard.Foley@rfi.net> <200902261752.52587.Richard.Foley@rfi.net> Message-ID: <20090226181454.GP32682@17h.local> > I made sure each subject line was on single line and replaced a couple of stray dashes, (I think the \xE2 was > a "?>" thing instead of a "?>" thing in the auto-generated template from bin/rt-workflow - which was installed via > the CPAN), like this: Did you copy and paste from perldoc? If so, you're running into nroff/man being "too smart". LC_ALL=C perldoc RTx::WorkflowBuilder will get you things you can copy and paste safely. From Richard.Foley at rfi.net Thu Feb 26 13:17:28 2009 From: Richard.Foley at rfi.net (Richard Foley) Date: Thu, 26 Feb 2009 19:17:28 +0100 Subject: [rt-users] RTx::WorkflowBuilder - Can't call method "HasUnresolvedDependencies" on an undefined value In-Reply-To: <200902261752.52587.Richard.Foley@rfi.net> References: <34E94CF4-B2B1-4749-9FC9-F2607495DAB4@bestpractical.com> <200902261620.50061.Richard.Foley@rfi.net> <200902261752.52587.Richard.Foley@rfi.net> Message-ID: <200902261917.28200.Richard.Foley@rfi.net> Hi Chia-liang et al, It transpires the approval ticket is actually created, although I am unable to see it unless I look up the id directly, even though my user currently has every right imaginable. Further, when I reject the (hidden) approval, this appears to be succesful. However, when I resolve the (still hidden) approval, I see the following error: System error error: Can't call method "HasUnresolvedDependencies" on an undefined value at /opt/rt3/bin/../local/lib/RT/Approval/Rule/Passed.pm line 35. context: ... 31: 32: $obj->SetStatus( Status => 'open', Force => 1 ); 33: } 34: 35: my $passed = !$top->HasUnresolvedDependencies( Type => 'approval' ); 36: my $template = $self->GetTemplate( 37: $passed ? 'All Approvals Passed' : 'Approval Passed', 38: TicketObj => $top, 39: Approval => $self->TicketObj, ... code stack: /opt/rt3/bin/../local/lib/RT/Approval/Rule/Passed.pm:35 /opt/rt3/bin/../lib/RT/Ruleset.pm:73 /opt/rt3/bin/../lib/RT/Transaction_Overlay.pm:189 /opt/rt3/bin/../lib/RT/Record.pm:1456 /opt/rt3/bin/../lib/RT/Ticket_Overlay.pm:3259 /opt/rt3/bin/../lib/RT/Ticket_Overlay.pm:2961 /opt/rt3/bin/../lib/RT/Record.pm:898 /opt/rt3/bin/../lib/RT/Interface/Web.pm:940 /opt/rt3/bin/../lib/RT/Interface/Web.pm:1052 /opt/rt3/share/html/Ticket/Modify.html:82 /opt/rt3/share/html/autohandler:311 raw error -- Richard Foley Ciao - shorter than aufwiedersehen http://www.rfi.net/ On Thursday 26 February 2009 17:52:52 Richard Foley wrote: > Oh, wait a minute, there's more. > > 1. Going into: > > Configuration -> Queues -> crs -> Scrips > > I made sure each subject line was on single line and replaced a couple of stray dashes, (I think the \xE2 was > a "?>" thing instead of a "?>" thing in the auto-generated template from bin/rt-workflow - which was installed via > the CPAN), like this: > > Subject: Development Approval for: {$Tickets{TOP}->Id} ? $Tickets{TOP}->Subject} > > 2. Which brought me to this error: > > Use of uninitialized value $content in concatenation (.) or string > at /opt/rt3/bin/../lib/RT/Action/CreateTickets.pm line 669. > > Which I fudged with this: > > $content = '' unless $content; > > 3. Which brought me to here: > > [Thu Feb 26 16:50:59 2009] [debug]: Workflow: processing create-workflow-Implemented Approval of > RT::Ticket=HASH(0x7fe03efb52f0) (/opt/rt3/bin/../lib/RT/Action/CreateTickets.pm:360) > [Thu Feb 26 16:50:59 2009] [debug]: Workflow: evaluating > Subject: Implemented Approval for: {$Tickets{TOP}->Id} - $Tickets{TOP}->Subject} > Refers-To: TOP > Queue: ___Approvals > Owner: > Requestors: {$Tickets{TOP}->Requestors} > Depended-On-By: TOP > Type: approval > Depends-On: workflow-Tested Approval > Content-Type: text/plain > Due: {time + 86400} > Content: xxx > ENDOFCONTENT (/opt/rt3/bin/../lib/RT/Action/CreateTickets.pm:653) > [Thu Feb 26 16:50:59 2009] [debug]: Workflow: yielding (/opt/rt3/bin/../lib/RT/Action/CreateTickets.pm:671) > [Thu Feb 26 16:50:59 2009] [debug]: not a recognised queue object. (/opt/rt3/bin/../lib/RT/Ticket_Overlay.pm:279) > [Thu Feb 26 16:50:59 2009] [debug]: RT::Ticket=HASH(0x7fe03f1c0278) No queue given for ticket creation. > (/opt/rt3/bin/../lib/RT/Ticket_Overlay.pm:284) > [Thu Feb 26 16:50:59 2009] [error]: Couldn't create related ticket create-workflow-Implemented Approval for 16 > Could not create ticket. Queue not set (/opt/rt3/bin/../lib/RT/Action/CreateTickets.pm:391) > > Which makes me think I must be yet closer to a working approvals system, but still no potato in sight...sigh! > > All (helpful) suggestions welcome, Chia-liang! > > -- > Richard Foley > Ciao - shorter than aufwiedersehen > > http://www.rfi.net/ > > On Thursday 26 February 2009 16:20:49 Richard Foley wrote: > > On Tuesday 24 February 2009 12:42:15 Chia-liang Kao wrote: > > > Hi, > > > > > > RTx::WorkflowBuilder is a tool that helps you configure multi-stage > > > approval workflow in rt. > > > > > > It is now available at http://search.cpan.org/dist/RTx-WorkflowBuilder/. > > > > > Hi Chia-liang, > > > > This looks good, although it doesn't appear to work smoothly yet. > > > > 1. In your pod you have: > > > > % bin/rt?workflow PO PO?Approval ??create > > > > Which should probably read: > > > > % bin/rt?workflow --create PO PO?Approval > > > > 2. When I had set up the workflow within my RT_SiteConfig.pm, and run the > > bin/rt-workflow script to create the scrips and templates, I naturally > > created a ticket. Nothing happened, but I noticed in the logs there was the > > following entry: > > > > Found 0 scrips for TransactionBatch stage with applicable type(s) > > > > So, I changed went into: > > > > Configuration -> Queues -> crs -> Scrips > > > > and changed "Stage" from "Transaction Create" to "Transaction Batch". > > > > 3. The next time I created a ticket, the workflow/approval mechanism kicked in > > and the log files filled up, but no approvals were created - because of a > > stray character: > > > > ENDOFCONTENT (/opt/rt3/bin/../lib/RT/Action/CreateTickets.pm:669) > > [Thu Feb 26 14:50:29 2009] [error]: Ticket creation failed: Unrecognized > > character \xE2 in column 44 at template line 1. > > > > Stack: > > [template:1] > > [/opt/rt3/bin/../lib/RT/Action/CreateTickets.pm:667] > > [/opt/rt3/bin/../lib/RT/Action/CreateTickets.pm:366] > > [/opt/rt3/bin/../lib/RT/Action/CreateTickets.pm:303] > > [/opt/rt3/bin/../lib/RT/ScripAction_Overlay.pm:238] > > [/opt/rt3/bin/../lib/RT/Scrip_Overlay.pm:464] > > [/opt/rt3/bin/../lib/RT/Scrips_Overlay.pm:196] > > [/opt/rt3/bin/../lib/RT/Scrips_Overlay.pm:175] > > [/opt/rt3/bin/../lib/RT/Ticket_Overlay.pm:3165] > > [/opt/rt3/local/html/Ticket/Create.html:394] > > [/opt/rt3/share/html/autohandler:311] > > (/opt/rt3/bin/../lib/RT/Action/CreateTickets.pm:672) > > [Thu Feb 26 14:50:29 2009] [warning]: Exiting subroutine via next > > at /opt/rt3/bin/../lib/RT/Action/CreateTickets.pm line 678. > > (/opt/rt3/bin/../lib/RT/Action/CreateTickets.pm:678) > > > > I'm not sure which bit of which Template, or code, might be causing this > > error, but I think we're close to having a working Approvals system in the > > outside world though. What do you think? > > > > -- > > Richard Foley > > Ciao - shorter than aufwiedersehen > > > > http://www.rfi.net/ > > _______________________________________________ > > 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 > > _______________________________________________ > 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 From jesse at bestpractical.com Thu Feb 26 13:19:18 2009 From: jesse at bestpractical.com (Jesse Vincent) Date: Thu, 26 Feb 2009 13:19:18 -0500 Subject: [rt-users] RTx::WorkflowBuilder - Can't call method "HasUnresolvedDependencies" on an undefined value In-Reply-To: <200902261917.28200.Richard.Foley@rfi.net> References: <34E94CF4-B2B1-4749-9FC9-F2607495DAB4@bestpractical.com> <200902261620.50061.Richard.Foley@rfi.net> <200902261752.52587.Richard.Foley@rfi.net> <200902261917.28200.Richard.Foley@rfi.net> Message-ID: <20090226181918.GQ32682@17h.local> On Thu 26.Feb'09 at 19:17:28 +0100, Richard Foley wrote: > Hi Chia-liang et al, > > It transpires the approval ticket is actually created, although I am unable to > see it unless I look up the id directly, even though my user currently has > every right imaginable. Approval tickets are of type "approval" - They're supposed to be hidden from the normal UI and visible only under the "Approvals" tab. > Further, when I reject the (hidden) approval, this > appears to be succesful. However, when I resolve the (still hidden) > approval, I see the following error: I'm going to defer to CL on this one. -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 194 bytes Desc: not available URL: From jesse at bestpractical.com Thu Feb 26 13:19:18 2009 From: jesse at bestpractical.com (Jesse Vincent) Date: Thu, 26 Feb 2009 13:19:18 -0500 Subject: [rt-users] RTx::WorkflowBuilder - Can't call method "HasUnresolvedDependencies" on an undefined value In-Reply-To: <200902261917.28200.Richard.Foley@rfi.net> References: <34E94CF4-B2B1-4749-9FC9-F2607495DAB4@bestpractical.com> <200902261620.50061.Richard.Foley@rfi.net> <200902261752.52587.Richard.Foley@rfi.net> <200902261917.28200.Richard.Foley@rfi.net> Message-ID: <20090226181918.GQ32682@17h.local> On Thu 26.Feb'09 at 19:17:28 +0100, Richard Foley wrote: > Hi Chia-liang et al, > > It transpires the approval ticket is actually created, although I am unable to > see it unless I look up the id directly, even though my user currently has > every right imaginable. Approval tickets are of type "approval" - They're supposed to be hidden from the normal UI and visible only under the "Approvals" tab. > Further, when I reject the (hidden) approval, this > appears to be succesful. However, when I resolve the (still hidden) > approval, I see the following error: I'm going to defer to CL on this one. -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 194 bytes Desc: not available URL: From Richard.Foley at rfi.net Thu Feb 26 13:17:28 2009 From: Richard.Foley at rfi.net (Richard Foley) Date: Thu, 26 Feb 2009 19:17:28 +0100 Subject: [rt-users] RTx::WorkflowBuilder - Can't call method "HasUnresolvedDependencies" on an undefined value In-Reply-To: <200902261752.52587.Richard.Foley@rfi.net> References: <34E94CF4-B2B1-4749-9FC9-F2607495DAB4@bestpractical.com> <200902261620.50061.Richard.Foley@rfi.net> <200902261752.52587.Richard.Foley@rfi.net> Message-ID: <200902261917.28200.Richard.Foley@rfi.net> Hi Chia-liang et al, It transpires the approval ticket is actually created, although I am unable to see it unless I look up the id directly, even though my user currently has every right imaginable. Further, when I reject the (hidden) approval, this appears to be succesful. However, when I resolve the (still hidden) approval, I see the following error: System error error: Can't call method "HasUnresolvedDependencies" on an undefined value at /opt/rt3/bin/../local/lib/RT/Approval/Rule/Passed.pm line 35. context: ... 31: 32: $obj->SetStatus( Status => 'open', Force => 1 ); 33: } 34: 35: my $passed = !$top->HasUnresolvedDependencies( Type => 'approval' ); 36: my $template = $self->GetTemplate( 37: $passed ? 'All Approvals Passed' : 'Approval Passed', 38: TicketObj => $top, 39: Approval => $self->TicketObj, ... code stack: /opt/rt3/bin/../local/lib/RT/Approval/Rule/Passed.pm:35 /opt/rt3/bin/../lib/RT/Ruleset.pm:73 /opt/rt3/bin/../lib/RT/Transaction_Overlay.pm:189 /opt/rt3/bin/../lib/RT/Record.pm:1456 /opt/rt3/bin/../lib/RT/Ticket_Overlay.pm:3259 /opt/rt3/bin/../lib/RT/Ticket_Overlay.pm:2961 /opt/rt3/bin/../lib/RT/Record.pm:898 /opt/rt3/bin/../lib/RT/Interface/Web.pm:940 /opt/rt3/bin/../lib/RT/Interface/Web.pm:1052 /opt/rt3/share/html/Ticket/Modify.html:82 /opt/rt3/share/html/autohandler:311 raw error -- Richard Foley Ciao - shorter than aufwiedersehen http://www.rfi.net/ On Thursday 26 February 2009 17:52:52 Richard Foley wrote: > Oh, wait a minute, there's more. > > 1. Going into: > > Configuration -> Queues -> crs -> Scrips > > I made sure each subject line was on single line and replaced a couple of stray dashes, (I think the \xE2 was > a "?>" thing instead of a "?>" thing in the auto-generated template from bin/rt-workflow - which was installed via > the CPAN), like this: > > Subject: Development Approval for: {$Tickets{TOP}->Id} ? $Tickets{TOP}->Subject} > > 2. Which brought me to this error: > > Use of uninitialized value $content in concatenation (.) or string > at /opt/rt3/bin/../lib/RT/Action/CreateTickets.pm line 669. > > Which I fudged with this: > > $content = '' unless $content; > > 3. Which brought me to here: > > [Thu Feb 26 16:50:59 2009] [debug]: Workflow: processing create-workflow-Implemented Approval of > RT::Ticket=HASH(0x7fe03efb52f0) (/opt/rt3/bin/../lib/RT/Action/CreateTickets.pm:360) > [Thu Feb 26 16:50:59 2009] [debug]: Workflow: evaluating > Subject: Implemented Approval for: {$Tickets{TOP}->Id} - $Tickets{TOP}->Subject} > Refers-To: TOP > Queue: ___Approvals > Owner: > Requestors: {$Tickets{TOP}->Requestors} > Depended-On-By: TOP > Type: approval > Depends-On: workflow-Tested Approval > Content-Type: text/plain > Due: {time + 86400} > Content: xxx > ENDOFCONTENT (/opt/rt3/bin/../lib/RT/Action/CreateTickets.pm:653) > [Thu Feb 26 16:50:59 2009] [debug]: Workflow: yielding (/opt/rt3/bin/../lib/RT/Action/CreateTickets.pm:671) > [Thu Feb 26 16:50:59 2009] [debug]: not a recognised queue object. (/opt/rt3/bin/../lib/RT/Ticket_Overlay.pm:279) > [Thu Feb 26 16:50:59 2009] [debug]: RT::Ticket=HASH(0x7fe03f1c0278) No queue given for ticket creation. > (/opt/rt3/bin/../lib/RT/Ticket_Overlay.pm:284) > [Thu Feb 26 16:50:59 2009] [error]: Couldn't create related ticket create-workflow-Implemented Approval for 16 > Could not create ticket. Queue not set (/opt/rt3/bin/../lib/RT/Action/CreateTickets.pm:391) > > Which makes me think I must be yet closer to a working approvals system, but still no potato in sight...sigh! > > All (helpful) suggestions welcome, Chia-liang! > > -- > Richard Foley > Ciao - shorter than aufwiedersehen > > http://www.rfi.net/ > > On Thursday 26 February 2009 16:20:49 Richard Foley wrote: > > On Tuesday 24 February 2009 12:42:15 Chia-liang Kao wrote: > > > Hi, > > > > > > RTx::WorkflowBuilder is a tool that helps you configure multi-stage > > > approval workflow in rt. > > > > > > It is now available at http://search.cpan.org/dist/RTx-WorkflowBuilder/. > > > > > Hi Chia-liang, > > > > This looks good, although it doesn't appear to work smoothly yet. > > > > 1. In your pod you have: > > > > % bin/rt?workflow PO PO?Approval ??create > > > > Which should probably read: > > > > % bin/rt?workflow --create PO PO?Approval > > > > 2. When I had set up the workflow within my RT_SiteConfig.pm, and run the > > bin/rt-workflow script to create the scrips and templates, I naturally > > created a ticket. Nothing happened, but I noticed in the logs there was the > > following entry: > > > > Found 0 scrips for TransactionBatch stage with applicable type(s) > > > > So, I changed went into: > > > > Configuration -> Queues -> crs -> Scrips > > > > and changed "Stage" from "Transaction Create" to "Transaction Batch". > > > > 3. The next time I created a ticket, the workflow/approval mechanism kicked in > > and the log files filled up, but no approvals were created - because of a > > stray character: > > > > ENDOFCONTENT (/opt/rt3/bin/../lib/RT/Action/CreateTickets.pm:669) > > [Thu Feb 26 14:50:29 2009] [error]: Ticket creation failed: Unrecognized > > character \xE2 in column 44 at template line 1. > > > > Stack: > > [template:1] > > [/opt/rt3/bin/../lib/RT/Action/CreateTickets.pm:667] > > [/opt/rt3/bin/../lib/RT/Action/CreateTickets.pm:366] > > [/opt/rt3/bin/../lib/RT/Action/CreateTickets.pm:303] > > [/opt/rt3/bin/../lib/RT/ScripAction_Overlay.pm:238] > > [/opt/rt3/bin/../lib/RT/Scrip_Overlay.pm:464] > > [/opt/rt3/bin/../lib/RT/Scrips_Overlay.pm:196] > > [/opt/rt3/bin/../lib/RT/Scrips_Overlay.pm:175] > > [/opt/rt3/bin/../lib/RT/Ticket_Overlay.pm:3165] > > [/opt/rt3/local/html/Ticket/Create.html:394] > > [/opt/rt3/share/html/autohandler:311] > > (/opt/rt3/bin/../lib/RT/Action/CreateTickets.pm:672) > > [Thu Feb 26 14:50:29 2009] [warning]: Exiting subroutine via next > > at /opt/rt3/bin/../lib/RT/Action/CreateTickets.pm line 678. > > (/opt/rt3/bin/../lib/RT/Action/CreateTickets.pm:678) > > > > I'm not sure which bit of which Template, or code, might be causing this > > error, but I think we're close to having a working Approvals system in the > > outside world though. What do you think? > > > > -- > > Richard Foley > > Ciao - shorter than aufwiedersehen > > > > http://www.rfi.net/ > > _______________________________________________ > > 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 > > _______________________________________________ > 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 From Richard.Foley at rfi.net Thu Feb 26 13:26:42 2009 From: Richard.Foley at rfi.net (Richard Foley) Date: Thu, 26 Feb 2009 19:26:42 +0100 Subject: [rt-users] RTx::WorkflowBuilder - Unrecognized character \xE2 In-Reply-To: <20090226181454.GP32682@17h.local> References: <34E94CF4-B2B1-4749-9FC9-F2607495DAB4@bestpractical.com> <200902261752.52587.Richard.Foley@rfi.net> <20090226181454.GP32682@17h.local> Message-ID: <200902261926.42420.Richard.Foley@rfi.net> On Thursday 26 February 2009 19:14:54 Jesse Vincent wrote: > > > I made sure each subject line was on single line and replaced a couple of stray dashes, (I think the \xE2 was > > a "?>" thing instead of a "?>" thing in the auto-generated template from bin/rt-workflow - which was installed via > > the CPAN), like this: > > Did you copy and paste from perldoc? > I hear you, and guilty as charged. Although the templates were auto-generated out of the 'perl -MCPAN' installed RTx::WorkflowBuilder itself, I recall cut'n'pasting just one small part of the subject line into the RT_SiteConfig.pm Naturally, bin/rt-workflow took my consequently naff subject line and used it in the templates... > If so, you're running into nroff/man being "too smart". > > LC_ALL=C perldoc RTx::WorkflowBuilder will get you things you can copy > and paste safely. > Good to know, thanks. All the same, the golden rule is: "_never_ cut'n'paste!" -- Richard Foley Ciao - shorter than aufwiedersehen http://www.rfi.net/ From Richard.Foley at rfi.net Thu Feb 26 13:26:42 2009 From: Richard.Foley at rfi.net (Richard Foley) Date: Thu, 26 Feb 2009 19:26:42 +0100 Subject: [rt-users] RTx::WorkflowBuilder - Unrecognized character \xE2 In-Reply-To: <20090226181454.GP32682@17h.local> References: <34E94CF4-B2B1-4749-9FC9-F2607495DAB4@bestpractical.com> <200902261752.52587.Richard.Foley@rfi.net> <20090226181454.GP32682@17h.local> Message-ID: <200902261926.42420.Richard.Foley@rfi.net> On Thursday 26 February 2009 19:14:54 Jesse Vincent wrote: > > > I made sure each subject line was on single line and replaced a couple of stray dashes, (I think the \xE2 was > > a "?>" thing instead of a "?>" thing in the auto-generated template from bin/rt-workflow - which was installed via > > the CPAN), like this: > > Did you copy and paste from perldoc? > I hear you, and guilty as charged. Although the templates were auto-generated out of the 'perl -MCPAN' installed RTx::WorkflowBuilder itself, I recall cut'n'pasting just one small part of the subject line into the RT_SiteConfig.pm Naturally, bin/rt-workflow took my consequently naff subject line and used it in the templates... > If so, you're running into nroff/man being "too smart". > > LC_ALL=C perldoc RTx::WorkflowBuilder will get you things you can copy > and paste safely. > Good to know, thanks. All the same, the golden rule is: "_never_ cut'n'paste!" -- Richard Foley Ciao - shorter than aufwiedersehen http://www.rfi.net/ From aaron at guise.net.nz Thu Feb 26 13:33:39 2009 From: aaron at guise.net.nz (Aaron Guise) Date: Fri, 27 Feb 2009 07:33:39 +1300 Subject: [rt-users] A little Scrip help In-Reply-To: References: Message-ID: If set to transaction batch which is marked Transaction Batch(Disabled) it seems the script is just disabled as no email is sent. On Fri, Feb 27, 2009 at 1:32 AM, Potla, Ashish Bassaliel < c_apotla at qualcomm.com> wrote: > > ________________________________________ > From: Potla, Ashish Bassaliel > Sent: Thursday, February 26, 2009 5:59 PM > To: Aaron Guise > Subject: RE: [rt-users] A little Scrip help > > Is the scrip set to 'Transaction Batch' or 'Transaction Create'? > Set it to Transaction Batch. > > -Ashish > ________________________________________ > From: rt-users-bounces at lists.bestpractical.com [ > rt-users-bounces at lists.bestpractical.com] On Behalf Of Aaron Guise [ > aaron at guise.net.nz] > Sent: Thursday, February 26, 2009 4:02 PM > To: rt-users at lists.bestpractical.com > Subject: [rt-users] A little Scrip help > > Hi, > > I have implemented a scrip to notify the owner in the event someone else > merges data into one of their tickets. All works well but alas it actually > sends the notification twice. There is probably a real simple answer but it > is baffling me. Have just ignored it the last few months but now I am a > little beyond that. > > The scrip used is noted below; > > my $txn = $self->TransactionObj; > return undef unless $txn->Type =~ /^AddLink$/i; > return undef unless $txn->Field =~ /^MergedInto$/i; > return 1; > > Any assistance in stopping this will be greatly appreciated. > > -- > Regards > > Aaron > _______________________________________________ > 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 > -------------- next part -------------- An HTML attachment was scrubbed... URL: From jrhett at netconsonance.com Thu Feb 26 13:45:55 2009 From: jrhett at netconsonance.com (Jo Rhett) Date: Thu, 26 Feb 2009 10:45:55 -0800 Subject: [rt-users] bug - Dashboard subscription says "US/Pacific" but runs in GMT Message-ID: <8B6297BF-2664-41D5-81EF-D01003F3C280@netconsonance.com> We have noticed that although the subscription page says the local timezone next to the time, the reports actually run based on GMT time. -- Jo Rhett Net Consonance : consonant endings by net philanthropy, open source and other randomness -------------- next part -------------- An HTML attachment was scrubbed... URL: From Richard.Foley at rfi.net Thu Feb 26 13:51:44 2009 From: Richard.Foley at rfi.net (Richard Foley) Date: Thu, 26 Feb 2009 19:51:44 +0100 Subject: [rt-users] RTx::WorkflowBuilder - Can't call method "HasUnresolvedDependencies" on an undefined value In-Reply-To: <20090226181918.GQ32682@17h.local> References: <34E94CF4-B2B1-4749-9FC9-F2607495DAB4@bestpractical.com> <200902261917.28200.Richard.Foley@rfi.net> <20090226181918.GQ32682@17h.local> Message-ID: <200902261951.44661.Richard.Foley@rfi.net> On Thursday 26 February 2009 19:19:18 Jesse Vincent wrote: > > On Thu 26.Feb'09 at 19:17:28 +0100, Richard Foley wrote: > > Hi Chia-liang et al, > > > > It transpires the approval ticket is actually created, although I am unable to > > see it unless I look up the id directly, even though my user currently has > > every right imaginable. > > Approval tickets are of type "approval" - They're supposed to be hidden > from the normal UI and visible only under the "Approvals" tab. > I hear you, I suspect it's a rights issue which I have yet to resolve. The erroneous characters were I suspect responsible for a lot of hidden mischief, and have reinstalled from scratch and with a much cleaner environment things are looking a lot better, thanks. If I actually get this up and running I might even be tempted to take a stab at a clear walk through descr. on the wiki. At the moment there are three or four separate pages for the approval system... > > Further, when I reject the (hidden) approval, this > > appears to be succesful. However, when I resolve the (still hidden) > > approval, I see the following error: > > I'm going to defer to CL on this one. > Currently this, ("HasUnresolvedDependencies" -> undefined value), is the only outstanding issue. -- Richard Foley Ciao - shorter than aufwiedersehen http://www.rfi.net/ From Richard.Foley at rfi.net Thu Feb 26 13:51:44 2009 From: Richard.Foley at rfi.net (Richard Foley) Date: Thu, 26 Feb 2009 19:51:44 +0100 Subject: [rt-users] RTx::WorkflowBuilder - Can't call method "HasUnresolvedDependencies" on an undefined value In-Reply-To: <20090226181918.GQ32682@17h.local> References: <34E94CF4-B2B1-4749-9FC9-F2607495DAB4@bestpractical.com> <200902261917.28200.Richard.Foley@rfi.net> <20090226181918.GQ32682@17h.local> Message-ID: <200902261951.44661.Richard.Foley@rfi.net> On Thursday 26 February 2009 19:19:18 Jesse Vincent wrote: > > On Thu 26.Feb'09 at 19:17:28 +0100, Richard Foley wrote: > > Hi Chia-liang et al, > > > > It transpires the approval ticket is actually created, although I am unable to > > see it unless I look up the id directly, even though my user currently has > > every right imaginable. > > Approval tickets are of type "approval" - They're supposed to be hidden > from the normal UI and visible only under the "Approvals" tab. > I hear you, I suspect it's a rights issue which I have yet to resolve. The erroneous characters were I suspect responsible for a lot of hidden mischief, and have reinstalled from scratch and with a much cleaner environment things are looking a lot better, thanks. If I actually get this up and running I might even be tempted to take a stab at a clear walk through descr. on the wiki. At the moment there are three or four separate pages for the approval system... > > Further, when I reject the (hidden) approval, this > > appears to be succesful. However, when I resolve the (still hidden) > > approval, I see the following error: > > I'm going to defer to CL on this one. > Currently this, ("HasUnresolvedDependencies" -> undefined value), is the only outstanding issue. -- Richard Foley Ciao - shorter than aufwiedersehen http://www.rfi.net/ From jthuau at heavy-iron.com Thu Feb 26 14:04:08 2009 From: jthuau at heavy-iron.com (Joachim Thuau) Date: Thu, 26 Feb 2009 11:04:08 -0800 Subject: [rt-users] Ticket taken twice In-Reply-To: <519782dc0902252329p7612d9ffi25be76e06c969997@mail.gmail.com> References: <20090225211113.GG32682@17h.local> <519782dc0902252329p7612d9ffi25be76e06c969997@mail.gmail.com> Message-ID: Will this cause issues with the upgrade process, if I update to 3.8.2 now? (ie: will it just "recover" or will the DB choke on it) I guess I could just shred that ticket... But history is important... Jok > -----Original Message----- > From: Todd Chapman [mailto:todd at chaka.net] > Sent: Wednesday, February 25, 2009 11:30 PM > To: Jesse Vincent > Cc: Joachim Thuau; rt-users at lists.bestpractical.com > Subject: Re: [rt-users] Ticket taken twice > > On Wed, Feb 25, 2009 at 4:11 PM, Jesse Vincent > wrote: > > > > > > > > On Wed 25.Feb'09 at 12:25:39 -0800, Joachim Thuau wrote: > >> > >> Hello, > >> > >> I have RT-3.6.1, postgres backend, apache with mod_perl. > > > > Todd Chapman patched this issue in RT quite a while back. I don't > > remember if it's in 3.6.7, but I believe it is. It's > definitely fixed > > in 3.8. > > That was about 4 years ago! I think it was fixed in 3.6.2. It > felt good to find and fix that race condition. :) > > > > >> We just stumbled upon a funny situation. I'm hoping one of you is > >> going to be able to help me sort it out. > >> > >> A few minutes ago, 2 helpdesk techs used the "take" > button, at pretty > >> much the same time. Upon closer inspection, here are the > interesting > >> bits: > >> > >> The history, under "display", of that ticket shows the following > >> output in the history: > >> [create ticket bits here] > >> # ? ? Wed Feb 25 11:35:50 2009 ? ? ? ? Tom ? - Taken > >> > >> # ? ? Wed Feb 25 11:35:50 2009 ? ? ? ? Geoff - Taken > >> > >> I asked Geoff to give the ticket back to Tom. When Geoff > tried to set > >> the owner to Tom, RT threw an error: "Could not change > owner. Group > >> already has member". So it looks like "Owner" is a group that, for > >> this ticket, has 2 principals (which, I believe, it > shouldn't have). > >> We tried to "steal" the ticket, give it to nobody, and > everytime, we > >> get an error "Could not change owner. Group already has member". > >> > >> So the question is: how do I go about making the ticket > behave properly? > >> I suppose I need to go into the DB and fix it there. And I suppose > >> some code probably needs to be fixed so that race > condition doesn't > >> happen (or is it fixed in newer versions?). > >> > >> Thank you, > >> Jok > >> > >> _______________________________________________ > >> 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 > >> > > > > -- > > > > _______________________________________________ > > 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 > > > From KFCrocker at lbl.gov Thu Feb 26 14:04:55 2009 From: KFCrocker at lbl.gov (Kenneth Crocker) Date: Thu, 26 Feb 2009 11:04:55 -0800 Subject: [rt-users] A little Scrip help In-Reply-To: References: Message-ID: <49A6E7D7.5050602@lbl.gov> Aaron, You need to turn on TransactionBatch in your RT_SiteConfig.pm file in /RTHOME/etc directory. That should allow you to use that stage option. Kenn LBNL On 2/26/2009 10:33 AM, Aaron Guise wrote: > If set to transaction batch which is marked Transaction Batch(Disabled) > it seems the script is just disabled as no email is sent. > > On Fri, Feb 27, 2009 at 1:32 AM, Potla, Ashish Bassaliel > > wrote: > > > ________________________________________ > From: Potla, Ashish Bassaliel > Sent: Thursday, February 26, 2009 5:59 PM > To: Aaron Guise > Subject: RE: [rt-users] A little Scrip help > > Is the scrip set to 'Transaction Batch' or 'Transaction Create'? > Set it to Transaction Batch. > > -Ashish > ________________________________________ > From: rt-users-bounces at lists.bestpractical.com > > [rt-users-bounces at lists.bestpractical.com > ] On Behalf Of > Aaron Guise [aaron at guise.net.nz ] > Sent: Thursday, February 26, 2009 4:02 PM > To: rt-users at lists.bestpractical.com > > Subject: [rt-users] A little Scrip help > > Hi, > > I have implemented a scrip to notify the owner in the event someone > else merges data into one of their tickets. All works well but alas > it actually sends the notification twice. There is probably a real > simple answer but it is baffling me. Have just ignored it the last > few months but now I am a little beyond that. > > The scrip used is noted below; > > my $txn = $self->TransactionObj; > return undef unless $txn->Type =~ /^AddLink$/i; > return undef unless $txn->Field =~ /^MergedInto$/i; > return 1; > > Any assistance in stopping this will be greatly appreciated. > > -- > Regards > > Aaron > _______________________________________________ > 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 > > > > ------------------------------------------------------------------------ > > _______________________________________________ > 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 From KFCrocker at lbl.gov Thu Feb 26 14:18:02 2009 From: KFCrocker at lbl.gov (Kenneth Crocker) Date: Thu, 26 Feb 2009 11:18:02 -0800 Subject: [rt-users] User given Administrator Privelages - Still can't make changes In-Reply-To: <49A4342C.1090507@ssww.com> References: <49A4342C.1090507@ssww.com> Message-ID: <49A6EAEA.4060804@lbl.gov> Ryan, Are you talking about a specific User or a specific type of user, like AdminCc or Oqner, or even a User-defined group? The rights for Custom Fields are in two ares. First is the ability to just create one and define it in terms of what can be entered (ie. select on value and THOSE values allowed) and in that area you can also grant the right for a user-defined group to be able to just "SeeCustomField" and to "ModifyCustomField". The right to "ModifyCustomField" is talking about a user (member of a user-defined group) modifying the value in that CF ON A TICKET only. To get to that right, you navigate thus Configuration->Custom Fields then either select the CF you want to modify (in terms of definition, types of entry, remove/add values) or click "New Custom Field" and then go about defining what you want for that CF. The other area of CF rights is for how the CF relates to a Queue. This is where you "Apply" the CF to a specific Queue and then determine what rights a certain group has in terms of that CF. You can also do this for Users, but if you have a lot of users, this can extremely time-consuming when it comes to maintenance. You navigate to this the same way, except you use "Applies To" and then "Group Rights" to apply the CF to a Queue(s) and set the rights. In our installation, we do not let anyone mess with "GLobal" CF's except the RT Administrator. For CF's that are Queue-Specific, we let the Queue Manager (the ADminCc Watcher) have that right. I hope this has been a help. Kenn LBNL On 2/24/2009 9:53 AM, Ryan Stepalavich wrote: > We need the user to be able to add Ticket Custom Fields for queues. > (Configuration/Queues/*Queue*/Ticket Custom Fields). > From KFCrocker at lbl.gov Thu Feb 26 14:21:54 2009 From: KFCrocker at lbl.gov (Kenneth Crocker) Date: Thu, 26 Feb 2009 11:21:54 -0800 Subject: [rt-users] Ticket taken twice In-Reply-To: References: <20090225211113.GG32682@17h.local> <519782dc0902252329p7612d9ffi25be76e06c969997@mail.gmail.com> Message-ID: <49A6EBD2.8000705@lbl.gov> Joachim, You could do this with SQL directly in the DataBase, but I would only do that if Shredder can't handle it. I'm afraid if you shred the ticket, it's gone and there won't be a ticket to own. That might make your Audit department a little testy about your ticket history. I have some SQL that would help you, but you have to know it invloves more than just the Ticket Table. There is the Group, Groupmember, ACL, etc. tables. There is very little data in RT that does OT relate to other tables. They ALL have to be insync. Kenn LBNL On 2/26/2009 11:04 AM, Joachim Thuau wrote: > Will this cause issues with the upgrade process, if I update to 3.8.2 now? > (ie: will it just "recover" or will the DB choke on it) > > I guess I could just shred that ticket... But history is important... > > Jok > >> -----Original Message----- >> From: Todd Chapman [mailto:todd at chaka.net] >> Sent: Wednesday, February 25, 2009 11:30 PM >> To: Jesse Vincent >> Cc: Joachim Thuau; rt-users at lists.bestpractical.com >> Subject: Re: [rt-users] Ticket taken twice >> >> On Wed, Feb 25, 2009 at 4:11 PM, Jesse Vincent >> wrote: >>> >>> >>> On Wed 25.Feb'09 at 12:25:39 -0800, Joachim Thuau wrote: >>>> Hello, >>>> >>>> I have RT-3.6.1, postgres backend, apache with mod_perl. >>> Todd Chapman patched this issue in RT quite a while back. I don't >>> remember if it's in 3.6.7, but I believe it is. It's >> definitely fixed >>> in 3.8. >> That was about 4 years ago! I think it was fixed in 3.6.2. It >> felt good to find and fix that race condition. :) >> >>>> We just stumbled upon a funny situation. I'm hoping one of you is >>>> going to be able to help me sort it out. >>>> >>>> A few minutes ago, 2 helpdesk techs used the "take" >> button, at pretty >>>> much the same time. Upon closer inspection, here are the >> interesting >>>> bits: >>>> >>>> The history, under "display", of that ticket shows the following >>>> output in the history: >>>> [create ticket bits here] >>>> # Wed Feb 25 11:35:50 2009 Tom - Taken >>>> >>>> # Wed Feb 25 11:35:50 2009 Geoff - Taken >>>> >>>> I asked Geoff to give the ticket back to Tom. When Geoff >> tried to set >>>> the owner to Tom, RT threw an error: "Could not change >> owner. Group >>>> already has member". So it looks like "Owner" is a group that, for >>>> this ticket, has 2 principals (which, I believe, it >> shouldn't have). >>>> We tried to "steal" the ticket, give it to nobody, and >> everytime, we >>>> get an error "Could not change owner. Group already has member". >>>> >>>> So the question is: how do I go about making the ticket >> behave properly? >>>> I suppose I need to go into the DB and fix it there. And I suppose >>>> some code probably needs to be fixed so that race >> condition doesn't >>>> happen (or is it fixed in newer versions?). >>>> >>>> Thank you, >>>> Jok >>>> >>>> _______________________________________________ >>>> 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 >>>> >>> -- >>> >>> _______________________________________________ >>> 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 >>> > _______________________________________________ > 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 > From jesse at bestpractical.com Thu Feb 26 14:26:14 2009 From: jesse at bestpractical.com (Jesse Vincent) Date: Thu, 26 Feb 2009 14:26:14 -0500 Subject: [rt-users] Ticket taken twice In-Reply-To: References: <20090225211113.GG32682@17h.local> <519782dc0902252329p7612d9ffi25be76e06c969997@mail.gmail.com> Message-ID: <20090226192614.GU32682@17h.local> On Thu 26.Feb'09 at 11:04:08 -0800, Joachim Thuau wrote: > Will this cause issues with the upgrade process, if I update to 3.8.2 now? > (ie: will it just "recover" or will the DB choke on it) > > I guess I could just shred that ticket... But history is important... > It's been a while, but I _believe_ that if someone "steals" the ticket from here, RT will self-correct. -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 194 bytes Desc: not available URL: From jthuau at heavy-iron.com Thu Feb 26 14:34:49 2009 From: jthuau at heavy-iron.com (Joachim Thuau) Date: Thu, 26 Feb 2009 11:34:49 -0800 Subject: [rt-users] Ticket taken twice In-Reply-To: <49A6EBD2.8000705@lbl.gov> References: <20090225211113.GG32682@17h.local> <519782dc0902252329p7612d9ffi25be76e06c969997@mail.gmail.com> <49A6EBD2.8000705@lbl.gov> Message-ID: I'm a little on the fence about this. I obviously want to "catch up" and get up to 3.8.2 (whoohoo!) but I do need to sort out that ticket first (at least it would make sense...) to make sure it's not going to croak on the reload of the DB. I have looked at the nice relational drawing from the RT-Essential book, and from that I know better than just going into the DB like that and mess with the ticket... I can probably work it out, but I'd love to be able to get to keep that ticket (well, with the fixed bits in it). Would you share that SQL bits? At least, it'll give me a starting point... Thanks, Jok > -----Original Message----- > From: Kenneth Crocker [mailto:KFCrocker at lbl.gov] > Sent: Thursday, February 26, 2009 11:22 AM > To: Joachim Thuau > Cc: rt-users at lists.bestpractical.com > Subject: Re: [rt-users] Ticket taken twice > > Joachim, > > > You could do this with SQL directly in the DataBase, > but I would only do that if Shredder can't handle it. I'm > afraid if you shred the ticket, it's gone and there won't be > a ticket to own. That might make your Audit department a > little testy about your ticket history. I have some SQL that > would help you, but you have to know it invloves more than > just the Ticket Table. There is the Group, Groupmember, ACL, > etc. tables. There is very little data in RT that does OT > relate to other tables. They ALL have to be insync. > > > Kenn > LBNL From jesse at bestpractical.com Thu Feb 26 14:48:19 2009 From: jesse at bestpractical.com (Jesse Vincent) Date: Thu, 26 Feb 2009 14:48:19 -0500 Subject: [rt-users] Ticket taken twice In-Reply-To: References: <20090225211113.GG32682@17h.local> <519782dc0902252329p7612d9ffi25be76e06c969997@mail.gmail.com> <20090226192614.GU32682@17h.local> Message-ID: <20090226194819.GD22513@bestpractical.com> On Thu, Feb 26, 2009 at 11:40:02AM -0800, Joachim Thuau wrote: > Sadly, we already tried that. We can change the owner every which way, > except for "tom" (who was the guy that worked on it). > Can you try this patch? It's conceptually right but off the cuff. It's against 3.8 but applies to recentish 3.6. It may need a tiny bit of massage to apply to 3.6.1 You'll need to stop and start apache after making the change. === lib/RT/Ticket_Overlay.pm ================================================================== --- lib/RT/Ticket_Overlay.pm (revision 58932) +++ lib/RT/Ticket_Overlay.pm (local) @@ -2782,7 +2782,12 @@ # Delete the owner in the owner group, then add a new one # TODO: is this safe? it's not how we really want the API to work # for most things, but it's fast. - my ( $del_id, $del_msg ) = $self->OwnerGroup->MembersObj->First->Delete(); + my ( $del_id, $del_msg ); + for my $owner (@{$self->OwnerGroup->MembersObj->ItemsArrayRef}) { + ($del_id, $del_msg) = $owner->Delete(); + last unless ($del_id); + } + unless ($del_id) { $RT::Handle->Rollback(); return ( 0, $self->loc("Could not change owner: [_1]", $del_msg) ); > Thanks, > Jok > > > -----Original Message----- > > From: Jesse Vincent [mailto:jesse at bestpractical.com] > > Sent: Thursday, February 26, 2009 11:26 AM > > To: Joachim Thuau > > Cc: rt-users at lists.bestpractical.com > > Subject: Re: [rt-users] Ticket taken twice > > > > > > > > > > On Thu 26.Feb'09 at 11:04:08 -0800, Joachim Thuau wrote: > > > Will this cause issues with the upgrade process, if I > > update to 3.8.2 now? > > > (ie: will it just "recover" or will the DB choke on it) > > > > > > I guess I could just shred that ticket... But history is > > important... > > > > > > > It's been a while, but I _believe_ that if someone "steals" > > the ticket from here, RT will self-correct. > > > -- From jrhett at netconsonance.com Thu Feb 26 14:51:37 2009 From: jrhett at netconsonance.com (Jo Rhett) Date: Thu, 26 Feb 2009 11:51:37 -0800 Subject: [rt-users] right to see the user list -- only ShowConfigTab ? Message-ID: <66876F31-1173-4DFD-B7B5-0DBE5EE10031@netconsonance.com> I'd like all privileged users to be able to see the User list, to find other privileged users' contact information. The only thing I've been able to find is ShowConfigTab, which allows them to see a lot of other things and even implies that they can change the other person's info -- they can't, it says permission denied, but they think they can. All I really want is to show a list of privileged users, name, email, cell, work, home phone numbers.... ...yes yes I know I should be reading the source by now and I promise I will as soon as the current projects calm down a bit ;-) -- Jo Rhett Net Consonance : consonant endings by net philanthropy, open source and other randomness -------------- next part -------------- An HTML attachment was scrubbed... URL: From jesse at bestpractical.com Thu Feb 26 14:55:13 2009 From: jesse at bestpractical.com (Jesse Vincent) Date: Thu, 26 Feb 2009 14:55:13 -0500 Subject: [rt-users] Ticket taken twice In-Reply-To: <20090226194819.GD22513@bestpractical.com> References: <20090225211113.GG32682@17h.local> <519782dc0902252329p7612d9ffi25be76e06c969997@mail.gmail.com> <20090226192614.GU32682@17h.local> <20090226194819.GD22513@bestpractical.com> Message-ID: <20090226195513.GE22513@bestpractical.com> On Thu, Feb 26, 2009 at 02:48:19PM -0500, Jesse Vincent wrote: > > > > On Thu, Feb 26, 2009 at 11:40:02AM -0800, Joachim Thuau wrote: > > Sadly, we already tried that. We can change the owner every which way, > > except for "tom" (who was the guy that worked on it). > > > > Can you try this patch? It's conceptually right but off the cuff. It's against 3.8 > but applies to recentish 3.6. It may need a tiny bit of massage to apply to 3.6.1 > Don't apply this patch. It's making the RT test suite explode. I have no idea _what_ it would do to your DB. > You'll need to stop and start apache after making the change. > > === lib/RT/Ticket_Overlay.pm > ================================================================== > --- lib/RT/Ticket_Overlay.pm (revision 58932) > +++ lib/RT/Ticket_Overlay.pm (local) > @@ -2782,7 +2782,12 @@ > # Delete the owner in the owner group, then add a new one > # TODO: is this safe? it's not how we really want the API to work > # for most things, but it's fast. > - my ( $del_id, $del_msg ) = $self->OwnerGroup->MembersObj->First->Delete(); > + my ( $del_id, $del_msg ); > + for my $owner (@{$self->OwnerGroup->MembersObj->ItemsArrayRef}) { > + ($del_id, $del_msg) = $owner->Delete(); > + last unless ($del_id); > + } > + > unless ($del_id) { > $RT::Handle->Rollback(); > return ( 0, $self->loc("Could not change owner: [_1]", $del_msg) ); > > > > Thanks, > > Jok > > > > > -----Original Message----- > > > From: Jesse Vincent [mailto:jesse at bestpractical.com] > > > Sent: Thursday, February 26, 2009 11:26 AM > > > To: Joachim Thuau > > > Cc: rt-users at lists.bestpractical.com > > > Subject: Re: [rt-users] Ticket taken twice > > > > > > > > > > > > > > > On Thu 26.Feb'09 at 11:04:08 -0800, Joachim Thuau wrote: > > > > Will this cause issues with the upgrade process, if I > > > update to 3.8.2 now? > > > > (ie: will it just "recover" or will the DB choke on it) > > > > > > > > I guess I could just shred that ticket... But history is > > > important... > > > > > > > > > > It's been a while, but I _believe_ that if someone "steals" > > > the ticket from here, RT will self-correct. > > > > > > > -- > -- From KFCrocker at lbl.gov Thu Feb 26 15:19:05 2009 From: KFCrocker at lbl.gov (Kenneth Crocker) Date: Thu, 26 Feb 2009 12:19:05 -0800 Subject: [rt-users] Ticket taken twice In-Reply-To: References: <20090225211113.GG32682@17h.local> <519782dc0902252329p7612d9ffi25be76e06c969997@mail.gmail.com> <49A6EBD2.8000705@lbl.gov> Message-ID: <49A6F939.5050507@lbl.gov> Joachim, I'll do that in a bit. However, I would try Jesse's patch first. You could ALSO write down all the info for the ticket and shred it and then re-create it properly. Let me know how it goes with Jesse's patch and such. In the meantime, I'll put together the SQL and instructions. Kenn LBNL On 2/26/2009 11:34 AM, Joachim Thuau wrote: > I'm a little on the fence about this. I obviously want to "catch up" and > get up to 3.8.2 (whoohoo!) but I do need to sort out that ticket first > (at least it would make sense...) to make sure it's not going to croak > on the reload of the DB. I have looked at the nice relational drawing > from the RT-Essential book, and from that I know better than just going > into the DB like that and mess with the ticket... I can probably work it > out, but I'd love to be able to get to keep that ticket (well, with the > fixed bits in it). Would you share that SQL bits? At least, it'll give > me a starting point... > > Thanks, > Jok > >> -----Original Message----- >> From: Kenneth Crocker [mailto:KFCrocker at lbl.gov] >> Sent: Thursday, February 26, 2009 11:22 AM >> To: Joachim Thuau >> Cc: rt-users at lists.bestpractical.com >> Subject: Re: [rt-users] Ticket taken twice >> >> Joachim, >> >> >> You could do this with SQL directly in the DataBase, >> but I would only do that if Shredder can't handle it. I'm >> afraid if you shred the ticket, it's gone and there won't be >> a ticket to own. That might make your Audit department a >> little testy about your ticket history. I have some SQL that >> would help you, but you have to know it invloves more than >> just the Ticket Table. There is the Group, Groupmember, ACL, >> etc. tables. There is very little data in RT that does OT >> relate to other tables. They ALL have to be insync. >> >> >> Kenn >> LBNL > _______________________________________________ > 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 > From toml at bitstatement.net Thu Feb 26 15:32:46 2009 From: toml at bitstatement.net (Tom Lahti) Date: Thu, 26 Feb 2009 12:32:46 -0800 Subject: [rt-users] Ticket taken twice In-Reply-To: <49A6F939.5050507@lbl.gov> References: <20090225211113.GG32682@17h.local> <519782dc0902252329p7612d9ffi25be76e06c969997@mail.gmail.com> <49A6EBD2.8000705@lbl.gov> <49A6F939.5050507@lbl.gov> Message-ID: <49A6FC6E.1030100@bitstatement.net> > I'll do that in a bit. However, I would try Jesse's patch first. You > could ALSO write down all the info for the ticket and shred it and then > re-create it properly. Let me know how it goes with Jesse's patch and > such. In the meantime, I'll put together the SQL and instructions. Doesn't the shredder make a SQL dump? You could shred it, edit the SQL dump, and then reload it to the db. Just an idea. Also note that Mr. Vincent said not to use the patch as its broken (in case you missed that mail). -- -- ============================ Tom Lahti BIT Statement LLC (425)251-0833 x 117 http://www.bitstatement.net/ -- ============================ From KFCrocker at lbl.gov Thu Feb 26 15:35:46 2009 From: KFCrocker at lbl.gov (Kenneth Crocker) Date: Thu, 26 Feb 2009 12:35:46 -0800 Subject: [rt-users] Ticket taken twice In-Reply-To: <49A6FC6E.1030100@bitstatement.net> References: <20090225211113.GG32682@17h.local> <519782dc0902252329p7612d9ffi25be76e06c969997@mail.gmail.com> <49A6EBD2.8000705@lbl.gov> <49A6F939.5050507@lbl.gov> <49A6FC6E.1030100@bitstatement.net> Message-ID: <49A6FD22.6020406@lbl.gov> Tom, Yep. I got it after I wrote my last note. If what you say is true, then that dump would be an excellant way to determine what records need to be updated in the DataBase. Kenn LBNL On 2/26/2009 12:32 PM, Tom Lahti wrote: >> I'll do that in a bit. However, I would try Jesse's patch first. You >> could ALSO write down all the info for the ticket and shred it and then >> re-create it properly. Let me know how it goes with Jesse's patch and >> such. In the meantime, I'll put together the SQL and instructions. > > Doesn't the shredder make a SQL dump? You could shred it, edit the SQL > dump, and then reload it to the db. Just an idea. > > Also note that Mr. Vincent said not to use the patch as its broken (in case > you missed that mail). > From jesse at bestpractical.com Thu Feb 26 15:36:46 2009 From: jesse at bestpractical.com (Jesse Vincent) Date: Thu, 26 Feb 2009 15:36:46 -0500 Subject: [rt-users] Ticket taken twice In-Reply-To: <49A6FC6E.1030100@bitstatement.net> References: <20090225211113.GG32682@17h.local> <519782dc0902252329p7612d9ffi25be76e06c969997@mail.gmail.com> <49A6EBD2.8000705@lbl.gov> <49A6F939.5050507@lbl.gov> <49A6FC6E.1030100@bitstatement.net> Message-ID: <20090226203646.GV32682@17h.local> On Thu 26.Feb'09 at 12:32:46 -0800, Tom Lahti wrote: > > I'll do that in a bit. However, I would try Jesse's patch first. You > > could ALSO write down all the info for the ticket and shred it and then > > re-create it properly. Let me know how it goes with Jesse's patch and > > such. In the meantime, I'll put together the SQL and instructions. > > Doesn't the shredder make a SQL dump? You could shred it, edit the SQL > dump, and then reload it to the db. Just an idea. I _would_ like to caution people against editing raw SQL here. There's a bunch of nuance to group members and cached group members that is _very_ easy to get wrong. I expect to have a better patch (or discover that the test suite failure was a red herring) within an hour or two. > Also note that Mr. Vincent said not to use the patch as its broken (in case > you missed that mail). As a completely unimportant note on formality: Mr Vincent is my grandfather. I'm Jesse. ;) Best, Jesse -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 194 bytes Desc: not available URL: From pthirose at ucdavis.edu Thu Feb 26 15:40:42 2009 From: pthirose at ucdavis.edu (Paul Hirose) Date: Thu, 26 Feb 2009 12:40:42 -0800 (PST) Subject: [rt-users] 382 Shredder deleting tickets and attachments? Message-ID: If I use the built-in shredder to delete a ticket from the MySQL database, should it delete any attachments that were associated with that ticket? Or must I delete attachments separately? Thank you, PH -- Paul Hirose : pthirose at ucdavis.edu : Sysadm Motto: rm -fr /MyLife 1034 Academic Surge : Programmer/Analyst : Backup Motto : rm -fr / One Shields Avenue : Voice (530) 752-7181 : Robot, n.: Univ. Admin Davis, CA 95616-8770 : Fax (530) 752-4465 : rec.pets.cat.anecdotes From ericstauss at hotmail.com Thu Feb 26 16:22:01 2009 From: ericstauss at hotmail.com (estauss) Date: Thu, 26 Feb 2009 13:22:01 -0800 (PST) Subject: [rt-users] Crystal Reports Message-ID: <22206625.post@talk.nabble.com> Hello, I was also looking at using Crystal Reports with RT, is it any easier or are there any guides that show you how to do this? Thank you Eric Roy El-Hames wrote: > > Well kind of No, as Todd suggested the relationship within the RT tables > are n't straight forward to do joins/Sql queries easily you'll need some > sort of Perl api at the top, I know little about CR , can it talk to/via > Perl ??.. > Another approach (One I have been pondering) is to create new tables > within RT to collect Stats type data , the tables get populated via > croned perl scripts, then get the reporting tool (CR or any other to > query these Stats table). > > Regards; > Roy > > Mathew Snyder wrote: >> Or simply have CR connect directly to the database and run the reports >> itself, yes? >> >> Mathew >> >> Todd Chapman wrote: >> >>> The problem is that you would have to build the intelligence >>> of the RT API into Crystal. The relations between some of >>> the RT tables and not straightforward. Also crytsal would >>> not enforce RT's permissions. You would be better off to >>> do the reporting in Perl and output to HTML, PDF, or >>> something understood by a preferred formatting tool. >>> >>> -Todd >>> >>> On Thu, Jan 04, 2007 at 11:05:51PM -0500, Mathew Snyder wrote: >>> >>>> Has anyone successfully used Crystal Reports with their RT >>>> installation? I >>>> don't know much about it myself so I'm curious about how it would >>>> interface. >>>> Would it have to be run separately or is there a way to include it in >>>> the >>>> reports interface? >>>> >>>> We have a new license here at work and I've been asked to find out >>>> about its >>>> interaction with RT. >>>> >>>> Mathew >>>> _______________________________________________ >>>> 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 >>>> >> _______________________________________________ >> 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 >> >> > > _______________________________________________ > 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 > > -- View this message in context: http://www.nabble.com/Crystal-Reports-tp8172749p22206625.html Sent from the Request Tracker - User mailing list archive at Nabble.com. From jesse at bestpractical.com Thu Feb 26 16:32:59 2009 From: jesse at bestpractical.com (Jesse Vincent) Date: Thu, 26 Feb 2009 16:32:59 -0500 Subject: [rt-users] Ticket taken twice In-Reply-To: <20090226195513.GE22513@bestpractical.com> References: <20090225211113.GG32682@17h.local> <519782dc0902252329p7612d9ffi25be76e06c969997@mail.gmail.com> <20090226192614.GU32682@17h.local> <20090226194819.GD22513@bestpractical.com> <20090226195513.GE22513@bestpractical.com> Message-ID: <20090226213259.GC43668@17h.local> > Don't apply this patch. It's making the RT test suite explode. I have no > idea _what_ it would do to your DB. It was a false alarm. The test suite is now happy. Give it a shot? -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 194 bytes Desc: not available URL: From aaron at guise.net.nz Thu Feb 26 16:35:39 2009 From: aaron at guise.net.nz (Aaron Guise) Date: Fri, 27 Feb 2009 10:35:39 +1300 Subject: [rt-users] A little Scrip help In-Reply-To: References: <49A6E7D7.5050602@lbl.gov> Message-ID: On Fri, Feb 27, 2009 at 9:46 AM, Aaron Guise wrote: > Hi, > > I have just now amended our RT_SiteConfig with Set($UseTransactionBatch, > 1); > > Unfortunately it still triggered two emails. The scrip itself is set to > use transaction batch. > > > *Regards,* > > *Aaron Guise > 027 212 6638 > aaron at guise.net.nz > * > > > > On Fri, Feb 27, 2009 at 8:04 AM, Kenneth Crocker wrote: > >> Aaron, >> >> >> You need to turn on TransactionBatch in your RT_SiteConfig.pm file >> in /RTHOME/etc directory. That should allow you to use that stage option. >> >> >> Kenn >> LBNL >> >> On 2/26/2009 10:33 AM, Aaron Guise wrote: >> >>> If set to transaction batch which is marked Transaction Batch(Disabled) >>> it seems the script is just disabled as no email is sent. >>> >>> On Fri, Feb 27, 2009 at 1:32 AM, Potla, Ashish Bassaliel < >>> c_apotla at qualcomm.com > wrote: >>> >>> >>> ________________________________________ >>> From: Potla, Ashish Bassaliel >>> Sent: Thursday, February 26, 2009 5:59 PM >>> To: Aaron Guise >>> Subject: RE: [rt-users] A little Scrip help >>> >>> Is the scrip set to 'Transaction Batch' or 'Transaction Create'? >>> Set it to Transaction Batch. >>> >>> -Ashish >>> ________________________________________ >>> From: rt-users-bounces at lists.bestpractical.com >>> >>> [rt-users-bounces at lists.bestpractical.com >>> ] On Behalf Of >>> Aaron Guise [aaron at guise.net.nz ] >>> Sent: Thursday, February 26, 2009 4:02 PM >>> To: rt-users at lists.bestpractical.com >>> >>> Subject: [rt-users] A little Scrip help >>> >>> Hi, >>> >>> I have implemented a scrip to notify the owner in the event someone >>> else merges data into one of their tickets. All works well but alas >>> it actually sends the notification twice. There is probably a real >>> simple answer but it is baffling me. Have just ignored it the last >>> few months but now I am a little beyond that. >>> >>> The scrip used is noted below; >>> >>> my $txn = $self->TransactionObj; >>> return undef unless $txn->Type =~ /^AddLink$/i; >>> return undef unless $txn->Field =~ /^MergedInto$/i; >>> return 1; >>> >>> Any assistance in stopping this will be greatly appreciated. >>> >>> -- >>> Regards >>> >>> Aaron >>> _______________________________________________ >>> 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 >>> >>> >>> >>> ------------------------------------------------------------------------ >>> >>> _______________________________________________ >>> 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 >>> >> >> > -------------- next part -------------- An HTML attachment was scrubbed... URL: From aaron at guise.net.nz Thu Feb 26 18:17:40 2009 From: aaron at guise.net.nz (Aaron Guise) Date: Fri, 27 Feb 2009 12:17:40 +1300 Subject: [rt-users] Fwd: A little Scrip help In-Reply-To: References: <49A6E7D7.5050602@lbl.gov> <49A7101A.5080702@lbl.gov> Message-ID: ---------- Forwarded message ---------- From: Aaron Guise Date: Fri, Feb 27, 2009 at 12:17 PM Subject: Re: [rt-users] A little Scrip help To: Kenneth Crocker Yeah, Have double checked all of those scrips/templates again. The only one that nets an output matching that is the MergeNotifier Template. Looking in the RT interface for the ticket it shows that the same email sent twice one second apart. I even disabled a whole bunch of other scrips which may have sent a duplicate message but still to no avail. This just shouldn't be happening from what I can tell. *Regards,* *Aaron Guise 027 212 6638 aaron at guise.net.nz * On Fri, Feb 27, 2009 at 10:56 AM, Kenneth Crocker wrote: > Aaron, > > > Check to see if there are other scrips that are initiated with an > owner change or ticket creation, etc. Is the template wording the same? > Perhaps different wording for templates used by different scrips will give > you a clue. > > > Kenn > LBNL > > On 2/26/2009 12:46 PM, Aaron Guise wrote: > >> Hi, >> >> I have just now amended our RT_SiteConfig with Set($UseTransactionBatch, >> 1); >> >> Unfortunately it still triggered two emails. The scrip itself is set to >> use transaction batch. I have posted a screenshot here with the whole >> configuration of that particular scrip. >> >> >> *Regards,* >> >> *Aaron Guise >> 027 212 6638 >> aaron at guise.net.nz >> * >> >> >> >> On Fri, Feb 27, 2009 at 8:04 AM, Kenneth Crocker > KFCrocker at lbl.gov>> wrote: >> >> Aaron, >> >> >> You need to turn on TransactionBatch in your RT_SiteConfig.pm >> file in /RTHOME/etc directory. That should allow you to use that >> stage option. >> >> >> Kenn >> LBNL >> >> >> On 2/26/2009 10:33 AM, Aaron Guise wrote: >> >> If set to transaction batch which is marked Transaction >> Batch(Disabled) it seems the script is just disabled as no email >> is sent. >> >> On Fri, Feb 27, 2009 at 1:32 AM, Potla, Ashish Bassaliel >> >> >> >> wrote: >> >> >> ________________________________________ >> From: Potla, Ashish Bassaliel >> Sent: Thursday, February 26, 2009 5:59 PM >> To: Aaron Guise >> Subject: RE: [rt-users] A little Scrip help >> >> Is the scrip set to 'Transaction Batch' or 'Transaction Create'? >> Set it to Transaction Batch. >> >> -Ashish >> ________________________________________ >> From: rt-users-bounces at lists.bestpractical.com >> >> > > >> >> [rt-users-bounces at lists.bestpractical.com >> >> > >] On Behalf Of >> Aaron Guise [aaron at guise.net.nz >> >] >> >> >> Sent: Thursday, February 26, 2009 4:02 PM >> To: rt-users at lists.bestpractical.com >> >> > > >> >> Subject: [rt-users] A little Scrip help >> >> Hi, >> >> I have implemented a scrip to notify the owner in the event >> someone >> else merges data into one of their tickets. All works well >> but alas >> it actually sends the notification twice. There is probably >> a real >> simple answer but it is baffling me. Have just ignored it >> the last >> few months but now I am a little beyond that. >> >> The scrip used is noted below; >> >> my $txn = $self->TransactionObj; >> return undef unless $txn->Type =~ /^AddLink$/i; >> return undef unless $txn->Field =~ /^MergedInto$/i; >> return 1; >> >> Any assistance in stopping this will be greatly appreciated. >> >> -- >> Regards >> >> Aaron >> _______________________________________________ >> >> 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 >> >> >> >> >> ------------------------------------------------------------------------ >> >> >> _______________________________________________ >> 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 >> >> >> >> > -------------- next part -------------- An HTML attachment was scrubbed... URL: From KFCrocker at lbl.gov Thu Feb 26 18:57:28 2009 From: KFCrocker at lbl.gov (Kenneth Crocker) Date: Thu, 26 Feb 2009 15:57:28 -0800 Subject: [rt-users] Fwd: A little Scrip help In-Reply-To: References: <49A6E7D7.5050602@lbl.gov> <49A7101A.5080702@lbl.gov> Message-ID: <49A72C68.60307@lbl.gov> Aaron, Are the persons getting the Email in more than 1 role? FOr example; If I am the Requestor & the Owner and someone merges a ticket into mine am I getting 1 email as requestor and 1 as owner? Just a thought. Kenn LBNL On 2/26/2009 3:17 PM, Aaron Guise wrote: > > > ---------- Forwarded message ---------- > From: *Aaron Guise* > > Date: Fri, Feb 27, 2009 at 12:17 PM > Subject: Re: [rt-users] A little Scrip help > To: Kenneth Crocker > > > > Yeah, Have double checked all of those scrips/templates again. The only > one that nets an output matching that is the MergeNotifier Template. > Looking in the RT interface for the ticket it shows that the same email > sent twice one second apart. > > I even disabled a whole bunch of other scrips which may have sent a > duplicate message but still to no avail. This just shouldn't be > happening from what I can tell. > > *Regards,* > > *Aaron Guise > 027 212 6638 > aaron at guise.net.nz > * > > > > On Fri, Feb 27, 2009 at 10:56 AM, Kenneth Crocker > wrote: > > Aaron, > > > Check to see if there are other scrips that are initiated > with an owner change or ticket creation, etc. Is the template > wording the same? Perhaps different wording for templates used by > different scrips will give you a clue. > > > Kenn > LBNL > > > On 2/26/2009 12:46 PM, Aaron Guise wrote: > > Hi, > > I have just now amended our RT_SiteConfig with > Set($UseTransactionBatch, 1); > > Unfortunately it still triggered two emails. The scrip itself > is set to use transaction batch. I have posted a screenshot here > with the whole configuration of that particular scrip. > > > *Regards,* > > *Aaron Guise > 027 212 6638 > aaron at guise.net.nz > > > * > > > > > On Fri, Feb 27, 2009 at 8:04 AM, Kenneth Crocker > > >> wrote: > > Aaron, > > > You need to turn on TransactionBatch in your > RT_SiteConfig.pm > file in /RTHOME/etc directory. That should allow you to use that > stage option. > > > Kenn > LBNL > > > On 2/26/2009 10:33 AM, Aaron Guise wrote: > > If set to transaction batch which is marked Transaction > Batch(Disabled) it seems the script is just disabled as > no email > is sent. > > On Fri, Feb 27, 2009 at 1:32 AM, Potla, Ashish Bassaliel > > > > >>> > > wrote: > > > ________________________________________ > From: Potla, Ashish Bassaliel > Sent: Thursday, February 26, 2009 5:59 PM > To: Aaron Guise > Subject: RE: [rt-users] A little Scrip help > > Is the scrip set to 'Transaction Batch' or > 'Transaction Create'? > Set it to Transaction Batch. > > -Ashish > ________________________________________ > From: rt-users-bounces at lists.bestpractical.com > > > > > >> > > [rt-users-bounces at lists.bestpractical.com > > > > > >>] On Behalf Of > Aaron Guise [aaron at guise.net.nz > > > > >>] > > > Sent: Thursday, February 26, 2009 4:02 PM > To: rt-users at lists.bestpractical.com > > > > > >> > > Subject: [rt-users] A little Scrip help > > Hi, > > I have implemented a scrip to notify the owner in the > event > someone > else merges data into one of their tickets. All works > well > but alas > it actually sends the notification twice. There is > probably > a real > simple answer but it is baffling me. Have just ignored it > the last > few months but now I am a little beyond that. > > The scrip used is noted below; > > my $txn = $self->TransactionObj; > return undef unless $txn->Type =~ /^AddLink$/i; > return undef unless $txn->Field =~ /^MergedInto$/i; > return 1; > > Any assistance in stopping this will be greatly > appreciated. > > -- > Regards > > Aaron > _______________________________________________ > > 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 > > > > > ------------------------------------------------------------------------ > > > _______________________________________________ > > 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 > > > > > > > > ------------------------------------------------------------------------ > > _______________________________________________ > 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 From aaron at guise.net.nz Thu Feb 26 19:58:35 2009 From: aaron at guise.net.nz (Aaron Guise) Date: Fri, 27 Feb 2009 13:58:35 +1300 Subject: [rt-users] Fwd: A little Scrip help In-Reply-To: <49A72C68.60307@lbl.gov> References: <49A6E7D7.5050602@lbl.gov> <49A7101A.5080702@lbl.gov> <49A72C68.60307@lbl.gov> Message-ID: I thought of this scenario already, but I created the ticket from another external email address which is separate from my work one which RT Responds to. I am the owner of the ticket data is merged with and hence I get one email but I have a feeling it may be emailing twice as there is two tickets which become one and effectively I become the owner of both. But it reports the ID# of the only remaining ticket in both emails. On Fri, Feb 27, 2009 at 12:57 PM, Kenneth Crocker wrote: > Aaron, > > > Are the persons getting the Email in more than 1 role? FOr example; > If I am the Requestor & the Owner and someone merges a ticket into mine am I > getting 1 email as requestor and 1 as owner? Just a thought. > > Kenn > LBNL > > On 2/26/2009 3:17 PM, Aaron Guise wrote: > >> >> >> ---------- Forwarded message ---------- >> From: *Aaron Guise* > >> Date: Fri, Feb 27, 2009 at 12:17 PM >> Subject: Re: [rt-users] A little Scrip help >> To: Kenneth Crocker > >> >> >> Yeah, Have double checked all of those scrips/templates again. The only >> one that nets an output matching that is the MergeNotifier Template. >> Looking in the RT interface for the ticket it shows that the same email >> sent twice one second apart. >> >> I even disabled a whole bunch of other scrips which may have sent a >> duplicate message but still to no avail. This just shouldn't be happening >> from what I can tell. >> >> *Regards,* >> >> *Aaron Guise >> 027 212 6638 >> aaron at guise.net.nz >> * >> >> >> >> On Fri, Feb 27, 2009 at 10:56 AM, Kenneth Crocker > KFCrocker at lbl.gov>> wrote: >> >> Aaron, >> >> >> Check to see if there are other scrips that are initiated >> with an owner change or ticket creation, etc. Is the template >> wording the same? Perhaps different wording for templates used by >> different scrips will give you a clue. >> >> >> Kenn >> LBNL >> >> >> On 2/26/2009 12:46 PM, Aaron Guise wrote: >> >> Hi, >> >> I have just now amended our RT_SiteConfig with >> Set($UseTransactionBatch, 1); >> >> Unfortunately it still triggered two emails. The scrip itself >> is set to use transaction batch. I have posted a screenshot here >> with the whole configuration of that particular scrip. >> >> >> *Regards,* >> >> *Aaron Guise >> 027 212 6638 >> aaron at guise.net.nz >> > >> * >> >> >> >> >> On Fri, Feb 27, 2009 at 8:04 AM, Kenneth Crocker >> >> >> wrote: >> >> Aaron, >> >> >> You need to turn on TransactionBatch in your >> RT_SiteConfig.pm >> file in /RTHOME/etc directory. That should allow you to use that >> stage option. >> >> >> Kenn >> LBNL >> >> >> On 2/26/2009 10:33 AM, Aaron Guise wrote: >> >> If set to transaction batch which is marked Transaction >> Batch(Disabled) it seems the script is just disabled as >> no email >> is sent. >> >> On Fri, Feb 27, 2009 at 1:32 AM, Potla, Ashish Bassaliel >> >> > >> > > >>> >> >> wrote: >> >> >> ________________________________________ >> From: Potla, Ashish Bassaliel >> Sent: Thursday, February 26, 2009 5:59 PM >> To: Aaron Guise >> Subject: RE: [rt-users] A little Scrip help >> >> Is the scrip set to 'Transaction Batch' or >> 'Transaction Create'? >> Set it to Transaction Batch. >> >> -Ashish >> ________________________________________ >> From: rt-users-bounces at lists.bestpractical.com >> >> > > >> > >> > >> >> >> [rt-users-bounces at lists.bestpractical.com >> >> > > >> > >> > >>] On Behalf Of >> Aaron Guise [aaron at guise.net.nz >> > > >> >> >>] >> >> >> Sent: Thursday, February 26, 2009 4:02 PM >> To: rt-users at lists.bestpractical.com >> >> > > >> > >> > >> >> >> Subject: [rt-users] A little Scrip help >> >> Hi, >> >> I have implemented a scrip to notify the owner in the >> event >> someone >> else merges data into one of their tickets. All works >> well >> but alas >> it actually sends the notification twice. There is >> probably >> a real >> simple answer but it is baffling me. Have just ignored >> it >> the last >> few months but now I am a little beyond that. >> >> The scrip used is noted below; >> >> my $txn = $self->TransactionObj; >> return undef unless $txn->Type =~ /^AddLink$/i; >> return undef unless $txn->Field =~ /^MergedInto$/i; >> return 1; >> >> Any assistance in stopping this will be greatly >> appreciated. >> >> -- >> Regards >> >> Aaron >> _______________________________________________ >> >> 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 >> >> >> >> >> ------------------------------------------------------------------------ >> >> >> _______________________________________________ >> >> 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 >> >> >> >> >> >> >> >> ------------------------------------------------------------------------ >> >> _______________________________________________ >> 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 >> > > -------------- next part -------------- An HTML attachment was scrubbed... URL: From todd at chaka.net Thu Feb 26 21:52:07 2009 From: todd at chaka.net (Todd Chapman) Date: Thu, 26 Feb 2009 21:52:07 -0500 Subject: [rt-users] RT 3.6 Change look and feel of customized fields In-Reply-To: <0111C34BD897FD41841D60396F2AD3D3017D40A0CC@IMCMBX2.MITRE.ORG> References: <0111C34BD897FD41841D60396F2AD3D3017D40A0CC@IMCMBX2.MITRE.ORG> Message-ID: <519782dc0902261852p92a3848w265883a5c9fe79f9@mail.gmail.com> This might help. http://lists.bestpractical.com/pipermail/rt-users/2008-February/050039.html On Wed, Feb 25, 2009 at 1:47 PM, Eggers, Ken F. wrote: > I am a novice who has easily created customized fields (RT is Great for > that) but now want to change the look and feel to allow the fields to > display nicely in a browser. > > > > Can the fields look and feel as displayed in the browser be altered (see how > much I am a novice!)?? > > Not looking to major radical changes, just some simple sizing to allow text > in the field to display completely. > > > > Any pointers learning/understanding any other programming language I may > need welcomed! > > > > Own RT Essentials. > > > > Running 3.6.7 on UNIX with Apache with limited admin support, so I must do! > > > > Thanks in advance > > > > Ken > > _______________________________________________ > 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 > From clkao at bestpractical.com Thu Feb 26 22:40:54 2009 From: clkao at bestpractical.com (Chia-liang Kao) Date: Fri, 27 Feb 2009 11:40:54 +0800 Subject: [rt-users] RTx::WorkflowBuilder - Can't call method "HasUnresolvedDependencies" on an undefined value In-Reply-To: <200902261917.28200.Richard.Foley@rfi.net> References: <34E94CF4-B2B1-4749-9FC9-F2607495DAB4@bestpractical.com> <200902261620.50061.Richard.Foley@rfi.net> <200902261752.52587.Richard.Foley@rfi.net> <200902261917.28200.Richard.Foley@rfi.net> Message-ID: Hi Richard, > > It transpires the approval ticket is actually created, although I am > unable to > see it unless I look up the id directly, even though my user > currently has > every right imaginable. Further, when I reject the (hidden) > approval, this > appears to be succesful. However, when I resolve the (still hidden) > approval, I see the following error: > > System error > error: Can't call method "HasUnresolvedDependencies" on an > undefined value > at /opt/rt3/bin/../local/lib/RT/Approval/Rule/Passed.pm line 35. > context: Is this a single-stage or multi-stage approval? and is the test t/ approval/basic.t passing for you? If you look at the (hidden) approval ticket by putting the ticket id into Display.html, do you see DependedOnBy containing the actual ticket or other approvals? Cheers, CLK -------------- next part -------------- An HTML attachment was scrubbed... URL: From clkao at bestpractical.com Thu Feb 26 22:40:54 2009 From: clkao at bestpractical.com (Chia-liang Kao) Date: Fri, 27 Feb 2009 11:40:54 +0800 Subject: [rt-users] RTx::WorkflowBuilder - Can't call method "HasUnresolvedDependencies" on an undefined value In-Reply-To: <200902261917.28200.Richard.Foley@rfi.net> References: <34E94CF4-B2B1-4749-9FC9-F2607495DAB4@bestpractical.com> <200902261620.50061.Richard.Foley@rfi.net> <200902261752.52587.Richard.Foley@rfi.net> <200902261917.28200.Richard.Foley@rfi.net> Message-ID: Hi Richard, > > It transpires the approval ticket is actually created, although I am > unable to > see it unless I look up the id directly, even though my user > currently has > every right imaginable. Further, when I reject the (hidden) > approval, this > appears to be succesful. However, when I resolve the (still hidden) > approval, I see the following error: > > System error > error: Can't call method "HasUnresolvedDependencies" on an > undefined value > at /opt/rt3/bin/../local/lib/RT/Approval/Rule/Passed.pm line 35. > context: Is this a single-stage or multi-stage approval? and is the test t/ approval/basic.t passing for you? If you look at the (hidden) approval ticket by putting the ticket id into Display.html, do you see DependedOnBy containing the actual ticket or other approvals? Cheers, CLK -------------- next part -------------- An HTML attachment was scrubbed... URL: From jrhett at netconsonance.com Fri Feb 27 00:07:26 2009 From: jrhett at netconsonance.com (Jo Rhett) Date: Thu, 26 Feb 2009 21:07:26 -0800 Subject: [rt-users] log a complaint about invalid timezones? In-Reply-To: <8B6297BF-2664-41D5-81EF-D01003F3C280@netconsonance.com> References: <8B6297BF-2664-41D5-81EF-D01003F3C280@netconsonance.com> Message-ID: On Feb 26, 2009, at 10:45 AM, Jo Rhett wrote: > We have noticed that although the subscription page says the local > timezone next to the time, the reports actually run based on GMT time. I figured it out. On FreeBSD timezone data is stored in /usr/share/ timezones and has some different names. "US/Pacific" would actually be "America/Log_Angeles". This solved the problem. Can we get RT to throw out a message if the timezone it's given proves not to resolve? -- Jo Rhett Net Consonance : consonant endings by net philanthropy, open source and other randomness -------------- next part -------------- An HTML attachment was scrubbed... URL: From clkao at bestpractical.com Fri Feb 27 01:03:07 2009 From: clkao at bestpractical.com (Chia-liang Kao) Date: Fri, 27 Feb 2009 06:03:07 +0000 (UTC) Subject: [rt-users] Approval RT 3.8.2 system approver not specified References: <891469DFBBD7364EB24DEEB101767D861A9818@nlutxch101.corporate.ingrammicro.com> Message-ID: Hi Ton, > correspondence is also saying that Nobody has approved the > ticket (what looks silly in my opinion). you should in fact set the owner of the approval ticket in your template, so the owner is notified of the approval and can perform the approval action. > I have a global scrip that set the owner when a ticket is > resolved that currently unowned. This scrip however is running > after inserting the above template correspondence (I also > disabled it to test the current default approval behaviour). Is > this a forgotten step in the approval system, not setting the > owner for the approval ticket? Is it also not better to grab > the actor?s name doing the approval instead of depending on the > actual owner of the approval ticket? I think the system is designed to have the owner of approval predetermined. if you want to allow a group of people to approve the ticket, you can create multiple tickets in the CreateTicket template for each of the potential approvers. Cheers, CLK From alberto.villanueva at altran.es Fri Feb 27 04:15:15 2009 From: alberto.villanueva at altran.es (Alberto Villanueva) Date: Fri, 27 Feb 2009 10:15:15 +0100 Subject: [rt-users] 382 Shredder deleting tickets and attachments? In-Reply-To: References: Message-ID: Hi Paul, This link could help you to understand how a ticket must be deleted: http://wiki.bestpractical.com/view/DatabaseAdmin Regards, ALBERTO VILLANUEVA VAL Consultor ____________________________________________ Altran ParqueEmpresarial Las Mercedes, Edificio 1 C/ Campezo, 1. 28022 Madrid Tel : + 34 91 744 46 00 Fax: + 34 91 415 24 57 www.altran.es -----Mensaje original----- De: rt-users-bounces at lists.bestpractical.com [mailto:rt-users-bounces at lists.bestpractical.com] En nombre de Paul Hirose Enviado el: jueves, 26 de febrero de 2009 21:41 Para: rt-users at lists.bestpractical.com Asunto: [rt-users] 382 Shredder deleting tickets and attachments? If I use the built-in shredder to delete a ticket from the MySQL database, should it delete any attachments that were associated with that ticket? Or must I delete attachments separately? Thank you, PH -- Paul Hirose : pthirose at ucdavis.edu : Sysadm Motto: rm -fr /MyLife 1034 Academic Surge : Programmer/Analyst : Backup Motto : rm -fr / One Shields Avenue : Voice (530) 752-7181 : Robot, n.: Univ. Admin Davis, CA 95616-8770 : Fax (530) 752-4465 : rec.pets.cat.anecdotes _______________________________________________ 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 From Richard.Foley at rfi.net Fri Feb 27 04:18:14 2009 From: Richard.Foley at rfi.net (Richard Foley) Date: Fri, 27 Feb 2009 10:18:14 +0100 Subject: [rt-users] RTx::WorkflowBuilder - Can't call method "HasUnresolvedDependencies" on an undefined value Message-ID: <200902271018.14599.Richard.Foley@rfi.net> On Friday 27 February 2009 04:40:54 Chia-liang Kao wrote: > > > appears to be succesful. However, when I resolve the (still hidden) > > approval, I see the following error: > > > > System error > > error: Can't call method "HasUnresolvedDependencies" on an > > undefined value > > at /opt/rt3/bin/../local/lib/RT/Approval/Rule/Passed.pm line 35. > > context: > > Is this a single-stage or multi-stage approval? and is the test t/ > approval/basic.t passing for you? > This case was a multi-stage approval, the single-stage passed just fine. In fact one-, two-, and four-stage approvals were all fine too, it was just the three-stage approval which failed consistently in this manner. > If you look at the (hidden) approval ticket by putting the ticket id > into Display.html, do you see DependedOnBy containing the actual > ticket or other approvals? > Well, there are three approval tickets, so it's not so simple to explain... What I did notice was that under the failing three-approval the "Refers to:" line appeared to have a missing checkbox, or an empty line, depending on what way you look at it. I've attached a screenshot to show what I mean, maybe this helps? -- Richard Foley Ciao - shorter than aufwiedersehen http://www.rfi.net/ -------------- next part -------------- A non-text attachment was scrubbed... Name: ticket-31.png Type: image/png Size: 66574 bytes Desc: not available URL: From Richard.Foley at rfi.net Fri Feb 27 04:18:14 2009 From: Richard.Foley at rfi.net (Richard Foley) Date: Fri, 27 Feb 2009 10:18:14 +0100 Subject: [rt-users] RTx::WorkflowBuilder - Can't call method "HasUnresolvedDependencies" on an undefined value Message-ID: <200902271018.14599.Richard.Foley@rfi.net> On Friday 27 February 2009 04:40:54 Chia-liang Kao wrote: > > > appears to be succesful. However, when I resolve the (still hidden) > > approval, I see the following error: > > > > System error > > error: Can't call method "HasUnresolvedDependencies" on an > > undefined value > > at /opt/rt3/bin/../local/lib/RT/Approval/Rule/Passed.pm line 35. > > context: > > Is this a single-stage or multi-stage approval? and is the test t/ > approval/basic.t passing for you? > This case was a multi-stage approval, the single-stage passed just fine. In fact one-, two-, and four-stage approvals were all fine too, it was just the three-stage approval which failed consistently in this manner. > If you look at the (hidden) approval ticket by putting the ticket id > into Display.html, do you see DependedOnBy containing the actual > ticket or other approvals? > Well, there are three approval tickets, so it's not so simple to explain... What I did notice was that under the failing three-approval the "Refers to:" line appeared to have a missing checkbox, or an empty line, depending on what way you look at it. I've attached a screenshot to show what I mean, maybe this helps? -- Richard Foley Ciao - shorter than aufwiedersehen http://www.rfi.net/ -------------- next part -------------- A non-text attachment was scrubbed... Name: ticket-31.png Type: image/png Size: 66574 bytes Desc: not available URL: From clkao at bestpractical.com Fri Feb 27 04:45:46 2009 From: clkao at bestpractical.com (Chia-liang Kao) Date: Fri, 27 Feb 2009 17:45:46 +0800 Subject: [rt-users] RTx::WorkflowBuilder - Can't call method "HasUnresolvedDependencies" on an undefined value In-Reply-To: <200902271018.14599.Richard.Foley@rfi.net> References: <200902271018.14599.Richard.Foley@rfi.net> Message-ID: <5008F0B7-F51C-4BB5-A5D8-ABB90039CBE1@bestpractical.com> ? 2009/2/27 ?? 5:18 ?? Richard Foley ??? > On Friday 27 February 2009 04:40:54 Chia-liang Kao wrote: >> >>> appears to be succesful. However, when I resolve the (still hidden) >>> approval, I see the following error: >>> >>> System error >>> error: Can't call method "HasUnresolvedDependencies" on an >>> undefined value >>> at /opt/rt3/bin/../local/lib/RT/Approval/Rule/Passed.pm line 35. >>> context: >> >> Is this a single-stage or multi-stage approval? and is the test t/ >> approval/basic.t passing for you? >> > This case was a multi-stage approval, the single-stage passed just > fine. In > fact one-, two-, and four-stage approvals were all fine too, it was > just the > three-stage approval which failed consistently in this manner. ok, so at which stage of resolving causes the issue? can you traverse the "depends on" link to see if it reaches to the one in question? >> If you look at the (hidden) approval ticket by putting the ticket id >> into Display.html, do you see DependedOnBy containing the actual >> ticket or other approvals? >> > Well, there are three approval tickets, so it's not so simple to > explain... > What I did notice was that under the failing three-approval the > "Refers to:" > line appeared to have a missing checkbox, or an empty line, > depending on what > way you look at it. I've attached a screenshot to show what I mean, > maybe > this helps? I think those tickets are under "refers to by:" Cheers, CLK From clkao at bestpractical.com Fri Feb 27 04:45:46 2009 From: clkao at bestpractical.com (Chia-liang Kao) Date: Fri, 27 Feb 2009 17:45:46 +0800 Subject: [rt-users] RTx::WorkflowBuilder - Can't call method "HasUnresolvedDependencies" on an undefined value In-Reply-To: <200902271018.14599.Richard.Foley@rfi.net> References: <200902271018.14599.Richard.Foley@rfi.net> Message-ID: <5008F0B7-F51C-4BB5-A5D8-ABB90039CBE1@bestpractical.com> ? 2009/2/27 ?? 5:18 ?? Richard Foley ??? > On Friday 27 February 2009 04:40:54 Chia-liang Kao wrote: >> >>> appears to be succesful. However, when I resolve the (still hidden) >>> approval, I see the following error: >>> >>> System error >>> error: Can't call method "HasUnresolvedDependencies" on an >>> undefined value >>> at /opt/rt3/bin/../local/lib/RT/Approval/Rule/Passed.pm line 35. >>> context: >> >> Is this a single-stage or multi-stage approval? and is the test t/ >> approval/basic.t passing for you? >> > This case was a multi-stage approval, the single-stage passed just > fine. In > fact one-, two-, and four-stage approvals were all fine too, it was > just the > three-stage approval which failed consistently in this manner. ok, so at which stage of resolving causes the issue? can you traverse the "depends on" link to see if it reaches to the one in question? >> If you look at the (hidden) approval ticket by putting the ticket id >> into Display.html, do you see DependedOnBy containing the actual >> ticket or other approvals? >> > Well, there are three approval tickets, so it's not so simple to > explain... > What I did notice was that under the failing three-approval the > "Refers to:" > line appeared to have a missing checkbox, or an empty line, > depending on what > way you look at it. I've attached a screenshot to show what I mean, > maybe > this helps? I think those tickets are under "refers to by:" Cheers, CLK From Richard.Foley at rfi.net Fri Feb 27 05:08:16 2009 From: Richard.Foley at rfi.net (Richard Foley) Date: Fri, 27 Feb 2009 11:08:16 +0100 Subject: [rt-users] RTx::WorkflowBuilder - Can't call method "HasUnresolvedDependencies" on an undefined value In-Reply-To: <5008F0B7-F51C-4BB5-A5D8-ABB90039CBE1@bestpractical.com> References: <200902271018.14599.Richard.Foley@rfi.net> <5008F0B7-F51C-4BB5-A5D8-ABB90039CBE1@bestpractical.com> Message-ID: <200902271108.16360.Richard.Foley@rfi.net> On Friday 27 February 2009 10:45:46 Chia-liang Kao wrote: > > ok, so at which stage of resolving causes the issue? > > can you traverse the "depends on" link to see if it reaches to the one > in question? > Yes, this seems to be fine. > > way you look at it. I've attached a screenshot to show what I mean, > > I think those tickets are under "refers to by:" > I think you're right, although it might be more intuitive to display them non-vertically-centered... -- Richard Foley Ciao - shorter than aufwiedersehen http://www.rfi.net/ From Richard.Foley at rfi.net Fri Feb 27 05:08:16 2009 From: Richard.Foley at rfi.net (Richard Foley) Date: Fri, 27 Feb 2009 11:08:16 +0100 Subject: [rt-users] RTx::WorkflowBuilder - Can't call method "HasUnresolvedDependencies" on an undefined value In-Reply-To: <5008F0B7-F51C-4BB5-A5D8-ABB90039CBE1@bestpractical.com> References: <200902271018.14599.Richard.Foley@rfi.net> <5008F0B7-F51C-4BB5-A5D8-ABB90039CBE1@bestpractical.com> Message-ID: <200902271108.16360.Richard.Foley@rfi.net> On Friday 27 February 2009 10:45:46 Chia-liang Kao wrote: > > ok, so at which stage of resolving causes the issue? > > can you traverse the "depends on" link to see if it reaches to the one > in question? > Yes, this seems to be fine. > > way you look at it. I've attached a screenshot to show what I mean, > > I think those tickets are under "refers to by:" > I think you're right, although it might be more intuitive to display them non-vertically-centered... -- Richard Foley Ciao - shorter than aufwiedersehen http://www.rfi.net/ From bertignac at gmail.com Fri Feb 27 05:11:21 2009 From: bertignac at gmail.com (L B) Date: Fri, 27 Feb 2009 11:11:21 +0100 Subject: [rt-users] Strange things with RT 3.8.2 Approval system In-Reply-To: References: Message-ID: Will this be fixed in RT 3.8.3 (may I ask when :-) ) ? Does your RT-Workflow extension work correctly even with these bugs ? I had this working in RT 3.6.6, we did the migration, and now some users complain because it's broken :-/ -- L.B. From bertignac at gmail.com Fri Feb 27 05:12:48 2009 From: bertignac at gmail.com (L B) Date: Fri, 27 Feb 2009 11:12:48 +0100 Subject: [rt-users] Problem for new users in RT 3.8.2 " RT could not load avalid user" In-Reply-To: <49A66AE7.5010704@utilyx.com> References: <1812308275-1235584602-cardhu_decombobulator_blackberry.rim.net-113435011-@bxe1246.bisx.prod.on.blackberry> <49A66AE7.5010704@utilyx.com> Message-ID: It was set to 0, I think it's probably the cause. Thanks ! -- L.B. From ruslan.zakirov at gmail.com Fri Feb 27 05:32:09 2009 From: ruslan.zakirov at gmail.com (Ruslan Zakirov) Date: Fri, 27 Feb 2009 13:32:09 +0300 Subject: [rt-users] 382 Shredder deleting tickets and attachments? In-Reply-To: References: Message-ID: <589c94400902270232w36704100r2c3fe86b86d6fe2d@mail.gmail.com> Shredder deletes attachments with tickets. On Thu, Feb 26, 2009 at 11:40 PM, Paul Hirose wrote: > If I use the built-in shredder to delete a ticket from the MySQL database, should it delete any attachments that were associated with that ticket? ?Or must I delete attachments separately? > > Thank you, > PH > > -- > Paul Hirose ? ? ? ? ?: pthirose at ucdavis.edu : Sysadm Motto: rm -fr /MyLife > 1034 Academic Surge ?: Programmer/Analyst ? : Backup Motto : rm -fr / > One Shields Avenue ? : Voice (530) 752-7181 : Robot, n.: Univ. Admin > Davis, CA 95616-8770 : Fax ? (530) 752-4465 : rec.pets.cat.anecdotes > _______________________________________________ > 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 > -- Best regards, Ruslan. From maier at idowa.de Fri Feb 27 05:44:21 2009 From: maier at idowa.de (Stefan Maier) Date: Fri, 27 Feb 2009 11:44:21 +0100 Subject: [rt-users] Searching for CC Message-ID: <49A7C405.1050507@idowa.de> On RT 3.6.4 I have a scrip to do $self->TicketObj->AddWatcher( Type => "Cc", Email => 'ecom at idowa.example'); on certain tickets. I want to define a search for all tickets that have this email-address as a CC and tried doing: CC.EmailAddress = 'ecom at idowa.exmaple' but this does not seem to work. Any suggestions? Thanks a lot, Stefan Maier -- Mit freundlichen Gr??en Stefan Maier ========================================================== Straubinger Tagblatt EDV-Abteilung FON: +49 9421 940 388 Ludwigsplatz 30 FAX: +49 9421 940 6236 D-94315 Straubing http://www.idowa.de E-Mail: maier at idowa.de ========================================================== Zeitungsgruppe Straubinger Tagblatt / Landshuter Zeitung Cl. Attenkofer'sche Buch- und Kunstdruckerei Verlagsbuchhandlung Straubing KG Registergericht: Amtsgericht Straubing, HRA 1118 ========================================================== From alexyoung at scoutsolutions.co.uk Fri Feb 27 06:04:28 2009 From: alexyoung at scoutsolutions.co.uk (Alex Young) Date: Fri, 27 Feb 2009 11:04:28 -0000 Subject: [rt-users] Tracking a bug with WYSIWYG editor and IE7 In-Reply-To: References: <3CE7D8D453B27148BBCA0B2063B11E64D600E2@s-wor-e-001.SCOUTSOFFICE.local> <3CE7D8D453B27148BBCA0B2063B11E64D600F3@s-wor-e-001.SCOUTSOFFICE.local> Message-ID: <3CE7D8D453B27148BBCA0B2063B11E64D60243@s-wor-e-001.SCOUTSOFFICE.local> I am using pretty much the same as you, except I'm running IE7 on Vista. Michael, do oyu still have this bug if you disable RTFM? I can reproduce the error consistantly whenever I hit reply/comment to a specific transaction. Depending on which transaction I reply/comment on changes the site that the data is truncated. Doesnt matter how much more I type into the reply/comment, each transaction also truncated at the same bytes regardless. The Javascript errors I had in IE had nothing to do with this bug. I fixed it my removing the references to scriptalicous.js and prototype.js in the modified header from the RTx-EmailCompletion header. -----Original Message----- From: Michael Finn [mailto:mfinn at nbutexas.com] Sent: 25 February 2009 20:59 To: Alex Young; rt-users at lists.bestpractical.com Subject: Tracking a bug with WYSIWYG editor and IE7 The only extension I have is RTFM. More specs: RT-3.8.2 RTFM-2.4.1 MySQL 5.0.67 (external server) IE 7.0.5730.11 on WinXP SP3 IE7 Add-ons don't apply, because I experienced the same issue in IE7 "safe mode" ('iexplore -extoff'). I'm baffled. > -----Original Message----- > From: Alex Young [mailto:alexyoung at scoutsolutions.co.uk] > Sent: Wednesday, February 25, 2009 12:38 PM > To: Michael Finn; rt-users at lists.bestpractical.com > Subject: RE: [rt-users] Trying to track a bug with WYSIWYG editor,IE7 > and RTx-EmailCompletion > > Hmmm... odd that I dont get the error when I remove RTx- > EmailCompletion, but you're not using it. What other extensions are you > using? Do you still get this problem if they are disabled? > > Mine is getting truncated at 319 characters on every one. I never > noticed it before. > > Looks like my JavaScript error is unrelated. Its a RTx-EmailCompletion > specific error that, so nothing to do with the truncation. > > > ================================================ > MIME-Version: 1.0 > X-Mailer: MIME-tools 5.427 (Entity 5.427) > Content-Disposition: inline > Content-Type: text/html; charset="UTF-8" > Content-Transfer-Encoding: binary > X-RT-Original-Encoding: utf-8 > RT-Send-CC: > Content-Length: 319 > >

Does it do it when inserting content fro > m the previous page?

>

On Wed Feb 25 14:58:45 2009, ayoung wrote: >
> > T > his is a > lon > g winded reply to see if IE will br > eak > with the WYSIWYG
> > & > gt; editor yet
> > again.
> >
> > > I > cant understand why it breaks.
> &g > t > ; > ================================================ > > > -----Original Message----- > From: Michael Finn [mailto:mfinn at nbutexas.com] > Sent: 25 February 2009 18:26 > To: Alex Young; rt-users at lists.bestpractical.com > Subject: RE: [rt-users] Trying to track a bug with WYSIWYG editor,IE7 > and RTx-EmailCompletion > > Alex, > > I've observed the same kind of behavior when I use the "New ticket in" > button at the top, but not when I enter a comment or reply. > Additionally, my text is truncated at 55 characters. I'm having this > issue in IE7, but not Firefox 3. I don't get JavaScript errors in > either browser. > > I do not use RTx-EmailCompletion, however. Here's an example of what > I'm seeing (with headers): > ================= > MIME-Version: 1.0 > Content-Type: text/html; charset="UTF-8" > X-Mailer: MIME-tools 5.427 (Entity 5.427) > Content-Disposition: inline > Content-Transfer-Encoding: binary > X-RT-Original-Encoding: utf-8 > Content-Length: 55 > >

K > . Tibbels PC& > nbsp;won't boot.  " > ;Strik > ================= > > Mike > ----------------- > From: rt-users-bounces at lists.bestpractical.com [mailto:rt-users- > bounces at lists.bestpractical.com] On Behalf Of Alex Young > Sent: Wednesday, February 25, 2009 10:45 AM > To: rt-users at lists.bestpractical.com > Subject: [rt-users] Trying to track a bug with WYSIWYG editor,IE7 and > RTx-EmailCompletion > > Hi, > ????????? I'm trying to track down a bug I am experiencing with RT, its > WYSIWYG editor, IE7 and RTx-EmailCompletion. > > On my install when RT inserts content automatically into the body of > the WYSIWYG editor. > > I only get this error when using Internet Explorer 7 (Haven't tried > other IE versions). Firefox doesn't suffer. > > If I insert and RTFM article, my user signature (set under users > preferences), or hit reply/comment on a ticket transaction it posts the > info correct into the WYSIWYG editor window. When submitting that page > the transaction content randomly inserts spaces, line breaks, and chops > off the end of the content. > > If I disable RTx-EmailCompletion it works fine. > > I also have a JavaScript error in IE7 when RTx-EmailCompletion is > enabled; > Line: 2 > Char: 1 > Error: Syntax error > Code: 0 > > This error shows on every page. Looks like it's a problem with RTx- > EmailCompletion. It doesn't give a JS error in Firefox. > > Has anyone else had this problem or been able to fix it? From clkao at bestpractical.com Fri Feb 27 07:29:17 2009 From: clkao at bestpractical.com (Chia-liang Kao) Date: Fri, 27 Feb 2009 20:29:17 +0800 Subject: [rt-users] RTx::WorkflowBuilder - Can't call method "HasUnresolvedDependencies" on an undefined value In-Reply-To: <200902271125.03609.rich.inud@naktiv.net> References: <200902271125.03609.rich.inud@naktiv.net> Message-ID: <7FCBEF90-DB61-446D-BFB7-5ABCA6612968@bestpractical.com> ? 2009/2/27 ?? 6:25 ?? Richinud ??? > On Friday 27 February 2009 10:45:46 Chia-liang Kao wrote: >> >> issue? >> > Maybe I'll just stick to two-stage approvals - as they appear to > work just > fine ;-) > The tests in RTx::WorkflowBuilder actually contains a 3-stage approval. can you try to modify the test's config to reproduce the problem? Cheers, CLK From clkao at bestpractical.com Fri Feb 27 07:29:17 2009 From: clkao at bestpractical.com (Chia-liang Kao) Date: Fri, 27 Feb 2009 20:29:17 +0800 Subject: [rt-users] RTx::WorkflowBuilder - Can't call method "HasUnresolvedDependencies" on an undefined value In-Reply-To: <200902271125.03609.rich.inud@naktiv.net> References: <200902271125.03609.rich.inud@naktiv.net> Message-ID: <7FCBEF90-DB61-446D-BFB7-5ABCA6612968@bestpractical.com> ? 2009/2/27 ?? 6:25 ?? Richinud ??? > On Friday 27 February 2009 10:45:46 Chia-liang Kao wrote: >> >> issue? >> > Maybe I'll just stick to two-stage approvals - as they appear to > work just > fine ;-) > The tests in RTx::WorkflowBuilder actually contains a 3-stage approval. can you try to modify the test's config to reproduce the problem? Cheers, CLK From bogey_63 at yahoo.com Fri Feb 27 09:37:00 2009 From: bogey_63 at yahoo.com (who else) Date: Fri, 27 Feb 2009 06:37:00 -0800 (PST) Subject: [rt-users] Error on including RTFM Article in Answer to Ticket Message-ID: <22247095.post@talk.nabble.com> Hi all, am a newbie with RT and RTFM, but got it up and running for two days now. I figured out a lot of things myself, and besides buying RT Essentials, which will amazon will ship today, and checking out various options in RT, i got a weird Errormessage, where neither Uncle Google finds anything nor Auntie Searchbutton here in the list archives. So, the error message is: Can't call method "Id" on an undefined value at /opt/rt3/local/plugins/RT-FM/lib/RT/URI/fsck_com_rtfm.pm line 133. What happened before: I configured RTFM, created two classes and a bunch of topics, as well as a wikitext entry user defined field, to be able to enter the long version of the summary. Then i entered some articles to check out the article integration in RT I opened a new ticket and clicked on answer. Then i selected an Entry of RTFM to be included in the answer. Which was shown in the text editor after i made changes to another field and hit the Enterkey. I selected the entry by popuplist, by entering the article number i got the same errormessage Then i clicked on the "Update" Button and was presented with the error message above. I don't claim that my workflow is correct :-), but i was wondering about this error message. Since no search yielded in any information i hope someone here has an idea about this. RT 3.8.2 (and RTFM 2.4.2 i think it is, latest version) is running on Apache/2.2.3 (Debian) PHP/5.2.0-8+etch13 mod_ssl/2.2.3 OpenSSL/0.9.8c mod_perl/2.0.2 Perl/v5.8.8 My apache error.log says something like this: [warning]: Could not determine a URI scheme for IT/article/3 (/opt/rt3/bin/../lib/RT/URI.pm:139) (in fact i wanted to include article #3 in the email) Everything else is seems to run smooth enough, no hiccups whatsoever, currently :-) It might be a configuration issue, but i haven't any clue, where to check this out. So, if you got a chance to let me know, where i will have to dig deeper into, i'd be glad. I wouldn't mind a pointer how to fix this either. Thank you for your time. Best w_e -- View this message in context: http://www.nabble.com/Error-on-including-RTFM-Article-in-Answer-to-Ticket-tp22247095p22247095.html Sent from the Request Tracker - User mailing list archive at Nabble.com. From mfinn at nbutexas.com Fri Feb 27 10:28:00 2009 From: mfinn at nbutexas.com (Michael Finn) Date: Fri, 27 Feb 2009 09:28:00 -0600 Subject: [rt-users] Tracking a bug with WYSIWYG editor and IE7 In-Reply-To: <3CE7D8D453B27148BBCA0B2063B11E64D60243@s-wor-e-001.SCOUTSOFFICE.local> References: <3CE7D8D453B27148BBCA0B2063B11E64D600E2@s-wor-e-001.SCOUTSOFFICE.local> <3CE7D8D453B27148BBCA0B2063B11E64D600F3@s-wor-e-001.SCOUTSOFFICE.local> <3CE7D8D453B27148BBCA0B2063B11E64D60243@s-wor-e-001.SCOUTSOFFICE.local> Message-ID: I just tried it with RTFM disabled, and got the same results: ============= Subject: 3rd test of RT in IE7 MIME-Version: 1.0 Content-Type: text/html; charset="UTF-8" X-Mailer: MIME-tools 5.427 (Entity 5.427) Content-Disposition: inline Content-Transfer-Encoding: binary X-RT-Original-Encoding: utf-8 Content-Length: 55

I 've disabled RTFM to test the IE7 pr oblem ============= > -----Original Message----- > From: Alex Young [mailto:alexyoung at scoutsolutions.co.uk] > Sent: Friday, February 27, 2009 5:04 AM > To: Michael Finn; rt-users at lists.bestpractical.com > Subject: RE: Tracking a bug with WYSIWYG editor and IE7 > > I am using pretty much the same as you, except I'm running IE7 on > Vista. > > Michael, do oyu still have this bug if you disable RTFM? > > I can reproduce the error consistantly whenever I hit reply/comment to > a specific transaction. Depending on which transaction I reply/comment > on changes the site that the data is truncated. Doesnt matter how much > more I type into the reply/comment, each transaction also truncated at > the same bytes regardless. > > The Javascript errors I had in IE had nothing to do with this bug. I > fixed it my removing the references to scriptalicous.js and > prototype.js in the modified header from the RTx-EmailCompletion > header. > > -----Original Message----- > From: Michael Finn [mailto:mfinn at nbutexas.com] > Sent: 25 February 2009 20:59 > To: Alex Young; rt-users at lists.bestpractical.com > Subject: Tracking a bug with WYSIWYG editor and IE7 > > The only extension I have is RTFM. More specs: > RT-3.8.2 > RTFM-2.4.1 > MySQL 5.0.67 (external server) > IE 7.0.5730.11 on WinXP SP3 > IE7 Add-ons don't apply, because I experienced the same issue in IE7 > "safe mode" ('iexplore -extoff'). > > I'm baffled. > > > -----Original Message----- > > From: Alex Young [mailto:alexyoung at scoutsolutions.co.uk] > > Sent: Wednesday, February 25, 2009 12:38 PM > > To: Michael Finn; rt-users at lists.bestpractical.com > > Subject: RE: [rt-users] Trying to track a bug with WYSIWYG editor,IE7 > > and RTx-EmailCompletion > > > > Hmmm... odd that I dont get the error when I remove RTx- > > EmailCompletion, but you're not using it. What other extensions are > you > > using? Do you still get this problem if they are disabled? > > > > Mine is getting truncated at 319 characters on every one. I never > > noticed it before. > > > > Looks like my JavaScript error is unrelated. Its a RTx- > EmailCompletion > > specific error that, so nothing to do with the truncation. > > > > > > ================================================ > > MIME-Version: 1.0 > > X-Mailer: MIME-tools 5.427 (Entity 5.427) > > Content-Disposition: inline > > Content-Type: text/html; charset="UTF-8" > > Content-Transfer-Encoding: binary > > X-RT-Original-Encoding: utf-8 > > RT-Send-CC: > > Content-Length: 319 > > > >

Does it do it when inserting content fro > > m the previous page?

> >

On Wed Feb 25 14:58:45 2009, ayoung wrote: > >
> > > T > > his is a > > lon > > g winded reply to see if IE will br > > eak > > with the WYSIWYG
> > > > & > > gt; editor yet
> > > again.
> > >
> > > > > I > > cant understand why it breaks.
> > &g > > t > > ; > > ================================================ > > > > > > -----Original Message----- > > From: Michael Finn [mailto:mfinn at nbutexas.com] > > Sent: 25 February 2009 18:26 > > To: Alex Young; rt-users at lists.bestpractical.com > > Subject: RE: [rt-users] Trying to track a bug with WYSIWYG editor,IE7 > > and RTx-EmailCompletion > > > > Alex, > > > > I've observed the same kind of behavior when I use the "New ticket > in" > > button at the top, but not when I enter a comment or reply. > > Additionally, my text is truncated at 55 characters. I'm having this > > issue in IE7, but not Firefox 3. I don't get JavaScript errors in > > either browser. > > > > I do not use RTx-EmailCompletion, however. Here's an example of what > > I'm seeing (with headers): > > ================= > > MIME-Version: 1.0 > > Content-Type: text/html; charset="UTF-8" > > X-Mailer: MIME-tools 5.427 (Entity 5.427) > > Content-Disposition: inline > > Content-Transfer-Encoding: binary > > X-RT-Original-Encoding: utf-8 > > Content-Length: 55 > > > >

K > > . Tibbels PC& > > nbsp;won't boot.  " > > ;Strik > > ================= > > > > Mike > > ----------------- > > From: rt-users-bounces at lists.bestpractical.com [mailto:rt-users- > > bounces at lists.bestpractical.com] On Behalf Of Alex Young > > Sent: Wednesday, February 25, 2009 10:45 AM > > To: rt-users at lists.bestpractical.com > > Subject: [rt-users] Trying to track a bug with WYSIWYG editor,IE7 and > > RTx-EmailCompletion > > > > Hi, > > ????????? I'm trying to track down a bug I am experiencing with RT, > its > > WYSIWYG editor, IE7 and RTx-EmailCompletion. > > > > On my install when RT inserts content automatically into the body of > > the WYSIWYG editor. > > > > I only get this error when using Internet Explorer 7 (Haven't tried > > other IE versions). Firefox doesn't suffer. > > > > If I insert and RTFM article, my user signature (set under users > > preferences), or hit reply/comment on a ticket transaction it posts > the > > info correct into the WYSIWYG editor window. When submitting that > page > > the transaction content randomly inserts spaces, line breaks, and > chops > > off the end of the content. > > > > If I disable RTx-EmailCompletion it works fine. > > > > I also have a JavaScript error in IE7 when RTx-EmailCompletion is > > enabled; > > Line: 2 > > Char: 1 > > Error: Syntax error > > Code: 0 > > > > This error shows on every page. Looks like it's a problem with RTx- > > EmailCompletion. It doesn't give a JS error in Firefox. > > > > Has anyone else had this problem or been able to fix it? From jesse at bestpractical.com Fri Feb 27 10:58:11 2009 From: jesse at bestpractical.com (Jesse Vincent) Date: Fri, 27 Feb 2009 10:58:11 -0500 Subject: [rt-users] log a complaint about invalid timezones? In-Reply-To: References: <8B6297BF-2664-41D5-81EF-D01003F3C280@netconsonance.com> Message-ID: <20090227155811.GC518@bestpractical.com> On Thu, Feb 26, 2009 at 09:07:26PM -0800, Jo Rhett wrote: > On Feb 26, 2009, at 10:45 AM, Jo Rhett wrote: > >We have noticed that although the subscription page says the local > >timezone next to the time, the reports actually run based on GMT time. > > I figured it out. On FreeBSD timezone data is stored in /usr/share/ > timezones and has some different names. "US/Pacific" would actually > be "America/Log_Angeles". This solved the problem. > > Can we get RT to throw out a message if the timezone it's given proves > not to resolve? I'd take a patch for that > > -- > Jo Rhett > Net Consonance : consonant endings by net philanthropy, open source > and other randomness > > > _______________________________________________ > 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 -- From KFCrocker at lbl.gov Fri Feb 27 12:20:28 2009 From: KFCrocker at lbl.gov (Kenneth Crocker) Date: Fri, 27 Feb 2009 09:20:28 -0800 Subject: [rt-users] Fwd: A little Scrip help In-Reply-To: References: <49A6E7D7.5050602@lbl.gov> <49A7101A.5080702@lbl.gov> <49A72C68.60307@lbl.gov> Message-ID: <49A820DC.3030408@lbl.gov> Aaron, Well, I'm at a loss as well. Sorry. Kenn LBNL On 2/26/2009 4:58 PM, Aaron Guise wrote: > I thought of this scenario already, but I created the ticket from > another external email address which is separate from my work one which > RT Responds to. I am the owner of the ticket data is merged with and > hence I get one email but I have a feeling it may be emailing twice as > there is two tickets which become one and effectively I become the owner > of both. > > But it reports the ID# of the only remaining ticket in both emails. > > On Fri, Feb 27, 2009 at 12:57 PM, Kenneth Crocker > wrote: > > Aaron, > > > Are the persons getting the Email in more than 1 role? FOr > example; If I am the Requestor & the Owner and someone merges a > ticket into mine am I getting 1 email as requestor and 1 as owner? > Just a thought. > > Kenn > LBNL > > > On 2/26/2009 3:17 PM, Aaron Guise wrote: > > > > ---------- Forwarded message ---------- > From: *Aaron Guise* >> > Date: Fri, Feb 27, 2009 at 12:17 PM > Subject: Re: [rt-users] A little Scrip help > To: Kenneth Crocker >> > > > Yeah, Have double checked all of those scrips/templates again. > The only one that nets an output matching that is the > MergeNotifier Template. Looking in the RT interface for the > ticket it shows that the same email sent twice one second apart. > > I even disabled a whole bunch of other scrips which may have > sent a duplicate message but still to no avail. This just > shouldn't be happening from what I can tell. > > *Regards,* > > *Aaron Guise > 027 212 6638 > aaron at guise.net.nz > > > * > > > > On Fri, Feb 27, 2009 at 10:56 AM, Kenneth Crocker > > >> wrote: > > Aaron, > > > Check to see if there are other scrips that are initiated > with an owner change or ticket creation, etc. Is the template > wording the same? Perhaps different wording for templates used by > different scrips will give you a clue. > > > Kenn > LBNL > > > On 2/26/2009 12:46 PM, Aaron Guise wrote: > > Hi, > > I have just now amended our RT_SiteConfig with > Set($UseTransactionBatch, 1); > > Unfortunately it still triggered two emails. The scrip > itself > is set to use transaction batch. I have posted a > screenshot here > with the whole configuration of that particular scrip. > > > *Regards,* > > *Aaron Guise > 027 212 6638 > aaron at guise.net.nz > > > > >> > * > > > > > On Fri, Feb 27, 2009 at 8:04 AM, Kenneth Crocker > > > > > >>> wrote: > > Aaron, > > > You need to turn on TransactionBatch in your > RT_SiteConfig.pm > file in /RTHOME/etc directory. That should allow you > to use that > stage option. > > > Kenn > LBNL > > > On 2/26/2009 10:33 AM, Aaron Guise wrote: > > If set to transaction batch which is marked > Transaction > Batch(Disabled) it seems the script is just > disabled as > no email > is sent. > > On Fri, Feb 27, 2009 at 1:32 AM, Potla, Ashish > Bassaliel > > > >> > > > > >>>> > > wrote: > > > ________________________________________ > From: Potla, Ashish Bassaliel > Sent: Thursday, February 26, 2009 5:59 PM > To: Aaron Guise > Subject: RE: [rt-users] A little Scrip help > > Is the scrip set to 'Transaction Batch' or > 'Transaction Create'? > Set it to Transaction Batch. > > -Ashish > ________________________________________ > From: rt-users-bounces at lists.bestpractical.com > > > > > >> > > > > > > >>> > > [rt-users-bounces at lists.bestpractical.com > > > > > >> > > > > > > >>>] On Behalf Of > Aaron Guise [aaron at guise.net.nz > > > > > >> > > > > >>>] > > > Sent: Thursday, February 26, 2009 4:02 PM > To: rt-users at lists.bestpractical.com > > > > > >> > > > > > >>> > > Subject: [rt-users] A little Scrip help > > Hi, > > I have implemented a scrip to notify the owner > in the > event > someone > else merges data into one of their tickets. > All works > well > but alas > it actually sends the notification twice. There is > probably > a real > simple answer but it is baffling me. Have just > ignored it > the last > few months but now I am a little beyond that. > > The scrip used is noted below; > > my $txn = $self->TransactionObj; > return undef unless $txn->Type =~ /^AddLink$/i; > return undef unless $txn->Field =~ /^MergedInto$/i; > return 1; > > Any assistance in stopping this will be greatly > appreciated. > > -- > Regards > > Aaron > _______________________________________________ > > 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 > > > > > ------------------------------------------------------------------------ > > > _______________________________________________ > > 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 > > > > > > > > ------------------------------------------------------------------------ > > _______________________________________________ > 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 > > > From c_apotla at qualcomm.com Fri Feb 27 12:25:51 2009 From: c_apotla at qualcomm.com (Potla, Ashish Bassaliel) Date: Fri, 27 Feb 2009 09:25:51 -0800 Subject: [rt-users] Fwd: A little Scrip help In-Reply-To: <49A820DC.3030408@lbl.gov> References: <49A6E7D7.5050602@lbl.gov> <49A7101A.5080702@lbl.gov> <49A72C68.60307@lbl.gov> , <49A820DC.3030408@lbl.gov> Message-ID: Hi, When you merge two tickets , I think the condition you have defined is evaluating to a true condition for both the tickets individually. When the action that is 'notify owner' takes place, in both cases the ticket that is retrieved by ID will be the same as the tickets are now merged(Merged tickets have same ID numbers,the one into which you merged a ticket into). Anyways, try tweaking the condition a bit so that when two tickets are merged, the condition evaluates true only to one of them, preferably the one into which a ticket is merged. -Ashish ________________________________________ From: rt-users-bounces at lists.bestpractical.com [rt-users-bounces at lists.bestpractical.com] On Behalf Of Kenneth Crocker [KFCrocker at lbl.gov] Sent: Friday, February 27, 2009 10:50 PM To: Aaron Guise Cc: rt-users at lists.bestpractical.com Subject: Re: [rt-users] Fwd: A little Scrip help Aaron, Well, I'm at a loss as well. Sorry. Kenn LBNL On 2/26/2009 4:58 PM, Aaron Guise wrote: > I thought of this scenario already, but I created the ticket from > another external email address which is separate from my work one which > RT Responds to. I am the owner of the ticket data is merged with and > hence I get one email but I have a feeling it may be emailing twice as > there is two tickets which become one and effectively I become the owner > of both. > > But it reports the ID# of the only remaining ticket in both emails. > > On Fri, Feb 27, 2009 at 12:57 PM, Kenneth Crocker > wrote: > > Aaron, > > > Are the persons getting the Email in more than 1 role? FOr > example; If I am the Requestor & the Owner and someone merges a > ticket into mine am I getting 1 email as requestor and 1 as owner? > Just a thought. > > Kenn > LBNL > > > On 2/26/2009 3:17 PM, Aaron Guise wrote: > > > > ---------- Forwarded message ---------- > From: *Aaron Guise* >> > Date: Fri, Feb 27, 2009 at 12:17 PM > Subject: Re: [rt-users] A little Scrip help > To: Kenneth Crocker >> > > > Yeah, Have double checked all of those scrips/templates again. > The only one that nets an output matching that is the > MergeNotifier Template. Looking in the RT interface for the > ticket it shows that the same email sent twice one second apart. > > I even disabled a whole bunch of other scrips which may have > sent a duplicate message but still to no avail. This just > shouldn't be happening from what I can tell. > > *Regards,* > > *Aaron Guise > 027 212 6638 > aaron at guise.net.nz > > > * > > > > On Fri, Feb 27, 2009 at 10:56 AM, Kenneth Crocker > > >> wrote: > > Aaron, > > > Check to see if there are other scrips that are initiated > with an owner change or ticket creation, etc. Is the template > wording the same? Perhaps different wording for templates used by > different scrips will give you a clue. > > > Kenn > LBNL > > > On 2/26/2009 12:46 PM, Aaron Guise wrote: > > Hi, > > I have just now amended our RT_SiteConfig with > Set($UseTransactionBatch, 1); > > Unfortunately it still triggered two emails. The scrip > itself > is set to use transaction batch. I have posted a > screenshot here > with the whole configuration of that particular scrip. > > > *Regards,* > > *Aaron Guise > 027 212 6638 > aaron at guise.net.nz > > > > >> > * > > > > > On Fri, Feb 27, 2009 at 8:04 AM, Kenneth Crocker > > > > > >>> wrote: > > Aaron, > > > You need to turn on TransactionBatch in your > RT_SiteConfig.pm > file in /RTHOME/etc directory. That should allow you > to use that > stage option. > > > Kenn > LBNL > > > On 2/26/2009 10:33 AM, Aaron Guise wrote: > > If set to transaction batch which is marked > Transaction > Batch(Disabled) it seems the script is just > disabled as > no email > is sent. > > On Fri, Feb 27, 2009 at 1:32 AM, Potla, Ashish > Bassaliel > > > >> > > > > >>>> > > wrote: > > > ________________________________________ > From: Potla, Ashish Bassaliel > Sent: Thursday, February 26, 2009 5:59 PM > To: Aaron Guise > Subject: RE: [rt-users] A little Scrip help > > Is the scrip set to 'Transaction Batch' or > 'Transaction Create'? > Set it to Transaction Batch. > > -Ashish > ________________________________________ > From: rt-users-bounces at lists.bestpractical.com > > > > > >> > > > > > > >>> > > [rt-users-bounces at lists.bestpractical.com > > > > > >> > > > > > > >>>] On Behalf Of > Aaron Guise [aaron at guise.net.nz > > > > > >> > > > > >>>] > > > Sent: Thursday, February 26, 2009 4:02 PM > To: rt-users at lists.bestpractical.com > > > > > >> > > > > > >>> > > Subject: [rt-users] A little Scrip help > > Hi, > > I have implemented a scrip to notify the owner > in the > event > someone > else merges data into one of their tickets. > All works > well > but alas > it actually sends the notification twice. There is > probably > a real > simple answer but it is baffling me. Have just > ignored it > the last > few months but now I am a little beyond that. > > The scrip used is noted below; > > my $txn = $self->TransactionObj; > return undef unless $txn->Type =~ /^AddLink$/i; > return undef unless $txn->Field =~ /^MergedInto$/i; > return 1; > > Any assistance in stopping this will be greatly > appreciated. > > -- > Regards > > Aaron > _______________________________________________ > > 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 > > > > > ------------------------------------------------------------------------ > > > _______________________________________________ > > 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 > > > > > > > > ------------------------------------------------------------------------ > > _______________________________________________ > 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 > > > _______________________________________________ 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 From pthirose at ucdavis.edu Fri Feb 27 13:36:20 2009 From: pthirose at ucdavis.edu (Paul Hirose) Date: Fri, 27 Feb 2009 10:36:20 -0800 (PST) Subject: [rt-users] 382 Shredder deleting tickets and attachments? In-Reply-To: References: Message-ID: So should rt-shredder *NOT* be used? Should the instructions in the wiki be used instead? Separately, how do I delete Reminders? After I deleted all tix (or so I thought), I still had a couple Reminders in the DB. Should Reminders get deleted along w/Tix as well? PH On Fri, 27 Feb 2009, Alberto Villanueva wrote: > Hi Paul, > > This link could help you to understand how a ticket must be deleted: > > http://wiki.bestpractical.com/view/DatabaseAdmin > > > Regards, > > ALBERTO VILLANUEVA VAL > Consultor > ____________________________________________ > Altran > ParqueEmpresarial Las Mercedes, Edificio 1 > C/ Campezo, 1. 28022 Madrid > Tel : + 34 91 744 46 00 > Fax: + 34 91 415 24 57 > www.altran.es > > -----Mensaje original----- > De: rt-users-bounces at lists.bestpractical.com > [mailto:rt-users-bounces at lists.bestpractical.com] En nombre de Paul Hirose > Enviado el: jueves, 26 de febrero de 2009 21:41 > Para: rt-users at lists.bestpractical.com > Asunto: [rt-users] 382 Shredder deleting tickets and attachments? > > If I use the built-in shredder to delete a ticket from the MySQL database, > should it delete any attachments that were associated with that ticket? Or must > I delete attachments separately? > > Thank you, > PH > > -- > Paul Hirose : pthirose at ucdavis.edu : Sysadm Motto: rm -fr /MyLife > 1034 Academic Surge : Programmer/Analyst : Backup Motto : rm -fr / > One Shields Avenue : Voice (530) 752-7181 : Robot, n.: Univ. Admin > Davis, CA 95616-8770 : Fax (530) 752-4465 : rec.pets.cat.anecdotes > _______________________________________________ > 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 > > Paul Hirose : pthirose at ucdavis.edu : Sysadm Motto: rm -fr /MyLife 1034 Academic Surge : Programmer/Analyst : Backup Motto : rm -fr / One Shields Avenue : Voice (530) 752-7181 : Robot, n.: Univ. Admin Davis, CA 95616-8770 : Fax (530) 752-4465 : rec.pets.cat.anecdotes From aaron at guise.net.nz Fri Feb 27 14:10:29 2009 From: aaron at guise.net.nz (Aaron Guise) Date: Sat, 28 Feb 2009 08:10:29 +1300 Subject: [rt-users] Fwd: A little Scrip help In-Reply-To: <49A820DC.3030408@lbl.gov> References: <49A6E7D7.5050602@lbl.gov> <49A7101A.5080702@lbl.gov> <49A72C68.60307@lbl.gov> <49A820DC.3030408@lbl.gov> Message-ID: That makes two of us, anyway thanks for your assistance thusfar. On Sat, Feb 28, 2009 at 6:20 AM, Kenneth Crocker wrote: > Aaron, > > > Well, I'm at a loss as well. Sorry. > > > Kenn > LBNL > > On 2/26/2009 4:58 PM, Aaron Guise wrote: > >> I thought of this scenario already, but I created the ticket from >> another external email address which is separate from my work one which RT >> Responds to. I am the owner of the ticket data is merged with and hence I >> get one email but I have a feeling it may be emailing twice as there is two >> tickets which become one and effectively I become the owner of both. >> But it reports the ID# of the only remaining ticket in both emails. >> On Fri, Feb 27, 2009 at 12:57 PM, Kenneth Crocker > KFCrocker at lbl.gov>> wrote: >> >> Aaron, >> >> >> Are the persons getting the Email in more than 1 role? FOr >> example; If I am the Requestor & the Owner and someone merges a >> ticket into mine am I getting 1 email as requestor and 1 as owner? >> Just a thought. >> >> Kenn >> LBNL >> >> >> On 2/26/2009 3:17 PM, Aaron Guise wrote: >> >> >> >> ---------- Forwarded message ---------- >> From: *Aaron Guise* > > >> >> Date: Fri, Feb 27, 2009 at 12:17 PM >> Subject: Re: [rt-users] A little Scrip help >> To: Kenneth Crocker > > >> >> >> >> Yeah, Have double checked all of those scrips/templates again. >> The only one that nets an output matching that is the >> MergeNotifier Template. Looking in the RT interface for the >> ticket it shows that the same email sent twice one second apart. >> >> I even disabled a whole bunch of other scrips which may have >> sent a duplicate message but still to no avail. This just >> shouldn't be happening from what I can tell. >> >> *Regards,* >> >> *Aaron Guise >> 027 212 6638 >> aaron at guise.net.nz >> > >> * >> >> >> >> On Fri, Feb 27, 2009 at 10:56 AM, Kenneth Crocker >> >> >> wrote: >> >> Aaron, >> >> >> Check to see if there are other scrips that are initiated >> with an owner change or ticket creation, etc. Is the template >> wording the same? Perhaps different wording for templates used >> by >> different scrips will give you a clue. >> >> >> Kenn >> LBNL >> >> >> On 2/26/2009 12:46 PM, Aaron Guise wrote: >> >> Hi, >> >> I have just now amended our RT_SiteConfig with >> Set($UseTransactionBatch, 1); >> >> Unfortunately it still triggered two emails. The scrip >> itself >> is set to use transaction batch. I have posted a >> screenshot here >> with the whole configuration of that particular scrip. >> >> >> *Regards,* >> >> *Aaron Guise >> 027 212 6638 >> aaron at guise.net.nz >> > >> >> >> >> * >> >> >> >> >> On Fri, Feb 27, 2009 at 8:04 AM, Kenneth Crocker >> >> > >> >> >>> wrote: >> >> Aaron, >> >> >> You need to turn on TransactionBatch in your >> RT_SiteConfig.pm >> file in /RTHOME/etc directory. That should allow you >> to use that >> stage option. >> >> >> Kenn >> LBNL >> >> >> On 2/26/2009 10:33 AM, Aaron Guise wrote: >> >> If set to transaction batch which is marked >> Transaction >> Batch(Disabled) it seems the script is just >> disabled as >> no email >> is sent. >> >> On Fri, Feb 27, 2009 at 1:32 AM, Potla, Ashish >> Bassaliel >> > > > >> > > >> >> > >> > > > >> > >>>> >> >> wrote: >> >> >> ________________________________________ >> From: Potla, Ashish Bassaliel >> Sent: Thursday, February 26, 2009 5:59 PM >> To: Aaron Guise >> Subject: RE: [rt-users] A little Scrip help >> >> Is the scrip set to 'Transaction Batch' or >> 'Transaction Create'? >> Set it to Transaction Batch. >> >> -Ashish >> ________________________________________ >> From: rt-users-bounces at lists.bestpractical.com >> >> > > >> > >> > >> >> > rt-users-bounces at lists.bestpractical.com >> >> > > >> > >> > >>> >> >> [rt-users-bounces at lists.bestpractical.com >> >> > > >> > >> > >> >> > rt-users-bounces at lists.bestpractical.com >> >> > > >> > >> > >>>] On Behalf Of >> Aaron Guise [aaron at guise.net.nz >> >> > >> >> >> >> > > > >> >> >>>] >> >> >> Sent: Thursday, February 26, 2009 4:02 PM >> To: rt-users at lists.bestpractical.com >> >> > > >> > >> > >> >> > >> > > >> > >> > >>> >> >> Subject: [rt-users] A little Scrip help >> >> Hi, >> >> I have implemented a scrip to notify the owner >> in the >> event >> someone >> else merges data into one of their tickets. >> All works >> well >> but alas >> it actually sends the notification twice. There >> is >> probably >> a real >> simple answer but it is baffling me. Have just >> ignored it >> the last >> few months but now I am a little beyond that. >> >> The scrip used is noted below; >> >> my $txn = $self->TransactionObj; >> return undef unless $txn->Type =~ /^AddLink$/i; >> return undef unless $txn->Field =~ >> /^MergedInto$/i; >> return 1; >> >> Any assistance in stopping this will be greatly >> appreciated. >> >> -- >> Regards >> >> Aaron >> _______________________________________________ >> >> 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 >> >> >> >> >> ------------------------------------------------------------------------ >> >> >> _______________________________________________ >> >> 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 >> >> >> >> >> >> >> >> >> ------------------------------------------------------------------------ >> >> _______________________________________________ >> 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 >> >> >> >> > -------------- next part -------------- An HTML attachment was scrubbed... URL: From aaron at guise.net.nz Fri Feb 27 14:12:59 2009 From: aaron at guise.net.nz (Aaron Guise) Date: Sat, 28 Feb 2009 08:12:59 +1300 Subject: [rt-users] Fwd: A little Scrip help In-Reply-To: References: <49A6E7D7.5050602@lbl.gov> <49A7101A.5080702@lbl.gov> <49A72C68.60307@lbl.gov> <49A820DC.3030408@lbl.gov> Message-ID: I will definitely look at tweaking that scrip as you mentioned. I'll let you know whether I happen to get it nailed. On Sat, Feb 28, 2009 at 6:25 AM, Potla, Ashish Bassaliel < c_apotla at qualcomm.com> wrote: > Hi, > When you merge two tickets , I think the condition you have defined is > evaluating to a true condition for both the tickets individually. > When the action that is 'notify owner' takes place, in both cases the > ticket that is retrieved by ID will be the same as the tickets are now > merged(Merged tickets have same ID numbers,the one into which you merged a > ticket into). > > Anyways, try tweaking the condition a bit so that when two tickets are > merged, the condition evaluates true only to one of them, preferably the one > into which a ticket is merged. > > -Ashish > ________________________________________ > From: rt-users-bounces at lists.bestpractical.com [ > rt-users-bounces at lists.bestpractical.com] On Behalf Of Kenneth Crocker [ > KFCrocker at lbl.gov] > Sent: Friday, February 27, 2009 10:50 PM > To: Aaron Guise > Cc: rt-users at lists.bestpractical.com > Subject: Re: [rt-users] Fwd: A little Scrip help > > Aaron, > > > Well, I'm at a loss as well. Sorry. > > > Kenn > LBNL > > On 2/26/2009 4:58 PM, Aaron Guise wrote: > > I thought of this scenario already, but I created the ticket from > > another external email address which is separate from my work one which > > RT Responds to. I am the owner of the ticket data is merged with and > > hence I get one email but I have a feeling it may be emailing twice as > > there is two tickets which become one and effectively I become the owner > > of both. > > > > But it reports the ID# of the only remaining ticket in both emails. > > > > On Fri, Feb 27, 2009 at 12:57 PM, Kenneth Crocker > > wrote: > > > > Aaron, > > > > > > Are the persons getting the Email in more than 1 role? FOr > > example; If I am the Requestor & the Owner and someone merges a > > ticket into mine am I getting 1 email as requestor and 1 as owner? > > Just a thought. > > > > Kenn > > LBNL > > > > > > On 2/26/2009 3:17 PM, Aaron Guise wrote: > > > > > > > > ---------- Forwarded message ---------- > > From: *Aaron Guise* > > >> > > Date: Fri, Feb 27, 2009 at 12:17 PM > > Subject: Re: [rt-users] A little Scrip help > > To: Kenneth Crocker > > >> > > > > > > Yeah, Have double checked all of those scrips/templates again. > > The only one that nets an output matching that is the > > MergeNotifier Template. Looking in the RT interface for the > > ticket it shows that the same email sent twice one second apart. > > > > I even disabled a whole bunch of other scrips which may have > > sent a duplicate message but still to no avail. This just > > shouldn't be happening from what I can tell. > > > > *Regards,* > > > > *Aaron Guise > > 027 212 6638 > > aaron at guise.net.nz > > > > > * > > > > > > > > On Fri, Feb 27, 2009 at 10:56 AM, Kenneth Crocker > > > > >> wrote: > > > > Aaron, > > > > > > Check to see if there are other scrips that are > initiated > > with an owner change or ticket creation, etc. Is the template > > wording the same? Perhaps different wording for templates used > by > > different scrips will give you a clue. > > > > > > Kenn > > LBNL > > > > > > On 2/26/2009 12:46 PM, Aaron Guise wrote: > > > > Hi, > > > > I have just now amended our RT_SiteConfig with > > Set($UseTransactionBatch, 1); > > > > Unfortunately it still triggered two emails. The scrip > > itself > > is set to use transaction batch. I have posted a > > screenshot here > > with the whole configuration of that particular scrip. > > > > > > *Regards,* > > > > *Aaron Guise > > 027 212 6638 > > aaron at guise.net.nz > > > > > > > >> > > * > > > > > > > > > > On Fri, Feb 27, 2009 at 8:04 AM, Kenneth Crocker > > > > > > > > > >>> wrote: > > > > Aaron, > > > > > > You need to turn on TransactionBatch in your > > RT_SiteConfig.pm > > file in /RTHOME/etc directory. That should allow you > > to use that > > stage option. > > > > > > Kenn > > LBNL > > > > > > On 2/26/2009 10:33 AM, Aaron Guise wrote: > > > > If set to transaction batch which is marked > > Transaction > > Batch(Disabled) it seems the script is just > > disabled as > > no email > > is sent. > > > > On Fri, Feb 27, 2009 at 1:32 AM, Potla, Ashish > > Bassaliel > > > > > > > > > >> > > > > > > > > > > > >>>> > > > > wrote: > > > > > > ________________________________________ > > From: Potla, Ashish Bassaliel > > Sent: Thursday, February 26, 2009 5:59 PM > > To: Aaron Guise > > Subject: RE: [rt-users] A little Scrip help > > > > Is the scrip set to 'Transaction Batch' or > > 'Transaction Create'? > > Set it to Transaction Batch. > > > > -Ashish > > ________________________________________ > > From: rt-users-bounces at lists.bestpractical.com > > > > > > > > > > > > >> > > > > > > > > > > > > > > > >>> > > > > [rt-users-bounces at lists.bestpractical.com > > > > > > > > > > > > >> > > > > > > > > > > > > > > > >>>] On Behalf > Of > > Aaron Guise [aaron at guise.net.nz > > > > > > > > > >> > > > > > > > > > >>>] > > > > > > Sent: Thursday, February 26, 2009 4:02 PM > > To: rt-users at lists.bestpractical.com > > > > > > > > > > > > >> > > > > > > > > > > > > > >>> > > > > Subject: [rt-users] A little Scrip help > > > > Hi, > > > > I have implemented a scrip to notify the owner > > in the > > event > > someone > > else merges data into one of their tickets. > > All works > > well > > but alas > > it actually sends the notification twice. There > is > > probably > > a real > > simple answer but it is baffling me. Have just > > ignored it > > the last > > few months but now I am a little beyond that. > > > > The scrip used is noted below; > > > > my $txn = $self->TransactionObj; > > return undef unless $txn->Type =~ /^AddLink$/i; > > return undef unless $txn->Field =~ > /^MergedInto$/i; > > return 1; > > > > Any assistance in stopping this will be greatly > > appreciated. > > > > -- > > Regards > > > > Aaron > > _______________________________________________ > > > > > 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 > > > > > > > > > > > ------------------------------------------------------------------------ > > > > > > _______________________________________________ > > > > 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 > > > > > > > > > > > > > > > > > ------------------------------------------------------------------------ > > > > _______________________________________________ > > 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 > > > > > > > > _______________________________________________ > 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 > -------------- next part -------------- An HTML attachment was scrubbed... URL: From barnesaw at ucrwcu.rwc.uc.edu Fri Feb 27 14:13:55 2009 From: barnesaw at ucrwcu.rwc.uc.edu (Drew Barnes) Date: Fri, 27 Feb 2009 14:13:55 -0500 Subject: [rt-users] Fwd: A little Scrip help In-Reply-To: References: <49A6E7D7.5050602@lbl.gov> <49A7101A.5080702@lbl.gov> <49A72C68.60307@lbl.gov> <49A820DC.3030408@lbl.gov> Message-ID: <49A83B73.4020209@ucrwcu.rwc.uc.edu> This thread has triggered my spider sense as something which came across a while back (possibly a couple years?) but all of my searching on my archived mail isn't finding anything. You'd think with over 35,000 messages archived locally, I could find something. I will keep trying. Aaron Guise wrote: > That makes two of us, anyway thanks for your assistance thusfar. > > On Sat, Feb 28, 2009 at 6:20 AM, Kenneth Crocker > wrote: > > Aaron, > > > Well, I'm at a loss as well. Sorry. > > > Kenn > LBNL > > > On 2/26/2009 4:58 PM, Aaron Guise wrote: > > I thought of this scenario already, but I created the ticket > from another external email address which is separate from my > work one which RT Responds to. I am the owner of the ticket > data is merged with and hence I get one email but I have a > feeling it may be emailing twice as there is two tickets which > become one and effectively I become the owner of both. > But it reports the ID# of the only remaining ticket in both > emails. > On Fri, Feb 27, 2009 at 12:57 PM, Kenneth Crocker > > >> wrote: > > Aaron, > > > Are the persons getting the Email in more than 1 > role? FOr > example; If I am the Requestor & the Owner and someone merges a > ticket into mine am I getting 1 email as requestor and 1 as > owner? > Just a thought. > > Kenn > LBNL > > > On 2/26/2009 3:17 PM, Aaron Guise wrote: > > > > ---------- Forwarded message ---------- > From: *Aaron Guise* > > > > >>> > Date: Fri, Feb 27, 2009 at 12:17 PM > Subject: Re: [rt-users] A little Scrip help > To: Kenneth Crocker > > > > >>> > > > Yeah, Have double checked all of those scrips/templates > again. > The only one that nets an output matching that is the > MergeNotifier Template. Looking in the RT interface > for the > ticket it shows that the same email sent twice one > second apart. > > I even disabled a whole bunch of other scrips which may > have > sent a duplicate message but still to no avail. This just > shouldn't be happening from what I can tell. > > *Regards,* > > *Aaron Guise > 027 212 6638 > aaron at guise.net.nz > > > > >> > * > > > > On Fri, Feb 27, 2009 at 10:56 AM, Kenneth Crocker > > > > > >>> wrote: > > Aaron, > > > Check to see if there are other scrips that > are initiated > with an owner change or ticket creation, etc. Is the > template > wording the same? Perhaps different wording for > templates used by > different scrips will give you a clue. > > > Kenn > LBNL > > > On 2/26/2009 12:46 PM, Aaron Guise wrote: > > Hi, > > I have just now amended our RT_SiteConfig with > Set($UseTransactionBatch, 1); > > Unfortunately it still triggered two emails. > The scrip > itself > is set to use transaction batch. I have posted a > screenshot here > with the whole configuration of that particular > scrip. > > > *Regards,* > > *Aaron Guise > 027 212 6638 > aaron at guise.net.nz > > > > >> > > > > >>> > * > > > > > On Fri, Feb 27, 2009 at 8:04 AM, Kenneth Crocker > > > > > >> > > > > >>>> wrote: > > Aaron, > > > You need to turn on TransactionBatch > in your > RT_SiteConfig.pm > file in /RTHOME/etc directory. That should > allow you > to use that > stage option. > > > Kenn > LBNL > > > On 2/26/2009 10:33 AM, Aaron Guise wrote: > > If set to transaction batch which is marked > Transaction > Batch(Disabled) it seems the script is just > disabled as > no email > is sent. > > On Fri, Feb 27, 2009 at 1:32 AM, Potla, > Ashish > Bassaliel > > > > >> > > > > >>> > > > > > >> > > > > >>>>> > > wrote: > > > ________________________________________ > From: Potla, Ashish Bassaliel > Sent: Thursday, February 26, 2009 5:59 PM > To: Aaron Guise > Subject: RE: [rt-users] A little Scrip > help > > Is the scrip set to 'Transaction Batch' or > 'Transaction Create'? > Set it to Transaction Batch. > > -Ashish > ________________________________________ > From: > rt-users-bounces at lists.bestpractical.com > > > > > >> > > > > > > >>> > > > > > > >> > > > > > > >>>> > > > [rt-users-bounces at lists.bestpractical.com > > > > > >> > > > > > > >>> > > > > > > >> > > > > > > >>>>] On > Behalf Of > Aaron Guise [aaron at guise.net.nz > > > > >> > > > > >>> > > > > > >> > > > > >>>>] > > > Sent: Thursday, February 26, 2009 4:02 PM > To: rt-users at lists.bestpractical.com > > > > > >> > > > > > >>> > > > > > > >> > > > > > >>>> > > Subject: [rt-users] A little Scrip help > > Hi, > > I have implemented a scrip to notify > the owner > in the > event > someone > else merges data into one of their > tickets. > All works > well > but alas > it actually sends the notification > twice. There is > probably > a real > simple answer but it is baffling me. > Have just > ignored it > the last > few months but now I am a little > beyond that. > > The scrip used is noted below; > > my $txn = $self->TransactionObj; > return undef unless $txn->Type =~ > /^AddLink$/i; > return undef unless $txn->Field =~ > /^MergedInto$/i; > return 1; > > Any assistance in stopping this will > be greatly > appreciated. > > -- > Regards > > Aaron > > _______________________________________________ > > 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 > > > > > ------------------------------------------------------------------------ > > > > _______________________________________________ > > 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 > > > > > > > > > ------------------------------------------------------------------------ > > _______________________________________________ > > 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 > > > > > > ------------------------------------------------------------------------ > > _______________________________________________ > 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 -- Drew Barnes Applications Analyst Network Resources Department Raymond Walters College University of Cincinnati From mfinn at nbutexas.com Fri Feb 27 14:44:03 2009 From: mfinn at nbutexas.com (Michael Finn) Date: Fri, 27 Feb 2009 13:44:03 -0600 Subject: [rt-users] Tracking a bug with WYSIWYG editor and IE7 In-Reply-To: References: <3CE7D8D453B27148BBCA0B2063B11E64D600E2@s-wor-e-001.SCOUTSOFFICE.local><3CE7D8D453B27148BBCA0B2063B11E64D600F3@s-wor-e-001.SCOUTSOFFICE.local><3CE7D8D453B27148BBCA0B2063B11E64D60243@s-wor-e-001.SCOUTSOFFICE.local> Message-ID: Further testing: Logged into a different PC (Remote Desktop); logged into RT w/ IE7 --> same problem (55 chars, extra garbage). Logged into RT as root w/ IE7 --> did NOT have the problem. Fellow IT user (with same permissions as mine) is also not having this problem. It looks like *I'm* the lucky one. :( What could it be about *my* login in RT that's causing this issue??? > -----Original Message----- > From: rt-users-bounces at lists.bestpractical.com [mailto:rt-users- > bounces at lists.bestpractical.com] On Behalf Of Michael Finn > Sent: Friday, February 27, 2009 9:28 AM > To: Alex Young; rt-users at lists.bestpractical.com > Subject: Re: [rt-users] Tracking a bug with WYSIWYG editor and IE7 > > I just tried it with RTFM disabled, and got the same results: > ============= > Subject: 3rd test of RT in IE7 > MIME-Version: 1.0 > Content-Type: text/html; charset="UTF-8" > X-Mailer: MIME-tools 5.427 (Entity 5.427) > Content-Disposition: inline > Content-Transfer-Encoding: binary > X-RT-Original-Encoding: utf-8 > Content-Length: 55 > >

I > 've disabled > RTFM to test the IE7 pr > oblem > ============= > > > -----Original Message----- > > From: Alex Young [mailto:alexyoung at scoutsolutions.co.uk] > > Sent: Friday, February 27, 2009 5:04 AM > > To: Michael Finn; rt-users at lists.bestpractical.com > > Subject: RE: Tracking a bug with WYSIWYG editor and IE7 > > > > I am using pretty much the same as you, except I'm running IE7 on > > Vista. > > > > Michael, do oyu still have this bug if you disable RTFM? > > > > I can reproduce the error consistantly whenever I hit reply/comment > to > > a specific transaction. Depending on which transaction I > reply/comment > > on changes the site that the data is truncated. Doesnt matter how > much > > more I type into the reply/comment, each transaction also truncated > at > > the same bytes regardless. > > > > The Javascript errors I had in IE had nothing to do with this bug. I > > fixed it my removing the references to scriptalicous.js and > > prototype.js in the modified header from the RTx-EmailCompletion > > header. > > > > -----Original Message----- > > From: Michael Finn [mailto:mfinn at nbutexas.com] > > Sent: 25 February 2009 20:59 > > To: Alex Young; rt-users at lists.bestpractical.com > > Subject: Tracking a bug with WYSIWYG editor and IE7 > > > > The only extension I have is RTFM. More specs: > > RT-3.8.2 > > RTFM-2.4.1 > > MySQL 5.0.67 (external server) > > IE 7.0.5730.11 on WinXP SP3 > > IE7 Add-ons don't apply, because I experienced the same issue in IE7 > > "safe mode" ('iexplore -extoff'). > > > > I'm baffled. > > > > > -----Original Message----- > > > From: Alex Young [mailto:alexyoung at scoutsolutions.co.uk] > > > Sent: Wednesday, February 25, 2009 12:38 PM > > > To: Michael Finn; rt-users at lists.bestpractical.com > > > Subject: RE: [rt-users] Trying to track a bug with WYSIWYG > editor,IE7 > > > and RTx-EmailCompletion > > > > > > Hmmm... odd that I dont get the error when I remove RTx- > > > EmailCompletion, but you're not using it. What other extensions are > > you > > > using? Do you still get this problem if they are disabled? > > > > > > Mine is getting truncated at 319 characters on every one. I never > > > noticed it before. > > > > > > Looks like my JavaScript error is unrelated. Its a RTx- > > EmailCompletion > > > specific error that, so nothing to do with the truncation. > > > > > > > > > ================================================ > > > MIME-Version: 1.0 > > > X-Mailer: MIME-tools 5.427 (Entity 5.427) > > > Content-Disposition: inline > > > Content-Type: text/html; charset="UTF-8" > > > Content-Transfer-Encoding: binary > > > X-RT-Original-Encoding: utf-8 > > > RT-Send-CC: > > > Content-Length: 319 > > > > > >

Does it do it when inserting content fro > > > m the previous page?

> > >

On Wed Feb 25 14:58:45 2009, ayoung wrote: > > >
> > > > T > > > his is a > > > lon > > > g winded reply to see if IE will br > > > eak > > > with the WYSIWYG
> > > > > > & > > > gt; editor yet
> > > > again.
> > > >
> > > > > > > I > > > cant understand why it breaks.
> > > &g > > > t > > > ; > > > ================================================ > > > > > > > > > -----Original Message----- > > > From: Michael Finn [mailto:mfinn at nbutexas.com] > > > Sent: 25 February 2009 18:26 > > > To: Alex Young; rt-users at lists.bestpractical.com > > > Subject: RE: [rt-users] Trying to track a bug with WYSIWYG > editor,IE7 > > > and RTx-EmailCompletion > > > > > > Alex, > > > > > > I've observed the same kind of behavior when I use the "New ticket > > in" > > > button at the top, but not when I enter a comment or reply. > > > Additionally, my text is truncated at 55 characters. I'm having > this > > > issue in IE7, but not Firefox 3. I don't get JavaScript errors in > > > either browser. > > > > > > I do not use RTx-EmailCompletion, however. Here's an example of > what > > > I'm seeing (with headers): > > > ================= > > > MIME-Version: 1.0 > > > Content-Type: text/html; charset="UTF-8" > > > X-Mailer: MIME-tools 5.427 (Entity 5.427) > > > Content-Disposition: inline > > > Content-Transfer-Encoding: binary > > > X-RT-Original-Encoding: utf-8 > > > Content-Length: 55 > > > > > >

K > > > . Tibbels PC& > > > nbsp;won't boot.  " > > > ;Strik > > > ================= > > > > > > Mike > > > ----------------- > > > From: rt-users-bounces at lists.bestpractical.com [mailto:rt-users- > > > bounces at lists.bestpractical.com] On Behalf Of Alex Young > > > Sent: Wednesday, February 25, 2009 10:45 AM > > > To: rt-users at lists.bestpractical.com > > > Subject: [rt-users] Trying to track a bug with WYSIWYG editor,IE7 > and > > > RTx-EmailCompletion > > > > > > Hi, > > > ????????? I'm trying to track down a bug I am experiencing with RT, > > its > > > WYSIWYG editor, IE7 and RTx-EmailCompletion. > > > > > > On my install when RT inserts content automatically into the body > of > > > the WYSIWYG editor. > > > > > > I only get this error when using Internet Explorer 7 (Haven't tried > > > other IE versions). Firefox doesn't suffer. > > > > > > If I insert and RTFM article, my user signature (set under users > > > preferences), or hit reply/comment on a ticket transaction it posts > > the > > > info correct into the WYSIWYG editor window. When submitting that > > page > > > the transaction content randomly inserts spaces, line breaks, and > > chops > > > off the end of the content. > > > > > > If I disable RTx-EmailCompletion it works fine. > > > > > > I also have a JavaScript error in IE7 when RTx-EmailCompletion is > > > enabled; > > > Line: 2 > > > Char: 1 > > > Error: Syntax error > > > Code: 0 > > > > > > This error shows on every page. Looks like it's a problem with RTx- > > > EmailCompletion. It doesn't give a JS error in Firefox. > > > > > > Has anyone else had this problem or been able to fix it? > _______________________________________________ > 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 From Joel.Schuweiler at schmoozecom.com Fri Feb 27 15:04:51 2009 From: Joel.Schuweiler at schmoozecom.com (Joel Schuweiler) Date: Fri, 27 Feb 2009 14:04:51 -0600 Subject: [rt-users] REST add/update a user Message-ID: <04F770AE4B9BEC4FBDF9C306CFF44F27754D574D02@schmoozecom1.schmooze.schmoozecom.com> Anyone have example code, or know where I can find any, for using rest to add/update/delete users, including their passwords. Thanks, Joel -------------- next part -------------- An HTML attachment was scrubbed... URL: From jet at mycolo.biz Fri Feb 27 15:06:59 2009 From: jet at mycolo.biz (Jet Wilda) Date: Fri, 27 Feb 2009 15:06:59 -0500 Subject: [rt-users] How to display a logo in RT 3.8.2 In-Reply-To: <49A6D813.6020604@thebunker.net> References: <49A6A50B.2070404@mycolo.biz> <49A6D813.6020604@thebunker.net> Message-ID: <49A847E3.5030107@mycolo.biz> An HTML attachment was scrubbed... URL: From toml at bitstatement.net Fri Feb 27 15:23:41 2009 From: toml at bitstatement.net (Tom Lahti) Date: Fri, 27 Feb 2009 12:23:41 -0800 Subject: [rt-users] REST add/update a user In-Reply-To: <04F770AE4B9BEC4FBDF9C306CFF44F27754D574D02@schmoozecom1.schmooze.schmoozecom.com> References: <04F770AE4B9BEC4FBDF9C306CFF44F27754D574D02@schmoozecom1.schmooze.schmoozecom.com> Message-ID: <49A84BCD.7050102@bitstatement.net> Joel Schuweiler wrote: > Anyone have example code, or know where I can find any, for using rest to add/update/delete users, including their passwords. > > Thanks, > Joel It's just a form, with the id: field set to "user/" instead of "ticket/", and use the "edit" REST method. To create a user, you'd use the object id "user/new". The rest of the form would be like: id: user/new Name: Some Name EmailAddress: some at name.com Organization: Some Corp Password: blahblah Comments: This is a comment. and so on. -- -- ============================ Tom Lahti BIT Statement LLC (425)251-0833 x 117 http://www.bitstatement.net/ -- ============================ From Joel.Schuweiler at schmoozecom.com Fri Feb 27 15:42:10 2009 From: Joel.Schuweiler at schmoozecom.com (Joel Schuweiler) Date: Fri, 27 Feb 2009 14:42:10 -0600 Subject: [rt-users] REST add/update a user In-Reply-To: <49A84BCD.7050102@bitstatement.net> Message-ID: <04F770AE4B9BEC4FBDF9C306CFF44F27754D574D03@schmoozecom1.schmooze.schmoozecom.com> Hrm... I thought xml was standard when doing rest, is this not the case? Is there a method to get rt to handle xml for bother get/post ? -----Original Message----- From: Tom Lahti [mailto:toml at bitstatement.net] Sent: Friday, February 27, 2009 2:24 PM To: Joel Schuweiler Cc: rt-users at lists.bestpractical.com Subject: Re: [rt-users] REST add/update a user Joel Schuweiler wrote: > Anyone have example code, or know where I can find any, for using rest to add/update/delete users, including their passwords. > > Thanks, > Joel It's just a form, with the id: field set to "user/" instead of "ticket/", and use the "edit" REST method. To create a user, you'd use the object id "user/new". The rest of the form would be like: id: user/new Name: Some Name EmailAddress: some at name.com Organization: Some Corp Password: blahblah Comments: This is a comment. and so on. -- -- ============================ Tom Lahti BIT Statement LLC (425)251-0833 x 117 http://www.bitstatement.net/ -- ============================ From jthuau at heavy-iron.com Fri Feb 27 15:46:04 2009 From: jthuau at heavy-iron.com (Joachim Thuau) Date: Fri, 27 Feb 2009 12:46:04 -0800 Subject: [rt-users] Ticket taken twice In-Reply-To: References: <20090225211113.GG32682@17h.local><519782dc0902252329p7612d9ffi25be76e06c969997@mail.gmail.com><49A6EBD2.8000705@lbl.gov> Message-ID: aHA! I didn't get a chance to apply the patch, but we figured out a way to keep the whole history. The only data that wasn't preserved was the creation time, but the history is there and valid. That was enough for us. We created a new ticket, and merged the "broken one" into it. That transferred all the data (history, requestors, etc) to the new one, but not the owner. So at this point, we are at a good spot (at least I think). I'll work next week on upgrading the setup to the latest and greatest! (and I'll report the success...) Thanks, Jok > -----Original Message----- > From: rt-users-bounces at lists.bestpractical.com > [mailto:rt-users-bounces at lists.bestpractical.com] On Behalf > Of Joachim Thuau > Sent: Thursday, February 26, 2009 11:35 AM > To: rt-users at lists.bestpractical.com > Subject: Re: [rt-users] Ticket taken twice > > > I'm a little on the fence about this. I obviously want to > "catch up" and get up to 3.8.2 (whoohoo!) but I do need to > sort out that ticket first (at least it would make sense...) > to make sure it's not going to croak on the reload of the DB. > I have looked at the nice relational drawing from the > RT-Essential book, and from that I know better than just > going into the DB like that and mess with the ticket... I can > probably work it out, but I'd love to be able to get to keep > that ticket (well, with the fixed bits in it). Would you > share that SQL bits? At least, it'll give me a starting point... > > Thanks, > Jok From toml at bitstatement.net Fri Feb 27 15:55:34 2009 From: toml at bitstatement.net (Tom Lahti) Date: Fri, 27 Feb 2009 12:55:34 -0800 Subject: [rt-users] REST add/update a user In-Reply-To: <04F770AE4B9BEC4FBDF9C306CFF44F27754D574D03@schmoozecom1.schmooze.schmoozecom.com> References: <04F770AE4B9BEC4FBDF9C306CFF44F27754D574D03@schmoozecom1.schmooze.schmoozecom.com> Message-ID: <49A85346.8000809@bitstatement.net> Joel Schuweiler wrote: > Hrm... I thought xml was standard when doing rest, is this not the case? > Is there a method to get rt to handle xml for bother get/post ? Nope. RT uses RFC822 formatted forms, not XML. You can write a library that transforms your XML into the forms and vice versa, if you want to code to XML for some reason. But if you are coding in perl, just use RT::Client::REST from CPAN. If you are coding in ruby, wait a week or two and I'll be open sourcing a gem. If you are coding in something else -- write your own. ;) -- -- ============================ Tom Lahti BIT Statement LLC (425)251-0833 x 117 http://www.bitstatement.net/ -- ============================ From gratz.1 at osu.edu Fri Feb 27 16:52:57 2009 From: gratz.1 at osu.edu (Conrad Gratz) Date: Fri, 27 Feb 2009 16:52:57 -0500 Subject: [rt-users] Button that Create an Approval Ticket Message-ID: <49A860B9.1040008@osu.edu> I'm newbie at RT and could use some help. I have created a new install of RT 3.8.2 on linux using oracle and am in the process of configuring it. One of the queues I have created creates an approval ticket in another queue I have created for this. This all works fine. Now I want to make a button for tickets in a third queue that will create a child ticket in this same approvals queue. I was able to do this using the code found at http://wiki.bestpractical.com/view/CreateChildTicket. This ticket is created there but it is an ordinary ticket not an approvals ticket. I have tried various ways to set the type of the ticket to 'approval' but the child tickets are always showing up in the normal list of tickets, not under the Approvals button on the home page as they normally do. What do I need to do to make the child tickets become approval tickets? Thanks, Conrad Gratz gratz.1 at osu.edu From torsten.brumm at googlemail.com Fri Feb 27 17:36:38 2009 From: torsten.brumm at googlemail.com (Torsten Brumm) Date: Fri, 27 Feb 2009 23:36:38 +0100 Subject: [rt-users] Button that Create an Approval Ticket In-Reply-To: <49A860B9.1040008@osu.edu> References: <49A860B9.1040008@osu.edu> Message-ID: Hi Conrad, there is now way to create a approval in this way... Torsten 2009/2/27 Conrad Gratz > I'm newbie at RT and could use some help. I have created a new install > of RT 3.8.2 on linux using oracle and am in the process of configuring > it. One of the queues I have created creates an approval ticket in > another queue I have created for this. This all works fine. > > Now I want to make a button for tickets in a third queue that will > create a child ticket in this same approvals queue. I was able to do > this using the code found at > http://wiki.bestpractical.com/view/CreateChildTicket. This ticket is > created there but it is an ordinary ticket not an approvals ticket. I > have tried various ways to set the type of the ticket to 'approval' but > the child tickets are always showing up in the normal list of tickets, > not under the Approvals button on the home page as they normally do. > > What do I need to do to make the child tickets become approval tickets? > > Thanks, > > Conrad Gratz > gratz.1 at osu.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 > -- MFG Torsten Brumm http://www.torsten-brumm.de -------------- next part -------------- An HTML attachment was scrubbed... URL: From Gary.Greene at minervanetworks.com Fri Feb 27 17:40:47 2009 From: Gary.Greene at minervanetworks.com (Gary Greene) Date: Fri, 27 Feb 2009 14:40:47 -0800 Subject: [rt-users] REST add/update a user In-Reply-To: <49A85346.8000809@bitstatement.net> References: <04F770AE4B9BEC4FBDF9C306CFF44F27754D574D03@schmoozecom1.schmooze.schmoozecom.com> <49A85346.8000809@bitstatement.net> Message-ID: <7DC08293B3E4A24BB1FEB61A90FC367B01EC74BD@scmail-00.minervanetworks.com> > -----Original Message----- > From: rt-users-bounces at lists.bestpractical.com > [mailto:rt-users-bounces at lists.bestpractical.com] On Behalf > Of Tom Lahti > Sent: Friday, February 27, 2009 12:56 PM > To: Joel Schuweiler > Cc: rt-users at lists.bestpractical.com > Subject: Re: [rt-users] REST add/update a user > > Joel Schuweiler wrote: > > Hrm... I thought xml was standard when doing rest, is this > not the case? > > Is there a method to get rt to handle xml for bother get/post ? > > Nope. RT uses RFC822 formatted forms, not XML. You can > write a library that transforms your XML into the forms and > vice versa, if you want to code to XML for some reason. > > But if you are coding in perl, just use RT::Client::REST from > CPAN. If you are coding in ruby, wait a week or two and I'll > be open sourcing a gem. If you are coding in something else > -- write your own. ;) Can we please get some example code for this up somewhere so those of us that have automated employee fulfillment workflows can integrate this fairly easily? At the moment, I've a JSP utility that is used to create new users, and I'd like pre-instantiate the RT user for them (While we do use the ExternalAuth LDAP integration, the user still needs to login once for IT to add them to the proper queue...) -- Gary L. Greene, Jr. IT Operations Minerva Networks, Inc. Tel: (408) 240-1239 Cell: (650) 704-6633 From toml at bitstatement.net Fri Feb 27 18:31:58 2009 From: toml at bitstatement.net (Tom Lahti) Date: Fri, 27 Feb 2009 15:31:58 -0800 Subject: [rt-users] REST add/update a user In-Reply-To: <7DC08293B3E4A24BB1FEB61A90FC367B01EC74BD@scmail-00.minervanetworks.com> References: <04F770AE4B9BEC4FBDF9C306CFF44F27754D574D03@schmoozecom1.schmooze.schmoozecom.com> <49A85346.8000809@bitstatement.net> <7DC08293B3E4A24BB1FEB61A90FC367B01EC74BD@scmail-00.minervanetworks.com> Message-ID: <49A877EE.7020109@bitstatement.net> > Can we please get some example code for this up somewhere so those of us > that have automated employee fulfillment workflows can integrate this > fairly easily? At the moment, I've a JSP utility that is used to create > new users, and I'd like pre-instantiate the RT user for them (While we do > use the ExternalAuth LDAP integration, the user still needs to login once > for IT to add them to the proper queue...) Well, I can tell you off the top of my head that what you POST is XML, but the contents of that XML are not what you would think. You want one parameter called "content" that contains the RFC822 formatted form as I described, and that's all thats in the XML. You can see a lot of the fields you can set in the form by doing "/opt/rt/bin/rt edit -t user " If you want actual code, that'll take longer and I don't have time today. And any code I show you will be in ruby. -- -- ============================ Tom Lahti BIT Statement LLC (425)251-0833 x 117 http://www.bitstatement.net/ -- ============================ From Gary.Greene at minervanetworks.com Fri Feb 27 18:50:05 2009 From: Gary.Greene at minervanetworks.com (Gary Greene) Date: Fri, 27 Feb 2009 15:50:05 -0800 Subject: [rt-users] REST add/update a user In-Reply-To: <49A877EE.7020109@bitstatement.net> References: <04F770AE4B9BEC4FBDF9C306CFF44F27754D574D03@schmoozecom1.schmooze.schmoozecom.com> <49A85346.8000809@bitstatement.net> <7DC08293B3E4A24BB1FEB61A90FC367B01EC74BD@scmail-00.minervanetworks.com> <49A877EE.7020109@bitstatement.net> Message-ID: <7DC08293B3E4A24BB1FEB61A90FC367B01EC74EC@scmail-00.minervanetworks.com> > -----Original Message----- > From: Tom Lahti [mailto:toml at bitstatement.net] > Sent: Friday, February 27, 2009 3:32 PM > To: Gary Greene > Cc: Joel Schuweiler; rt-users at lists.bestpractical.com > Subject: Re: [rt-users] REST add/update a user > > > Can we please get some example code for this up somewhere > so those of > > us that have automated employee fulfillment workflows can integrate > > this fairly easily? At the moment, I've a JSP utility that > is used to > > create new users, and I'd like pre-instantiate the RT user for them > > (While we do use the ExternalAuth LDAP integration, the user still > > needs to login once for IT to add them to the proper queue...) > > Well, I can tell you off the top of my head that what you > POST is XML, but the contents of that XML are not what you > would think. You want one parameter called "content" that > contains the RFC822 formatted form as I described, and that's > all that's in the XML. You can see a lot of the fields you > can set in the form by doing "/opt/rt/bin/rt edit -t user " > > If you want actual code, that'll take longer and I don't have > time today. > And any code I show you will be in ruby. > Ruby works for me, since I can translate that to Perl or Java fairly easily (learned ruby while surrounded by Pythonistas when I was working for Google....) -- Gary L. Greene, Jr. IT Operations Minerva Networks, Inc. Tel: (408) 240-1239 Cell: (650) 704-6633 From brandonr at bandcon.com Fri Feb 27 22:45:44 2009 From: brandonr at bandcon.com (Brandon Rogge) Date: Fri, 27 Feb 2009 19:45:44 -0800 Subject: [rt-users] Requestors being sent comments when updated via email Message-ID: <67B864FDA9789F4FA1A854AFD6A1F3C80CB80455C7@devo> The problem I am having is that when someone sends a comment via email, the comment is being sent to the requestor. I can see that the script 'on correspond notify requestors and CCs with global template correspondence' is causing this even though the comment is being sent to RT using the comment email address. If this script is removed then replying to a ticket via the web interface doesn't work as the requestors email address is not used automatically. CorrespondAddress and CommentAddress are both set in RT_SiteConfig.pm we are using version 3.8.2. -------------- next part -------------- An HTML attachment was scrubbed... URL: From c_apotla at qualcomm.com Sat Feb 28 04:59:45 2009 From: c_apotla at qualcomm.com (Potla, Ashish Bassaliel) Date: Sat, 28 Feb 2009 01:59:45 -0800 Subject: [rt-users] Requestors being sent comments when updated via email In-Reply-To: <67B864FDA9789F4FA1A854AFD6A1F3C80CB80455C7@devo> References: <67B864FDA9789F4FA1A854AFD6A1F3C80CB80455C7@devo> Message-ID: what is the comment address set a queue level? is it the correct one? secondly how do you filter incoming emails and forward to RT? I use procmail. I have two filters configured for each queue in .procmailrc . So for one queue, I have : 1. If To is call rt mailgate with the email and action as --correspond 2. If To is call rt mailgate with the email and action as --comment Check this filtering to see if an incoming email from comment address is addressed by your filtering application properly. -Ashish ________________________________________ From: rt-users-bounces at lists.bestpractical.com [rt-users-bounces at lists.bestpractical.com] On Behalf Of Brandon Rogge [brandonr at bandcon.com] Sent: Saturday, February 28, 2009 9:15 AM To: rt-users at lists.bestpractical.com Subject: [rt-users] Requestors being sent comments when updated via email The problem I am having is that when someone sends a comment via email, the comment is being sent to the requestor. I can see that the script ?on correspond notify requestors and CCs with global template correspondence? is causing this even though the comment is being sent to RT using the comment email address. If this script is removed then replying to a ticket via the web interface doesn?t work as the requestors email address is not used automatically. CorrespondAddress and CommentAddress are both set in RT_SiteConfig.pm we are using version 3.8.2.