[html-formfu] Select elements inside Repeatables

Carl Franks fireartist at gmail.com
Thu May 21 13:07:09 GMT 2009


2009/5/13 Greg Coates <greg at 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



More information about the HTML-FormFu mailing list