[Bps-public-commit] r16957 - sd/trunk/lib/App/SD/Replica/rt
ruz at bestpractical.com
ruz at bestpractical.com
Thu Nov 20 13:18:09 EST 2008
Author: ruz
Date: Thu Nov 20 13:18:09 2008
New Revision: 16957
Modified:
sd/trunk/lib/App/SD/Replica/rt/PullEncoder.pm
Log:
* handle Nobody specially
Modified: sd/trunk/lib/App/SD/Replica/rt/PullEncoder.pm
==============================================================================
--- sd/trunk/lib/App/SD/Replica/rt/PullEncoder.pm (original)
+++ sd/trunk/lib/App/SD/Replica/rt/PullEncoder.pm Thu Nov 20 13:18:09 2008
@@ -78,6 +78,9 @@
$ticket->{ $self->sync_source->uuid . '-' . lc($_) } = delete $ticket->{$_}
for qw(Queue id);
+ delete $ticket->{'Owner'} if lc($ticket->{'Owner'}) eq 'nobody';
+ $ticket->{'Owner'} = $self->resolve_user_id_to( email_address => $ticket->{'Owner'} )
+ if $ticket->{'Owner'};
delete $ticket->{$_} for
grep !defined $ticket->{$_} || $ticket->{$_} eq '',
keys %$ticket;
More information about the Bps-public-commit
mailing list