--- On Sat, 12/12/09, Peter Rabbitson <[email protected]> wrote:
> From: Peter Rabbitson <[email protected]>
> > my $cust =
> $schema->resultset('Customer')->create( { name =>
> 'john' } );
> > print
> $cust->account->type;
> >
> > In DBIx::Class::VERSION 0.08010 (our current version
> at work), if you run this code and print
> $cust->account->type, and it prints "Premium", even
> though we have deliberately excluded an account.
>
> This was a bug.
I'm sorry to say that this is still a bug in version 0.08115. I've just
reported it along with a sample program to reproduce:
https://rt.cpan.org/Ticket/Display.html?id=52777
Cheers,
Ovid
--
Buy the book - http://www.oreilly.com/catalog/perlhks/
Tech blog - http://use.perl.org/~Ovid/journal/
Twitter - http://twitter.com/OvidPerl
Official Perl 6 Wiki - http://www.perlfoundation.org/perl6
_______________________________________________
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]