[rt-users] How to refresh site after error.

2011-11-28 Thread Adrian Stel
Hi,



we are using plugin externalauth with phpass(special hash method)
after puting password to RT(Web interface) we get error:


Can't use string (user password) as a HASH ref while strict refs
in use at /usr/local/share/perl/5.10.1/Authen/Passphrase/PHPass.pm
line 340.


How we could refresh/reload this site. When I do this by hand (click
in web browser refresh or F5) I will login to RT.


Here is the link:
http://150.254.148.60/NoAuth/Login.html



-- 
Best
Adrian Stelmaszyk

RT Training Sessions (http://bestpractical.com/services/training.html)
*  Barcelona, Spain  November 28  29, 2011


[rt-users] Wide character in subroutine entry at /usr/share/perl5/vendor_perl/Cache/FileBackend.pm line 201

2011-11-28 Thread Arkadiusz Miśkiewicz

Recently when trying to edit some queues configuration in rt 4.0.4 and I got:

Wide character in subroutine entry at
/usr/share/perl5/vendor_perl/Cache/FileBackend.pm line 201.

where that's subroutine _Build_Unique_Key and the line is return sha1_hex( 
$p_key );

The workarounds I came up was doing:

use Encode qw(encode_utf8);
return sha1_hex( encode_utf8($p_key) ); 

or simply disabling GPG.

What's correct fix for that?
-- 
Arkadiusz MiśkiewiczPLD/Linux Team
arekm / maven.plhttp://ftp.pld-linux.org/

RT Training Sessions (http://bestpractical.com/services/training.html)
*  Barcelona, Spain  November 28  29, 2011

[rt-users] Select Especif Comments from an Ticket to an Article RT 4.0.2

2011-11-28 Thread Luciano Ernesto da Silva
Hello,

 

When I try extract an article, I have this message on ticket:

 

Use the dropdown menus to select which ticket updates you want to
extract into a new article. You can insert ticket content into any
freeform, text or wiki field.

 

But the dropdown Field is empty. Should have an yes and no for
specific comments that I want extract to an article?  

 

 

Luciano


RT Training Sessions (http://bestpractical.com/services/training.html)
*  Barcelona, Spain — November 28  29, 2011

Re: [rt-users] SLA module in international environment

2011-11-28 Thread Bart
Hi,

Your nearly there :-)

I've had similar problems when making scrips where you compare two string
values.
The == symbols somehow are ignored making the scrip basically execute all
if statements regardless of the condition. (kinda annoying)

I've solved this for myself by using this to compare a string:

$my_prio =~ /^Priority 1/

It lets you use regular expressions, the above states that my_prio has to
start with Priority 1.

Since your prio number is at the back using this line might be more usefull
for you:

$my_prio =~ /$1/

That should give an ok if the string inside my_prio ends with a 1.

Hope this solves it.

-- Bart

RT Training Sessions (http://bestpractical.com/services/training.html)
*  Barcelona, Spain — November 28  29, 2011

Re: [rt-users] Select Especif Comments from an Ticket to an Article RT 4.0.2

2011-11-28 Thread Bart
You'll have to create at least one CF specifically for Articles (text area
type) and apply it to the articles. After that you should be able to select
that CF when creating an article.

We use two CF's, one for the question and another for the answer. (very
basic)

-- Bart


