[Dbix-class] Unexpected behavior with possible NULL foreign key relationship

Matt S Trout dbix-class at trout.me.uk
Fri Apr 18 19:20:36 BST 2008


On Wed, Apr 16, 2008 at 02:32:44PM -0500, mike wrote:
> On Tue, Apr 15, 2008 at 7:59 PM, mike <pulsation at gmail.com> wrote:
> > [ sorry for the CC, but my last attempt to post to the list never made it ]

You need to make sure the From: header is the subscription address; after a six
month period when we got a couple dozen spams a week and two valid mails
total I turned on auto-reject for unsubscribed posters.

Anybody who wants it turned back on gets to  find a volunteer to do the
queue checking first :)

> i wish to qualify this by saying that my previous encounter with
> similiar symptoms
> were caused not by DBIx::Class, but by mysql's SQL_AUTO_IS_NULL behavior
> as described here:
> 
>     http://dev.mysql.com/doc/refman/5.0/en/comparison-operators.html
> 
> however, this current problem is not mysql.  i have confirmed that it
> only occurs
> on newly created objects by adding a call to discard_changes after the creation.
> following is the modified patch including the test that illustrates
> this behavior.

Ok, I'll apply this to 08 trunk and we'll have a look.

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