Re: [Dbix-class] numeric fields and null content

2014-06-16 Thread Erik Colson
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

Re: [Dbix-class] numeric fields and null content

2014-06-13 Thread Peter Rabbitson
On Fri, Jun 13, 2014 at 12:45:39AM +0200, Erik Colson wrote: Hi, In method ‘_eq_column_values’ in DBIx::Class::Row the change comparison is done numerically (==) if the column is ‘_is_column_numeric’. However this will fail if either the $old or $new value is NULL. A check on the