[rt-users] RT3.6.5 / LDAP / User Fields not updated

Mike Peachey mike.peachey at jennic.com
Mon Feb 25 04:41:49 EST 2008


ROBERT David wrote:
> Ok I fumbled around a bit and came with a code in User_Local.pm that looks like this:
> 
>             foreach my $key (sort(keys(%args))) {
>                 next unless $args{$key};
>                 my $method = "Set$key";
> #               $self->$method($args{$key});
>                 my $power_user = RT::User->new($RT::SystemUser);
>                 $power_user->Load($self->Name);
>                 my ($method_success,$method_msg) = $power_user->$method($args{$key});
>                 if (!$method_success) {
>                         $RT::Logger->debug("$method Failed. $method_msg");
>                 }
> 
>             }

What is the log output for

$RT::Logger->debug("$method Failed. $method_msg");

?

Specifically, what is the $method_msg?
-- 
Kind Regards,

__________________________________________________

Mike Peachey, IT
Tel: +44 114 281 2655
Fax: +44 114 281 2951
Jennic Ltd, Furnival Street, Sheffield, S1 4QT, UK
Comp Reg No: 3191371 - Registered In England
http://www.jennic.com
__________________________________________________



More information about the rt-users mailing list