Re: [Dbix-class] RecursiveUpdate and many to many

2008-09-27 Thread Zbigniew Lukasiak
On Sat, Sep 27, 2008 at 8:59 PM, Matt S Trout <[EMAIL PROTECTED]> wrote: > On Sat, Sep 27, 2008 at 09:54:44AM +0200, Zbigniew Lukasiak wrote: >> Hi Matt, >> >> I would like to include your critisizm of the support for many to many >> in RecursiveUpdate in it's documentation. Tell me if I get it ri

Re: [Dbix-class] RecursiveUpdate and many to many

2008-09-27 Thread Matt S Trout
On Sat, Sep 27, 2008 at 09:54:44AM +0200, Zbigniew Lukasiak wrote: > Hi Matt, > > I would like to include your critisizm of the support for many to many > in RecursiveUpdate in it's documentation. Tell me if I get it right. > What I remember is two points: > > 1. That I rely on the fact that >

Re: [Dbix-class] DBIx-Class-ResultSet-AdvancedWebSearch

2008-09-27 Thread Matt S Trout
On Thu, Sep 25, 2008 at 03:46:19PM +0200, Zbigniew Lukasiak wrote: > I've assembled a package out of the code in my last year's Advent > article: http://www.catalystframework.org/calendar/2007/16 Hmm. I'm not sure anything that's called AdvancedWebSearch makes any sense at all as a resultset compo

Re: [Dbix-class] DBIx::Class::ResultSet::RecursiveUpdate - announcement and RFC

2008-09-27 Thread Zbigniew Lukasiak
Hi Matt, On Sat, Sep 27, 2008 at 6:50 PM, Matt S Trout <[EMAIL PROTECTED]> wrote: > On Tue, Sep 23, 2008 at 01:35:03PM +0200, Zbigniew Lukasiak wrote: >> Unlike the original update_or_create - recursive_update works for >> tables with auto_increment primary keys > > Please stop referring to "doesn

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

2008-09-27 Thread Matt S Trout
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 ident

Re: [Dbix-class] Cookbook bug

2008-09-27 Thread Matt S Trout
On Mon, Sep 22, 2008 at 01:20:04PM -0500, Lanny Ripple wrote: > I've come across a bug in the cookbook code for 'Arbitrary SQL > through a custom ResultSource'. If you name resultsets by full > class name and have defined a complex query using the suggested code > you will find the class_mapping i

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

2008-09-27 Thread Matt S Trout
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

Re: [Dbix-class] Missing support for ENUM in SQL::Translator::Parser::PostgreSQL.pm

2008-09-27 Thread Matt S Trout
On Wed, Sep 17, 2008 at 12:43:47PM +0200, Felix Antonius Wilhelm Ostmann wrote: > I spend some time and find out, that the Parser and Parser::DBI dont > support ENUM, but the Producer can make them, so Parser MySQL and > Producer PostgreSQL works, but Parser PostgreSQL and Producer PostgreSQL >

Re: [Dbix-class] DBIx::Class::ResultSet::RecursiveUpdate - announcement and RFC

2008-09-27 Thread Matt S Trout
On Tue, Sep 23, 2008 at 01:35:03PM +0200, Zbigniew Lukasiak wrote: > Unlike the original update_or_create - recursive_update works for > tables with auto_increment primary keys Please stop referring to "doesn't accept undef for auto-inc like MySQL does" as broken. -- Matt S Trout Nee

Re: [Dbix-class] Overloads in ResultSet and Stacktraces

2008-09-27 Thread Matt S Trout
On Fri, Sep 19, 2008 at 11:46:01AM -0400, Aaron Schrab wrote: > I'm working on a Catalyst project that uses DBIx::Class (0.08010) as the > ORM, and the StackTrace plugin. This combination is causing a problem. > > In one section of this project I'm using a ResultSet to create a new row > in a t

Re: [Dbix-class] RHEL / CentOS performance finally fixed?

2008-09-27 Thread Matt S Trout
On Thu, Sep 18, 2008 at 02:25:06PM +0930, Tom Lanyon wrote: > For people not currently running custom Perl on their RHEL based > distros: > > http://rhn.redhat.com/errata/RHBA-2008-0876.html > > Looks like they've (finally) fixed the bless/overload issue. Can somebody test this and figur

Re: [Dbix-class] Patch and test for failing with timezone and datetime_undef_if_invalid

2008-09-27 Thread Matt S Trout
On Sat, Sep 13, 2008 at 10:35:43PM +0200, Jens Gassmann wrote: > hi, > > attach the patch and test for handling timezone and > datetime_undef_if_invalid correctly. > > Please be indulge with me and the result - if there any missing or wrong > with this first patch and test - please correct me.

[Dbix-class] RecursiveUpdate and many to many

2008-09-27 Thread Zbigniew Lukasiak
Hi Matt, I would like to include your critisizm of the support for many to many in RecursiveUpdate in it's documentation. Tell me if I get it right. What I remember is two points: 1. That I rely on the fact that if($object->can($name) and !$object->result_source->has_relationship($n