Ignore:
Timestamp:
03/17/17 17:23:36 (7 years ago)
Author:
nanardon
Message:

Fix attribute internal evaluation at object creation

File:
1 edited

Legend:

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

    r1972 r1974  
    311311            : $attr->input($data{$_}); 
    312312        if ($attr->{inline} && ! $attr->{delayed}) { 
    313             $first{$_} = $formatted; 
     313            my $iname = $attr->iname; 
     314            $first{$iname} = $formatted; 
    314315        } else { 
     316            # the real internal name will be translate by _set_c_field 
    315317            $second{$_} = $formatted if(defined($formatted)); 
    316318        } 
Note: See TracChangeset for help on using the changeset viewer.