Re: [rt-users] RT::Action not found after upgrade 3.8.2 - 3.8.8

2010-05-11 Thread Joop

Razvan Cosma wrote:

 Hi all,
Just did a ./configure  make upgrade, and while there were no errors 
and all dependencies seem to be in place, httpd won't start anymore 
(running on centos with mod_perl), complaining about
You didn't mention that you ran the upgrade scripts that are in the 
./etc/upgrade by issuing the following command and to what it tells you 
todo:


make upgrade-instruct


Regards,

Joop




Discover RT's hidden secrets with RT Essentials from O'Reilly Media.
Buy a copy at http://rtbook.bestpractical.com


Re: [rt-users] RT Database Upgrade 3.4.5 - 3.8.6

2010-05-11 Thread Joop

Simon Liang wrote:


Hi guys,

We’ve upgraded to 3.8.5 with no problems, but however upgrading the 
database is a different story:


**

rt3:~/rt-3.8.6# mysql -u rt_upgrader -p -h 10.2.0.63 rt3_upgrade2

Enter password:

Reading table information for completion of table and column names

You can turn off this feature to get a quicker startup with -A

Welcome to the MySQL monitor. Commands end with ; or \g.

Your MySQL connection id is 529971

Server version: 5.0.26-Debian_3-log Debian etch distribution

Type 'help;' or '\h' for help. Type '\c' to clear the buffer.

mysql exit


Yes that is mysql that you're connecting to.


Bye

rt3:~/rt-3.8.6# pwd

/root/rt-3.8.6

rt3:~/rt-3.8.6# /root/rt-3.8.6/sbin/rt-setup-database --dba 
rt_upgrader --action upgrade


In order to create or update your RT database, this script needs to 
connect to your SQLite instance on 10.2.0.63 as rt_upgrader




BUT this is SQLite that you're connecting to. MySQLSQLite!!!
Looks like you didn't specifiy a database-type during your configure run.
Check config.log, at the top you'll find you ./configure statement with 
its arguments. Rerun it with the correct parameters.


Regards,

Joop


Discover RT's hidden secrets with RT Essentials from O'Reilly Media.
Buy a copy at http://rtbook.bestpractical.com


[rt-users] modify Transaction CustomFields

2010-05-11 Thread pteodoro
Hi,

Is there a way to set Transaction Custom Fields via email?
something like Ticket Custom Fields described on wiki:
http://wiki.bestpractical.com/view/SetTicketPropertiesViaMail

RT 3.8.2

Thanks for any advice.

--
Piotr Teodorowski

Discover RT's hidden secrets with RT Essentials from O'Reilly Media.
Buy a copy at http://rtbook.bestpractical.com


Re: [rt-users] RT::Action not found after upgrade 3.8.2 - 3.8.8

2010-05-11 Thread Razvan Cosma
Hi - the database was upgraded as instructed (no errors), and I don't see
anything new in RT_Config that might need to be edited..

On Tue, May 11, 2010 at 9:52 AM, Joop joopvandew...@mococo.nl wrote:

 Razvan Cosma wrote:

  Hi all,
 Just did a ./configure  make upgrade, and while there were no errors and
 all dependencies seem to be in place, httpd won't start anymore (running on
 centos with mod_perl), complaining about

 You didn't mention that you ran the upgrade scripts that are in the
 ./etc/upgrade by issuing the following command and to what it tells you
 todo:

 make upgrade-instruct


 Regards,

 Joop





Discover RT's hidden secrets with RT Essentials from O'Reilly Media.
Buy a copy at http://rtbook.bestpractical.com

[rt-users] get RT errors in virtual host log?

2010-05-11 Thread Razvan Cosma
 Hi - not sure if this is a mod_perl or RT problem:
I have several namevirtualhosts on apache 2 with mod_perl 2, and while each
has an errorlog directive and writes in it as expected, the RT messages, and
only those, go to the main server error_log file. Reading through
Apache2::Log it seems I should include PerlOptions +GlobalRequest in
httpd.conf and override warn() with use Apache2::ServerRec qw(warn) - which
I did, at the beginning of webmux.pl
Still, any warn() goes to the mail error_log, while Apache errors - those
not handled by RT::Mason - go to the virtualhost file.

