[Dbix-class] Inflated DateTime column not updated on $row->update({ ts_column => undef })

Peter Rabbitson rabbit+dbic at rabbit.us
Tue May 26 16:54:11 GMT 2015

On 05/23/2015 09:35 AM, Peter Rabbitson wrote:

> In the meantime an easy workaround for you is to add the following to a
> base result class (this is a hack, a real fix will materialize later):
>    sub store_column {
>      delete $_[0]->{_inflated_column}{$_[1]};
>      shift->next::method(@_);
>    }

For anyone watching from the sidelines: the above patch was an "off the 
top of my head" solution. If applied as-is to DBIC itself it fails ~15 
tests within the suite, so it certainly isn't a viable option.

Use at your own risk.

Sorry for sending this to the list without further testing :(

More information about the DBIx-Class mailing list