[Dbix-class] Re: Schema::Versioned error under DBIC v0.08112

Carl Franks fireartist at gmail.com
Wed Oct 14 13:10:13 GMT 2009


2009/10/13 Carl Franks <fireartist at gmail.com>:
> I don't know which version of DBIx::Class this application last ran
> successfully under - but running 0.08112 I'm getting the following
> error message:
>
> Couldn't instantiate component "CAMS::CMS::Model::CMS", "Could not
> load class (CMS::Schema) because : Can't use string ("CMS::Schema") as
> a HASH ref while "strict refs" in use at
> /opt/perl-5.10.1/lib/site_perl/5.10.1/DBIx/Class/Schema/Versioned.pm
> line 475.
>
> It's being triggered by my call to__PACKAGE__->connection()
>
> The 'use of hashref' is in DBIx::Class::Schema::Versioned::_on_connect()
>
> Is my use of Schema::Versioned wrong?


I've narrowed this down to svn revision 4126.

(changed between cpan releases 0.08010 and 0.08099_05)

Is anyone using Schema::Versioned with DBIC 0.081XX ?
Is my use of __PACKAGE__->connection() wrong?

Cheers,
Carl



More information about the DBIx-Class mailing list