2009/2/23 Moritz Onken <on...@houseofdesign.de>:
> Hi Carl,
>
> I'm getting this error when I call ->model->default_values($row):
>
> "Can't locate object method "result_source" via package "DateTime" at
> /Library/Perl/5.8.8/HTML/FormFu/Model/DBIC.pm line 140."
>
>
> It refers to this line:
>
> my $rs = $dbic->result_source;
>
> but $rs is never used in this mehod.
>
> I'm using DBIC::Inflate::DateTime and FormFu inflators and deflators in that
> configuration.

Ok, I've removed that line in svn r1322.

The error message really confuses me though.
$row should be a DBIx::Class::Row object - but the error message
suggests it's a DateTime object.
Anyways - hopefully this'll fix your problem.

Carl

_______________________________________________
HTML-FormFu mailing list
HTML-FormFu@lists.scsys.co.uk
http://lists.scsys.co.uk/cgi-bin/mailman/listinfo/html-formfu

Reply via email to