[Dbix-class] Possible trouble with ResultSet::new_result, was: Why are these two relations different?

Matt S Trout dbix-class at trout.me.uk
Thu May 4 16:08:47 CEST 2006


John Napiorkowski wrote:
> I got an answer to one more question before giving up
> on this:
> 
> [big snip]
> 
>> I can't figure out what module/method that
>> ...->new(\%new) is referring to.  It's not referring
>> to the new method in ResultSet.pm but I can't trace
>> it
>> from here.
> 
> [another big snip]
> 
> Turns out that for the case given,
> ResultSet::new_result appears to be calling
> InflateColumn::new during the line in question:
> 
> [In ResultSet:new_result]
> my $obj = $self->result_class->new(\%new); 
> 
> This InflateColumn::new is extending Row::new(). 
> However it is InflateColumn::new that is calling
> column_info("-and") and causing the program to die.

Bugger. If you can do me a failing test case against trunk we'll get it 
fixed for the next release.



More information about the Dbix-class mailing list