[rt-users] Removing CC after initial ticket submission

2011-12-01 Thread Daniel G. Rohan
Hi all,

I'm trying to get an idea of how this would be accomplished.

What we're hoping to do is modify one of our queues so that if a requestor CC's 
someone on the initial ticket, that CC will be removed from all subsequent 
comments/correspondance. I took a quick look through the RT contributions 
archive, but I couldn't see any scrips that would match this functionality. Is 
anyone out there aware of anything like this or have a hint as to how this 
could be done? We need this to be done only for a single queue, so modifying 
RT_SiteConfig.pm isn't really an option for us.

Many thanks,

Dan Rohan

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


[rt-users] dashboard chart sizes

2011-06-01 Thread Daniel G. Rohan
Hi all,

Here is a low priority question, but I'm wondering if anyone knows how to scale 
down the size of the charts in RT 4.0.  I have a number of charts that I've 
saved to a dashboard, but the charts appear so large that I have to do a bit of 
horizontal scrolling to see the whole page. I know I could line them up 
vertically, but I think it looks nicer/is more functional to have some charts 
side by side.

Thanks,

Dan

Re: [rt-users] rt4.0: anonymous hash error on apache startup

2011-05-30 Thread Daniel G. Rohan

On May 29, 2011, at 7:21 PM, Bill Cole wrote:

 Ruslan Zakirov wrote, On 5/28/11 1:46 PM:
 Hello,
 
 Problem is in your config file. Somewhere you set a hash option
 (key-value pairs), but misses key or value and number of elements in
 assignment is odd.
 
 A very likely cause of this is the ChartFont setting. It changed from a 
 scalar in RT3 to a hash in RT4, so the config 'Set' command for RT3 will 
 generate that specific error.

Thank you Ruslan and Bill.  Bill, you were right on the money-- as soon as I 
commented out that setting (it was undefined anyway), the error disappeared.

Much appreciation.

Dan Rohan

[rt-users] rt4.0: anonymous hash error on apache startup

2011-05-28 Thread Daniel G. Rohan
Hello everyone,

We've recently upgraded to 4.0.0 and whenever we start up our apache (using 
mod_perl), we get the following errors:

Starting httpd: Odd number of elements in anonymous hash at 
/opt/rt4/sbin/../lib/RT/Config.pm line 861.
Use of uninitialized value in anonymous hash ({}) at 
/opt/rt4/sbin/../lib/RT/Config.pm line 861.
Odd number of elements in hash assignment at /opt/rt4/sbin/../lib/RT/Config.pm 
line 862.
Use of uninitialized value in list assignment at 
/opt/rt4/sbin/../lib/RT/Config.pm line 862.

This seems to reference this subroutine in /opt/rt4//lib/RT/Config.pm

sub Set {
my ( $self, $name ) = ( shift, shift );

my $old = $OPTIONS{$name};
my $type = $META{$name}-{'Type'} || 'SCALAR';
if ( $type eq 'ARRAY' ) {
$OPTIONS{$name} = [@_];
{ no warnings 'once'; no strict 'refs'; @{RT::$name} = (@_); }
} elsif ( $type eq 'HASH' ) {
$OPTIONS{$name} = {@_};
{ no warnings 'once'; no strict 'refs'; %{RT::$name} = (@_); }
} else {
$OPTIONS{$name} = shift;
{no warnings 'once'; no strict 'refs'; ${RT::$name} = 
$OPTIONS{$name}; }
}
$META{$name}-{'Type'} = $type;
return $self-_ReturnValue( $old, $type );
}


Apache starts up fine, and RT seems to be working, but this is concerning to 
us. Any suggestions or insight into what might be the issue?

Thanks,

Dan Rohan