[Dbix-class] no warnings 'DBIx::Class::Relationship::ManyToMany'; breaks on overridden many_to_many

Ash Berlin ash_cpan at firemirror.com
Thu Feb 5 08:57:04 GMT 2009


On 5 Feb 2009, at 01:02, Guillermo Roditi wrote:

> This doesn't work with IntrospectableM2M. If you are using both of  
> them you'll get the following error:
>
> DBIx::Class::Schema::throw_exception(): Unknown warnings category  
> 'DBIx::Class::Relationship::ManyToMany'
>
> This is true for any component that overrides many_to_many  
> Suggestions anyone
>

First thing that comes to mind is to check that  
DBIx::Class::Relationship::ManyToMany is actually loaded explicitly  
(istr I got that error when i was writing the tests without a use M2M  
line)

-ash



More information about the DBIx-Class mailing list