Discover RT's hidden secrets with RT Essentials from O'Reilly Media.
Buy a copy at http://rtbook.bestpractical.com

Re: [rt-users] RT mysql / LDAP Auth

2010-05-11 Thread Mike Peachey
james machado wrote:
 
 
 this is the part that is probably killing you on your LDAP
 authentication piece.  Active Directory does not allow anonymous bind
 for LDAP authentication. 

Not true, you just have to configure it. I use anonymous bind - just
means my own account has to not be a domain admin because anonymous bind
doesn't seem to return privileged accounts.

-- 
Kind Regards,

__

Mike Peachey, IT Systems Administrator
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
__

Discover RT's hidden secrets with RT Essentials from O'Reilly Media.
Buy a copy at http://rtbook.bestpractical.com


Re: [rt-users] RT::Action not found after upgrade 3.8.2 - 3.8.8

2010-05-11 Thread Raghu Siddarth
I got the same issue here. Upgrade script went through without any errors,
cleared mason and restarted apache, but it failed to start with the
following error :

[error] Require of RT::Action:: failed.

Can't locate RT/Action/.pm in @INC (@INC contains: /opt/rt3/bin/../local/lib
/opt/rt3/local/plugins/RT-Extension-PriorityAsString/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) at (eval 1318) line
3.\n\nCompilation failed in require at (eval 2) line 1.

[error] Can't load Perl file: /opt/rt3/bin/webmux.pl for server
ritsnet-rt.mine.nu:0, exiting...


Thanks Razvan for the quick fix below. It worked for me. I'm trying to
understand why are only a few users getting affected.

 -- Raghu Siddarth

On Mon, May 10, 2010 at 5:03 PM, Razvan Cosma razvan.co...@gmail.comwrote:

 Can't figure out the problem source, and I am in a hurry, so for now:
 if(eval require $type) {
 $self-{'Action'}  = $type-new ( Argument = $self-Argument,
   CurrentUser = $self-CurrentUser,
   ScripActionObj = $self,
   ScripObj = $args{'ScripObj'},
   TemplateObj = $self-TemplateObj,
   TicketObj = $args{'TicketObj'},
   TransactionObj =
 $args{'TransactionObj'},
 );
 } else {
   warn Require of $type failed@\n;
 }
 Then application seems to work fine otherwise.


 On Mon, May 10, 2010 at 2:22 PM, Razvan Cosma razvan.co...@gmail.comwrote:

 OK, tried another trick now: created a RT/Action/.pm file that only does
 print caller(); and it seems it's called from RT::ScripAction which leads to
 the file ScripAction_Overlay.pm and at line 173
 eval require $type || die Require of $type failed@\n;
 still digging..


 On Mon, May 10, 2010 at 2:17 PM, Richard Pijnenburg 
 rich...@widexs.nlwrote:

  I have the same issue.

 Cleaned the mason cache and restarted apache, but same result.



 Met vriendelijke groet / With kind regards,

 Richard Pijnenburg
 Changes and Incident Coordinator

 WideXS  http://www.widexs.nl
 Tel +31 (0)20 7570780  Fax +31 (0)20 6116302
 Zekeringstraat 43,1014 BV Amsterdam, NL



 *From:* rt-users-boun...@lists.bestpractical.com [mailto:
 rt-users-boun...@lists.bestpractical.com] *On Behalf Of *Steve Anderson
 *Sent:* Monday, May 10, 2010 12:43 PM
 *To:* Razvan Cosma; rt-users@lists.bestpractical.com
 *Subject:* Re: [rt-users] RT::Action not found after upgrade 3.8.2 -
 3.8.8



 Did you do the step of wiping out the Mason cache?



 *From:* rt-users-boun...@lists.bestpractical.com [mailto:
 rt-users-boun...@lists.bestpractical.com] *On Behalf Of *Razvan Cosma
 *Sent:* 10 May 2010 11:35 AM
 *To:* rt-users@lists.bestpractical.com
 *Subject:* [rt-users] RT::Action not found after upgrade 3.8.2 - 3.8.8



  Hi all,
 Just did a ./configure  make upgrade, and while there were no errors
 and all dependencies seem to be in place, httpd won't start anymore 
 (running
 on centos with mod_perl), complaining about
 [error] Require of RT::Action:: failed.\nCan't locate RT/Action/.pm in
 @INC
 This looks like a typo in some file or scrip, but I have done a grep in
 the webroot, and deleted all my scrips from mysql - it wasn't there
 There's no file name in the error, only
 at (eval 2442) line 3.\n\nCompilation failed in require at (eval 2) line
 1.\n
 Any hints on where this eval happens?
 Thank you very much


  --

 This email has been scanned by Netintelligence
 http://www.netintelligence.com/email
  --


  --

 BiP Solutions Limited is a company registered in Scotland with Company
 Number SC086146 and VAT number 383030966 and having its registered
 office at Medius, 60 Pacific Quay, Glasgow, G51 1DZ.


 
 This e-mail (and any attachment) is intended only for the attention of
 the addressee(s). Its unauthorised use, disclosure, storage or copying
 is not permitted. If you are not the intended recipient, please destroy
 all copies and inform the sender by return e-mail.
 This e-mail (whether you are the sender or the recipient) may be
 monitored, recorded and retained by BiP Solutions Ltd.
 E-mail monitoring/ blocking software may be used, and e-mail content may
 be read at any time.You have a responsibility to ensure laws are not
 broken when composing or forwarding e-mails and their contents.

 







 Discover RT's hidden secrets with RT Essentials from O'Reilly Media.
 Buy a copy at http://rtbook.bestpractical.com


