[Dbix-class] Bug with relationships on new objects.
Matt S Trout
dbix-class at trout.me.uk
Sat Feb 23 18:14:14 GMT 2008
On Tue, Feb 19, 2008 at 09:09:42AM +1100, brett gardner wrote:
> 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.
So can we make this work for all keys? primary only is still not really
suitable ...
--
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