[Catalyst] latest catalyst/moose/formbuilder - error: Attribute
(formbuilder) of class MyApp::Controller::MyController has no
associated methods
Tomas Doran
bobtfish at bobtfish.net
Sun Jul 26 20:05:31 GMT 2009
On 26 Jul 2009, at 19:09, Gavin Aiken wrote:
> The errors look like this:
>
> Attribute (formbuilder) of class MyApp::Controller::MyController
> has no associated methods (did you mean to provide an "is" argument?)
> at /Library/Perl/5.8.8/Moose/Meta/Attribute.pm line 565
> Moose::Meta::Attribute::_check_associated_methods
> ('Class::MOP::Class::__ANON__::SERIAL::5=HASH(0x4d9a434)') called
> at /Library/Perl/5.8.8/Moose/Meta/Class.pm line 253
> Moose::Meta::Class::add_attribute
> ('Class::MOP::Class::__ANON__::SERIAL::1=HASH(0x4d9e71c)',
> 'formbuilder', 'traits', 'ARRAY(0x4d9a35c)') called at /Library/
> Perl/5.8.8/MooseX/Emulate/Class/Accessor/Fast.pm line 266
> MooseX::Emulate::Class::Accessor::Fast::make_accessor
> ('MyApp::Controller::MyController', 'formbuilder') called at /
> Library/Perl/5.8.8/Catalyst/Controller/FormBuilder.pm line 40
>
This isn't an error, it's a warning.
The solution is to upgrade MooseX::Emulate::Class::Accessor::Fast
Cheers
t0m
More information about the Catalyst
mailing list