[Dbix-class] New DBIC tarball - test please

Christopher H. Laco claco at chrislaco.com
Tue Jul 10 19:54:29 GMT 2007


Christopher H. Laco wrote:
> Christopher H. Laco wrote:
>> Matt S Trout wrote:
>>> http://trout.me.uk/perl/DBIx-Class-0.08003.tar.gz
>>>
>>> Quite a few substantial tweaks to fix bugs in this one, so I'd ask those
>>> of you with decent sized projects with their own test suites to grab it
>>> and give it a quick run down before I ship it to CPAN. We've definitely
>>> fixed a number of irritating bugs but I'm a trifle worried we might have
>>> introduced new ones hence the delay shipping.
>>>
>> 5x5 for Handel/Mango.
>>
>> -=3DChris
> =

> Actually, that's a lie. I'm getting a bunch of "Undefined value for
> column!" errors during a deploy...but I assume that's just something
> stupid I'm doing in Mango. The Handel tests didn't gripe.
> =

> -=3DChris
> =


Nope. Not me.

Here's my schema:

>     user_id =3D> {
>         data_type      =3D> 'INT',
>         is_nullable    =3D> 1,
>         is_foreign_key =3D> 1,
>         extras         =3D> {unsigned =3D> 1}
>     },

Here's the call to populate that fails:

>     $schema->populate('Carts', [
>         [ qw/id user_id created updated/ ],
>         [1,1,$date,$date],
>         [2,undef,$date,$date],
>     ]);

Fails with the error:  Undefined value for column!

So, how do I populate with undef/Null again?
Of course, it used to work.

-=3DChris


-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 187 bytes
Desc: OpenPGP digital signature
Url : http://lists.scsys.co.uk/pipermail/dbix-class/attachments/20070710/48=
dad797/signature.pgp


More information about the Dbix-class mailing list