Show
Ignore:
Timestamp:
05/24/06 00:38:44 (4 years ago)
Author:
btrott
Message:

In the new D::OD trunk, set_values_internal was changed so that it doesn't
actually call the named methods on the object to set the column values.

That might actually be the right behavior (?), but it breaks things that
rely on the methods being called during the object inflation process
(like blessing an object into the proper subclass based on one of its
column values).

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • trunk/lib/Data/ObjectDriver/BaseObject.pm

    r208 r211  
    454454    my($deflated) = @_; 
    455455    my $obj = $class->new; 
    456     $obj->set_values_internal($deflated->{columns}); 
     456    $obj->set_values($deflated->{columns}); 
    457457    $obj->{changed_cols} = {}; 
    458458    $obj;