[rt-users] mass user rename

2010-05-11 Thread ronald higgins
Hi RT users.

I need to perform a mass rename on 80% of our user account usernames,
other than as root going CONFIGURATION-Users-TargetUser  changing
the username
on a per user basis is there a quicker method to perform this ?

Regards

Ronald

Discover RT's hidden secrets with RT Essentials from O'Reilly Media.
Buy a copy at http://rtbook.bestpractical.com


Re: [rt-users] Double spacing problem In RT 3.8.7

2010-05-11 Thread Raghu Siddarth
Upgraded to 3.8.8 but the issues still persists. Any transaction between MS
outlook and the ticketing system adds extra spaces.

Aren't other RT users facing this same issue?

Thanks,
-- 
Raghu Siddarth

On Thu, Mar 18, 2010 at 12:31 AM, Jesse Vincent je...@bestpractical.comwrote:




 On Wed 17.Mar'10 at 13:42:36 +0530, Rags wrote:
  I've tried lots of things, but the double spacing still remains.
 
  What is odd is that mails sent without using the Web interface gets a
 space
  added for everyline. Every space get's doubled. I know in the mailing
 list
  this was said to be due to the fckeditor, but I'm using simple mail. I've
  disabled the editor but the issue is still present.
 
  I'm using the latest RT 3.8.7 - what could be the problem?

 The very short version is that recent outlook has decided that in the
 plaintext version of messages you send, hitting return means paragraph
 break. send two newlines!   There are some improvements in what will
 become RT 3.8.8. Additional improvement can be had by moving your RT
 templates over to text/html, which RT will dutifully turn into a
 multipart/alternative.

 -BEGIN PGP SIGNATURE-
 Version: GnuPG v1.4.9 (GNU/Linux)

 iEYEARECAAYFAkuhJyIACgkQEi9d9xCOQEabbgCgs4bmgK2piP8bSBNTzfnY2jRk
 FJwAoLufxXsWTZuDssseK1Qnl7ODKBoa
 =5axv
 -END PGP SIGNATURE-



Discover RT's hidden secrets with RT Essentials from O'Reilly Media.
Buy a copy at http://rtbook.bestpractical.com

[rt-users] No To: Field being generated.

2010-05-11 Thread Mauricio Tavares
For some reason messages/tickets sent by RT have no To: Fields, only
Reply-To:. Why would it be doing that? Looking into SendEmail.pm,

sub To {
my $self = shift;
return ($self-_AddressesFromHeader('To'));
}

it makes me think the To: field in the head object was not
extracted/populated. Am I on the right track or just idling aimlessly?

