Carl, do you know if this patch has been accepted by the DBIC team? I
haven't noticed the functionality changing yet.
Greg
Carl Franks wrote:
2009/5/13 Greg Coates <g...@coatesoft.com>:
Before, this worked fine. Now I get this error:
BIx::Class::Row::get_column(): No such column 'ctc_common_name' at
/usr/lib/perl5/site_perl/5.8.5/HTML/FormFu/Model/DBIC.pm line 110
This is now fixed in svn -r 1513
It used to just do $row->$name
but that was changed to use get_column() in case $name clashed with
DBIC built-in methods.
Now it does
$row->has_column ? $row->get_column($name) : $row->$name
Unfortunately, this means inflators aren't called, but I've sent a
patch to the DBIC list that will let us use get_inflated_column() - so
hopefully that gets accepted.
Carl
_______________________________________________
HTML-FormFu mailing list
HTML-FormFu@lists.scsys.co.uk
http://lists.scsys.co.uk/cgi-bin/mailman/listinfo/html-formfu
_______________________________________________
HTML-FormFu mailing list
HTML-FormFu@lists.scsys.co.uk
http://lists.scsys.co.uk/cgi-bin/mailman/listinfo/html-formfu