[Dbix-class] Duplicate isa bug in Componentized.pm
Matt S Trout
dbix-class at trout.me.uk
Sun Apr 16 22:35:54 CEST 2006
phaylon wrote:
> 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.
Looks reasonable; can you rework against trunk (since this is a bugfix) and
commit please?
--
Matt S Trout Offering custom development, consultancy and support
Technical Director contracts for Catalyst, DBIx::Class and BAST. Contact
Shadowcat Systems Ltd. mst (at) shadowcatsystems.co.uk for more information
+ Help us build a better perl ORM: http://dbix-class.shadowcatsystems.co.uk/ +
More information about the Dbix-class
mailing list