Discover RT's hidden secrets with RT Essentials from O'Reilly Media.
Buy a copy at http://rtbook.bestpractical.com


[rt-users] View tickets created via email

2010-05-11 Thread josé fernandez
Hello All,

Is it possible when an unprivileged user to create a ticket via email,
as it appears in its interface  RT3 in open tickets?

Thank you

Discover RT's hidden secrets with RT Essentials from O'Reilly Media.
Buy a copy at http://rtbook.bestpractical.com

Re: [rt-users] View tickets created via email

2010-05-11 Thread Martin Drasar
Dne 11.5.2010 16:51, josé fernandez napsal(a):
 Hello All,
 
 Is it possible when an unprivileged user to create a ticket via email,
 as it appears in its interface  RT3 in open tickets?
 
 Thank you
 

Hello jose,
it is possible. You just need to allow 'Everyone' group to create tickets.
To do so go into: Configuration - Global - Group rights
And for system group 'Everyone' grant the 'CreateTicket' right.
I also suggest to grant 'ReplyToTicket' right as well.

Martin

-- 
Mgr. Martin Drasar   dra...@ics.muni.cz
CSIRT-MU, Network Security Department  http://www.muni.cz/csirt
Institute of Computer Science, Masaryk University, Brno, Czech Republic
   PGP Key ID: 0x944BC925

Discover RT's hidden secrets with RT Essentials from O'Reilly Media.
Buy a copy at http://rtbook.bestpractical.com

Re: [rt-users] modify Transaction CustomFields

2010-05-11 Thread Kenneth Crocker
pteodoro,

Yep. you have to have CommandByMail installed. The instructions tell you how
to use it.

Kenn
LBNL

On Tue, May 11, 2010 at 1:43 AM, pteodoro piotr.teodorow...@contium.plwrote:

 Hi,

 Is there a way to set Transaction Custom Fields via email?
 something like Ticket Custom Fields described on wiki:
 http://wiki.bestpractical.com/view/SetTicketPropertiesViaMail

 RT 3.8.2

 Thanks for any advice.

 --
 Piotr Teodorowski

 Discover RT's hidden secrets with RT Essentials from O'Reilly Media.
 Buy a copy at http://rtbook.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] This is a brand new ticket test in Scrip custom condition

2010-05-11 Thread Jeff Blaine

[ Answering self ]

# custom condition
if ($self-TransactionObj-Type eq Create) {
return 1;
}

# other custom condition code here...

On 5/10/2010 2:43 PM, Jeff Blaine wrote:

Probably an easy answer to this one.

I have a custom condition for a scrip which deals with a
custom field. The condition and the rest of the code all works
great, except when the submitted ticket is *brand new*
(New ticket in -- queuename).

I would like to add to my custom condition logic to ensure
that this case is also addressed.

How does one query for is this transaction creating a new
ticket?

Discover RT's hidden secrets with RT Essentials from O'Reilly Media.
Buy a copy at http://rtbook.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] Too many tickets in queue?

2010-05-11 Thread Emmanuel Lacour
On Mon, May 03, 2010 at 07:38:45PM +0200, Torsten Brumm wrote:
 Hi Emmanuel,
 i think jesse is talking about our installation ;-)
 

thanks, that's an interresting setup.


Discover RT's hidden secrets with RT Essentials from O'Reilly Media.
Buy a copy at http://rtbook.bestpractical.com


[rt-users] Problems with permissions (bug?)

2010-05-11 Thread Markus.Kummer
Dear list,

I'm using rt 3.8.8 and facing problems in setting up permissions for a queue.

What I want is that users see the tickets they have requested in a certain 
queue only.
So user A cannot see tickets requested by user B and vice versa.

So I applied the following rights

- Configuration - Queues - Group rights

Roles

Requestor:
 
- CommentOnTicket
- DeleteTicket
- ForwardMessage
- ModifyCustomField
- ModifyTicket
- OwnTicket
- ReplyToTicket
- SeeCustomField
- ShowOutgoingEmail
- ShowTicket
- ShowTicketComments
- StealTicket
- TakeTicket
- Watch
- WatchAsAdminCc

