[Dbix-class] Problems with belongs_to/might_have on columns with null values.

Matt S Trout dbix-class at trout.me.uk
Sat Sep 27 18:32:51 BST 2008


On Sat, Sep 27, 2008 at 06:05:14PM +0100, Matt S Trout wrote:
> On Thu, Sep 18, 2008 at 08:41:50PM -0400, Jason Kohles wrote:
> > If you are one of the people who is getting tired of me popping up on  
> > IRC every couple of weeks to try once again to track down (or at least  
> > positively identify) this problem, you are in luck!  I've finally  
> > isolated exactly what the problem I'm running into is.
> > 
> > I've tracked the problem down to a this commit...
> > 
> > ------------------------------------------------------------------------
> > r3804 | captainL | 2007-10-04 16:54:08 -0400 (Thu, 04 Oct 2007) | 1 line
> > 
> > fixed search_related from object with unset FK behaviour
> > ------------------------------------------------------------------------
> 
> Please test against trunk before reporting problems; this is already fixed.

Sorry, I'm replying to far too many emails so that came out very terse.

Please test trunk and check it works for you - I'm pretty sure I've fixed
it though I still have to beat on $uninserted->new_related before we've
got a complete solution.

-- 
      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