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

Jonas Alves jgda at rnl.ist.utl.pt
Tue Oct 3 22:14:52 CEST 2006


On 03/10/06, Jon Warbrick <jw35 at cam.ac.uk> wrote:
> On Mon, 2 Oct 2006, Matt S Trout wrote:
>
> > 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 :)
>
> Here's a patch, in effect a rewrite of new() based on
> Catalyst::View::TT::new(), which _appears_ to resolve the problem though I
> still don't feel I entirely understand what should be happening here...
>
> Jon.

Hi,
I can apply the patch, but i don't use the MicroMason view anymore.
Someone want to maintain it?

-- 
Jonas



More information about the Catalyst mailing list