[Dbix-class] Duplicate isa bug in Componentized.pm

phaylon phaylon at dunkelheit.at
Sun Apr 16 22:15:20 CEST 2006


Shevek wrote:
> Note that now $self->{components} contains ResultSetManager twice.
> [...]
> So @to_inject now contains a duplicate, which isn't yet present. grep
> passes the duplicate.
> 
> Now Class::C3 fails on the same thing twice in one ISA array (which is
> debatably a bug in itself). It gives an inability to resolve etc etc.

I attached a possible patch against DBIx-Class-current, includes fix and
a Testcase.


p
-------------- next part --------------
A non-text attachment was scrubbed...
Name: dbix-class-componentized.patch
Type: text/x-patch
Size: 1647 bytes
Desc: not available
Url : http://lists.rawmode.org/pipermail/dbix-class/attachments/20060416/b9009bed/attachment.bin 


More information about the Dbix-class mailing list