[Dbix-class] BUG? Unable to resolve relationship
Peter Rabbitson
rabbit+dbic at rabbit.us
Tue Dec 15 11:18:58 GMT 2009
Ovid wrote:
> --- On Sat, 12/12/09, Peter Rabbitson <rabbit+dbic at rabbit.us> wrote:
>
>> From: Peter Rabbitson <rabbit+dbic at rabbit.us>
>
>>> 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
All bogus - see notes in RT.
More information about the DBIx-Class
mailing list