[Dbix-class] Row object does not work correctly after thaw.

Oleg Pronin syber.rus at gmail.com
Fri May 8 09:09:35 GMT 2009


Hello.

DBIx::Class::ResultSourceHandle has storable hooks to correctly store row
object and restore it.
However after restore, trying to update such an object will fail:

Can't call method "update" on an undefined value at
/usr/local/lib/perl5/site_perl/5.10.0/DBIx/Class/Row.pm line 490.

Because $obj->result_source->schema isn't a correct schema,
$obj->result_source->schema->storage is undefined

It would be great to attach correct schema. Can someone fix that?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.scsys.co.uk/pipermail/dbix-class/attachments/20090508/926=
b93d1/attachment.htm


More information about the DBIx-Class mailing list