[Dbix-class] Can people please poke trunk
Matt S Trout
dbix-class at trout.me.uk
Mon Sep 29 17:49:27 BST 2008
On Sun, Sep 28, 2008 at 08:28:54PM +0200, Zbigniew Lukasiak wrote:
> 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: ''
Ah. it appears I've cocked up has_manys.
Could you re-send the test patch please?
--
Matt S Trout Need help with your Catalyst or DBIx::Class project?
Technical Director http://www.shadowcat.co.uk/catalyst/
Shadowcat Systems Ltd. Want a managed development or deployment platform?
http://chainsawblues.vox.com/ http://www.shadowcat.co.uk/servers/
More information about the DBIx-Class
mailing list