User defined groups

1_rt_eval

- SeeQueue
- CreateTicket

2_rt_eval

- SeeQueue
- CreateTicket

This basically works, but when a user logs in he finds an empty RT at a glance 
page.
But searching for his email address gives the expected results.
So my only problem is that the Queue is not displayed in the Quicksearch.
After a lot of searching in the mailing list archives I got some hints.

I applied the following rights additionally:

System groups

Privileged:

- SeeQueue  
- CreateTicket
- ShowTicket

After login the Quicksearch is populated with that queue but all tickets are 
shown.
So I removed the ShowTicket right from Privileged (while the user is still 
logged in). After a reload of the RT at a glance page the user sees the queue 
in the quicksearch. Following the link shows the correct tickets (the ticket 
count is wrong but this doesn't matter).

Everything fine so far, but when the user logs out and in again Quicksearch is 
empty again. This is fully reproducible.

Do I miss something here or is this a bug?

Thanks for any help!

Markus

T-Systems International GmbH
SDU Telco NPS
Vorgebirgsstr. 49
53119 Bonn
Tel: + 49 228 9841 3820
E-Mail: markus.kum...@t-systems.com 

T-Systems International GmbH
Aufsichtsrat: René Obermann (Vorsitzender)
Geschäftsführung: Reinhard Clemens (Vorsitzender), Dr. Ferri Abolhassan, Olaf 
Heyden, Joachim Langmack, Dr. Matthias Schuster, Klaus Werner
Handelsregister: Amtsgericht Frankfurt am Main HRB 55933 Sitz der Gesellschaft: 
Frankfurt am Main WEEE-Reg.-Nr. DE87523644

Discover RT's hidden secrets with RT Essentials from O'Reilly Media.
Buy a copy at http://rtbook.bestpractical.com


Re: [rt-users] RealName instead of Name

2010-05-11 Thread Christian Loos
Am 10.05.2010 16:35, schrieb Milos.Barina:
 Hi everyone,
 
 after migrating to RT 3.8.7 from 3.6.3, users in drop-down fields  (e.g. 
 QueryBuilder) are shown as RealName instead of Name.  This is considered an 
 inconvenience by some people. 
 Is there an administrative setting to change it back? If not, what would be 
 the recommended way to change it back in the code?
 
 Thank you in advance for any hint.
 
 Milos
 
 Discover RT's hidden secrets with RT Essentials from O'Reilly Media.
 Buy a copy at http://rtbook.bestpractical.com
 

Hi Milos,

you can use this in your RT_SiteConfig.pm

=item C$UsernameFormat

This determines how user info is displayed. 'concise' will show one of
either NickName, RealName, Name or EmailAddress, depending on what exists
and whether the user is privileged or not. 'verbose' will show RealName and
EmailAddress.

=cut

Set($UsernameFormat, 'concise');

If you set this to 'verbose' you see RealName, email and Username.
It is not the same as before but you can distinguish between user with
the same name.

Chris

Discover RT's hidden secrets with RT Essentials from O'Reilly Media.
Buy a copy at http://rtbook.bestpractical.com


Re: [rt-users] Problems with permissions (bug?)

2010-05-11 Thread Kenneth Crocker
Markus,

It seems you want the Requestor to basically create, own and modify their
own requested ticket? You granted some rights to Privileged and then granted
the same rights again to a couple groups. If they have the right as a
privileged user, then you do not need to grant the same rights again to a
group, since only privileged users can be in a group.
I would grant SeeQueue and CreateTicket to privileged users and then
grant what you want to the requestor. Apparently,  the groups are
extraneous, so don't bother with them. If you can make a distinction between
what kind of privileges are necessary between groups and certain roles, then
create the group and add members. Also, I HOPe you are not granting any
rights to individual users. WAY BAD! Too much maintenance if you have a lot
of users.

Hope this helps.

Kenn
LBNL

On Tue, May 11, 2010 at 9:47 AM, markus.kum...@t-systems.com wrote:

 Dear list,

 I'm using rt 3.8.8 and facing problems in setting up permissions for a
 queue.

 What I want is that users see the tickets they have requested in a certain
 queue only.
 So user A cannot see tickets requested by user B and vice versa.

 So I applied the following rights

 - Configuration - Queues - Group rights

 Roles

 Requestor:

 - CommentOnTicket
 - DeleteTicket
 - ForwardMessage
 - ModifyCustomField
 - ModifyTicket
 - OwnTicket
 - ReplyToTicket
 - SeeCustomField
 - ShowOutgoingEmail
 - ShowTicket
 - ShowTicketComments
 - StealTicket
 - TakeTicket
 - Watch
 - WatchAsAdminCc

 User defined groups

 1_rt_eval

 - SeeQueue
 - CreateTicket

 2_rt_eval

 - SeeQueue
 - CreateTicket

 This basically works, but when a user logs in he finds an empty RT at a
 glance page.
 But searching for his email address gives the expected results.
 So my only problem is that the Queue is not displayed in the Quicksearch.
 After a lot of searching in the mailing list archives I got some hints.

 I applied the following rights additionally:

 System groups

 Privileged:

 - SeeQueue
 - CreateTicket
 - ShowTicket

 After login the Quicksearch is populated with that queue but all tickets
 are shown.
 So I removed the ShowTicket right from Privileged (while the user is still
 logged in). After a reload of the RT at a glance page the user sees the
 queue in the quicksearch. Following the link shows the correct tickets (the
 ticket count is wrong but this doesn't matter).

 Everything fine so far, but when the user logs out and in again Quicksearch
 is empty again. This is fully reproducible.

 Do I miss something here or is this a bug?

 Thanks for any help!

 Markus
 
 T-Systems International GmbH
 SDU Telco NPS
 Vorgebirgsstr. 49
 53119 Bonn
 Tel: + 49 228 9841 3820
 E-Mail: markus.kum...@t-systems.com

 T-Systems International GmbH
 Aufsichtsrat: René Obermann (Vorsitzender)
 Geschäftsführung: Reinhard Clemens (Vorsitzender), Dr. Ferri Abolhassan,
 Olaf Heyden, Joachim Langmack, Dr. Matthias Schuster, Klaus Werner
 Handelsregister: Amtsgericht Frankfurt am Main HRB 55933 Sitz der
 Gesellschaft: Frankfurt am Main WEEE-Reg.-Nr. DE87523644

 Discover RT's hidden secrets with RT Essentials from O'Reilly Media.
 Buy a copy at http://rtbook.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::Action not found after upgrade 3.8.2 - 3.8.8

2010-05-11 Thread Ruslan Zakirov
Hello,

Try to change RT::InitClasses( Heavy = 1 ) to RT::InitClasses( Heavy
= 0 ) in webmux.pl instead of using the patch (revert it) and report
back if it helps.

On Tue, May 11, 2010 at 4:58 PM, Raghu Siddarth raghusidda...@gmail.com wrote:
 I got the same issue here. Upgrade script went through without any errors,
 cleared mason and restarted apache, but it failed to start with the
 following error :

 [error] Require of RT::Action:: failed.

 Can't locate RT/Action/.pm in @INC (@INC contains: /opt/rt3/bin/../local/lib
 /opt/rt3/local/plugins/RT-Extension-PriorityAsString/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) at (eval 1318) line
 3.\n\nCompilation failed in require at (eval 2) line 1.

 [error] Can't load Perl file: /opt/rt3/bin/webmux.pl for server
 ritsnet-rt.mine.nu:0, exiting...


 Thanks Razvan for the quick fix below. It worked for me. I'm trying to
 understand why are only a few users getting affected.

  -- Raghu Siddarth

 On Mon, May 10, 2010 at 5:03 PM, Razvan Cosma razvan.co...@gmail.com
 wrote:

 Can't figure out the problem source, and I am in a hurry, so for now:
 if(eval require $type) {
     $self-{'Action'}  = $type-new ( Argument = $self-Argument,
   CurrentUser = $self-CurrentUser,
   ScripActionObj = $self,
   ScripObj = $args{'ScripObj'},
   TemplateObj = $self-TemplateObj,
   TicketObj = $args{'TicketObj'},
   TransactionObj =
 $args{'TransactionObj'},
     );
     } else {
   warn Require of $type failed@\n;
     }
 Then application seems to work fine otherwise.

 On Mon, May 10, 2010 at 2:22 PM, Razvan Cosma razvan.co...@gmail.com
 wrote:

 OK, tried another trick now: created a RT/Action/.pm file that only does
 print caller(); and it seems it's called from RT::ScripAction which leads to
 the file ScripAction_Overlay.pm and at line 173
 eval require $type || die Require of $type failed@\n;
 still digging..


 On Mon, May 10, 2010 at 2:17 PM, Richard Pijnenburg rich...@widexs.nl
 wrote:

 I have the same issue.

 Cleaned the mason cache and restarted apache, but same result.



 Met vriendelijke groet / With kind regards,

 Richard Pijnenburg
 Changes and Incident Coordinator

 WideXS  http://www.widexs.nl
 Tel +31 (0)20 7570780  Fax +31 (0)20 6116302
 Zekeringstraat 43,    1014 BV Amsterdam, NL



 From: rt-users-boun...@lists.bestpractical.com
 [mailto:rt-users-boun...@lists.bestpractical.com] On Behalf Of Steve
 Anderson
 Sent: Monday, May 10, 2010 12:43 PM
 To: Razvan Cosma; rt-users@lists.bestpractical.com
 Subject: Re: [rt-users] RT::Action not found after upgrade 3.8.2 -
 3.8.8



 Did you do the step of wiping out the Mason cache?



 From: rt-users-boun...@lists.bestpractical.com
 [mailto:rt-users-boun...@lists.bestpractical.com] On Behalf Of Razvan 
 Cosma
 Sent: 10 May 2010 11:35 AM
 To: rt-users@lists.bestpractical.com
 Subject: [rt-users] RT::Action not found after upgrade 3.8.2 - 3.8.8



  Hi all,
 Just did a ./configure  make upgrade, and while there were no errors
 and all dependencies seem to be in place, httpd won't start anymore 
 (running
 on centos with mod_perl), complaining about
 [error] Require of RT::Action:: failed.\nCan't locate RT/Action/.pm in
 @INC
 This looks like a typo in some file or scrip, but I have done a grep in
 the webroot, and deleted all my scrips from mysql - it wasn't there
 There's no file name in the error, only
 at (eval 2442) line 3.\n\nCompilation failed in require at (eval 2)
 line 1.\n
 Any hints on where this eval happens?
 Thank you very much



 

 This email has been scanned by Netintelligence
 http://www.netintelligence.com/email

 



 

 BiP Solutions Limited is a company registered in Scotland with Company
 Number SC086146 and VAT number 383030966 and having its registered
 office at Medius, 60 Pacific Quay, Glasgow, G51 1DZ.


 
 This e-mail (and any attachment) is intended only for the attention of
 the addressee(s). Its unauthorised use, disclosure, storage or copying
 is not permitted. If you are not the intended recipient, please destroy
 all copies and inform the sender by return e-mail.
 This e-mail (whether you are the sender or the recipient) may be
 monitored, recorded and retained by BiP Solutions Ltd.
 E-mail monitoring/ blocking software may be used, and e-mail content
 may
 be read at any time.You have a responsibility to ensure laws are not
 broken when 

Re: [rt-users] Problems with permissions (bug?)

2010-05-11 Thread Ruslan Zakirov
On Tue, May 11, 2010 at 8:47 PM,  markus.kum...@t-systems.com wrote:
 Dear list,

 I'm using rt 3.8.8 and facing problems in setting up permissions for a queue.

 What I want is that users see the tickets they have requested in a certain 
 queue only.
 So user A cannot see tickets requested by user B and vice versa.

 So I applied the following rights

 - Configuration - Queues - Group rights

 Roles

 Requestor:

 - CommentOnTicket

Do you really want requestors to comment and see comments?

 - DeleteTicket
 - ForwardMessage
 - ModifyCustomField
 - ModifyTicket
 - OwnTicket

Requestor can own a ticket? Wierd.

 - ReplyToTicket
 - SeeCustomField
 - ShowOutgoingEmail
 - ShowTicket
 - ShowTicketComments

 - StealTicket
 - TakeTicket

This is wierd as well as OwnTicket.

 - Watch
 - WatchAsAdminCc

This is something wierd too.



 User defined groups

 1_rt_eval

 - SeeQueue
 - CreateTicket

 2_rt_eval

 - SeeQueue
 - CreateTicket

 This basically works, but when a user logs in he finds an empty RT at a 
 glance page.
 But searching for his email address gives the expected results.
 So my only problem is that the Queue is not displayed in the Quicksearch.
 After a lot of searching in the mailing list archives I got some hints.

 I applied the following rights additionally:

 System groups

 Privileged:

 - SeeQueue
 - CreateTicket
 - ShowTicket

 After login the Quicksearch is populated with that queue but all tickets are 
 shown.
 So I removed the ShowTicket right from Privileged (while the user is still 
 logged in). After a reload of the RT at a glance page the user sees the queue 
 in the quicksearch. Following the link shows the correct tickets (the ticket 
 count is wrong but this doesn't matter).

 Everything fine so far, but when the user logs out and in again Quicksearch 
 is empty again. This is fully reproducible.

 Do I miss something here or is this a bug?

Sounds like it, but to be sure clean all sessions in the DB.

 Thanks for any help!

-- 
Best regards, Ruslan.

Discover RT's hidden secrets with RT Essentials from O'Reilly Media.
Buy a copy at http://rtbook.bestpractical.com


Re: [rt-users] No To: Field being generated.

2010-05-11 Thread Ruslan Zakirov
Mauricio,

Without logs and additional info we can not help you.

On Tue, May 11, 2010 at 6:25 PM, Mauricio Tavares raubvo...@gmail.com wrote:
 For some reason messages/tickets sent by RT have no To: Fields, only
 Reply-To:. Why would it be doing that? Looking into SendEmail.pm,

 sub To {
    my $self = shift;
    return ($self-_AddressesFromHeader('To'));
 }

 it makes me think the To: field in the head object was not
 extracted/populated. Am I on the right track or just idling aimlessly?

 Discover RT's hidden secrets with RT Essentials from O'Reilly Media.
 Buy a copy at http://rtbook.bestpractical.com




-- 
Best regards, Ruslan.

Discover RT's hidden secrets with RT Essentials from O'Reilly Media.
Buy a copy at http://rtbook.bestpractical.com

[rt-users] SkipTransaction after upgrade to 3.8.8

2010-05-11 Thread Wim Wittesaele
I'm experiencing some problems after upgrading my installation from 3.8.7 to 
3.8.8. It seems that my Callbacks are not working anymore. The most important 
one hides all system transactions as documented here: 
http://wiki.bestpractical.com/view/HideTransactions/4642. 

The callback is in the same ath as before: 
/opt/rt3/local/html/Callbacks/MyCallbacks/Ticket/Elements/ShowHistory/SkipTransaction
 

Unfortunatly it does'nt seem to do anything. All system messages are still 
visible. Is there a way to troubleshoot/test callbacks ? 


Wim Wittesaele 


Discover RT's hidden secrets with RT Essentials from O'Reilly Media.
Buy a copy at http://rtbook.bestpractical.com

Re: [rt-users] Can't call method as_string (Kevin Falcone)

2010-05-11 Thread Kevin Falcone
On Tue, Apr 20, 2010 at 04:48:47AM -0400, red...@linuxmail.org wrote:
  First of all  i am very very sory for the late reply.
 
  Appreciable Thanks for your immediate reply. According to your suggestion i
  can't change the setting in the file as it will require to change settings 
 in my
  AD server and my seniors are not allowing to do me so.
 
 
  Is there any other way to solved this issue.
  Thanks in Advance for the same.

 'group' =3D  'svn Users',
 'group_attr'=3D  'svn Users',

I doubt that the name of your group attribute in AD is svn Users. 

Find out the actual name of the group attribute you want to search on
and change group_attr to that

-kevin


pgp09XElEUG6y.pgp
Description: PGP signature

Discover RT's hidden secrets with RT Essentials from O'Reilly Media.
Buy a copy at http://rtbook.bestpractical.com