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 <[EMAIL PROTECTED]> 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/
_______________________________________________
List: http://lists.scsys.co.uk/cgi-bin/mailman/listinfo/dbix-class
IRC: irc.perl.org#dbix-class
SVN: http://dev.catalyst.perl.org/repos/bast/DBIx-Class/
Searchable Archive: http://www.grokbase.com/group/[EMAIL PROTECTED]