[Dbix-class] Re: 0.08 breaks DBIx::Class::EncodedColumn

Guillermo Roditi groditi at gmail.com
Wed Feb 4 02:07:07 GMT 2009


On Tue, Feb 3, 2009 at 9:01 PM, Guillermo Roditi <groditi at gmail.com> wrote:

> On Tue, Feb 3, 2009 at 8:30 PM, Guillermo Roditi <groditi at gmail.com>wrote:
>
>> Tests pass fine with 0.07 but fail with 0.08. Specifically the check
>> function breaks and the returned value is different than the expected va=
lue
>> which means that somewhere along the line dbic is modifying the data in =
some
>> way, as of yet unknown to me
>>
>> I am still trying to investigate the source of the issue, but it seems to
>> be the change would have to have happened in either new, or set_column.
>>
>>
> Ok, so it looks like somehow something changed and now set_column is
> getting called with the encoded value and the value is being re-encoded
>
>
AHA! So i think I got it. create does new() and then insert()

Looks like old insert did not use set_column, and the latest version does.

What to do, fix it in EncodedColumn and break back compat or is this a dbic
issue?


-- =

Guillermo Roditi (groditi)
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.scsys.co.uk/pipermail/dbix-class/attachments/20090203/044=
4cc36/attachment.htm


More information about the DBIx-Class mailing list