Changeset 2429 for trunk


Ignore:
Timestamp:
06/26/20 16:16:54 (4 years ago)
Author:
nanardon
Message:

Really fix attributes constraint check during synchronisation

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/LATMOS-Accounts/lib/LATMOS/Accounts/Bases.pm

    r2427 r2429  
    10661066        # check attribute exists in source: 
    10671067        my $attr = $srcobj->attribute($_) or next; 
     1068        my $destattr = $self->attribute( $srcobj->type, $_ ) or next; 
    10681069        $attr->readable or next; 
    10691070        if (! $options{onepass}) { 
    10701071            if ($options{firstpass}) { 
    1071                 $attr->delayed and next; 
     1072                $destattr->delayed and next; 
    10721073            } else { 
    1073                 $attr->delayed or next; 
     1074                $destattr->delayed or next; 
    10741075            } 
    10751076        } 
Note: See TracChangeset for help on using the changeset viewer.