[Dbix-class] Can people please poke trunk

Zbigniew Lukasiak zzbbyy at gmail.com
Sun Sep 28 19:28:54 BST 2008


On Sun, Sep 28, 2008 at 6:09 PM, Matt S Trout <dbix-class at trout.me.uk> wrote:
> I think I've now got the new_related/etc. snarl resolved, so can anybody
> who's interested in this (zby especially :) please poke trunk and see if
> it works for them now.

I don't know if this was supposed to fix that - but it still does not
pass the test I've sent some time ago

eval{
    $undef_artist_cd->related_resultset('artist')->new({name => 'foo'});
};
is( $@, '', "Object created on a resultset related to not yet inserted object");

This fails with:

#   Failed test 'Object created on a resultset related to not yet
inserted object'
#   at t/66relationship.t line 219.
#          got: 'DBIx::Class::ResultSet::new(): No such column cds on
DBICTest::Artist at t/66relationship.t line 217
# '
#     expected: ''

Cheers,
Z.



More information about the DBIx-Class mailing list