Op 28 november 2011 13:28 schreef Luciano Ernesto da Silva 
luci...@cpd.ufrgs.br het volgende:

 Hello,

 ** **

 When I try extract an article, I have this message on ticket:

 ** **

 *“Use the dropdown menus to select which ticket updates you want to
 extract into a new article. You can insert ticket content into any
 freeform, text or wiki field.”*

 ** **

 But the dropdown “*Field*” is empty. Should have an “yes” and “no” for
 specific comments that I want extract to an article?  

 ** **

 ** **

 Luciano

 
 RT Training Sessions (http://bestpractical.com/services/training.html)
 *  Barcelona, Spain — November 28  29, 2011


RT Training Sessions (http://bestpractical.com/services/training.html)
*  Barcelona, Spain — November 28  29, 2011

[rt-users] RES: Select Especif Comments from an Ticket to an Article RT 4.0.2

2011-11-28 Thread Luciano Ernesto da Silva
Thank You for you help!

 

 

Luciano

 

De: pleh.i...@gmail.com [mailto:pleh.i...@gmail.com] Em nome de Bart
Enviada em: segunda-feira, 28 de novembro de 2011 12:24
Para: Luciano Ernesto da Silva
Cc: RT-Users@lists.bestpractical.com
Assunto: Re: [rt-users] Select Especif Comments from an Ticket to an
Article RT 4.0.2

 

You'll have to create at least one CF specifically for Articles (text
area type) and apply it to the articles. After that you should be able
to select that CF when creating an article.

 

We use two CF's, one for the question and another for the answer. (very
basic)


-- Bart



Op 28 november 2011 13:28 schreef Luciano Ernesto da Silva
luci...@cpd.ufrgs.br het volgende:

Hello,

 

When I try extract an article, I have this message on ticket:

 

Use the dropdown menus to select which ticket updates you want to
extract into a new article. You can insert ticket content into any
freeform, text or wiki field.

 

But the dropdown Field is empty. Should have an yes and no for
specific comments that I want extract to an article?  

 

 

Luciano



