Subject: | Warning on startup |
After upgrading to Catalyst Runtime 5.80029 and Moose 1.15 (latest
versions as of Oct 18th) I get the following warning when I start
Catalyst. The warning originates from a controller that is based on
'Catalyst::Controller::REST'
Cheers
Maroš
Moose is overwriting an existing method named meta in class
Class::MOP::Class::__ANON__::SERIAL::34 with a method which returns the
class's metaclass. If this is actually what you want, you should remove
the existing method, otherwise, you should rename or disable this
generated method using the '-meta_name' option to 'use Moose'. at
/opt/perl5.10.1/lib/site_perl/5.10.1/darwin-thread-multi-2level/Moose.pm
line 205
Moose::init_meta('Moose', 'for_class',
'Class::MOP::Class::__ANON__::SERIAL::34') called at
/opt/perl5.10.1/lib/site_perl/5.10.1/Catalyst/Request/REST.pm line 25
Catalyst::Request::REST::_insert_self_into('Catalyst::Request::REST',
'Validad::Address::Controller::API') called at
/opt/perl5.10.1/lib/site_perl/5.10.1/Catalyst/Action/SerializeBase.pm
line 17
Class::MOP::Class:::after('Catalyst::Action::Serialize',
'HASH(0x10e1db348)') called at
/opt/perl5.10.1/lib/site_perl/5.10.1/darwin-thread-multi-2level/Class/MOP/Method/Wrapped.pm
line 61
Class::MOP::Method::Wrapped::__ANON__('Catalyst::Action::Serialize',
'HASH(0x10e1db348)') called at
/opt/perl5.10.1/lib/site_perl/5.10.1/darwin-thread-multi-2level/Class/MOP/Method/Wrapped.pm
line 89
Catalyst::Action::SerializeBase::BUILDARGS('Catalyst::Action::Serialize', 'HASH(0x10e1db348)')
called at generated method (unknown origin) line 6
Catalyst::Action::Serialize::new('Catalyst::Action::Serialize',
'HASH(0x10e1db348)') called at
/opt/perl5.10.1/lib/site_perl/5.10.1/Catalyst/Controller.pm line 277
Catalyst::Controller::create_action('Validad::Address::Controller::API=HASH(0x10e0d7558)',
'name', 'end', 'code', 'CODE(0x1059d8d90)', 'reverse', 'api/end',
'namespace', 'api', ...) called at
/opt/perl5.10.1/lib/site_perl/5.10.1/Catalyst/Controller.pm line 240
Catalyst::Controller::register_action_methods('Validad::Address::Controller::API=HASH(0x10e0d7558)',
'Validad::Address',
'Class::MOP::Class::__ANON__::SERIAL::7=HASH(0x10e148768)',
'Class::MOP::Class::__ANON__::SERIAL::7=HASH(0x10e161f10)',
'Class::MOP::Class::__ANON__::SERIAL::7=HASH(0x10e15f2e8)',
'Class::MOP::Class::__ANON__::SERIAL::7=HASH(0x10e148360)',
'Class::MOP::Class::__ANON__::SERIAL::7=HASH(0x10e148f78)',
'Class::MOP::Class::__ANON__::SERIAL::7=HASH(0x10e1db618)',
'Class::MOP::Class::__ANON__::SERIAL::7=HASH(0x10e1d3e60)', ...) called
at /opt/perl5.10.1/lib/site_perl/5.10.1/Catalyst/Controller.pm line 209
Catalyst::Controller::register_actions('Validad::Address::Controller::API=HASH(0x10e0d7558)',
'Validad::Address') called at
/opt/perl5.10.1/lib/site_perl/5.10.1/Catalyst/Dispatcher.pm line 606
Catalyst::Dispatcher::setup_actions('Catalyst::Dispatcher=HASH(0x100d81058)',
'Validad::Address') called at
/opt/perl5.10.1/lib/site_perl/5.10.1/Catalyst.pm line 2402
Catalyst::setup_actions('Validad::Address') called at
/opt/perl5.10.1/lib/site_perl/5.10.1/Catalyst/Plugin/Authorization/ACL.pm line
51
Catalyst::Plugin::Authorization::ACL::setup_actions('Validad::Address')
called at /opt/perl5.10.1/lib/site_perl/5.10.1/Catalyst.pm line 1189
Catalyst::setup('Validad::Address') called at
/Volumes/Data/RevDev/Validad-Address/script/../lib/Validad/Address.pm
line 107
require Validad/Address.pm called at
script/validad_address_server.pl line 57