Skip Menu |

This queue is for tickets about the Catalyst-Runtime CPAN distribution.

Report information
The Basics
Id: 60692
Status: resolved
Priority: 0/
Queue: Catalyst-Runtime

People
Owner: Nobody in particular
Requestors: tedkat [...] gmail.com
Cc:
AdminCc:

Bug Information
Severity: Critical
Broken in: 5.80025
Fixed in: (no value)



Subject: The alias and excludes options for role application have been renamed -alias and -excludes
Catalyst-Runtime-5.80025 perl -v This is perl, v5.10.0 built for i586-linux-thread-multi ------------------------------------- uname -a Linux esc00001tec 2.6.31.12-0.2-desktop #1 SMP PREEMPT 2010-03-16 21:25:39 +0100 i686 athlon i386 GNU/Linux --------------------------------------- Can not run Catalyst App for tests; It dies with the following ... The alias and excludes options for role application have been renamed -alias and -excludes at /usr/lib/perl5/site_perl/5.10.0/i586-linux-thread-multi/Moose/Meta/Role/Application.pm line 26 Moose::Meta::Role::Application::new('Moose::Meta::Role::Application::ToRole', 'excludes', 'ARRAY(0x8fcd3fc)') called at /usr/lib/perl5/site_perl/5.10.0/i586-linux-thread-multi/Moose/Meta/Role.pm line 416 Moose::Meta::Role::apply('Moose::Meta::Role=HASH(0x8f7eb24)', 'Moose::Meta::Role=HASH(0x88ff3ec)', 'excludes', 'ARRAY(0x8fcd3fc)') called at /usr/lib/perl5/site_perl/5.10.0/i586-linux-thread-multi/Moose/Util.pm line 133 Moose::Util::_apply_all_roles('Moose::Meta::Role=HASH(0x88ff3ec)', undef, 'MooseX::Getopt', 'HASH(0x8fd6804)') called at /usr/lib/perl5/site_perl/5.10.0/i586-linux-thread-multi/Moose/Util.pm line 87 Moose::Util::apply_all_roles('Moose::Meta::Role=HASH(0x88ff3ec)', 'MooseX::Getopt', 'HASH(0x8fd6804)') called at /usr/lib/perl5/site_perl/5.10.0/i586-linux-thread-multi/Moose/Role.pm line 26 Moose::Role::with('Moose::Meta::Role=HASH(0x88ff3ec)', 'MooseX::Getopt', 'HASH(0x8fd6804)') called at /usr/lib/perl5/site_perl/5.10.0/i586-linux-thread-multi/Moose/Exporter.pm line 294 Moose::Role::with('MooseX::Getopt', 'HASH(0x8fd6804)') called at /usr/lib/perl5/site_perl/5.10.0/Catalyst/ScriptRole.pm line 8 require Catalyst/ScriptRole.pm called at /usr/lib/perl5/site_perl/5.10.0/i586-linux-thread-multi/Class/MOP.pm line 113 Class::MOP::__ANON__() called at /usr/lib/perl5/site_perl/5.10.0/Try/Tiny.pm line 71 eval {...} called at /usr/lib/perl5/site_perl/5.10.0/Try/Tiny.pm line 67 Try::Tiny::try('CODE(0x8dd963c)', 'Try::Tiny::Catch=REF(0x8db574c)') called at /usr/lib/perl5/site_perl/5.10.0/i586-linux-thread-multi/Class/MOP.pm line 124 Class::MOP::load_first_existing_class('Catalyst::ScriptRole') called at /usr/lib/perl5/site_perl/5.10.0/i586-linux-thread-multi/Class/MOP.pm line 136 Class::MOP::load_class('Catalyst::ScriptRole', undef) called at /usr/lib/perl5/site_perl/5.10.0/i586-linux-thread-multi/Moose/Util.pm line 109 Moose::Util::_apply_all_roles('Moose::Meta::Class=HASH(0x8908284)', undef, 'Catalyst::ScriptRole') called at /usr/lib/perl5/site_perl/5.10.0/i586-linux-thread-multi/Moose/Util.pm line 87 Moose::Util::apply_all_roles('Moose::Meta::Class=HASH(0x8908284)', 'Catalyst::ScriptRole') called at /usr/lib/perl5/site_perl/5.10.0/i586-linux-thread-multi/Moose.pm line 58 Moose::with('Moose::Meta::Class=HASH(0x8908284)', 'Catalyst::ScriptRole') called at /usr/lib/perl5/site_perl/5.10.0/i586-linux-thread-multi/Moose/Exporter.pm line 294 Moose::with('Catalyst::ScriptRole') called at /usr/lib/perl5/site_perl/5.10.0/Catalyst/Script/Server.pm line 14 require Catalyst/Script/Server.pm called at /usr/lib/perl5/site_perl/5.10.0/i586-linux-thread-multi/Class/MOP.pm line 113 Class::MOP::__ANON__() called at /usr/lib/perl5/site_perl/5.10.0/Try/Tiny.pm line 71 eval {...} called at /usr/lib/perl5/site_perl/5.10.0/Try/Tiny.pm line 67 Try::Tiny::try('CODE(0x88e6d7c)', 'Try::Tiny::Catch=REF(0x88e77ac)') called at /usr/lib/perl5/site_perl/5.10.0/i586-linux-thread-multi/Class/MOP.pm line 124 Class::MOP::load_first_existing_class('Catalyst::Script::Server') called at /usr/lib/perl5/site_perl/5.10.0/i586-linux-thread-multi/Class/MOP.pm line 136 Class::MOP::load_class('Catalyst::Script::Server') called at /usr/lib/perl5/site_perl/5.10.0/Catalyst/ScriptRunner.pm line 18 Catalyst::ScriptRunner::run('Catalyst::ScriptRunner', 'AssetInventory', 'Server') this patch fixes!
Subject: Catalyst-ScriptRole.patch
diff -Naur Catalyst-Runtime-5.80025.old/lib/Catalyst/ScriptRole.pm Catalyst-Runtime-5.80025/lib/Catalyst/ScriptRole.pm --- Catalyst-Runtime-5.80025.old/lib/Catalyst/ScriptRole.pm 2010-08-24 09:12:24.832169818 -0500 +++ Catalyst-Runtime-5.80025/lib/Catalyst/ScriptRole.pm 2010-08-24 09:13:30.124295880 -0500 @@ -6,7 +6,7 @@ use namespace::autoclean; with 'MooseX::Getopt' => { - excludes => [qw/ + -excludes => [qw/ _getopt_spec_warnings _getopt_spec_exception _getopt_full_usage
Thank you for the bug report. This has already been fixed in SVN revision 13516. [1] Cheers, -Brian [1] http://dev.catalystframework.org/svnweb/Catalyst/revision?rev=13516