[Catalyst] Re: Strange (error)? when trying to load 20 classes or more on DBIx::Class::Schema

Brian Cassidy brian.cassidy at nald.ca
Thu Dec 14 15:00:02 GMT 2006


Juan Miguel Paredes wrote:
> Hi, folks!
>
> We've narrowed the problem: when there are sufficient classes loaded
> in the DBIC Schema, the Authentication configuration turns out wrong:
>
> #Confianza.pm (Main Module)
> __PACKAGE__->config->{authentication}{dbic} = {
>      user_class          => 'Confianza::Model::BD::Usuario',
>      user_field          => 'scorreo',
>      password_field      => 'scontrasena',
>      password_type       => 'hashed',
>      password_hash_type  => 'MD5',
>  };

Try only specifying the bits after Model::

     user_class          => 'BD::Usuario',

-Brian




More information about the Catalyst mailing list