On 13 Jun 2014, at 12:31, Peter Rabbitson <rabbit+d...@rabbit.us> wrote:
> No you aren't. It is in fact a bug. Could you please write me a test that > shows the issue? Yes I was! I pushed the undef into a wxPerl widget which, when retrieved, returned ''. So when pushing into the DBIx::Class::Row field, I didn’t put undef but ''. So when _eq_column_values was called it executed a numeric comparison which of course fails with ‘’. The only (documented) issue that could be checked in DBIx::Class is to not allow '' (or any other string) when 'is_numeric' is true ? best -- erik colson _______________________________________________ List: http://lists.scsys.co.uk/cgi-bin/mailman/listinfo/dbix-class IRC: irc.perl.org#dbix-class SVN: http://dev.catalyst.perl.org/repos/bast/DBIx-Class/ Searchable Archive: http://www.grokbase.com/group/dbix-class@lists.scsys.co.uk