[Dbix-class] Bug with relationships on new objects.

brett gardner brett at clientcomm.com.au
Mon Feb 18 22:09:42 GMT 2008


Matt S Trout wrote:
>
>
> Then there's a bug in your patch. Fix that, don't just hack round it by
> disabling your changes for important keys.
>
> Actually, I'm not sure that would even fail - if the key's undef, DBIC
> generally doesn't inflate the related object ...
>
>   
Yes, I realised last night that if the key is undef, that is different 
to not loaded and it would do the correct thing for the example I wrote.



More information about the DBIx-Class mailing list