[rt-users] rt-client 0.2.1 released
The new version of the gem that includes all the needed dependencies (including the ones that ought to be included by mime-types) has hit the public rubyforge servers. You can "gem update rt-client" if you have the old version to install all the needed dependencies, or just "gem install rt-client" if you have not yet installed it. -- -- 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: sa...@bestpractical.com Discover RT's hidden secrets with RT Essentials from O'Reilly Media. Buy a copy at http://rtbook.bestpractical.com
Re: [rt-users] sort order of users (while adding to a group)
On Wed 25.Mar'09 at 15:08:21 +, Dave Holland wrote: > When adding a user to a group, the list of users available to be added > is sorted by "Name" but apparently presented as "Realname". That results > in a confusingly non-sorted list if - as in our situation - users' > "Name" is their login name which might not match the name they use, e.g. > login name "ab1" (from "Anthony Bloggs") but the Realname is "Tony > Bloggs" will be sorted amongst the names beginning with "A". > > Here's a patch to Admin/Elements/SelectNewGroupMembers which achieves > sorting by Realname. If there's no Realname set then the Name shows > instead. It's worth noting that display of names is a per-user config. It probably makes more sense to key off that. > > --- /opt/rt3/share/html/Admin/Elements/SelectNewGroupMembers 2009-02-03 > 11:53:01.0 + > +++ > /opt/rt3/local/plugins/RTx-Sanger-SortUsersByRealname/html/Admin/Elements/SelectNewGroupMembers >2009-03-25 14:52:25.0 + > @@ -84,6 +84,7 @@ > ENTRYAGGREGATOR => 'AND' > ); > $users->LimitToPrivileged(); > +$users->OrderBy( FIELD => $UserOrderBy, ORDER => $UserOrder ); > > my $groups = new RT::Groups($session{'CurrentUser'}); > > @@ -99,4 +100,6 @@ > $Group > $SkipUsers => {} > $SkipGroups => {} > +$UserOrderBy => 'RealName' > +$UserOrder => 'ASC' > > > Cheers, > Dave > -- > ** Dave Holland ** Systems Support -- Infrastructure Management ** > ** 01223 496923 ** The Sanger Institute, Hinxton, Cambridge, UK ** > "You're out of your mind." "Yeah. Ain't it cool?" > > > -- > 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: sa...@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: sa...@bestpractical.com Discover RT's hidden secrets with RT Essentials from O'Reilly Media. Buy a copy at http://rtbook.bestpractical.com
Re: [rt-users] AdminClass right and RT-FM
> I tried to create a small perl script to examine the rights directly: > > #!/usr/bin/perl -w > > use strict; > > use lib qw'/opt/rt3/lib /opt/rt3/local/lib'; > > use RT; > use RT::Interface::CLI qw/GetCurrentUser/; > > RT::LoadConfig; > RT::Init; > > my $user = GetCurrentUser(); > > my $c = RT::FM::Class->new($user); > > $c->Load('someclassname'); > > if ($user->HasRight(Right => 'AdminClass', > Object => $c)) { >print "Yes we can\n"; > } > > > but I'm not sure I've done this right, because it dies with: > > Can't locate object method "new" via package "RT::FM::Class" (perhaps > you forgot to load "RT::FM::Class"?) at test.pl line 15, line > 273. RT::FM doesn't pre-load all its classes at startup. so adding: require RT::FM::Class; right before your ->new statement will probably help note that a 'use' may fail because use is compile-time evaluated...and that may happen before plugins are innited. -j > > I've definitely got RT::FM in the @Plugins variable, so does anyone > have any clues as to (a) what I might have done wrong with the rights > in general and (b) why my little test script above does not work? > > Thanks in advance, > > 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: sa...@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: sa...@bestpractical.com Discover RT's hidden secrets with RT Essentials from O'Reilly Media. Buy a copy at http://rtbook.bestpractical.com
Re: [rt-users] rt-mailgate changing subject
On Mar 27, 2009, at 2:46 PM, Jon Baker wrote: > > On Mar 27, 2009, at 6:04 AM, rt-users-requ...@lists.bestpractical.com > wrote: > >>> I just started using custom subject tags with my RT and now my rt- >>> mailgate is changing the subject to strange things, putting the >>> ticket >>> tag into the subject. Is there a setting to prevent the subject >>> from >>> being changed by rt-mailgate? >> >> This sounds like a bug I fixed in trunk with the ExtractSubjectTag >> action, but you didn't provide a lot of information to go on. >> > This response is for kevin to give more detail on what exactly > happened. This is the bug that I fixed -kevin > > > I created a new queue, setting the custom subject tag, "Alert." So > now the outgoing e-mails would say [Alert #500] instead of [mysite.com > #500]. > > When someone replied to the e-mail, their subject of their e-mail was > "Re: [Alert #500] Ticket Name" > > Immediately after their transaction in the ticket + the outgoing e- > mails, there is the following transaction: > > RT_System - Subject changed from 'Ticket Name' to 'Ticket Name [Alert > #500]' > > All the users corresponding to this ticket did so via e-mail, so they > all continued to get the previous subject name, I did not see what > would the e-mail subject would have been had someone replied in the > html ticket and then replied to that e-mail. But no more subject > changes occurred (except when I changed the subject back, the next > incoming e-mail put the tag at the end again) > > Changing the $EmailSubjectTagRegex does appear to have fixed the > error; however, I think this should not be necessary to keep the > intuitive nature of setting up the queues. > > Thanks for your help! > ___ > http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users > > Community help: http://wiki.bestpractical.com > Commercial support: sa...@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: sa...@bestpractical.com Discover RT's hidden secrets with RT Essentials from O'Reilly Media. Buy a copy at http://rtbook.bestpractical.com
Re: [rt-users] RT + Exchange 2003
I've got mine set up like so: 1. AD/Exchange 'user' named HelpDesk (helpd...@nbutexas.com). This is where new requests are sent. 2. AD 'contact' named Request Tracker with the e-mail address r...@helpdesk.nbutexas.com 3. HelpDesk user's Exchange General properties are set to forward all messages to the RT contact. 4. DNS includes MX records for both Exchange server and helpdesk.nbutexas.com, so those messages route correctly. 5. RT mails have the reply address set to rt-@helpdesk.nbutexas.com, so they are routed properly. 6. /etc/aliases contains entries for every queue: rt-dev: "| /etc/smrsh/rt-mailgate --queue Development --action correspond --url http://helpdesk/"; rt-dev-comment: "| /etc/smrsh/rt-mailgate --queue Development --action comment --url http://helpdesk/"; Hope this helps... Mike > -Original Message- > From: rt-users-boun...@lists.bestpractical.com [mailto:rt-users- > boun...@lists.bestpractical.com] On Behalf Of Gary Greene > Sent: Friday, March 27, 2009 1:22 PM > To: rt-users@lists.bestpractical.com > Subject: [rt-users] RT + Exchange 2003 > > Does anyone have a recipe for getting RT working correctly with > Exchange 2003? I've the AD, and messages send FROM the RT system, > however I get bounces when replying TO messages. I'll document the > whole process on the wiki once I verify it is working. > > -- > Gary L. Greene, Jr. > IT Operations > Minerva Networks, Inc. > Tel: (408) 240-1239 > Cell: (650) 704-6633 > ___ > http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users > > Community help: http://wiki.bestpractical.com > Commercial support: sa...@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: sa...@bestpractical.com Discover RT's hidden secrets with RT Essentials from O'Reilly Media. Buy a copy at http://rtbook.bestpractical.com
[rt-users] forgot -- public copy of documentation
If you want to preview the ruby client API without installing the gem, you can do so at https://elise.bitstatement.net/doc/rt-client/ -- -- 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: sa...@bestpractical.com Discover RT's hidden secrets with RT Essentials from O'Reilly Media. Buy a copy at http://rtbook.bestpractical.com
[rt-users] Custom field - check boxes, radio buttons and text boxes
Although multi-screen is ideal for us, just being able to use check boxes and radio buttons would make things alot easier. Could you explain a little further how we do this or what we can reference to get more information on this... Thank you again Brad Yarotsky > > > > > > > Good day Brad > > I think, could you ask him how he can use check boxes or > > radio button in RT instead of select for multi or single > > value from list items or it's need some customization. > > best wishes, > > Shaekir, > >> Date: Fri, 27 Mar 2009 10:14:24 -0700 > >> From: t...@bitstatement.net > >> To: shakerram...@hotmail.com > >> CC: rt-users@lists.bestpractical.com > >> Subject: Re: [rt-users] Custom field - check boxes, radio buttons and > >> text boxes > >> > >> > Using check boxes and radio buttons will be easier for our users to > >> > manipulate. Has anyone done this or do you have any suggestions? > >> > >> You can certainly do this with RT using custom fields, but not "multiple > >> screen" where the state transfers from one page to the next. It would > >> all > >> be one screen. > >> > >> If you wanted multiple screens, you could still do it with a custom web > >> front end that uses RT's REST interface to store all the data from all > >> pages > >> to one ticket. > >> > >> -- > >> -- > >>Tom Lahti > >>BIT Statement LLC > >> > >>(425)251-0833 x 117 > >>http://www.bitstatement.net/ > >> -- > > > > _ > > Reunite with the people closest to you, chat face to face with Messenger. > > http://go.microsoft.com/?linkid=9650736 > > _ Experience all of the new features, and Reconnect with your life. http://go.microsoft.com/?linkid=9650730___ http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users Community help: http://wiki.bestpractical.com Commercial support: sa...@bestpractical.com Discover RT's hidden secrets with RT Essentials from O'Reilly Media. Buy a copy at http://rtbook.bestpractical.com
[rt-users] ruby library initial release
I have a rubyforge project pending for this, so sometime in the next few days you'll be able to just do "gem install rt-client" and get it from rubyforge directly. Until then, a ruby gem is attached containing the library, the XML-RPC service, and all the documentation. Patches to me, please :) -- -- Tom Lahti BIT Statement LLC (425)251-0833 x 117 http://www.bitstatement.net/ -- rt-client-0.2.gem Description: Binary data ___ http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users Community help: http://wiki.bestpractical.com Commercial support: sa...@bestpractical.com Discover RT's hidden secrets with RT Essentials from O'Reilly Media. Buy a copy at http://rtbook.bestpractical.com
Re: [rt-users] scrip creating multiple (5?) approvals
Hi Jon, Thanks very much for that tip. I believe I'd tried various variations of "On Create", "User Defined", "Create Tickets", etc. etc. before deciding that this was at least somewhere close to what I'd intended. I think I'm missing something about the context. Thanks again, and I'll take a proper look once I get back on the system shortly. -- Richard Foley Ciao - shorter than aufwiedersehen http://www.rfi.net/ On Friday 27 March 2009 19:53:25 Jon Baker wrote: > That looks to me that you're going to execute that approval script for > every transaction that occurs in the ticket. > > Test for > > lc($self->TransactionObj->Type) eq "create" > > to only fire the event when the ticket is created. > > > Condition: User Defined > >my $ticket= $self->TicketObj; > >if ( $ticket->FirstCustomFieldValue('ticketType') =~ /change > request/i ) { > >return 1; > >} else { > >return 0; > >} > > > > Custom action preparation code: > >return 1; > > > > Custom action cleanup code: > >return 1; > > > > I create a ticket of type 'change request' and recieve 5 identical > approvals > > for the originating ticket. Anyone have any bright suggestions as to > why...? > > -- > Jon Baker > Information Technology > Willie George Ministries > 1003 N 129th E Ave > Tulsa OK 74116 > (918) 234-5656 > > ___ http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users Community help: http://wiki.bestpractical.com Commercial support: sa...@bestpractical.com Discover RT's hidden secrets with RT Essentials from O'Reilly Media. Buy a copy at http://rtbook.bestpractical.com
[rt-users] Changing email subject to automatically update a ticket
I think you're going to be best off doing some sort of pre-processing on the incoming e-mail. You might be able to do this in rt-mailgate but I don't know how myself. I don't think you'll have any luck in a scrip because by that point it's in its own ticket. ___ http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users Community help: http://wiki.bestpractical.com Commercial support: sa...@bestpractical.com Discover RT's hidden secrets with RT Essentials from O'Reilly Media. Buy a copy at http://rtbook.bestpractical.com
[rt-users] scrip creating multiple (5?) approvals
That looks to me that you're going to execute that approval script for every transaction that occurs in the ticket. Test for lc($self->TransactionObj->Type) eq "create" to only fire the event when the ticket is created. > Condition: User Defined > my $ticket= $self->TicketObj; > if ( $ticket->FirstCustomFieldValue('ticketType') =~ /change request/i ) { > return 1; > } else { > return 0; > } > > Custom action preparation code: > return 1; > > Custom action cleanup code: > return 1; > > I create a ticket of type 'change request' and recieve 5 identical approvals > for the originating ticket. Anyone have any bright suggestions as to why...? -- Jon Baker Information Technology Willie George Ministries 1003 N 129th E Ave Tulsa OK 74116 (918) 234-5656 ___ http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users Community help: http://wiki.bestpractical.com Commercial support: sa...@bestpractical.com Discover RT's hidden secrets with RT Essentials from O'Reilly Media. Buy a copy at http://rtbook.bestpractical.com
Re: [rt-users] rt-mailgate changing subject
On Mar 27, 2009, at 6:04 AM, rt-users-requ...@lists.bestpractical.com wrote: >> I just started using custom subject tags with my RT and now my rt- >> mailgate is changing the subject to strange things, putting the >> ticket >> tag into the subject. Is there a setting to prevent the subject from >> being changed by rt-mailgate? > > This sounds like a bug I fixed in trunk with the ExtractSubjectTag > action, but you didn't provide a lot of information to go on. > > -kevin This response is for kevin to give more detail on what exactly happened. I created a new queue, setting the custom subject tag, "Alert." So now the outgoing e-mails would say [Alert #500] instead of [mysite.com #500]. When someone replied to the e-mail, their subject of their e-mail was "Re: [Alert #500] Ticket Name" Immediately after their transaction in the ticket + the outgoing e- mails, there is the following transaction: RT_System - Subject changed from 'Ticket Name' to 'Ticket Name [Alert #500]' All the users corresponding to this ticket did so via e-mail, so they all continued to get the previous subject name, I did not see what would the e-mail subject would have been had someone replied in the html ticket and then replied to that e-mail. But no more subject changes occurred (except when I changed the subject back, the next incoming e-mail put the tag at the end again) Changing the $EmailSubjectTagRegex does appear to have fixed the error; however, I think this should not be necessary to keep the intuitive nature of setting up the queues. Thanks for your help! ___ http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users Community help: http://wiki.bestpractical.com Commercial support: sa...@bestpractical.com Discover RT's hidden secrets with RT Essentials from O'Reilly Media. Buy a copy at http://rtbook.bestpractical.com
Re: [rt-users] RT + Exchange 2003
Maybe an example of the full 'bounce' message, (headers included), would be helpful for the rt-mail people on the list? -- Richard Foley Ciao - shorter than aufwiedersehen http://www.rfi.net/ On Friday 27 March 2009 19:21:41 Gary Greene wrote: > Does anyone have a recipe for getting RT working correctly with Exchange 2003? I've the AD, and messages send FROM the RT system, however I get bounces when replying TO messages. I'll document the whole process on the wiki once I verify it is working. > > -- > Gary L. Greene, Jr. > IT Operations > Minerva Networks, Inc. > Tel: (408) 240-1239 > Cell: (650) 704-6633 > ___ > http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users > > Community help: http://wiki.bestpractical.com > Commercial support: sa...@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: sa...@bestpractical.com Discover RT's hidden secrets with RT Essentials from O'Reilly Media. Buy a copy at http://rtbook.bestpractical.com
[rt-users] RT + Exchange 2003
Does anyone have a recipe for getting RT working correctly with Exchange 2003? I've the AD, and messages send FROM the RT system, however I get bounces when replying TO messages. I'll document the whole process on the wiki once I verify it is working. -- Gary L. Greene, Jr. IT Operations Minerva Networks, Inc. Tel: (408) 240-1239 Cell: (650) 704-6633 ___ http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users Community help: http://wiki.bestpractical.com Commercial support: sa...@bestpractical.com Discover RT's hidden secrets with RT Essentials from O'Reilly Media. Buy a copy at http://rtbook.bestpractical.com
Re: [rt-users] RT stop sending emails
[SOLVED] The user of the msmtp script and .conf file need to be set to the same user as apache. In most cases that user is www-data. -Original Message- From: Joop [mailto:joopvandew...@mococo.nl] Sent: Friday, March 27, 2009 3:29 AM To: Swart, Tom Cc: rt-users@lists.bestpractical.com Subject: Re: [rt-users] RT stop sending emails Swart, Tom wrote: > I have gone back to using msmtp and have an external SMTP relay defined. > In the /var/log/mail.log file the only current entries are for the > results of my auto fetchmail cronjob. There is results from yesterday > when it was working but nothing from today. > What you could try is see if msmtp has a -v (verbose) flag and manually send an email to see what the mailservers are telling each other. If it hasn't this then you could resort to: telnet mailserver 25 And by hand do a conversation with it. I've been having problems lately with Centos4.7 and its sendmail and each time it turned out that the other end didn't like my u...@host.domain. This being caused by the fact that host.domain didn't have a DNS entry in the wide world. So using a couple of option within Sendmail (masqerading) fixed this. You could have a look and see it you're not hit by this either. Regards, Joop ___ http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users Community help: http://wiki.bestpractical.com Commercial support: sa...@bestpractical.com Discover RT's hidden secrets with RT Essentials from O'Reilly Media. Buy a copy at http://rtbook.bestpractical.com
Re: [rt-users] scrip creating multiple (5?) approvals
I believe I have 5 Custom Fields enabled and I wonder if this might have something to do with the 5 created approvals...? -- Richard Foley Ciao - shorter than aufwiedersehen http://www.rfi.net/ On Friday 27 March 2009 16:30:58 Richard Foley wrote: > Hi folks, > > I have a template to create an approval ticket in rt 3.8.2: > > ===Create-Ticket: Change Request Approval > Subject: CR Approval for: {$Tickets{TOP}->Id} - {$Tickets{TOP}->Subject} > Refers-To: TOP > Queue: ___Approvals > Requestors: {$Tickets{TOP}->Requestors} > Depended-On-By: TOP > Type: approval > Content-Type: text/plain > Due: {time + 86400} > Content: ... > ENDOFCONTENT > > I have a scrip to trigger said approval creation: > > Condition: User Defined > my $ticket= $self->TicketObj; > if ( $ticket->FirstCustomFieldValue('ticketType') =~ /change request/i > ) { > return 1; > } else { > return 0; > } > > Custom action preparation code: > return 1; > > Custom action cleanup code: > return 1; > > I create a ticket of type 'change request' and recieve 5 identical approvals > for the originating ticket. Anyone have any bright suggestions as to why...? > > -- > 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: sa...@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: sa...@bestpractical.com Discover RT's hidden secrets with RT Essentials from O'Reilly Media. Buy a copy at http://rtbook.bestpractical.com
Re: [rt-users] Custom field - check boxes, radio buttons and text boxes
> Using check boxes and radio buttons will be easier for our users to > manipulate. Has anyone done this or do you have any suggestions? You can certainly do this with RT using custom fields, but not "multiple screen" where the state transfers from one page to the next. It would all be one screen. If you wanted multiple screens, you could still do it with a custom web front end that uses RT's REST interface to store all the data from all pages to one ticket. -- -- 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: sa...@bestpractical.com Discover RT's hidden secrets with RT Essentials from O'Reilly Media. Buy a copy at http://rtbook.bestpractical.com
Re: [rt-users] AdminClass right and RT-FM
On 27 Mar 2009, at 4:45 pm, Kevin Falcone wrote: > On Mar 27, 2009, at 12:29 PM, Tim Cutts wrote: >> >> It's a bit inconsistent with searching for RT core objects. >> If it were a ticket I was looking for, I wouldn't need to "require >> RT::Ticket": > > RT loads all core objects in RT::InitClasses > RTFM is a plugin and doesn't do that, so you need to bring in classes > you > want to use Makes sense. Doing it in InitPlugins would probably be a bit too expensive if the number of plugins is large. Thanks for your help. There will be an rtfm-bugs mail incoming shortly. 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: sa...@bestpractical.com Discover RT's hidden secrets with RT Essentials from O'Reilly Media. Buy a copy at http://rtbook.bestpractical.com
Re: [rt-users] AdminClass right and RT-FM
On Mar 27, 2009, at 12:29 PM, Tim Cutts wrote: > > It's a bit inconsistent with searching for RT core objects. > If it were a ticket I was looking for, I wouldn't need to "require > RT::Ticket": RT loads all core objects in RT::InitClasses RTFM is a plugin and doesn't do that, so you need to bring in classes you want to use -kevin ___ http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users Community help: http://wiki.bestpractical.com Commercial support: sa...@bestpractical.com Discover RT's hidden secrets with RT Essentials from O'Reilly Media. Buy a copy at http://rtbook.bestpractical.com
Re: [rt-users] AdminClass right and RT-FM
On Mar 27, 2009, at 12:29 PM, Tim Cutts wrote: > > On 27 Mar 2009, at 3:46 pm, Kevin Falcone wrote: > >> >> On Mar 27, 2009, at 11:20 AM, Tim Cutts wrote: >> >>> I'm in the process of deploying RT-FM, and I have come across a >>> strangeness with access to classes in order to configure them. We >>> have an rt-admin group, to which I have given the AdminClass right >>> globally. >>> >>> However, when I go to the configure page for the classes, I (a >>> member >>> of the rt-admin group) can only see one of the two classes that I >>> have >>> created, and I don't understand why. >> >> There is also a SeeClass right you might want to grant. > > Yep, done that (AdminClass is the crucial one, judging by RT-FM/html/ > Admin/RTFM/Classes/index.html) > >>> I tried to create a small perl script to examine the rights >>> directly: >>> >>> #!/usr/bin/perl -w >>> >>> use strict; >>> >>> use lib qw'/opt/rt3/lib /opt/rt3/local/lib'; >>> >>> use RT; >>> use RT::Interface::CLI qw/GetCurrentUser/; >>> >>> RT::LoadConfig; >>> RT::Init; >>> >>> my $user = GetCurrentUser(); >>> >>> my $c = RT::FM::Class->new($user); >>> >>> $c->Load('someclassname'); >>> >>> if ($user->HasRight(Right => 'AdminClass', >>> Object => $c)) { >>> print "Yes we can\n"; >>> } >>> >>> >>> but I'm not sure I've done this right, because it dies with: >>> >>> Can't locate object method "new" via package >>> "RT::FM::Class" (perhaps >>> you forgot to load "RT::FM::Class"?) at test.pl line 15, line >>> 273. >> >> you need to use RT::FM::Class; before you call new on it > > Actually, it seems to be require that's needed but not use. Thanks > for the hint. > > It's a bit inconsistent with searching for RT core objects. > If it were a ticket I was looking for, I wouldn't need to "require > RT::Ticket": > > Anyway, that aside, my script now works, and it shows that my user > indeed does not seem to have rights to access that class, but I > don't understand why, given that the user *is* a member of the rt- > admin group, and the rt-admin group *does* have that right. > > Workaround: If I configure the right at the per-Class level, it > works fine. It seems that it's only the global right that doesn't > seem to work. Should I file a bug report? Sure, send something to rtfm-b...@bestpractical.com -kevin > > > Tim > > > -- > The Wellcome Trust Sanger Institute is operated by Genome > ResearchLimited, a charity registered in England with number 1021457 > and acompany registered in England with number 2742969, whose > registeredoffice 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: sa...@bestpractical.com Discover RT's hidden secrets with RT Essentials from O'Reilly Media. Buy a copy at http://rtbook.bestpractical.com
Re: [rt-users] AdminClass right and RT-FM
On 27 Mar 2009, at 3:46 pm, Kevin Falcone wrote: > > On Mar 27, 2009, at 11:20 AM, Tim Cutts wrote: > >> I'm in the process of deploying RT-FM, and I have come across a >> strangeness with access to classes in order to configure them. We >> have an rt-admin group, to which I have given the AdminClass right >> globally. >> >> However, when I go to the configure page for the classes, I (a member >> of the rt-admin group) can only see one of the two classes that I >> have >> created, and I don't understand why. > > There is also a SeeClass right you might want to grant. Yep, done that (AdminClass is the crucial one, judging by RT-FM/html/ Admin/RTFM/Classes/index.html) >> I tried to create a small perl script to examine the rights directly: >> >> #!/usr/bin/perl -w >> >> use strict; >> >> use lib qw'/opt/rt3/lib /opt/rt3/local/lib'; >> >> use RT; >> use RT::Interface::CLI qw/GetCurrentUser/; >> >> RT::LoadConfig; >> RT::Init; >> >> my $user = GetCurrentUser(); >> >> my $c = RT::FM::Class->new($user); >> >> $c->Load('someclassname'); >> >> if ($user->HasRight(Right => 'AdminClass', >> Object => $c)) { >> print "Yes we can\n"; >> } >> >> >> but I'm not sure I've done this right, because it dies with: >> >> Can't locate object method "new" via package "RT::FM::Class" (perhaps >> you forgot to load "RT::FM::Class"?) at test.pl line 15, line >> 273. > > you need to use RT::FM::Class; before you call new on it Actually, it seems to be require that's needed but not use. Thanks for the hint. It's a bit inconsistent with searching for RT core objects. If it were a ticket I was looking for, I wouldn't need to "require RT::Ticket": Anyway, that aside, my script now works, and it shows that my user indeed does not seem to have rights to access that class, but I don't understand why, given that the user *is* a member of the rt-admin group, and the rt-admin group *does* have that right. Workaround: If I configure the right at the per-Class level, it works fine. It seems that it's only the global right that doesn't seem to work. Should I file a bug report? 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: sa...@bestpractical.com Discover RT's hidden secrets with RT Essentials from O'Reilly Media. Buy a copy at http://rtbook.bestpractical.com
[rt-users] Custom field - check boxes, radio buttons and text boxes
We are currently looking at customizing RT to allow us to use a wizard type system to create problem tickets (multiple screens). We repair computers and would like to have a way to check computers in to our system and create a ticket by select check boxes and radio buttons to inform the technician of all of the tests / tasks required to be done on that system and then possible check boxes to relay the results of these test / tasks. We may also need to type additional comments or give recommendations. Using check boxes and radio buttons will be easier for our users to manipulate. Has anyone done this or do you have any suggestions? Thanks in advance for you help. Brad Yarotsky The Computer Clinic _ Experience all of the new features, and Reconnect with your life. http://go.microsoft.com/?linkid=9650730___ http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users Community help: http://wiki.bestpractical.com Commercial support: sa...@bestpractical.com Discover RT's hidden secrets with RT Essentials from O'Reilly Media. Buy a copy at http://rtbook.bestpractical.com
Re: [rt-users] AdminClass right and RT-FM
On Mar 27, 2009, at 11:20 AM, Tim Cutts wrote: > I'm in the process of deploying RT-FM, and I have come across a > strangeness with access to classes in order to configure them. We > have an rt-admin group, to which I have given the AdminClass right > globally. > > However, when I go to the configure page for the classes, I (a member > of the rt-admin group) can only see one of the two classes that I have > created, and I don't understand why. There is also a SeeClass right you might want to grant. > I tried to create a small perl script to examine the rights directly: > > #!/usr/bin/perl -w > > use strict; > > use lib qw'/opt/rt3/lib /opt/rt3/local/lib'; > > use RT; > use RT::Interface::CLI qw/GetCurrentUser/; > > RT::LoadConfig; > RT::Init; > > my $user = GetCurrentUser(); > > my $c = RT::FM::Class->new($user); > > $c->Load('someclassname'); > > if ($user->HasRight(Right => 'AdminClass', > Object => $c)) { > print "Yes we can\n"; > } > > > but I'm not sure I've done this right, because it dies with: > > Can't locate object method "new" via package "RT::FM::Class" (perhaps > you forgot to load "RT::FM::Class"?) at test.pl line 15, line > 273. you need to use RT::FM::Class; before you call new on it -kevin > > > I've definitely got RT::FM in the @Plugins variable, so does anyone > have any clues as to (a) what I might have done wrong with the rights > in general and (b) why my little test script above does not work? > > Thanks in advance, > > 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: sa...@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: sa...@bestpractical.com Discover RT's hidden secrets with RT Essentials from O'Reilly Media. Buy a copy at http://rtbook.bestpractical.com
[rt-users] scrip creating multiple (5?) approvals
Hi folks, I have a template to create an approval ticket in rt 3.8.2: ===Create-Ticket: Change Request Approval Subject: CR Approval for: {$Tickets{TOP}->Id} - {$Tickets{TOP}->Subject} Refers-To: TOP Queue: ___Approvals Requestors: {$Tickets{TOP}->Requestors} Depended-On-By: TOP Type: approval Content-Type: text/plain Due: {time + 86400} Content: ... ENDOFCONTENT I have a scrip to trigger said approval creation: Condition: User Defined my $ticket= $self->TicketObj; if ( $ticket->FirstCustomFieldValue('ticketType') =~ /change request/i ) { return 1; } else { return 0; } Custom action preparation code: return 1; Custom action cleanup code: return 1; I create a ticket of type 'change request' and recieve 5 identical approvals for the originating ticket. Anyone have any bright suggestions as to why...? -- 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: sa...@bestpractical.com Discover RT's hidden secrets with RT Essentials from O'Reilly Media. Buy a copy at http://rtbook.bestpractical.com
[rt-users] AdminClass right and RT-FM
I'm in the process of deploying RT-FM, and I have come across a strangeness with access to classes in order to configure them. We have an rt-admin group, to which I have given the AdminClass right globally. However, when I go to the configure page for the classes, I (a member of the rt-admin group) can only see one of the two classes that I have created, and I don't understand why. I tried to create a small perl script to examine the rights directly: #!/usr/bin/perl -w use strict; use lib qw'/opt/rt3/lib /opt/rt3/local/lib'; use RT; use RT::Interface::CLI qw/GetCurrentUser/; RT::LoadConfig; RT::Init; my $user = GetCurrentUser(); my $c = RT::FM::Class->new($user); $c->Load('someclassname'); if ($user->HasRight(Right => 'AdminClass', Object => $c)) { print "Yes we can\n"; } but I'm not sure I've done this right, because it dies with: Can't locate object method "new" via package "RT::FM::Class" (perhaps you forgot to load "RT::FM::Class"?) at test.pl line 15, line 273. I've definitely got RT::FM in the @Plugins variable, so does anyone have any clues as to (a) what I might have done wrong with the rights in general and (b) why my little test script above does not work? Thanks in advance, 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: sa...@bestpractical.com Discover RT's hidden secrets with RT Essentials from O'Reilly Media. Buy a copy at http://rtbook.bestpractical.com
[rt-users] Changing email subject to automatically update a ticket
Hello, I'm going to receive emails with this subject "FOO BAR Changeset : 1234 FOO". I want to include this message into ticket #1234 if it exists, or create a new ticket if it doesn't (discarding this number, taking the next free). I think the easiest way to do this, is changing the email subject with a string at the beginning like [MY RT - #1234] so it will be automatically processed by RT as a comment (or correspondance) of the existing #1234 ticket if it exists, or not rename it if the ticket doesn't exist (and thus the ticket will be normally created). How can I rename the subject of the email before a ticket gets created ? - before rt-mailgate ? - in rt-mailgate ? - in a scrip ? I would prefer a scrip because everything will be stored in the DB and I don't need a script in the file system If I do this in a scrip, I don't have to use "onCreate" condition, but probably "User defined" because I want to do this before the creation of a ticket. But how can I get the object subject in the scrip as no ticket has been created yet ? Any other idea is welcome ! Thanks ! -- L.B. ___ http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users Community help: http://wiki.bestpractical.com Commercial support: sa...@bestpractical.com Discover RT's hidden secrets with RT Essentials from O'Reilly Media. Buy a copy at http://rtbook.bestpractical.com
[rt-users] Upgrading DBIx::SearchBuilder
Hello everyone, We are working on a plan to upgrade DBIx::SearchBuilder to improve performance mainly on our extensive reporting on RT platform. Do we have any upgrade path with any compatibility chart for upgrading the SearchBuilder module? Our env is RT 3.6.4/GNU Linux/MySQL 5.0.21 Thanks for your time, Subba THE INFORMATION CONTAINED IN THIS MESSAGE AND ANY ATTACHMENT MAY BE PRIVILEGED, CONFIDENTIAL, PROPRIETARY OR OTHERWISE PROTECTED FROM DISCLOSURE. If the reader of this message is not the intended recipient, you are hereby notified that any dissemination, distribution, copying or use of this message and any attachment is strictly prohibited. If you have received this message in error, please notify us immediately by replying to the message and permanently delete it from your computer and destroy any printout thereof. ___ http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users Community help: http://wiki.bestpractical.com Commercial support: sa...@bestpractical.com Discover RT's hidden secrets with RT Essentials from O'Reilly Media. Buy a copy at http://rtbook.bestpractical.com
Re: [rt-users] rt-mailgate changing subject
I think I found my answer. I was using the example I found in the mailing list, which wasn't quite right. I read carefully the comments in the RT_Config.pm file and saw that the regex command is supposed to look like this: Set($EmailSubjectTagRegex, qr/(?:example.com|example.org)/i ); Using that format instead of the one I previously posted appears to have solved the issue. Thanks! On Mar 26, 2009, at 4:00 PM, Jerrad Pierce wrote: > On Thu, Mar 26, 2009 at 16:56, Jon Baker wrote: >> I just started using custom subject tags with my RT and now my rt- >> mailgate is changing the subject to strange things, putting the >> ticket >> tag into the subject. Is there a setting to prevent the subject from >> being changed by rt-mailgate? > You've not offered too much detail but > > a) There is a scrip that detects subject changes > b) There are config settings (read the pod of RT_Config.pm) that > define >regexpen which test subjects to look for messages from/of RT. > > The latter seem to be especially important to adjust whenever you > alter > how subjects are formatted. See recent threads on ticket tags > appearing > on the right side of the subject (a symptom of b) > > -- > 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: sa...@bestpractical.com Discover RT's hidden secrets with RT Essentials from O'Reilly Media. Buy a copy at http://rtbook.bestpractical.com
Re: [rt-users] RT stop sending emails
I am able to send an email by using msmtp from the command line and I can telnet into my smtp relay on port 25. I think it is a problem between RT and msmtp. Here are some details of my configuration. The full path for the msmtp.conf file is /etc/request-tracker3.6/msmtp.conf and which msmtp returned /usr/bin/msmtp. Here is the contents of the msmtp script. #!/bin/bash /usr/bin/msmtp -t -C /etc/request-tracker3.6/msmtp.conf /usr/bin/logger -t RTmailer -p syslog.info -- CALL /usr/bin/msmtp -nt "$@" RETURNED $? Here is the SendmailPath line in the SiteConfig file: Set ($SendmailPath, "/etc/request-tracker3.6/msmtp"); Apache has been restart after editing SiteConfig. -Original Message- From: Joop [mailto:joopvandew...@mococo.nl] Sent: Friday, March 27, 2009 3:29 AM To: Swart, Tom Cc: rt-users@lists.bestpractical.com Subject: Re: [rt-users] RT stop sending emails Swart, Tom wrote: > I have gone back to using msmtp and have an external SMTP relay defined. > In the /var/log/mail.log file the only current entries are for the > results of my auto fetchmail cronjob. There is results from yesterday > when it was working but nothing from today. > What you could try is see if msmtp has a -v (verbose) flag and manually send an email to see what the mailservers are telling each other. If it hasn't this then you could resort to: telnet mailserver 25 And by hand do a conversation with it. I've been having problems lately with Centos4.7 and its sendmail and each time it turned out that the other end didn't like my u...@host.domain. This being caused by the fact that host.domain didn't have a DNS entry in the wide world. So using a couple of option within Sendmail (masqerading) fixed this. You could have a look and see it you're not hit by this either. Regards, Joop ___ http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users Community help: http://wiki.bestpractical.com Commercial support: sa...@bestpractical.com Discover RT's hidden secrets with RT Essentials from O'Reilly Media. Buy a copy at http://rtbook.bestpractical.com
Re: [rt-users] RT 3.8.2 install failed due XML::RSS
> Torsten Kaehler wrote: > > Hello, > > > > I want to install RT 3.8.2 on a Debian (UCS) System, but I get an error > > with 'make fixdeps': > > > > perl: > > >=5.8.3(5.8.8)...found > > > > users: > > rt group (www-data)...found > > bin owner (root)...found > > libs owner (root)...found > > libs group (bin)...found > > web owner (www-data)...found > > web group (www-data)...found > > ... > > > > SOME DEPENDENCIES WERE MISSING. > > MASON missing dependencies: > > XML::RSS >= 1.05...MISSING > > make: *** [fixdeps] Fehler 1 > > > > Then I want to install the modul: > > # /usr/bin/perl -MCPAN -e'install XML::RSS' > > PAN: Storable loaded ok (v2.15) > > Going to read /root/.cpan/Metadata > > Database was generated on Fri, 27 Mar 2009 04:27:05 GMT > > XML::RSS is up to date (1.43). > > > > That mean, XML::RSS is installed in the version 1.43, but 'make fixdeps' > > did not find the modul. > > > > Has anyone an idea, how I can resolve this problem? > > Perl in your $PATH is maybe different from /usr/bin/perl. > > Regards > Racke No, perl in the $PATH are not different from /usr/bin/perl. Can I continue with the RT Installation without problems or will RT later still missing XML::RSS? Regards, Torsten Kähler -- digitec GmbH Amsinckstraße 57 20097 Hamburg Tel. +49 40 23776-117 Fax +49 40 23776-200 www.digitec.de digitec GmbH EDV-Beratung, Soft- und Hardware Sitz Hamburg - HRB 28818, Amtsgericht Hamburg - Steuer-Nr. 2279101874 Geschäftsführer Klaus Bredow, Hans-Joachim Hänel, Hans-Jürgen Joost WICHTIGER HINWEIS Die Kommunikation mit digitec GmbH per Email dient nur dem Zweck der schnellen Information. Rechtsverbindliche Absprachen kommen über dieses Medium nicht zustande ! IMPORTANT NOTICE Communication with digitec GmbH via email is for quick information purposes only. This medium is not to be used for the exchange of legally binding statements ! ___ http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users Community help: http://wiki.bestpractical.com Commercial support: sa...@bestpractical.com Discover RT's hidden secrets with RT Essentials from O'Reilly Media. Buy a copy at http://rtbook.bestpractical.com
Re: [rt-users] RT 3.8.2 install failed due XML::RSS
Torsten Kaehler wrote: > Hello, > > I want to install RT 3.8.2 on a Debian (UCS) System, but I get an error > with 'make fixdeps': > > > perl: > >=5.8.3(5.8.8)...found > users: > rt group (www-data)...found > bin owner (root)...found > libs owner (root)...found > libs group (bin)...found > web owner (www-data)...found > web group (www-data)...found > ... > > SOME DEPENDENCIES WERE MISSING. > MASON missing dependencies: > XML::RSS >= 1.05...MISSING > make: *** [fixdeps] Fehler 1 > > Then I want to install the modul: > # /usr/bin/perl -MCPAN -e'install XML::RSS' > PAN: Storable loaded ok (v2.15) > Going to read /root/.cpan/Metadata > Database was generated on Fri, 27 Mar 2009 04:27:05 GMT > XML::RSS is up to date (1.43). > > That mean, XML::RSS is installed in the version 1.43, but 'make fixdeps' did > not find the modul. > > Has anyone an idea, how I can resolve this problem? Perl in your $PATH is maybe different from /usr/bin/perl. Regards Racke -- LinuXia Systems => http://www.linuxia.de/ Expert Interchange Consulting and System Administration ICDEVGROUP => http://www.icdevgroup.org/ Interchange Development Team ___ http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users Community help: http://wiki.bestpractical.com Commercial support: sa...@bestpractical.com Discover RT's hidden secrets with RT Essentials from O'Reilly Media. Buy a copy at http://rtbook.bestpractical.com
[rt-users] RT 3.8.2 install failed due XML::RSS
Hello, I want to install RT 3.8.2 on a Debian (UCS) System, but I get an error with 'make fixdeps': perl: >=5.8.3(5.8.8)...found users: rt group (www-data)...found bin owner (root)...found libs owner (root)...found libs group (bin)...found web owner (www-data)...found web group (www-data)...found ... SOME DEPENDENCIES WERE MISSING. MASON missing dependencies: XML::RSS >= 1.05...MISSING make: *** [fixdeps] Fehler 1 Then I want to install the modul: # /usr/bin/perl -MCPAN -e'install XML::RSS' PAN: Storable loaded ok (v2.15) Going to read /root/.cpan/Metadata Database was generated on Fri, 27 Mar 2009 04:27:05 GMT XML::RSS is up to date (1.43). That mean, XML::RSS is installed in the version 1.43, but 'make fixdeps' did not find the modul. Has anyone an idea, how I can resolve this problem? Regards Torsten Kähler -- digitec GmbH Amsinckstraße 57 20097 Hamburg Tel. +49 40 23776-117 Fax +49 40 23776-200 www.digitec.de digitec GmbH EDV-Beratung, Soft- und Hardware Sitz Hamburg - HRB 28818, Amtsgericht Hamburg - Steuer-Nr. 2279101874 Geschäftsführer Klaus Bredow, Hans-Joachim Hänel, Hans-Jürgen Joost WICHTIGER HINWEIS Die Kommunikation mit digitec GmbH per Email dient nur dem Zweck der schnellen Information. Rechtsverbindliche Absprachen kommen über dieses Medium nicht zustande ! IMPORTANT NOTICE Communication with digitec GmbH via email is for quick information purposes only. This medium is not to be used for the exchange of legally binding statements ! ___ http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users Community help: http://wiki.bestpractical.com Commercial support: sa...@bestpractical.com Discover RT's hidden secrets with RT Essentials from O'Reilly Media. Buy a copy at http://rtbook.bestpractical.com
Re: [rt-users] RT stop sending emails
Swart, Tom wrote: > I have gone back to using msmtp and have an external SMTP relay defined. > In the /var/log/mail.log file the only current entries are for the > results of my auto fetchmail cronjob. There is results from yesterday > when it was working but nothing from today. > What you could try is see if msmtp has a -v (verbose) flag and manually send an email to see what the mailservers are telling each other. If it hasn't this then you could resort to: telnet mailserver 25 And by hand do a conversation with it. I've been having problems lately with Centos4.7 and its sendmail and each time it turned out that the other end didn't like my u...@host.domain. This being caused by the fact that host.domain didn't have a DNS entry in the wide world. So using a couple of option within Sendmail (masqerading) fixed this. You could have a look and see it you're not hit by this either. Regards, Joop ___ http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users Community help: http://wiki.bestpractical.com Commercial support: sa...@bestpractical.com Discover RT's hidden secrets with RT Essentials from O'Reilly Media. Buy a copy at http://rtbook.bestpractical.com
Re: [rt-users] Custom Field select boxes erroneously displayed as multi-select...?
Hi Ken, That did it (perfect) thanks very much indeed! On Thursday 26 March 2009 19:04:44 Jesse wrote: > I'll quibble with "incorrect" - Though I'd be very happy if this were > per-field settable. > I concede on your quibble, although it would seem like a useful changable "default" setting on the customField creation page. Patch anyone ?-) -- Richard Foley Ciao - shorter than aufwiedersehen http://www.rfi.net/ On Thursday 26 March 2009 19:52:09 Ken Crocker wrote: > Richard, > > > I was given the following code to modify the way Custom Fileds are > presented: > > # To modify the way certain Custom Fields are set up for entering data, > # the following code should be *added* after line #76 and before the > last "return" > # command in the directory > /$RTHOME/rt-3.6.4/local/html/Elements/*EditCustomField > # > *** > > if ($Type eq "Text") > { > $Rows = 8; > $Cols = 50; > } > elsif ($Type eq "Wikitext") > { > $Rows = 8; > $Cols = 50; > } > elsif ($Type eq "Select" and $MaxValues == 1) >{ > $Rows = 1; > $Cols = 30; >} > > Hope this helps. > > > Kenn > LBNL > > On 3/26/2009 10:37 AM, Richard Foley wrote: > > Hi Ken, > > > > Yes please, that sounds perfect :-) > > > > > ___ http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users Community help: http://wiki.bestpractical.com Commercial support: sa...@bestpractical.com Discover RT's hidden secrets with RT Essentials from O'Reilly Media. Buy a copy at http://rtbook.bestpractical.com