Changeset 2411
- Timestamp:
- 06/23/20 01:21:04 (4 years ago)
- Location:
- trunk/LATMOS-Accounts
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/LATMOS-Accounts/lib/LATMOS/Accounts/Synchro.pm
r2408 r2411 294 294 $filtering{$otype} = { map { $_ => 1 } 295 295 $self->from->search_objects($otype, $filter, 'oalias=NULL') }; 296 } else { 297 $filtering{$otype} = $existings{$otype}; 296 298 } 297 299 … … 319 321 foreach ($destbase->listRealObjects($otype)) { 320 322 321 if ($filtering{$otype}{$_} || $existings{$otype}{$_}) {323 if ($filtering{$otype}{$_}) { 322 324 # the object must exists 323 325 next; … … 363 365 foreach (keys %{ $existings{ $otype } || {} }) { 364 366 $destExists{ $_ } and next; 365 $filtering{$otype}{$_} andnext;367 $filtering{$otype}{$_} or next; 366 368 $ObjList{ $_ } = 1; 367 369 } -
trunk/LATMOS-Accounts/t/25_la_synchro.t
r1071 r2411 67 67 { 68 68 ok(my $user = $unixb->get_object('user', 'adm'), "Can get adm user"); 69 is($user->get_field('gecos'), 'adm', 'Can get home directory');69 is($user->get_field('gecos'), 'adm', 'Can get gecos'); 70 70 } 71 71
Note: See TracChangeset
for help on using the changeset viewer.