RT Training Sessions (http://bestpractical.com/services/training.html)
*  Barcelona, Spain - November 28  29, 2011

 


RT Training Sessions (http://bestpractical.com/services/training.html)
*  Barcelona, Spain — November 28  29, 2011

[rt-users] Create another QuickSeach panel ?

2011-11-28 Thread Vance Walsh
So the quick search panel works wonderfully for one set of users. Another
would like a different QuickSearch panel that lists tickets by Owner and
Status rather than Queue and Status. Is there a simple way to duplicate this
into another panel such as QuickSearchOwner and add it to their page?

---

Vance Walsh
Network and Systems Administrator
Concord Academy - Concord, Mass.


RT Training Sessions (http://bestpractical.com/services/training.html)
*  Barcelona, Spain — November 28  29, 2011

Re: [rt-users] Permissions question

2011-11-28 Thread mjames
I figured out what I was doing wrong. Thanks, Kenn.

From: rt-users-boun...@lists.bestpractical.com 
[mailto:rt-users-boun...@lists.bestpractical.com] On Behalf Of Kenneth Crocker
Sent: Friday, November 25, 2011 5:25 PM
To: RT User List
Subject: Re: [rt-users] Permissions question

Mike,

I'm not sure what you mean by logged in as a GROUP member. You log in as a 
User and you are either in a group or you are not.

The thing about saved searches is this; all groups have rights associated with 
them, giving members certain rights that pertain to any searches saved under 
that group. If you are a member of that group, you will have those rights.

You should look at what groups you are a member of (go to 
Tools-Config-Users-memberships) and then look at what rights are given to 
members of those groups.

That'll do for a start.

hope this helps.

Kenn
On Fri, Nov 25, 2011 at 12:19 PM, 
mja...@guesswho.commailto:mja...@guesswho.com wrote:
The next question about permissions. I've given my NetOps user group global 
rights to CreateSavedSearch, LoadSavedSearch, ShowSavedSearches, and 
EditSavedSearches. Still, when I log on to RT (4.0.4) as a group member and go 
to Tickets - New Search and select NetOps's Saved Searches in the Privacy 
dropdown, none of the saved searches show in the Load dropdown.

I must be partway there, because under Logged in as mjames - Settings - Saved 
Searches, I can see the NetOps saved search. I can't load it or run it from 
there, however.  What am I missing?

Mike

From: 
rt-users-boun...@lists.bestpractical.commailto:rt-users-boun...@lists.bestpractical.com
 
[mailto:rt-users-boun...@lists.bestpractical.commailto:rt-users-boun...@lists.bestpractical.com]
 On Behalf Of mja...@guesswho.commailto:mja...@guesswho.com
Sent: Friday, November 25, 2011 10:29 AM
To: rt-users@lists.bestpractical.commailto:rt-users@lists.bestpractical.com
Subject: Re: [rt-users] Permissions question

Thanks, Kenn. That worked.

From: 
rt-users-boun...@lists.bestpractical.commailto:rt-users-boun...@lists.bestpractical.com
 
[mailto:rt-users-boun...@lists.bestpractical.com]mailto:[mailto:rt-users-boun...@lists.bestpractical.com]
 On Behalf Of Kenneth Crocker
Sent: Wednesday, November 23, 2011 4:28 PM
To: RT User List
Subject: Re: [rt-users] Permissions question

Mike,

The correct navigation would be Tools-Config-Global-Group Rights where you 
then pick a system group, role, or add a User-defined Group.

Kenn
On Wed, Nov 23, 2011 at 1:17 PM, 
mja...@guesswho.commailto:mja...@guesswho.com wrote:
RT 4.0.4 How do I give a group rights to create/delete/view Saved Searches? As 
root, I went to Tools..Configuration..Groups and selected my group. I tried 
different combinations of Group and User Rights, but still the group members 
can't see/create/delete Saved Searches.

Also, when logged in as a group member, I don't see the About Me item under 
Logged in as Mike.  Still wrapping my head around rights in v4.0.x

Mike


RT Training Sessions (http://bestpractical.com/services/training.html)
*  Barcelona, Spain - November 28  29, 2011



RT Training Sessions (http://bestpractical.com/services/training.html)
*  Barcelona, Spain - November 28  29, 2011


RT Training Sessions (http://bestpractical.com/services/training.html)
*  Barcelona, Spain — November 28  29, 2011

Re: [rt-users] SLA module in international environment

2011-11-28 Thread Ruslan Zakirov
On Mon, Nov 28, 2011 at 5:24 PM, Bart b...@pleh.info wrote:
 I've had similar problems when making scrips where you compare two string
 values.
 The == symbols somehow are ignored making the scrip basically execute all if
 statements regardless of the condition. (kinda annoying)

In Perl you should eq operator for strings, == for numbers.


-- 
Best regards, Ruslan.

RT Training Sessions (http://bestpractical.com/services/training.html)
*  Barcelona, Spain  November 28  29, 2011


Re: [rt-users] SLA module in international environment

2011-11-28 Thread Soula, Christophe
This is perfect  eq save my life :) thanks for your inputs Bart And Ruslan 
one more time.
The last part to finalize the internationalization is to hide SLA global CF... 
but I will figure this out tomorrow.

RT IS GREAT !!!

Christophe Soula
Information Technology Manager Europe

HACH LANGE Sàrl
6, route de Compois - CP 212
1222 Vésenaz - Switzerland
Tel+41 22 594 64 70
Fax+41 22 594 64 99
Mobile +41 79 535 99 72
christophe.so...@hach-lange.ch
www.hach-lange.ch

-Original Message-
From: ruslan.zaki...@gmail.com [mailto:ruslan.zaki...@gmail.com] On Behalf Of 
Ruslan Zakirov
Sent: lundi 28 novembre 2011 16:17
To: Bart
Cc: Soula, Christophe; rt-users@lists.bestpractical.com
Subject: Re: [rt-users] SLA module in international environment

On Mon, Nov 28, 2011 at 5:24 PM, Bart b...@pleh.info wrote:
 I've had similar problems when making scrips where you compare two string
 values.
 The == symbols somehow are ignored making the scrip basically execute all if
 statements regardless of the condition. (kinda annoying)

In Perl you should eq operator for strings, == for numbers.


-- 
Best regards, Ruslan.


Please be advised that this email may contain confidential 
information.  If you are not the intended recipient, please notify us 
by email by replying to the sender and delete this message.  The 
sender disclaims that the content of this email constitutes an offer 
to enter into, or the acceptance of, any agreement; provided that the 
foregoing does not invalidate the binding effect of any digital or 
other electronic reproduction of a manual signature that is included 
in any attachment.

RT Training Sessions (http://bestpractical.com/services/training.html)
*  Barcelona, Spain  November 28  29, 2011

Re: [rt-users] SLA module in international environment

2011-11-28 Thread Soula, Christophe
Dear Ruslan,

After trying this setting for the business hour I realize that the SLA 
functionality is then broken : if I create a ticket with this setup I have no 
automation in due date and start date.

%RT::ServiceBusinessHours = (
'US1' = {
0 = { Name = 'Sunday', Start = undef, End = undef },
1 = { Name = 'Monday', Start = '15:00', End = '01:00' },
2 = { Name = 'Tuesday', Start = '15:00', End = '01:00' },
3 = { Name = 'Wednesday', Start = '15:00', End = '01:00' },
4 = { Name = 'Thursday', Start = '15:00', End = '01:00' },
5 = { Name = 'Friday', Start = '15:00', End = '01:00' },
6 = { Name = 'Saturday', Start = undef, End = undef },
},

If I set it like this then scrips are doing their job but I do not know what's 
happen in between 24:00 and 25:00 hours ;)

%RT::ServiceBusinessHours = (
'US1' = {
0 = { Name = 'Sunday', Start = undef, End = undef },
1 = { Name = 'Monday', Start = '15:00', End = '25:00' },
2 = { Name = 'Tuesday', Start = '15:00', End = '25:00' },
3 = { Name = 'Wednesday', Start = '15:00', End = '25:00' },
4 = { Name = 'Thursday', Start = '15:00', End = '25:00' },
5 = { Name = 'Friday', Start = '15:00', End = '25:00' },
6 = { Name = 'Saturday', Start = undef, End = undef },
},

Advise appreciated,

FYI :
Business::Hours 0.10
Business::SLA   0.05

Christophe

-Original Message-
From: ruslan.zaki...@gmail.com [mailto:ruslan.zaki...@gmail.com] On Behalf Of 
Ruslan Zakirov
Sent: jeudi 24 novembre 2011 12:23
To: Soula, Christophe
Cc: rt-users@lists.bestpractical.com
Subject: Re: [rt-users] SLA module in international environment

On Thu, Nov 24, 2011 at 1:46 PM, Soula, Christophe
cso...@hach-lange.com wrote:
 Second issue : What are the best practice to use efficiently this SAL
 extension in my environment

 In my example

 -  US team is working from 07:00 to 17:00 (Denver time)

 -  EU team is working from 07:00 to 17:00 (Berlin time)

 The only “solution” find to realize this is to fake the system for the US
 business hour but this is not possible if I keep the actual server timezone
 like this :

 We should cover on each side 10 hours of business hour but if you look at
 the example below you will see that my fake for the US1 business hours can
 only cover 9 hours (15:00 - 23:59)

Have you tried using Start = 15:00, End = 01:00? If it doesn't work
then it's bad
and we should fix it in Business::Hours module.

-- 
Best regards, Ruslan.


Please be advised that this email may contain confidential 
information.  If you are not the intended recipient, please notify us 
by email by replying to the sender and delete this message.  The 
sender disclaims that the content of this email constitutes an offer 
to enter into, or the acceptance of, any agreement; provided that the 
foregoing does not invalidate the binding effect of any digital or 
other electronic reproduction of a manual signature that is included 
in any attachment.

RT Training Sessions (http://bestpractical.com/services/training.html)
* Boston  TBA

Re: [rt-users] SLA module in international environment

2011-11-28 Thread Ruslan Zakirov
On Mon, Nov 28, 2011 at 9:30 PM, Soula, Christophe
cso...@hach-lange.com wrote:
 Dear Ruslan,

[snip]

 FYI :
 Business::Hours 0.10


For over midnight shifts you need 0.10_01 version. It's a release for
testing and you can not install it via cpan shell. Install it
manually.

 Business::SLA   0.05
 Christophe

 -Original Message-
 From: ruslan.zaki...@gmail.com [mailto:ruslan.zaki...@gmail.com] On Behalf Of 
 Ruslan Zakirov
 Sent: jeudi 24 novembre 2011 12:23
 To: Soula, Christophe
 Cc: rt-users@lists.bestpractical.com
 Subject: Re: [rt-users] SLA module in international environment

 On Thu, Nov 24, 2011 at 1:46 PM, Soula, Christophe
 cso...@hach-lange.com wrote:
 Second issue : What are the best practice to use efficiently this SAL
 extension in my environment

 In my example

 -  US team is working from 07:00 to 17:00 (Denver time)

 -  EU team is working from 07:00 to 17:00 (Berlin time)

 The only “solution” find to realize this is to fake the system for the US
 business hour but this is not possible if I keep the actual server timezone
 like this :

 We should cover on each side 10 hours of business hour but if you look at
 the example below you will see that my fake for the US1 business hours can
 only cover 9 hours (15:00 - 23:59)

 Have you tried using Start = 15:00, End = 01:00? If it doesn't work
 then it's bad
 and we should fix it in Business::Hours module.

 --
 Best regards, Ruslan.


 Please be advised that this email may contain confidential
 information.  If you are not the intended recipient, please notify us
 by email by replying to the sender and delete this message.  The
 sender disclaims that the content of this email constitutes an offer
 to enter into, or the acceptance of, any agreement; provided that the
 foregoing does not invalidate the binding effect of any digital or
 other electronic reproduction of a manual signature that is included
 in any attachment.




-- 
Best regards, Ruslan.

RT Training Sessions (http://bestpractical.com/services/training.html)
* Boston  TBA

Re: [rt-users] Create another QuickSeach panel ?

2011-11-28 Thread Ruslan Zakirov
On Mon, Nov 28, 2011 at 6:48 PM, Vance Walsh
vance_wa...@concordacademy.org wrote:
 So the quick search panel works wonderfully for one set of users. Another
 would like a different QuickSearch panel that lists tickets by Owner and
 Status rather than Queue and Status. Is there a simple way to duplicate this
 into another panel such as QuickSearchOwner and add it to their page?

http://search.cpan.org/dist/RT-Extension-SummaryByUser/lib/RT/Extension/SummaryByUser.pm



 ---
 Vance Walsh
 Network and Systems Administrator
 Concord Academy - Concord, Mass.

 
 RT Training Sessions (http://bestpractical.com/services/training.html)
 *  Barcelona, Spain — November 28  29, 2011




-- 
Best regards, Ruslan.

RT Training Sessions (http://bestpractical.com/services/training.html)
* Boston  TBA

Re: [rt-users] Wide character in subroutine entry at /usr/share/perl5/vendor_perl/Cache/FileBackend.pm line 201

2011-11-28 Thread Ruslan Zakirov
Hi,

It would be helpful to get stack trace for this error.

2011/11/28 Arkadiusz Miśkiewicz ar...@maven.pl:

 Recently when trying to edit some queues configuration in rt 4.0.4 and I got:

 Wide character in subroutine entry at
        /usr/share/perl5/vendor_perl/Cache/FileBackend.pm line 201.

 where that's subroutine _Build_Unique_Key and the line is return sha1_hex(
 $p_key );

 The workarounds I came up was doing:

 use Encode qw(encode_utf8);
 return sha1_hex( encode_utf8($p_key) );

 or simply disabling GPG.

 What's correct fix for that?
 --
 Arkadiusz Miśkiewicz        PLD/Linux Team
 arekm / maven.pl            http://ftp.pld-linux.org/
 
 RT Training Sessions (http://bestpractical.com/services/training.html)
 *  Barcelona, Spain  November 28  29, 2011



-- 
Best regards, Ruslan.

RT Training Sessions (http://bestpractical.com/services/training.html)
* Boston  TBA

Re: [rt-users] SLA module in international environment

2011-11-28 Thread Soula, Christophe
Did not get the _01 t
So now I confirm with the released 0.10_01 works at RT level and I get again 
with the new config SLA extension working fine in my environment.

This is my config if can help :
%RT::ServiceBusinessHours = (
'US1' = {
0 = { Name = 'Sunday', Start = undef, End = undef },
1 = { Name = 'Monday', Start = '15:00', End = '01:00' },
2 = { Name = 'Tuesday', Start = '15:00', End = '01:00' },
3 = { Name = 'Wednesday', Start = '15:00', End = '01:00' },
4 = { Name = 'Thursday', Start = '15:00', End = '01:00' },
5 = { Name = 'Friday', Start = '15:00', End = '01:00' },
6 = { Name = 'Saturday', Start = undef, End = undef },
},
'Europe1' = {
0 = { Name = 'Sunday', Start = undef, End = undef },
1 = { Name = 'Monday', Start = '07:00', End = '17:00' },
2 = { Name = 'Tuesday', Start = '07:00', End = '17:00' },
3 = { Name = 'Wednesday', Start = '07:00', End = '17:00' },
4 = { Name = 'Thursday', Start = '07:00', End = '17:00' },
5 = { Name = 'Friday', Start = '07:00', End = '17:00' },
6 = { Name = 'Saturday', Start = undef, End = undef }
},
);

Will have a final result during the night for the real midnight shift result.

Thks again

Christophe

-Original Message-
From: ruslan.zaki...@gmail.com [mailto:ruslan.zaki...@gmail.com] On Behalf Of 
Ruslan Zakirov
Sent: lundi 28 novembre 2011 20:38
To: Soula, Christophe
Cc: rt-users@lists.bestpractical.com
Subject: Re: [rt-users] SLA module in international environment

On Mon, Nov 28, 2011 at 9:30 PM, Soula, Christophe
cso...@hach-lange.com wrote:
 Dear Ruslan,

[snip]

 FYI :
 Business::Hours 0.10


For over midnight shifts you need 0.10_01 version. It's a release for
testing and you can not install it via cpan shell. Install it
manually.

 Business::SLA   0.05
 Christophe

 -Original Message-
 From: ruslan.zaki...@gmail.com [mailto:ruslan.zaki...@gmail.com] On Behalf Of 
 Ruslan Zakirov
 Sent: jeudi 24 novembre 2011 12:23
 To: Soula, Christophe
 Cc: rt-users@lists.bestpractical.com
 Subject: Re: [rt-users] SLA module in international environment

 On Thu, Nov 24, 2011 at 1:46 PM, Soula, Christophe
 cso...@hach-lange.com wrote:
 Second issue : What are the best practice to use efficiently this SAL
 extension in my environment

 In my example

 -  US team is working from 07:00 to 17:00 (Denver time)

 -  EU team is working from 07:00 to 17:00 (Berlin time)

 The only “solution” find to realize this is to fake the system for the US
 business hour but this is not possible if I keep the actual server timezone
 like this :

 We should cover on each side 10 hours of business hour but if you look at
 the example below you will see that my fake for the US1 business hours can
 only cover 9 hours (15:00 - 23:59)

 Have you tried using Start = 15:00, End = 01:00? If it doesn't work
 then it's bad
 and we should fix it in Business::Hours module.

 --
 Best regards, Ruslan.


 Please be advised that this email may contain confidential
 information.  If you are not the intended recipient, please notify us
 by email by replying to the sender and delete this message.  The
 sender disclaims that the content of this email constitutes an offer
 to enter into, or the acceptance of, any agreement; provided that the
 foregoing does not invalidate the binding effect of any digital or
 other electronic reproduction of a manual signature that is included
 in any attachment.




-- 
Best regards, Ruslan.


Please be advised that this email may contain confidential 
information.  If you are not the intended recipient, please notify us 
by email by replying to the sender and delete this message.  The 
sender disclaims that the content of this email constitutes an offer 
to enter into, or the acceptance of, any agreement; provided that the 
foregoing does not invalidate the binding effect of any digital or 
other electronic reproduction of a manual signature that is included 
in any attachment.

RT Training Sessions (http://bestpractical.com/services/training.html)
* Boston  TBA

[rt-users] Persistent sessions

2011-11-28 Thread Yan Seiner
I need to set up a status board - something like the displays at airports.
 The board needs to auto-login on startup as a particular user.

I found this:

http://requesttracker.wikia.com/wiki/PersistentSessions

Which is close but it will affect all users.  I'm looking to do this for
one user only.

Is anyone aware of an extension that works as a status board or info board?

-- 
Pain is temporary. It may last a minute, or an hour, or a day, or a year,
but eventually it will subside and something else will take its place. If
I quit, however, it lasts forever.


RT Training Sessions (http://bestpractical.com/services/training.html)
* Boston  TBA


Re: [rt-users] Persistent sessions

2011-11-28 Thread Yan Seiner

On Mon, November 28, 2011 2:05 pm, Yan Seiner wrote:


 Is anyone aware of an extension that works as a status board or info
 board?

Following up on this, is there any way to get RT to go directly to a
specific search result (instead of home page) and also directly to the
history display of a ticket, both from the login?

Thanks!

-- 
Pain is temporary. It may last a minute, or an hour, or a day, or a year,
but eventually it will subside and something else will take its place. If
I quit, however, it lasts forever.


RT Training Sessions (http://bestpractical.com/services/training.html)
* Boston  TBA


[rt-users] Problems with RT4 coexisting with other ModPerl applications

2011-11-28 Thread jim . h . berry
Hi List,

This is no longer a problem for us,  because we will be running  RT on its 
own separate server.   But in case anyone is interested...

When we installed RT v4.0.4 on our production linux Apache2/ModPerl 
server, we discovered a conflict with other Mason/ModPerl applications. 
When we disable the other ModPerl apps,  RT4 is fine.   We did not have 
this problem with  RT v3.8.x.   It is quite possible that something is not 
quite right with the other applications, but they have been running 
smoothly for years.  They are using Mason, but not PSGI.  They each have 
their own Mason cache area. 

The symptom is an occasional 500 error from any RT web page, with lines 
like this in the log:

Undefined subroutine CGI::PSGI::SUPER::read_multipart\n at 
/opt/perl-512/lib/site_perl/5.12.3/HTML/Mason/PSGIHandler/Streamy.pm line 
15\n, referer: https://www-test/rt4/Ticket/Create.html?Queue=26

(other CGI::PSGI subroutines too).  Hitting reload or shift-reload will 
initially bring up the correct page, but after a while all of the child 
processes will seem to be polluted and RT becomes unusable. The other 
ModPerl application web pages are fine. 

We are running:
Linux RHEL 5 (but install our own perl and apache)
Apache  2.2.21   - prefork
ModPerl 2.0.5
HTML::Mason 1.45
Plack: 0.9982
PSGI: 1.03

Let me know if interested in more details.

-- 
Jim Berry
RT Training Sessions (http://bestpractical.com/services/training.html)
* Boston — TBA

Re: [rt-users] Persistent sessions

2011-11-28 Thread Bart
Not sure about the persistant login plugin, never tried it. We do something
similar where we rely on our browser for logging in a user and keeping it's
session active/remember the session if it restarts. But the link you've
posted seems pretty nice and I think it would do the trick, since it works
for RT 3.8 it should also work for RT 4.

As for the URL's.

If you know the URL then you can go directly to a specific ticket/tab of a
ticket:

url/Ticket/History.html?id=2113
url/Ticket/Display.html?id=2113

When you're already logged in you'll go directly to this URL.

As for search results, you can modify the home page to only show the search
results that you want for that account.
Or, you could simply copy the exact URL for a search result and your
browser will open that page (assuming persistant login is working).

url//Search/Results.html?Format='a%20href%3D%2FTicket%2FDisplay.html%3Fid%3D__idid__%2Fa%2FTITLE%3A%23'%2C%0A'a%20href%3D%2FTicket%2FDisplay.html%3Fid%3D__idSubject__%2Fa%2FTITLE%3ASubject'%2C%0A'__CustomField.{Ticket%20Type}__'%2C%0A'__CustomField.{Ticket%20Prioriteit}__'%2C%0A'__QueueName__'%2C%0A'__Due__'%2C%0A'__ExtendedStatus__'%2C%0A'__UpdateStatus__'%2C%0A'__Bookmark__'Order=ASC|ASC|ASC|DESCOrderBy=CustomField.{Ticket%20Type}|CustomField.{Ticket%20Prioriteit}|Due|LastUpdatedQuery=%20Owner%20%3D%20'__CurrentUser__'%20AND%20(%20Status%20%3D%20'new'%20OR%20Status%20%3D%20'open')RowsPerPage=50

Another option is to use the self service portal, it's a minimalistic view
for RT which might suite your needs a little more (shows tickets that
belong to that user):

url/SelfService/

Not sure if this is what you meant but I hope it helps.

-- Bart


Op 28 november 2011 23:24 schreef Yan Seiner y...@seiner.com het volgende:


 On Mon, November 28, 2011 2:05 pm, Yan Seiner wrote:

 
  Is anyone aware of an extension that works as a status board or info
  board?

 Following up on this, is there any way to get RT to go directly to a
 specific search result (instead of home page) and also directly to the
 history display of a ticket, both from the login?

 Thanks!

 --
 Pain is temporary. It may last a minute, or an hour, or a day, or a year,
 but eventually it will subside and something else will take its place. If
 I quit, however, it lasts forever.

 
 RT Training Sessions (http://bestpractical.com/services/training.html)
 * Boston  TBA


RT Training Sessions (http://bestpractical.com/services/training.html)
* Boston — TBA

Re: [rt-users] Problems with RT4 coexisting with other ModPerl applications

2011-11-28 Thread Ruslan Zakirov
On Tue, Nov 29, 2011 at 3:32 AM,  jim.h.be...@frb.gov wrote:
 Hi List,

 This is no longer a problem for us,  because we will be running  RT on its
 own separate server.   But in case anyone is interested...

I believe the following option may help:
http://perl.apache.org/docs/2.0/user/config/config.html#C_Parent_


 When we installed RT v4.0.4 on our production linux Apache2/ModPerl  server,
 we discovered a conflict with other Mason/ModPerl applications.  When we
 disable the other ModPerl apps,  RT4 is fine.   We did not have this problem
 with  RT v3.8.x.   It is quite possible that something is not quite right
 with the other applications, but they have been running smoothly for years.
  They are using Mason, but not PSGI.  They each have their own Mason cache
 area.

 The symptom is an occasional 500 error from any RT web page, with lines like
 this in the log:

 Undefined subroutine CGI::PSGI::SUPER::read_multipart\n at
 /opt/perl-512/lib/site_perl/5.12.3/HTML/Mason/PSGIHandler/Streamy.pm line
 15\n, referer: https://www-test/rt4/Ticket/Create.html?Queue=26

 (other CGI::PSGI subroutines too).  Hitting reload or shift-reload will
 initially bring up the correct page, but after a while all of the child
 processes will seem to be polluted and RT becomes unusable. The other
 ModPerl application web pages are fine.

 We are running:
 Linux RHEL 5 (but install our own perl and apache)
 Apache  2.2.21   - prefork
 ModPerl 2.0.5
 HTML::Mason 1.45
 Plack: 0.9982
 PSGI: 1.03

 Let me know if interested in more details.

 --
 Jim Berry
 
 RT Training Sessions (http://bestpractical.com/services/training.html)
 * Boston — TBA




-- 
Best regards, Ruslan.

RT Training Sessions (http://bestpractical.com/services/training.html)
* Boston  TBA