[Dbix-class] unique constrains are ignored when using find_or_create

Goetz Bock bock+dbixc at blacknet.de
Wed Apr 5 15:21:17 CEST 2006


On Wed, Apr 05 '06 at 00:21, Daniel Westermann-Clark wrote:
> On 2006-04-04 22:26:28 +0200, Goetz Bock wrote:
> > as discussed on irc, I've some problems with unique_contrains beeing
> > "ignored" when using find_or_create.
> > [ ... ]
> Thanks for the test case.  This is indeed a bug.  I've worked up an
> initial patch (see attached) to fix this, 
Thanks for the patch. it works fine.
-- 
/"\ Goetz Bock at blacknet dot de  --  secure mobile Linux everNETting
\ /       (c) 2006 Creative Commons, Attribution-ShareAlike 2.0 de
 X   [ 1. Use descriptive subjects - 2. Edit a reply for brevity -  ]
/ \  [ 3. Reply to the list - 4. Read the archive *before* you post ]



More information about the Dbix-class mailing list