Subject: | _attrs returning inflated object. and not db column value |
In 3.14 and maybe others , calling $obj->_attrs('has_a_col') gives back
the object inflated by has_a rather than the value in that column in
the database.
Failing test.
my $obj = __PACKAGE__->retrieve('18463');
ok ($obj, "Got $obj and obj has this -- " . $obj->Customer_id);
my $c = $obj->find_column('Customer_id');
ok ($c, "got Column $c with name " . $c->name);
my ($val) = $obj->_attrs($c);
ok ( not ref $val ,"_attrs returns value in database");
thanks,