[Catalyst] Configuring Catalyst::Model::DBIC::Schema from YAML

Matt S Trout dbix-class at trout.me.uk
Mon Oct 2 19:47:53 CEST 2006


Jon Warbrick wrote:
> But for some reason my Catalyst::View::MicroMason 
> view, called Lookup::View::MicroMason _isn't_ successfully configured - it 
> behaves as if the extra mixins are not present. Anyone any idea why?

Yes. Because it's broken.

my @Mixins  = @{ $self->config->{Mixins} || [] };

should be

my @Mixins  = @{ $self->{Mixins} || [] };

and similarly throughout the module.

I've cc'ed the author on this message in the hopes he'll fix it :)

-- 
      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 Catalyst mailing list